Skip to content

feat(scenarios): skill-evals runs the published skills' eval cases on a with-skill and a no-skill arm - #34841

Merged
objectstack-fleet[bot] merged 8 commits into
mainfrom
claude/issue-34764-skill-evals-runner
Nov 17, 2026
Merged

objectstack-fleet[bot] merged 8 commits into
mainfrom
claude/issue-34764-skill-evals-runner

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread
repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir
Part of #34764 — this PR is the runner. The eval lane's charter line is the seat's own PR, after this one lands.

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:@objectstack/scenarios 里新增 skill-evals 运行器,只从仓库检出运行,不进发布的 bin 或 exports。它用订阅登录的 Claude Code 把已发布技能现成的 209 个评测用例逐条发给模型,每条跑两次,一次装上技能、一次不装,再按用例自带的 must_contain / must_not_contain 机械打分,写出每次的 JSON 记录和汇总。
  • 为什么改:[Decision] The published skills: who reviews a change, how they are verified, one catalog or two for code-first and MCP, and the E2 premise reading #34691 S2 裁定 A:技能评测每周跑一轮,带一个不装技能的对照臂。在此之前,这些用例从没被送进过模型。
  • 风险与回滚:不进 CI,不拦合并。dist 里查不到该运行器的符号(已实测)。回滚就是 revert 本 PR。唯一的外部影响是一轮会用掉订阅额度:本轮让七日用量从 0.45 涨到 0.56,用量到 0.9 时运行器自己停下。
  • 先看:① src/skill-evals/run.ts 的 verdictOf,判断两臂是否装对、怎么打分;② src/skill-evals/arms.ts,两臂的 argv 和临时目录(技能的 evals/ 不拷进去);③ src/skill-evals/cli.ts,登录守卫排在读取任何东西之前,以及 --regrade:修复轮 2 起,每条记录带用例哈希,用例改过的不重新打分、单列在通过率之外(run.ts 的 regradeRecords)。
  • 两分钟验证:pnpm --filter '@objectstack/scenarios^...' build && pnpm --filter @objectstack/scenarios skill-evals --dry-run。预期输出 11 个 bundle 和 209 case(s) × 2 arms × 1 repeat(s) = 418 turn(s),外加一行 argv,不调用模型。
  • 需要你做的:无,席位落地。

