Repository navigation
docs(skills): objectstack-ai names what replaces the retired agent keys - #37797
objectstack-fleet[bot] wants to merge 6 commits into
Conversation
…gent keys; eval case 6 grades a code spelling Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie Final head for review: |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · head 86f70f0 · 2026-11-27T04:19Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: PR #37797, card #37419, under ruling 7208935788 (option A; analysis 7207740184). Read: the card body and all 10 comments, the PR body, the 3-file net diff against
① Derived judgments
② Semver level
Clause-②: no. Correct on the PR body and on the changeset: nothing is narrowed and no declared capability is taken away. ③ Boundary flags
④ Design judgmentDoes the diff do what ruling A says, and only that? Yes. Item 1: case 6 as ruled, and the PR body says why. Item 2: the two tombstone rows, the paragraph untouched, one example line as the only trim. Item 3: figure recorded, marked not acceptance. Item 4: round recorded on the pushed head. Nothing else is in the diff except the changeset the changeset gate requires. No third rewording, no fall-back to B or C. Does the acceptance round meet the bar, and is 4/5 on case 5 within it? Yes on both. The card's bar is "with-skill pass rate on both cases ≥ 4 of 5"; ruling item 4 adds "case 6 without the skill ≤ 1/5". Reported on
Token ratchet (
M1 (must-fix) — the head leaves the ratchet row above the file's measurement, which current No should-fix. Nits, no effect on correctness or the contract:
Implemented-by: VERDICT: FAIL |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): REWORK (one row) at head The one item owed: the contract review's M1. The record on this head (posted just above, Fix. Merge Everything else holds.
Delta. If |
…easurement (6797) Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie Co-authored-by: Claude <noreply@anthropic.com>
The one conflict is the skills/objectstack-ai/SKILL.md ceiling row in scripts/check-skills-token-ratchet.mjs; this merge takes the row and its notes exactly as they landed on main (6799). The row is re-pinned to the merged measurement in the next commit. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie
…merged measurement (6795) main moved the row 6801 -> 6800 -> 6799 while this branch waited. On this branch merged with main the file measures 6795 priced tokens, so the row follows the measurement down: a lowering, no raise. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie
…s its case-6 paragraph Second ruling on the card (record 7217332972, option A): the two tombstone rows and the trimmed example line land; case 6 leaves this PR. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie
Requested by Elon · project thread
Fixes #37419
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
skills/objectstack-ai/SKILL.md, the retired-keys table (2 rows): theagent.toolsrow now says where the tools go (adefineSkillunder the stack'sskills); theagent.knowledgerow names the two keys that restrict retrieval on the knowledge source (aiExposed,source.where). Both come from the saved phase-2 patch, applied by hand.skills/objectstack-ai/SKILL.md, the skill example: one sample instruction line removed ("Escalated cases must summarise the actions already taken."). This is the whole payment for the two rows: on the base this PR was written on, the rows alone took the file to 6813 tokens against a 6801 ceiling (over by 12), and with the line gone it measured 6797 (4 under).mainhas since lowered the file and its row twice (6801, then 6800, then 6799); on the current head the file measures 6795 againstmain's 6799, the same 4 under. The other trims of the saved patch are not applied: the ratchet does not need them.main(ruling 7208935788, execution item 2; second ruling 7217332972, item 5).skills/objectstack-ai/evals/skills-tools-knowledge.jsonis not in this PR any more. Under the second ruling on the card (7217332972, option A, 「A 先上第5题,第6题另开卡」) case 6 is back atmain's bytes:git diff origin/main HEADfor that file is empty. Case 6 moved to skill-evals grader: an any-of form over literal tokens, so one case can accept any of several correct code spellings (objectstack-ai case 6 first) #37928 (the skill-evals grader gains an any-of form over literal tokens, and case 6 is graded with it).scripts/check-skills-token-ratchet.mjs: the ceiling row forskills/objectstack-ai/SKILL.mdis lowered from 6799 (the value onmain) to 6795, the file's measurement on this head.mainreds a row left above its measurement, so the 4 tokens the trim over-paid are banked in the row. A lowering, not a raise; no other row moves, and the two notesmainwrote above the row stay as they landed..changeset/37419-ai-skill-tombstone-replacements.md:@objectstack/skillspatch. Its paragraph on case 6 is removed.5b486c62is239d73bdplus one commit: the eval file restored frommainand the changeset paragraph removed (2 files, +1 / -3).mainwas not merged again: since0a3ea67c(already inside this head)mainhas moved 4 commits to73d5e347, none of them inskills/, the ratchet script or this PR's changeset, and a trial merge of73d5e347is clean with the sameskills/tree and the same ratchet script as this head. So the ratchet reading on this head is the reading on the merged tree.skills/objectstack-ai/SKILL.mdis the same blob on239d73bdand on5b486c62(3215031f):git diff 239d73bd 5b486c62for that file is empty. The skill text the239d73bdround read is the text on this head.Skills size readings
main73d5e347)5b486c62)skills/objectstack-ai/SKILL.md, linesskills/objectstack-ai/SKILL.md, tokens of ceiling (ratchet)skills/*/SKILL.md, linesNet lines across
skills/**: +2 / -3 = -1 (budget: at most +3). Themaincolumn was measured on0a3ea67c;mainhas not changedskills/or the ratchet script since.Tests
Acceptance, narrowed to case 5 by the second ruling (7217332972, item 3): the round on
239d73bd(dev report 7217136306), 5 draws per arm. Scratch worktree at the pushed head, eval file trimmed locally to ids 5 and 6 (uncommitted);pnpm --filter @objectstack/scenarios skill-evals --skills objectstack-ai --repeats 5. Driver: claude-code-cli 2.1.332, subscription login, the login's default tier, CLI default effort,--max-turns 16, 2 at once. 20 of 20 turns ran; none invalid or errored. No new round is owed on5b486c62:SKILL.mdis byte-identical to239d73bd(item 2 of the ruling's execution).Case 5 with the skill on the three earlier rounds since the two rows: 4/5, 4/5, 4/5. The case-6 rates of the same rounds stay recorded on the card (report 7217136306) and belong to #37928.
No behaviour pinned by a unit test changed, so no ablation.
Acceptance notes
overlap-check --branch=claude/area-o1B-37419at5b486c62:main(73d5e347) merges cleanly; PR 37661 (sharesskills/objectstack-ai/SKILL.md) and PR 37919 (sharesscripts/check-skills-token-ratchet.mjs) merge cleanly by text. PR 36158 is reported as conflicting inscripts/check-skills-token-ratchet.mjs(exit 1); its head (937e2f14) conflicts withmainalone in the same six regions of that file, none of them this PR's row, so the conflict is not this PR's.claude/area-o1B-37782at46fb6638, no PR open yet; it corrects a paragraph in the sameSKILL.md) merges with this head cleanly by text. The row is pinned at the measurement (headroom 0), so whichever of the two lands second mergesmainand re-measures the ratchet row.Verification
Read first, by risk:
skills/objectstack-ai/SKILL.md, the two rows of the retired-keys table: checkaiExposedandsource.whereagainst the knowledge-source table higher in the same file.skills/objectstack-ai/SKILL.md, the skill example: one instruction line gone, nothing else.scripts/check-skills-token-ratchet.mjs, the one row: 6799 to 6795 and its note.Two-minute check:
node scripts/check-skills-token-ratchet.mjs; expect exit 0 and the line "skills/objectstack-ai/SKILL.md is 6795 tokens (ceiling 6795; headroom 0)".Local gates at 5b486c6
node scripts/check-skills-token-ratchet.mjs: exit 0, "skills/objectstack-ai/SKILL.md is 6795 tokens (ceiling 6795; headroom 0)" and "61 authored bundle file(s) within their ceilings".node scripts/check-skills-token-ratchet.mjs --self-test: exit 0, "111 cases pass".packages/spec/scripts/platform-catalog.test.ts(the test that names the ratchet script): 20 of 20 pass.node scripts/pm/dispatch-gates.mjs --commands: 67 derived. 65 ran, all exit 0. 2 exit 3, NOT MEASURED, each refusing for want of a full workspace build:check:dual-build-cjs-loads,check:lean-entry-closure. CI runs them, and this PR touches no package.dispatch-gates --ran: "67 derived famil(ies) accounted for — 65 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)".node scripts/check-platform-checklist.mjs --changed-from origin/main: exit 0, "0 anchored files in the change set — nothing judged".5b486c62: 29 success, 16 skipped, none failed.86f70f00:check:skill-examplesexit 0, "352 prose examples type-check across 3 surface(s)". Not re-run on this head; CI'sLint · docs & code guardsandType Check · source gatesare green on it.Generated by Claude Code