Repository navigation
docs(skills): mcp-build says a rename repair leaves the old-name draft - #39005
Conversation
A save repaired under a new name leaves the old-name draft, which blocks the package's publish: the agent discards it with delete_metadata_draft or says it remains, and the hand-over reports each draft as the closing list_drafts judges it, never as a save's reply did. Restatement in steps 4 and 5 is cut first; the token ratchet row moves by the measured remainder (+3). One eval case for the rename repair. Claude-Session: https://claude.ai/code/session_01WGufzeatqKfTRUzTJVa9jQ Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzeatqKfTRUzTJVa9jQ Final green head · 2026-12-01T21:41Z · zone osa-ai
Contract-review-handoff: repo:objectstack@os-support-ai — CONTRACT_REVIEW_TIER unavailable (HTTP 429 quota, 2026-12-01T18:38Z) · head 87251b8 |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 review · PR #39005 (Part of #38932) · head 87251b8 · 2026-12-01T21:42ZVERDICT: ACCEPT (L1). No must-fix and no should-fix. This is the L1 face only. The contract-tier face is handed off in the head comment 7326641650, and this review does not stand in for it. The PR is Tier H (
Next: the seat's Tier H hand-off, once the handed-off contract face has its record. |
|
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 Contract-review-claim: session_01QSeKYnrQ7UMtHofKQVjcH2 · head 87251b8 · 2026-12-01T21:42Z Taken on the hand-off 7326641650 / request 7326665759 (seat repo:objectstack@os-support-ai, tier exhausted). An isolated subagent at CONTRACT_REVIEW_TIER reviews this head; the record lands here. |
|
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 Contract reviewServed-tier: PR #39005, No changed hunk teaches permission, sharing, credential or authentication behaviour. The PR stays Tier H whatever this line reads: it moves a ratchet ceiling, which the low-risk arm's allowlist does not carry. Commands
The probe ran on the worktree ① Derived judgmentsEach claim the PR derives, against the code at the head:
② Semver level
③ Boundary flags
④ Design judgment
No must-fix. No should-fix. Nits (no effect on correctness or the contract)
Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 席位核对ACCEPT — PR #39005 @
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 维护者速读
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 2026-12-01T23:43Z · Landing seat: taking this Tier H pull out of the merge queue and back to draft (Governed Surface Queue Guard, remedy 1).
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 落地Seat landing under ruling C (#17971): the maintainer approved this Tier H pull, os-zhuang review 6142540423 on
State change: |
Requested by Yibo Wang · project thread
Part of #38932
Claim for this branch: #38932 comment 7324940841
Clause-②: no
Metadata-protocol: none
What remains: acceptance 2 of the card, the cloud repro (rename after a namespace-prefix refusal, then publish the package) publishing whole on the next cloud pin. It belongs to cloud#5304 task 1.1 run 2 and is NOT MEASURED here.
维护者速读
What changes
skills/objectstack-mcp-build/SKILL.md, steps 4 and 5 only:delete_metadata_draftor says it remains. Card evidence: afterNAMESPACE_PREFIXonsupplier, the re-save asproc_supplierleft thesupplierdraft, andPOST /api/v1/packages/com.local.procure/publish-draftsansweredoutcome: refused,publishedCount: 0,failed: [supplier, NAMESPACE_PREFIX].list_draftsjudges it, not as a save's reply did, and is called publishable, or said to have passed a check, only where that verdict says so. This is the rule the reply in the repro broke ("passed pre-publish checks" over a package whose other draft was refused).list_draftsbullet's gloss of its reply and ofdelete_metadata_draft's scope (the tools' own descriptions, which the skill names the authority); theverdict: nullrow's "do not call it publishable" (the new step 5 rule covers it); "Console routes where a person reviews and publishes" (the opening paragraph says it).verdict: nullrow (withverdictWithheld) still covers a draft answered without one.scripts/check-skills-token-ratchet.mjs, theskills/objectstack-mcp-build/SKILL.mdrow only: 1226 to 1229 (+3), the measured remainder, pinned at the measurement with zero headroom. Raise path: ruling record 6513306068, letter B, 「A:先削重复,余额按实测提高」. Arithmetic in the row comment:ceil((4942 - 27) / 4) = ceil(4915 / 4) = 1229, net +13 bytes (+150 and +85 added, -15, -122, -32 and -53 cut).skills/objectstack-mcp-build/evals/draft-door-procedure.jsongains case 5, the rename repair:must_containStudio,must_contain_anydelete_metadata_draftorremains(deleting and saying plainly it remains are both right answers), and amust_not_containlist that refuses callingsupplieror both drafts publishable. None of the forbidden tokens occurs in its ownexpected_output..changeset/38932-mcp-build-rename-old-draft.md,@objectstack/skillspatch.Skills readings (the published bundle)
skills/objectstack-mcp-build/SKILL.mdlinesskills/**/SKILL.md, linesskills/**/SKILL.md, bytes / ceil(bytes/4)The whole-tree growth beyond the +3 is the eval case (unpriced population, the eval fixtures subtotal).
Tests
expected_outputpasses; a deleting answer and a "the old draft remains" answer both pass; the repro shape (old draft never mentioned, "passed pre-publish checks") fails on the any-of group; an answer callingsupplierpublishable fails onmust_not_contain.loadSkillEvalCatalogoverskills/(packages/qa/scenarios): refusals[], 380 cases, 11 for this bundle, caseobjectstack-mcp-build/draft-door-procedure#5loaded.ui/scripts/check-skill-eval-tokens.mjsanalyze, rooted at this repository): case 5's tokens are taught by the bundle (no red row for case 5, no shape finding).packages/typesstudio-review-links.callers.test.ts(reads this eval file's review links byte for byte): 3 passed.Acceptance notes
ui/skillsonly. Rooted at this repository it lists four rows already red onmainin this bundle's cases 1 and 3 (record-after-create,changes=review,synonyms,/studio/com.acme.crm/data?changes=review): tokens the SKILL.md does not teach. Pre-existing, untouched here, not filed (no CI gate reads that population).overlap-checkbefore push: clean againstorigin/mainand the three open PRs that share a file (docs(skills): the objectstack-data skill names the platform's exchange-rate table and teaches unitConfig #38980 and docs(skills): the objectstack-automation entry carries a save notice's translation key and names the gate that judges a grant made from a flow #38971 on other ratchet rows, the Version Packages PR on the stamp line).Verification
Read first, by risk:
skills/objectstack-mcp-build/SKILL.mdstep 5, the report bullet: the rule that replaces the save reply's verdict withlist_drafts'.verdict: nullrow's cut.scripts/check-skills-token-ratchet.mjs, the row comment's arithmetic.Two minutes:
node scripts/check-skills-token-ratchet.mjsprintsskills/objectstack-mcp-build/SKILL.md is 1229 tokens (ceiling 1229; headroom 0)and exits 0.Local gates (at 87251b8)
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 69 families for the 4 paths; each was run and its exit code recorded before any pipe.--ran:69 derived famil(ies) accounted for — 67 run, 2 NOT-MEASURED (1 DERIVED from a recorded exit 3, 1 claimed).check-skills-token-ratchet.mjsand--self-test(111 cases pass),check:skill-links,pnpm --filter @objectstack/spec run check:skill-docs,check-adr-0087-registration.mjs,check-changeset-no-major.mjs,check-empty-changeset.mjs,check:changeset-gate-self-tests,check:nul-bytes,check:doc-authoring,check:pm-skill-id-lint,check:published-files,check:lean-entry-closure(after building@objectstack/objectql),check:doc-formula-expressions(after building@objectstack/formulaand@objectstack/lint).check:dual-build-cjs-loads(exit 3, PREREQUISITE NOT MET: needs the whole workspace built; the diff builds no package) andcheck:pm-dispatch-gates(killed by a 570 s timeout mid self-test, twice, on the shared box; the diff does not editdispatch-gates.mjs). Both carried to CILint & Repo Gates.Generated by Claude Code