What changes

  • packages/qa/scenarios/src/skill-evals/ (new, unpublished). pnpm --filter @objectstack/scenarios skill-evals adds one scripts entry. The tsup entries, bin and exports are unchanged.
    • cases.ts reads skills/BUNDLE/evals/*.json strictly. A case that does not parse, uses the wrong types or asserts nothing is a located refusal, never a pass. It also reads which bundles set user-invocable: false.
    • grade.ts: pass = every must_contain present and no must_not_contain, as literal case-sensitive substrings of the answer (the result line's text).
    • arms.ts: one fresh temp dir per turn. The with-skill arm gets .claude/skills/BUNDLE/ copied without evals/, and the no-skill arm gets nothing. Both arms run --setting-sources project --tools Read,Glob,Grep,Skill --allowedTools Skill, an empty --mcp-config with --strict-mcp-config, and --no-session-persistence.
    • run.ts: the preflight imports subscriptionOnlyEnv / assertSubscriptionLogin / effortLevelsFromHelp from runner/driver.ts, runTurnProcess and parseStreamJson (none copied). It also judges each turn: pass / fail / invalid (wrong arm) / error (no answer). The round stops on the rate-limit window (--max-utilization, default 0.9, exit 3).
    • summary.ts: per bundle, each arm's pass rate, the with-skill failures and the cases where no-skill ≥ with-skill. Per case, both arms. Written as round.json, summary.md and summary.github.md (angle brackets spelled out for a GitHub body).
    • self-test.ts: 21 table rows with a pinned roster, a floor and a verdict handshake, per AGENTS.md "Writing a --self-test".
    • cli.ts: --skills a,b, --skills-from workspace|VERSION (packs @objectstack/skills@VERSION from npm), --repeats, --concurrency, --max-turns, --case-timeout, --max-utilization, --model, --effort, --bin, --out (default under the git-ignored docs/qa/platform-checklist/runs/), --dry-run, --regrade DIR, --self-test.
  • runner/driver.ts and runner/cli.ts are not edited.
  • README section "Running the published skills' eval cases": login, arms, grading, records, quota, and cost and time from this PR's round.
  • Changeset: @objectstack/scenarios patch. The README is in files[], so its text ships. Nothing else a consumer installs changes.

Tests

  • test/skill-evals/skill-evals.test.ts, 26 tests. No model and no network; a turn is an injected function or a stand-in claude script.
    • A round refuses to start with ANTHROPIC_API_KEY set: from the preflight, and from the command line, where the stand-in is never asked a turn and no --out is created. ANTHROPIC_AUTH_TOKEN, an api_key login and no login are refused too.
    • The grader passes and fails, and a case-only difference is a fail.
    • --self-test passes with the real grader. It reds and never reaches its verdict when given a broken grader that passes everything, or an empty catalog.
    • The arms' argv. Each turn sees its arm's directory (bundle without evals/, or empty), the prompt on stdin, and no ANTHROPIC_API_KEY or CLAUDE_CODE_EFFORT_LEVEL in its environment. Its directory is removed afterwards.
    • The rate-limit stop, the summary arithmetic, the user-invocable: false handling, and --regrade.
Readings at head 9de1cbd
  • pnpm --filter @objectstack/scenarios typecheck && pnpm --filter @objectstack/scenarios exec vitest run --maxWorkers=2, under os-verify-lock: Test Files 36 passed (36), Tests 1013 passed (1013), VERDICT command-exit 0.
  • pnpm --filter @objectstack/scenarios skill-evals --self-test: ✓ skill-evals self-test: 20 rows pass.
  • skill-evals --dry-run: 11 bundles, 209 case(s) × 2 arms × 1 repeat(s) = 418 turn(s).
  • Ablation (committed fix first, scripts/ablation-replace.mjs). The live preflight call in cli.ts was replaced with a constant login. Anchor x1 → x0, blob 8017e60d → e1b6bbe8. The CLI refusal test went red (1 failed | 18 passed (19)). Restored to blob 8017e60d = HEAD, and git diff HEAD is empty.

Acceptance notes

  • Live round on this container's subscription login. 209 cases × 2 arms × 1 rep = 418 turns, --concurrency 4, 56.1 min, all 418 ran, served claude-opus-5-5 on every turn. Notional cost 71.24 USD; seven-day utilization 0.45 → 0.56. Result: with-skill 144/209 (69%), no-skill 20/209 (10%). 65 cases fail on the with-skill arm. The full per-bundle and per-case scores are in the eval-run record linked from qa: a weekly runner for the published skills' existing eval cases (subscription login, with- and no-skill arms), and the eval lane's weekly line #34764.
  • Measured during the round, and fixed here. objectui sets user-invocable: false. Claude Code 2.1.326 leaves such a skill out of the init line's skills list, but the model can still launch it. The first arm check therefore read all 34 objectui with-skill turns as invalid, although 33 of them launched objectui. The check now grades them and records armEvidence (launched / not-shown). --regrade re-drew those 34 verdicts from the recorded answers, asking no model. The turns ran at adf4081a, and arms.ts, grade.ts and the turn-running lines are byte-identical at head.
  • no-skill ≥ with-skill counts cases where both arms fail as well. This round: 2 cases where no-skill > with-skill, 18 where both pass, 63 where both fail.
  • 144 permission denials across 111 turns, a tool call refused for a missing permission (such as a read outside the turn's directory). This round's records keep only the count. The runner now also records the refused tool's name.
  • Measured, and reflected in the arms: a user skill under ~/.claude/skills/ is absent from a turn's init line under --setting-sources project. A read outside the turn's directory is refused in -p (requested permissions to read … but you haven't granted it yet). The published @objectstack/skills@18.5.0 ships dist/skills/BUNDLE/evals/ (29 tarball entries match evals/), so --skills-from VERSION reads that version's cases too.

Verification

  • Derived gate families (node scripts/pm/dispatch-gates.mjs --commands, 75 commands at head) were all run locally. dispatch-gates --ran: 75 derived famil(ies) accounted for — 74 run, 1 NOT-MEASURED. The one is node scripts/check-plugin-teardown-shape.mjs --self-test (exit 3, PREREQUISITE NOT MET: its fixture needs an unshallowed clone; it is a checker self-test and does not read this diff).
  • Publish surface: after pnpm --filter @objectstack/scenarios build, gradeAnswer is in 0 files under dist/ (control: assertSubscriptionLogin is in 8).
  • node scripts/pm/overlap-check.mjs before each push: VERDICT clean exit 0 (origin/main, feat(scenarios): an opt-in skills directory for ask turns, and dataset questions on two open cards #34808, chore: version packages #33849).
  • CI check-runs: in progress when this was opened.

Fix round 2 (L1 S1, note N1)

  • S1: --regrade grades an old answer only against the case that ran.
    • Every run record now carries caseHash: a sha256 of the case's prompt and both token lists, as the turn ran them. expected_output is left out because it is neither sent nor graded.
    • On --regrade, each record's hash is compared with the case now (caseDrift: same / changed / unhashed). regradeRecords in run.ts then sorts the cases:
      • A case changed since the round, or removed from the catalog, is set apart. It is not regraded and its record files are left byte-for-byte as they are. It is left out of the summary's pass rates, and the summary header names it: M case(s) changed since the round, set apart: not regraded and out of every pass rate below: KEYS. regradeRecord itself also refuses a changed case.
      • A case added since the round is left out. Before this, it was counted as not run.
      • A record with no hash (one written before this round, such as the 2026-11-17 round) is regraded against the case as it is now. It is counted as unhashed, and the header says nothing shows those cases are the ones that ran.
    • round.json regraded gains unhashed, setApart: { changed, removed } and added. The planned set survives a second regrade.
    • Why set apart rather than refuse. Refusing the whole regrade would make every round recorded before a reword impossible to regrade, and skills evals: trigger cases with negatives, a review of over-literal assertions, and cases that run without a project on disk #34789 rewords cases across the catalog. Regrading the changed case would mix week-N answers with week-N+1 assertions. Setting it apart keeps the rule regrade for the unchanged cases and keeps the changed ones visible outside the rates.
  • N1. The census prose in scripts/pm/dispatch-gates.data.mjs was re-measured at e2c2b8c2 with compoundAnchorDecls over git ls-files (bare declarations counted by renaming selfTest to a probe name the anchor still matches): 330 matches, 294 bare, 36 compound over 29 spellings, 21 under ui/. The compound half matches the table (36 rows). The prose is comment-only.
  • README: one paragraph on caseHash and the set-apart rule, under Grading. The changeset is unchanged, since its sentence still describes the README.
Readings at head bd40928
  • pnpm --filter @objectstack/scenarios typecheck and vitest run --maxWorkers=2 test/skill-evals/skill-evals.test.ts, under os-verify-lock: Tests 26 passed (26), VERDICT command-exit 0. The whole package after pnpm --filter @objectstack/scenarios build: Test Files 36 passed (36), Tests 1017 passed (1017), VERDICT command-exit 0.
  • skill-evals --self-test: ✓ skill-evals self-test: 21 rows pass. The new row is regrade: a case changed since the round → SET APART, never graded against the new text.
  • New pins: every record carries its case hash (and expected_output does not move it). An unchanged case regrades normally, a changed one is set apart and refused by regradeRecord, and an unhashed record is regraded and counted. A removed case is set apart and an added one is left out. The command runs on a fixture round: the reworded case's record bytes are unchanged, the summary names it, and it is out of the totals.
  • Ablation (fix committed first, scripts/ablation-replace.mjs). caseDrift's comparison return rec.caseHash === hashCase(c) ? 'same' : 'changed'; was replaced with return 'same';. Anchor x1 → x0, blob b48c9627 → 10e64fff. The result was Tests 4 failed | 22 passed (26): both regrade pins, the self-test row, and the empty-catalog self-test count. Restored to blob b48c9627 = HEAD, and git diff HEAD is empty.
  • --regrade on a scratch copy of the 2026-11-17 regraded round, with no model asked: 418 record(s) carry no case hash … regraded against the cases as they are now. The setApart and added lists are empty, and the summary is identical to the recorded one (with-skill 144/209, no-skill 20/209).
  • pnpm check:pm-dispatch-gates (because the ledger file was touched): EXIT=0, ✓ every compound self-test NAME the anchor matches is classified in COMPOUND_ANCHOR_LEDGER, and the fast tier 2217 cases pass. The slow tier is deferred to CI.
  • node scripts/check-nul-bytes.mjs: OK. node scripts/pm/overlap-check.mjs: VERDICT clean exit 0 (origin/main, fix(scenarios): asked-back no-figure ignores a count of the candidates and a year written alone #34882, chore: version packages #33849).
  • Local scope was narrowed to the dispatch's list. The derived --commands set (121 over the whole PR change set) is left to CI.

Generated by Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir
…, and regrades recorded rounds

A user-invocable: false bundle (objectui) is absent from the init line's
skills list while the model can launch it, so the with-skill arm check read
every such turn as invalid. Its turns are graded now, with the evidence
named; --regrade applies the current rules to a recorded round.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 17, 2026
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/scenarios, touching 152 documentable anchor(s). ⚠️ 1 changed file(s) yielded no anchor (packages/qa/scenarios/README.md), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

21 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: node scripts/docs-audit/affected-docs.mjs --json fc5913e117405814e5c40e4e9bbe6b2da7420048.

⛔ 7 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails.

What this run could not see
  • 1 changed file(s) yielded no anchor (packages/qa/scenarios/README.md) — pages documenting those are invisible to this run
  • 60 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 1 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json fc5913e117405814e5c40e4e9bbe6b2da7420048 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from aa18d08ed2bbedafc2ea6b82aafba95167544c42 — the merge of head bd40928d9b6a68c34b831329fb941ada16eed291 into base fc5913e117405814e5c40e4e9bbe6b2da7420048, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin aa18d08ed2bbedafc2ea6b82aafba95167544c42 && git checkout aa18d08ed2bbedafc2ea6b82aafba95167544c42
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin fc5913e117405814e5c40e4e9bbe6b2da7420048 bd40928d9b6a68c34b831329fb941ada16eed291 && git checkout -B drift-repro fc5913e117405814e5c40e4e9bbe6b2da7420048 && git merge --no-ff bd40928d9b6a68c34b831329fb941ada16eed291

node scripts/docs-audit/affected-docs.mjs --json fc5913e117405814e5c40e4e9bbe6b2da7420048

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs fc5913e117405814e5c40e4e9bbe6b2da7420048 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

…HOR_LEDGER

The new packages/qa/scenarios/src/skill-evals/self-test.ts declares
runSelfTest, a compound self-test name the watch-hint masker anchors on.
It is a genuine --self-test battery (its row labels are the roster,
reached only from the CLI's --self-test branch and the package suite),
so it gets an accidental:false row; the docblock's TOTAL (35 -> 36) and
GENUINE (24 -> 25) counts move with it, distinct spellings stay 29.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg

L1: ACCEPT · 2026-11-17T14:05Z

Head-sha: 29905cc
Reviewer: seat 3 L1-c, for card #34764 (claim 6946560350, amended 6949721949; os-dev report 6948894102; live round eval-run #34842).

席位核对

PR shape. Draft, base main, Part of #34764, with no closing verb. That is right, because the eval lane's charter line is the seat's own PR and lands after this one. Five commits; fix round 1 is 2f33c265..29905cc9.

Scope vs claim. All 12 paths sit inside the amended claim:

  • new files under packages/qa/scenarios/src/skill-evals/** and test/skill-evals/**;
  • one scripts entry in packages/qa/scenarios/package.json;
  • the package README section;
  • one changeset;
  • the one COMPOUND_ANCHOR_LEDGER row in scripts/pm/dispatch-gates.data.mjs, which the amendment added.

runner/driver.ts and runner/cli.ts are untouched.

Declaration. Clause-②: no / Metadata-protocol: none appear in the body and the changeset, and they agree.

  • files[] is dist, README.md and CHANGELOG.md, so src/skill-evals/** never ships.
  • bin, exports and the tsup entries are unchanged. The body's dist probe finds gradeAnswer in 0 files, against a control of 8.
  • What a consumer installs changes by README text and a scripts key. @objectstack/scenarios at patch is right.

There is no contract face, so no seat L2 is owed.

Governed / size. check-governed-merges --pr 34841: 0 of 12 paths, NOT governed, 1924 lines (under 3000).

Check-runs at 29905cc. 53 runs, every one success or skipped: Lint & Repo Gates, TypeScript Type Check, Test Core and all 10 shards, Lint · PM dispatch-gates (it reads the new ledger row), Lint · scoped · tooling self-tests, Validate Package Dependencies, Check Changeset, PR-body guards, Governed Surface Queue Guard. The UI legs were skipped by path filter.

Login guard. subscriptionOnlyEnv, assertSubscriptionLogin and effortLevelsFromHelp are imported from runner/driver.ts, not copied. In cli.ts, preflight() runs before the skills source is resolved and before any turn. --dry-run, --regrade and --self-test skip it and ask no model. The CLI refusal test asserts the stand-in claude is never asked a turn and no --out is created, and the ablation (the preflight call replaced with a constant) turned it red. Every turn is spawned without ANTHROPIC_API_KEY / ANTHROPIC_AUTH_TOKEN / CLAUDE_CODE_EFFORT_LEVEL (pinned).

Arms. The arms' argv is identical except for the copied bundle:

  • --setting-sources project, --tools Read,Glob,Grep,Skill, --allowedTools Skill;
  • an empty --mcp-config with --strict-mcp-config;
  • --no-session-persistence.

The with-skill copy filters evals/ (both the directory and its descendants) and dereferences links, so no path leads back into the checkout. The two isolation claims the README makes were measured on 2.1.326: a user skill is absent under --setting-sources project, and a read outside the turn's directory is refused in -p.

Verdicts. verdictOf gives four outcomes:

  • error when the process fails, there is no init line, or there is no success result;
  • invalid when the arm is wrong: a with-skill turn whose init line lacks a listed bundle, or a no-skill turn that lists or launches a catalog bundle;
  • otherwise literal case-sensitive token grading.

invalid and error stay out of the denominator and are counted and named. The user-invocable: false handling (graded, with armEvidence: launched | not-shown) is the measured fix for the 34 objectui turns.

Quota stop. The round stops at rejected or at utilization ≥ --max-utilization. Turns not run are recorded as not run, and the command exits 3.

Docs made false? None. The README section is new and its cost and time figures are this PR's round (418/418, 56 min, 0.45 → 0.56). Nothing else documents a skill-evals command.

Must-fix

None.

Should-fix

  • S1. --regrade re-scores old answers against whatever the workspace cases say now, and the regraded record does not say so.
    • regradeRound checks only that the skills source label matches (workspace skills/). It then grades each recorded answer with today's skills/BUNDLE/evals/*.json (byKey.get(rec.key)).
    • The round never records which case text it ran: not a skills or evals hash, and not the assertions per record. Only runner.sha is recorded, which is HEAD plus a dirty flag.
    • So a round from week N, regraded after a case's must_contain or prompt changed, mixes week-N answers with week-N+1 assertions. The header still reads "applies the current rules … no model asked", and changed counts those flips as if they were rule changes.
    • That is not hypothetical: skills evals: trigger cases with negatives, a review of over-literal assertions, and cases that run without a project on disk #34789 is rewording over-literal assertions across skills/*/evals/**, and this runner's first users will regrade around it.
    • A small fix closes it. Record a hash of each case as run (prompt plus both token lists) on each run record, or one evals-tree hash on round.json. On --regrade, either refuse a case whose hash differs, or regrade it and count and name those cases apart in the regraded line (N verdict(s) differ; M case(s) changed since the round). Add a pin for each.
    • --skills-from VERSION is immutable and unaffected.

Under the current merge standard this gets fixed before landing. I'll take the delta read.

Notes

Next: o3-F fixes S1, then the L1-c delta read. No seat L2 is owed, and o3-F lands after the delta.

… the round

Every run record now carries a hash of its case as run (prompt and both
token lists). --regrade compares it with the case now: a changed or
removed case is not regraded, its records are left as they are, and it is
named apart from the pass rates; a record with no hash is regraded and
counted as unhashed; a case added since the round is left out.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir
…since the round

Also types the expected_output hash pin through a SkillEvalCase so the
package typecheck accepts it.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir
The census prose read 324 matches as 290 bare plus 36 compound, which do
not add up. Re-measured with compoundAnchorDecls over git ls-files at
e2c2b8c (bare declarations counted by renaming selfTest to a probe
name the anchor still matches): 330 matches, 294 bare, 36 compound over
29 spellings, 21 under ui/.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzg1NmbJpZhtiWQkTir
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg

L1: ACCEPT (delta) · 2026-11-17T15:32Z

Head-sha: bd40928
Reviewer: seat 3 L1-c. This is a delta read of 29905cc9..bd40928d against my 6950349685 (os-dev report 6951964966).

席位核对

Delta. Three commits, 7 files, +248/-29, all inside the claimed surface: src/skill-evals/{cases,cli,run,self-test}.ts, the test, the README paragraph and the ledger prose. Nothing moved into bin, exports or files[]. Clause-②: no / Metadata-protocol: none still hold. Not governed (0 of 12 paths), 2147 lines in all.

Check-runs at bd40928. 57 runs, every one success or skipped: Lint & Repo Gates, TypeScript Type Check, Test Core and all 10 shards, Lint · PM dispatch-gates, Lint · scoped · tooling self-tests, Check Changeset, PR-body guards, Governed Surface Queue Guard.

S1 (regrade against reworded cases): closed.

  • The hash. hashCase is sha256 over JSON.stringify([prompt, mustContain, mustNotContain]), which is what a turn is sent plus what it is graded on. expected_output is left out, correctly. judgeTurn stamps it on every new record.
  • Changed and removed cases. regradeRecords sets apart, as a whole case, any case whose recorded hash differs from today's or that left the catalog (including a whole bundle that left). Its record files are not rewritten. They are out of cases, so out of every rate, and the regraded line names them. As a second fence, regradeRecord throws on a changed case if anything calls it directly.
  • Unhashed and added cases. Unhashed records (the whole 11-17 round) are regraded and counted, and the line says plainly that nothing shows those are the cases that ran. Added cases are left out, not counted as not run.
  • Repeated regrades. plannedKeys unions the summary's cases with any earlier setApart, so a case set apart once and later restored comes back on the next regrade.
  • Pins and ablation. Four new tests (hash scope, same / changed / unhashed, removed / added, and the command end to end with record bytes kept), a new self-test row with the floor raised from 20 to 21, and an ablation leg in the report.

Choosing set-apart over refusing the whole regrade is the better option, because it keeps pre-#34789 rounds regradable without mixing in old answers.

N1 (census prose): closed. 330 = 294 bare + 36 compound, 21 under ui/. The 36 rows and 29 spellings match the table.

The dev's carrier note. The bundle list and user-invocable flags are still read from today's tree, so a flip there shows up in the changed count instead of being set apart. That is acceptable: those flags decide arm validity, not grading, and a flip is rare and visible in regradedFrom. Not owed.

Must-fix

None.

Should-fix

None.

Notes

None new.

Next: o3-F lands. No seat L2 is owed. A later push owes an L1-c delta read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzg1NmbJpZhtiWQkTir

Landing · area o3-F · 2026-11-17T15:33Z

Probe Reading
L1 ACCEPT 6950349685 at 29905cc9 with S1 (--regrade lacked a case hash) and optional N1; fix round 2 → bd40928d; delta ACCEPT 6952635977 at bd40928d, no must-fix, no should-fix
L2 not owed (L1-c: no seat L2)
Checks on head bd40928d9b 39 success, 18 skipped, 0 failure / pending
check-governed-merges.mjs --pr 34841 NOT governed (0 of 12 paths hit the register); 2147 changed lines ≤ 3000
K (first-parent, PRBASE fc5913e1 from Test Core's affected-set base..origin/main) 0 < 15
Open findings none (L1 carrier note on catalog-level facts accepted as noted, not filed)

State change: ready for review + auto-merge (merge queue). Card #34764 is closed out by the area after merge; the eval.md charter line stays with the seat.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 17, 2026 15:34
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit f012183 Nov 17, 2026
58 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-34764-skill-evals-runner branch November 17, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants