Repository navigation
feat(skills): scenario-eval internal skill for eval rounds and the eval-run record - #34006
Conversation
…al-run record A new internal skill, the eval counterpart of checklist-test: the round plan (control cards every round, starter cards scratch-only one per command), the tracked and reference configs with explicit --model and --effort, five repetitions for a model or effort decision, recording and replay, the eval-run record shape, and where findings go. Runner mechanics stay in packages/qa/scenarios/README.md. lanes/eval.md names the skill and the record, records that the seat runs its own schedule, and exempts scenario-card round records from the no-published-accuracy line (the ask-accuracy baseline keeps it). Held at its 45-line ceiling. Claude-Session: https://claude.ai/code/session_01ADHkmSzqTCJc8NsdLvgbyw Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv Contract reviewServed-tier: Read, never reviewed: Check-runs on this head (46): no failure. Completed ① Derived judgments
② Semver levelNone. ③ Boundary flags
④ Design judgment
Findings
Implemented-by: VERDICT: FAIL |
…quote the record ruling lanes/eval.md 产出 keeps the general scorecard line beside the scenario-card record. scenario-eval §5 quotes the record-location ruling verbatim, says the record closes in the round it is filed until the triage sweeps know the eval-run label, and fixes the security line to the one security-findings §4 allows; §4 marks its control-card list as the list at the time of writing. Claude-Session: https://claude.ai/code/session_01ADHkmSzqTCJc8NsdLvgbyw Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv Contract reviewServed-tier: Delta record. It follows record 6897354155 (FAIL on head Check-runs on this head (47): none failed, none still running. ① Derived judgments
② Semver levelNone, unchanged. ③ Boundary flags
④ Design judgment
Findings No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv 席位核对Verdict: ACCEPT — the seat lands · head
|
Requested by Steve · project thread
Fixes #33923
Clause-②: no
Metadata-protocol: none
维护者速读
.claude/skills/scenario-eval/SKILL.md(评测席跑一轮场景卡的方法:排卡、模型与 effort 配置、5 次重复与噪声、录制回放、eval-run记录格式、发现去向);lanes/eval.md改三处:产出加上场景卡照技能跑、立eval-run记录(其它评测仍每轮一份评分卡)、定时归本席自控、「不对外发布准确率数字」对场景卡记录豁免。.claude/skills/scenario-eval/SKILL.md§5(记录格式)与 §2(配置);lanes/eval.md边界节两行(准确率数字的豁免只给场景卡记录,问数基线 ② 照旧不发)。node scripts/pm/check-skill-line-ratchet.mjs,预期lanes/eval.md is 45 lines (ceiling 45; headroom 0)且退出 0。What changes
.claude/skills/scenario-eval/SKILL.md(metadata.internal: true), modelled onchecklist-test. It points atpackages/qa/scenarios/README.mdfor runner mechanics (flags, modes, the cloud-session settings, grading) and copies none of them. Sections:claude --versionrecorded, the runner sha pinned for the whole round);tier; starter cards scratch-only, one per command under the 2-hour background cap, at most two in parallel;--packages publishedwith--create-versionpinned across the round);--model haiku --effort medium, current value in the seat post; reference =--model opus --effort low;--modeland--effortalways explicit; served-model mismatches kept out of the mean);eval-runrecord: title shape, labeleval-runonly, body sections Environment / Scope / Results / Reading / Findings filed from this run / Records, writes through the pm-dispatch write gate, close when every finding has a destination;domain:skillsfinding, leaks and any security lead only perreferences/security-findings.md, pointer only)..claude/skills/pm-dispatch/references/lanes/eval.md:scenario-eval跑并立eval-run记录;他项每轮一份评分卡;皆附上轮趋势对比。」 It names the skill and the record and keeps main's general rule (「每轮一份评分卡,附与上一轮的趋势对比」) for every other scope, so 〈边界〉's 「评分卡」 keeps its definition. Nothing in 〈产出〉 is deleted (fix round 1, M1).eval-runrecords only (ruling on the eval seat's decision card "eval 测试记录卡放哪个仓?": "objectstack 公开仓,像 qa-run"); the ask-accuracy baseline ② keeps the line.Why
The qa seat runs from a repository skill and leaves one
qa-runrecord per round; the eval seat had only its charter, and its round method lived in one seat's notes. The maintainer directed 「技能应该进仓库,测试卡也应该进仓库,参考 qa」.Acceptance notes
CLAUDE_CODE_EFFORT_LEVELuntil the runner's effort flag lands, and that replay cannot score operations until the replay fix lands. Both landed before this PR: Scenario runner: --effort (and --author-effort / --ask-effort) reaches claude --effort and is recorded per turn #33739 (closed by feat(scenarios): --effort reaches claude --effort, and every turn records the effort it asked for #33767,--effort/--author-effort/--ask-effort) and Scenario runner: a recorded replay re-sends no MCP write, so every applied operation fails on replay #33737 (closed by fix(scenarios): a recorded replay re-sends each turn's recorded writes before the read-back #33764, replay re-sends recorded writes). Read on origin/mainb8ac0e24:packages/qa/scenarios/src/runner/cli.tsdocuments the three effort flags, and the package README's Driver bullet says a replay re-sends each turn's recorded writes. So the skill teaches the landed behaviour: always pass--effort, and replay re-scores Build, Ask and operations, with a write that cannot be re-sent read as not measured. It cites neither card as open.Eval run · SCOPE × N configs × R reps · SHA8 · DATE). Where it differs:CLAUDE_CODE_EFFORT_LEVEL; the skill requires--efforton the command line;claude --version;--effortis always explicit).check:pm-skill-ratchetcovers an enumerated map, not a glob, and no derived gate named a row for a new.claude/skills/*directory, so none was added (file surface: only rows a gate names). The new file is 127 lines; several prose lines run past 120 bytes, which only ceilinged files are held to. Adding a ceiling row is the seat's call.lanes/eval.mdstays at its 45-line ceiling with headroom 0. What was deleted: (a) 「节奏由维护者在 Routines 设定;⛔ 本席不自建、不改频率」, reversed by the schedule order; (b) the cadence line as a separate line, its content merged into the schedule line. What was kept: 〈产出〉's general scorecard rule (see above). The one line this PR adds (the ask-accuracy baseline line in 〈边界〉) is paid for by (b). No line was gained by re-wrapping.eval-runlabel (their exclusion lists nameqa-runonly), so until they do the record closes in the round it is filed, or triage is told it is a record; the sweep change itself is the seat's follow-up card. S3: the schedule words' source is stated above. N1: the §4 block marks its control-card list as the list at the time of writing. N4: a security lead's Findings line is the fixed line ofsecurity-findings.md§4, nothing more (and §6's row says the same). N2: differences 6 and 7 above. N3 not taken (no line to spare ineval.md).Verification
At head
7d9600e4(fix round 1), in the card worktree:node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 17 commands. All 17 ran and exited 0. The run reconciles:--ranreports "17 derived famil(ies) accounted for — 17 run, 0 NOT-MEASURED (a DERIVED zero — all 17 recorded an exit code and none of them is 3)".3d9dedb1,check:doc-formula-expressionsfirst exited 3 (prerequisite not met:@objectstack/lintand@objectstack/formulanot built). Afterpnpm exec turbo run build --filter=@objectstack/formula --filter=@objectstack/lintunderos-verify-lock(VERDICT command-exit 0), it exited 0.pnpm check:pm-skill-ratchetexited 0 on both heads:lanes/eval.md is 45 lines (ceiling 45; headroom 0).pnpm check:pm-skill-id-lint,pnpm check:skill-frame-sync,pnpm check:nul-bytesandpnpm check:pm-governed-mergesalso exited 0.pnpm --filter create-objectstack exec vitest run --maxWorkers=2 src/template-consistency.test.tspassed: Test Files 1 passed (1), Tests 41 passed (41). That covers themetadata.internalmarker on every SKILL.md outsideskills/..claude/**only and publishes nothing (skip-changeset)..claude/**). This PR stays draft until the owning seat's contract-review record.