Repository navigation
feat(qa): skill-evals --case runs the named eval cases alone; any-of prose in the cli header and README - #38006
Conversation
… in the cli header and README Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie Co-authored-by: Claude <noreply@anthropic.com>
…omes from Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift Check13 anchor(s) derived from 1 changed package(s); no hand-written page names any of them. What this run could not see
Coarse fallback — 1 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 2532b7dcd19ca004dc22b284fb0ae4091b24e3bc && git checkout 2532b7dcd19ca004dc22b284fb0ae4091b24e3bc
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 30a8047bad6e264762dd41ded7f1290c1224afc6 c6ffc0b81395dfa7008fcf2de3c1c042498c7888 && git checkout -B drift-repro 30a8047bad6e264762dd41ded7f1290c1224afc6 && git merge --no-ff c6ffc0b81395dfa7008fcf2de3c1c042498c7888
node scripts/docs-audit/affected-docs.mjs --json 30a8047bad6e264762dd41ded7f1290c1224afc6 |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie Final head for review: |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT at head 席位核对Shape and gates. 6 files, +197/-19. Check-runs at c6ffc0b: 33 success, 16 expected skip, 0 failed. Mergeable state is clean. Not governed. What I read myself.
Nit, not owed. The merged, still-unreleased Landing: not governed, so the area lands it after ACCEPT. |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie Landing by area o1-B · 2026-11-27T15:50Z · head
Nit carried, not owed (L1): the merged, unreleased |
Requested by Elon · project thread
Fixes #37980
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Flag spelling:
--case KEY[,KEY…], where KEY is the case key the summary and every run record already print,BUNDLE/FILE_STEM#ID(e.g.objectstack-ai/skills-tools-knowledge#6). NotBUNDLE:ID: ids repeat across a bundle's eval files in 10 of the 14 bundles onmain(objectstack-datahas three files each starting at id 1), so a bundle plus an id does not name one case. The flag repeats and de-duplicates; the plan keeps catalog order.planRound, so a behaviour case runs on both arms and a trigger case on the with-skill arm only.selectCasesincases.ts): an unknown bundle names the catalog's bundles; a known bundle with no such eval file names the bundle's eval files; a known file with no such id names that file's ids; a malformed key is refused at parse time. Refused beside--regradeand--self-test(same shape as--triggers-only's refusals).--skills: every named case must belong to a--skillsbundle (otherwise refused, naming the--skillslist);--skillskeeps its other job, the competing set a trigger turn installs. Without--skills, a trigger turn installs every bundle, as in a whole round, so a single-case trigger round measures the same conditions the full round does.--triggers-only: refused. The keys already say which cases run, and a named trigger case already runs on the with-skill arm alone.round.json(additive only):scope.selectedCases: string[](the keys, catalog order), present only on a--caseround.scope.armson a--caseround lists the arms its jobs actually use (with-skill alone when every named case is a trigger case);skills.allBundlesisfalseon a--caseround. The summary title names the cases and a header line lists the keys.--regrade DIRkeeps the scope through a new pureroundCatalogCases(which also carries the existing--triggers-onlynarrowing), so the rest of a bundle is not reported as "added since the round".cli.tsheader namesmust_contain/must_contain_any/must_not_containand documents--case; the README gets a--casebullet and example; the README's unmet-group form now reads(none of: `a` / `b`), each token in a code span, assummary.tsrenders it (the same spelling fix in that file's code comment).No eval file and no skill text changes. One changeset,
@objectstack/scenariospatch.Tests
skill-evals --self-test on c6ffc0b: 44 rows pass (four new rows, roster floor 40 → 44)
New rows:
select: --case plans exactly the named cases, a behaviour case on both arms and a trigger case on the with-skill armselect: --case naming an unknown bundle, eval file or id, or a bundle --skills leaves out → REFUSED with its locationflags: --case beside --regrade, --self-test or --triggers-only, or a key not shaped BUNDLE/FILE_STEM#ID → REFUSEDregrade: a --case round regrades at its named cases; the rest of their bundles are not "added since"Package typecheck + tests on c6ffc0b
pnpm --filter @objectstack/scenarios typecheckexit 0;pnpm --filter @objectstack/scenarios test(after building the@objectstack/scenarios^...closure and the package):Ablation: the filter broken, the self-test goes red
node scripts/ablation-replace.mjsoncases.ts,selectCases' return changed to also keep every trigger case of the selection:Acceptance notes
.changeset/37928-skill-evals-any-of.md) still says the summary prints(none of: a / b). It is outside this card's file surface (one new changeset), so it is left as is; it compiles into the scenarios CHANGELOG at the next release.Verification
Read first (by risk):
packages/qa/scenarios/src/skill-evals/cli.ts(themain()hunk whereselectCasesnarrowsselectBundles' answer, and thescopeconstruction),packages/qa/scenarios/src/skill-evals/cases.ts(selectCases),packages/qa/scenarios/src/skill-evals/self-test.ts(the four new rows).Two-minute check:
pnpm --filter @objectstack/scenarios skill-evals --dry-run --case objectstack-ai/skills-tools-knowledge#6 --repeats 10. Expect one bundle line,1 behaviour case(s) × 2 arms, × 10 = 20 turn(s), and the--caseline naming that one key.Dry-run output, one behaviour case (c6ffc0b)
Dry-run output, a behaviour and a trigger case beside --skills (c6ffc0b)
Derived gate families, local (c6ffc0b)
node scripts/pm/dispatch-gates.mjs --ranwith exit codes recorded: 56 derived, 55 run with exit 0, 1 NOT MEASURED:pnpm check:dual-build-cjs-loadsexited 3 (PREREQUISITE NOT MET: it reads every package'sdist/, and only the scenarios closure was built here). CI runs it inLint & Repo Gates.Generated by Claude Code