Repository navigation
feat(qa): skill-evals grader takes an any-of form; objectstack-ai case 6 moves to it - #37969
Conversation
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>
Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 1 package(s): 18 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: ⛔ 3 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails. 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 c8da9715a945ea200e64b59e8789c5fc738d4918 && git checkout c8da9715a945ea200e64b59e8789c5fc738d4918
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 21ad7c540df659f5757a0a023ebb7e6cbf281bb3 07fe4d2fa8773b97ee53443707e5fe37c20501de && git checkout -B drift-repro 21ad7c540df659f5757a0a023ebb7e6cbf281bb3 && git merge --no-ff 07fe4d2fa8773b97ee53443707e5fe37c20501de
node scripts/docs-audit/affected-docs.mjs --json 21ad7c540df659f5757a0a023ebb7e6cbf281bb3
|
|
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 07fe4d2 · 2026-11-27T13:50Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: Read for this record: card #37928 (body, triage 7218032083, claim 7218758112, dev report 7219513608), PR #37969 (body, 8 files, head comment 7220004173), the net diff against ① Derived judgments
② Semver level
Sentence by sentence, against the tree:
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. (a) The any-of form, card items 1 and 2.
(b) The self-test, against the card's acceptance. Six new rows, floor 34 to 40, each registered in
(c) Case 6, card item 3.
No no-skill answer in either round carries any of the four (0 of 20).
(d) Acceptance.
N1 (nit) — Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT at head 席位核对Shape and gates. 8 files, +185/-23. Check-runs at 07fe4d2: 34 success, 16 skipped, 0 failed. Governed: the one path under Contract review. Record 7220167777 at this head: PASS, served at the contract tier ( Ratchet, measured by me. I merged this head onto current The card's acceptance, row by row.
The area's question: is The scratch driver: accepted as a round of the runner for this card. The CLI has no per-case flag, and the records carry the runner's own schema, record keys and verdicts, which re-derive from the answers. N3 asks for a Follow-ups to file, none blocking:
Changeset. Landing: governed |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Seat record · 2026-11-27T14:00Z · PR #37969 (Fixes #37928) · head 维护者速读
Seat opinion: land. 席位核对 — ACCEPT · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Approval request · governed @os-zhuang — the skill-evals grader gains |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 46012385997 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Queue drop read 2026-11-27T14:29Z · PR #37969 · head @os-zhuang — a re-queue of this PR is asked, once; the seat cannot enqueue a Tier H PR itself. Queue build 46012385997 failed one test,
|
…y member taught, tally (objectstack-ai#37999) <!-- claude-projects-attribution: {"github_login":"os-elon-musk"} --> _Requested by **Elon** · [project thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DLCo5F2y7fgbM8tstGoyyUn)_ Fixes objectstack-ai#37978 — under the maintainer's ruling **A** on the card (7222376446, 「A 按现状收 PR,改正卡片」), the acceptance is the gate reading `must_contain_any` for its own population (`skills/objectui`): shape refusals, every group member scored as taught, groups-only cases out of the EMPTY tally, no `must_contain` verdict moved. This PR is that change. Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:用户无感;技能评测的「必含词必须是文档教过的词」这道内部检查,现在也会检查「几种写法任一即算对」的新写法,检查格式,也检查每个候选词文档里有没有。 - 为什么做:属于技能评测质量这条线,为以后改用新写法的评测题把关,免得题目要求一个文档从没教过的词。 - 出错会怎样:只影响这道检查自己,最坏是某题被误判,改回即可撤回,不碰任何产品功能。 - 要你做的:无。另有一件事交给席位:这道检查今天只看界面技能包,第 6 题所在的平台技能包它根本不读,要不要扩大检查范围需要定夺。 ## What changes `ui/scripts/check-skill-eval-tokens.mjs` now reads `assertions.must_contain_any`, the any-of form the skill-evals runner grades since objectstack-ai#37969 (`anyOfProblem` in `packages/qa/scenarios/src/skill-evals/cases.ts`): 1. **Shape.** New `anyOfShape()` makes the runner's four refusals, one finding each: the value is not a list (`not-an-array`), a group is not a list of strings (`bad-group`), a group is empty (`empty-group`), a group holds an empty token (`bad-token`). A malformed group is not scored, the same way a malformed `must_contain` entry is not. 2. **Taught: every member, not at least one.** Each member of each well-formed group becomes a row, scored by the same bundle-wide oracle and whole-token rule as a `must_contain` token, and also under the rejected per-guide oracle that `--measure` prints. **Why every member:** any one member passes an answer. So a member the bundle never says is a word the case accepts as correct without the skill ever teaching it. That is the same untaught-token defect, reached through a group. "At least one" would let that member through. A member's row key carries its group: `... eval ID must_contain_any[G] TOKEN`. A baseline row therefore names exactly one member of one group. `rowKey()` output for a `must_contain` token is byte-identical to before. 3. **Tally.** A case whose only positive assertion is groups is no longer counted in the "must_contain is EMPTY" tally. Its members also count toward the population, so a bundle made only of such cases is not refused as `empty-population`. 4. **Self-test.** There are 13 new `--self-test` rows (31 to 44), covering each axis in both directions. There are 4 new vitest pins in `ui/scripts/__tests__/check-skill-eval-tokens.test.ts`: the four shape reasons plus the well-formed pass, every-member scoring with the one untaught member red and keyed by its group, the key shape, and the tally and population direction. The header documents the form. The summary lines now also count `must_contain_any` members and groups. Baselines: `KNOWN_UNTAUGHT_EVAL_TOKENS` stays empty, and no row is needed. No changeset, labelled `skip-changeset`: `ui/` is the private `object-ui-monorepo` root package, and `ui/scripts/**` ships in no published package's `files[]`. ## Tests <details><summary>Self-test and vitest, on head 8ac75d7</summary> - `node ui/scripts/check-skill-eval-tokens.mjs --self-test` printed `OK check-skill-eval-tokens self-test: 44 cases pass (...)` with exit 0. It was 31 cases before. - `pnpm --dir ui exec vitest run scripts/__tests__/check-skill-eval-tokens.test.ts` under the lock gave `Test Files 1 passed (1)`, `Tests 34 passed (34)`, `VERDICT command-exit 0`. - `node ui/scripts/check-skill-eval-tokens.mjs` exited 0: `128 must_contain token(s) and 0 must_contain_any member(s) in 0 group(s)`. </details> <details><summary>Ablation: each new branch broken once, then restored by blob hash</summary> Each run used `node scripts/ablation-replace.mjs ... -- node ui/scripts/check-skill-eval-tokens.mjs --self-test`. Each restore was proven as blob == HEAD (`f61ab5068e2b`) with `git diff HEAD` empty. - Shape (`anyOf.problems` replaced by an empty list): exit 1, 4 of 44 failed, all four shape rows. - Taught (only the first member of each group scored): exit 1, 2 of 44 failed: "every member of a taught group passes, and is scored" and "ONE untaught member reds its group". - Tally (the groups condition dropped): exit 1, 1 of 44 failed: "a case whose only positive assertion is groups is NOT in the EMPTY tally". The first attempt was refused by the tool before running, because its replacement text already occurred in the file. The re-run used a distinct replacement. </details> <details><summary>No verdict moves: --list and --measure before and after</summary> Both outputs were captured on `dc45b1e65c` and on this head, then diffed. All 128 row lines of `--list`, and every row of both red lists in `--measure`, are identical. The only changed lines are the four summary lines: the scan count, the oracle sentence, the EMPTY tally label and the success line. Exit 0 both times. The per-guide red count is 18 both times. </details> ## Acceptance notes - **The premise half that does not hold: this gate never reads case 6.** `skillsWalk()` in `ui/scripts/skill-bundle-root.mjs` narrows the walk to `skills/objectui` in the monorepo. The vitest pin "the real corpus" asserts the bundle list equals `['skills/objectui']`, and Lint UI's path filter in `ci.yml` names `skills/objectui/**`. So `skills/objectstack-ai/evals/skills-tools-knowledge.json` case 6 is outside the population on `main` and on this branch alike. - I measured with `analyze({ root: REPO_ROOT })`, which walks the whole catalog, on this head. All four case-6 members are taught in `skills/objectstack-ai`: `ai:approve` 1, `signed-in session` 1, `refused` 17, `never decides` 1, whole-token counts. Widening the gate to all 14 bundles would also red **131** existing `must_contain` rows across 11 of the 13 other bundles, including case 12's `context:` and `policy_document`, plus 4 `forbids-own-answer` findings. The EMPTY tally there goes 71 to 70 with this change, because case 6 leaves it. So the population question was a scope decision, not a mechanical edit. **Ruled A (7222376446):** the acceptance is narrowed to this gate's own population; widening to the `objectstack-*` bundles (options B, C, D), any `ci.yml` edit and the one-off audit are not ruled and not in scope. Case 6's four tokens were checked by hand. - Head `603494f7` adds only a JSDoc type on `rowKey` to `8ac75d78` (the head the Tests section cites), fixing Type Check UI's TS2345; the gate, `--self-test`, the vitest file and `type-check:scripts` were re-run green on it. L1 ACCEPT 7222137031 at `603494f7`. - `--self-test` here has no battery floor or handshake, which is the shape AGENTS.md now asks of self-tests. This is pre-existing. Noted only. ## Verification Read first: 1. `anyOfShape()` and the scoring loop in `analyze()`. The risk is the `must_contain` row order or key changing. The before and after `--list` diff above shows it did not. 2. The new `must_contain_any` self-test block. Two-minute check: `node ui/scripts/check-skill-eval-tokens.mjs --self-test` prints `44 cases pass` and exits 0. --- _Generated by [Claude Code](https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie)_ <!-- signed: repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie --> --------- Co-authored-by: Claude <noreply@anthropic.com>
…ai residue; objectstack-ai eval cases 2, 6, 7 grade every correct spelling (objectstack-ai#38156) <!-- claude-projects-attribution: {"github_login":"os-sales"} --> _Requested by **Sales** · [project thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuFLwsbUXqRkpg67fCZfuCf3)_ Fixes objectstack-ai#37850 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:用 AI 技能写智能体的开发者会读到更准确的一句话:智能体模型里的「服务商」字段已退役、会被拒绝,唯一例外是旧版工具自动写进去的 openai 默认值,会被接受并自动删掉;做法不变,仍是删掉它。运行时行为不变。 - 为什么做:上一次去掉这个字段的改动在审核里留下的四个尾巴:说法不准一处、评测判分词太窄三处(另一处过期行号已被别的改动删掉)。 - 出错会怎样:只影响技能文字和评测读数,产品行为不变;判分若放得太松会把没学会的答案判对,本次用两轮旧录音重判,不带技能的答案一个也没有因此变对。可以直接撤回。 - 要你做什么:技能包是对外发布的受管文件,需要你批准合并。 ## What changes - `skills/objectstack-ai/SKILL.md` (Model Configuration): "`provider` is retired (protocol 19): writing it is a parse error" becomes "retired (protocol 19) and refused, except the `'openai'` an 18.x toolchain wrote out, which parses and is stripped. Delete it." The instruction is unchanged. The file sits at zero token headroom, so the clause is paid for by deletions in the same section: ", never a provider" (the next clause says the deployment chooses it), the `model` row's "for the environment" and "model " in "free-string model name", and the `temperature` row's "`min(0).max(2)`, " (the same cell says "Outside 0–2 is a parse error"). Ceiling unchanged. - `packages/spec/src/ai/agent.zod.ts`: the `provider` tombstone's jsdoc, which said the same words, names the one value that parses (`MODEL_PROVIDER_RETIRED_KEY_RESIDUE`) and that `tsc` refuses it all the same. Comment only. - `skills/objectstack-ai/evals/skills-tools-knowledge.json`: - case 2 (sampling settings): `expected_output` says "refused" instead of "a parse error"; `must_not_contain` goes from the one spelling `provider: 'anthropic',` to nine code spellings: single or double quotes, followed by a comma, a newline, ` }` or `}`, and the JSON form `"provider": "anthropic"`. The backtick-terminated inline warning (`` `provider: 'anthropic'` ``) still passes. - case 6 (nightly approval script): the `must_contain_any` group gains `refuses`. - case 7 (`run_action` with `confirm: true`): `do not retry` moves from `must_contain` into a `must_contain_any` group `["do not retry", "Do not retry", "don't retry", "Don't retry"]`. - `.changeset/37850-agent-model-provider-refused-residue.md`: `@objectstack/skills` patch, `@objectstack/spec` patch (jsdoc). ## Why The four boxes of objectstack-ai#37850, each against `main` 581ae76: 1. **N1, the parse-error wording.** True for every value but one: `acceptRetiredDefaultResidue(…, { provider: 'openai' })` at `agent.zod.ts:71`/`:96` strips the 18.x default (pinned by `agent-model-provider-retirement.test.ts:91-95`). Fixed in the skill and the jsdoc. 2. **N2, case 2's single forbidden spelling.** Fixed as a set of spellings, not the bare key: a bare `provider:` fails correct answers that quote the retired spelling to warn (round-1 answers do exactly that). 3. **`SKILL.md:457` citing `agent.zod.ts:234, :251`.** Already gone on `main`: objectstack-ai#37939 (62dd9e1) rewrote that passage and dropped the citation. Closed with that reason; nothing to change. 4. **Cases 6 and 7 missing their literal phrases.** Judged against the recorded answers of both objectstack-ai#37796 rounds (round records kept by the seat): the **grading token** was wrong in both, the teaching is right. - Case 7: all six with-skill answers say "Don't retry" / "Do not retry" / "**don't retry**" next to the right handling of `pending_confirmation` and `no_confirmation_service`; the grader is a case-sensitive literal match (`grade.ts`), and `SKILL.md:212` teaches "do not retry". - Case 6: objectstack-ai#37969 (dc45b1e) already moved it to an any-of group; one correct with-skill answer still failed it only because it wrote "refuses" ("ObjectStack refuses decisions made with API tokens"). ## Verification <details><summary>Re-grade of the recorded rounds under the new assertions (literal grader, script in the thread scratchpad)</summary> Round 2 (runner fb8b3f2, the clean round): | case | with-skill before → after | no-skill before → after | |:--|:--|:--| | 2 | 3/3 → 3/3 | 0/3 → 0/3 | | 6 | 1/3 → 3/3 | 0/3 → 0/3 | | 7 | 0/3 → 3/3 | 0/3 → 0/3 | Round 1 (789e0c7) with-skill: case 6 0/3 → 3/3, case 7 0/3 → 3/3. Round 1's no-skill arm read project memory (objectstack-ai#37842), so its case 2 flips (graded then under an older assertion) are not evidence either way. `pnpm --filter @objectstack/scenarios skill-evals --regrade` on a copy of round 2 exits 0: the catalog loads; it sets cases 2/6/7 apart as changed since the round, as designed, so the table above is the literal-grader reading. </details> <details><summary>Local gates at c5dee31; at 72007e7 (S1, a line number only) and at 61188fd (main merged + the 5-byte cut) the token ratchet, check-nul-bytes, check:skill-links, check:skill-frame-sync, check:skill-identifier-liveness, check:skill-docs, check:skill-refs and check:empty-changeset re-run, exit 0</summary> All exit 0: `node scripts/check-skills-token-ratchet.mjs` (`skills/objectstack-ai/SKILL.md is 6893 tokens (ceiling 6893; headroom 0)`), `check-affected-docs`, `check-drift-comment`, `@objectstack/spec` `build` + `check:generated` (`All 14 generated artifacts are up to date`), `check:docs`, `check:skill-docs`, `check:skill-refs`, `check:liveness`, `check:llms-txt`, `check:doc-authoring`, `check:pm-skill-id-lint`, `check:skill-compatibility`, `check:skill-frame-sync`, `check:skill-frame-freshness`, `check:skill-identifier-liveness`, `check:skill-links`, `check:spec-docblock-symbol-anchors`, `check:spec-parsed-alias`, `check:skill-top-level-keys`, `check-nul-bytes`, `check:empty-changeset`. The rest of the derived families are CI's. </details> Skills readings (lines), against `main` at the merge: `skills/objectstack-ai/SKILL.md` 488 → 489; bundle (all `skills/*/SKILL.md`) 4953 → 4954. Tokens: 6906 → 6906 of 6906 (before the merge: 6893 → 6893 of 6893). No eval round run (Sales paused rounds). Two-minute check: `node scripts/check-skills-token-ratchet.mjs | grep objectstack-ai/SKILL` prints ✓ at 6893. ## Acceptance notes - Read first: the SKILL.md hunk (the residue sentence and the three deletions paying for it), then case 2's spellings. - Case 2 still lets a code line with trailing spaces or a `//` comment after `provider: 'anthropic'` (no comma), or `provider:'anthropic'` with no space, slip past; closing those with literal substrings would start catching the inline prose warning. Left open. - Accepted nits from the contract review (not changed this round): case 2's two `}` spellings also fail a correct answer that warns inline with the braces (the retired key shown inside a backticked `model: { … }`), so "the inline warning still passes" holds for the bare-key form only, and a fenced counter-example still fails; case 7 still misses a typographic apostrophe, "never retry", or bold inside the phrase; case 6's any-of group is met by generic refusal wording and leans on its one forbidden call spelling (older than this PR). - `SKILL.md:365`'s cite moves `agent.zod.ts:87-95` → `:89-97`: the jsdoc hunk adds two lines above the `model` block's keys (review S1). ## Serial Open PR objectstack-ai#38013 edits other hunks of the same two skill files (the knowledge-service sentence at `SKILL.md:244`, case 14); the text merges clean. It does not fit under the token ceiling, though: objectstack-ai#38013 re-pins `skills/objectstack-ai/SKILL.md` to 6906 at its own measurement (27650 bytes), this PR adds 3 bytes (27596 → 27599), and the two merged are 27653 bytes, `ceil((27653 - 27) / 4)` = 6907, one over objectstack-ai#38013's row. Whichever lands second goes red on the token ratchet and must cut 2 bytes or re-pin; merging `main` alone is not enough. **Resolved here:** objectstack-ai#38013 landed first, and this PR's first merge-queue run went red on exactly that row (6907 / 6906). `main` is merged in (c725268) and 61188fd deletes a repeated noun inside this PR's own Model Configuration hunk ("among the providers turned on" → "among the ones turned on", 5 bytes; "the ones" refers back to "the provider" five words earlier). The file is 6906 / 6906 and no ceiling moves. The cut is sized to land on the row: the ratchet is red below its ceiling too, so a larger cut would have had to lower the row in the same commit. ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (jsdoc only) - [x] 2. Every name I added uses the casing for its kind. (none added) - [x] 3. No formatter ran; `pnpm lint` passes. (left to CI) - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (`check:generated`: all up to date, nothing to commit) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L6bhgUDWstaVZQkWbWFNBK --- _Generated by [Claude Code](https://claude.ai/code/session_01L6bhgUDWstaVZQkWbWFNBK)_ <!-- signed: repo:objectstack#2 · os-sales · session_01L6bhgUDWstaVZQkWbWFNBK --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Elon · project thread
Fixes #37928
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
The form.
assertions.must_contain_anysits besidemust_containandmust_not_containin a skill eval case. It is a list of groups, each group a list of literal tokens. A group is met when at least one of its tokens is in the answer, and every group is required, so[["a", "b"], ["c"]]reads "(aorb) andc". Matching is what the other two forms use: a literal, case-sensitive substring, nothing normalised, no model judge.The key name and the report of an unmet group (both the author's choice on this card):
must_contain_anyin the eval JSON;mustContainAnyon the parsed case.gradeAnswerreturnsunmetAny, the unmet groups, each group whole and in the case's order. The key is present only when a group is unmet, so a result for a case without the form is byte-identical to before. A run record carries the sameunmetAnyunder the same rule, and--regradedrops a stale one.CaseScore.withSkillUnmetAnyholds the deduplicated unmet groups of the failing with-skill turns, and the per-case table prints each in the existing missed column as(none of: `a` / `b`).The reader (
cases.ts) refuses, with the case's location: amust_contain_anythat is not a list; a group that is not a list of strings; an empty group (no answer could meet it); a group holding an empty token (every answer contains it). A case with no token in any of the three forms still refuses as asserting nothing, and a case that asserts only groups is read.The hash.
hashCaseincludes the groups only when a case has any. Every case without the form keeps its hash, so--regradereads earlier rounds as before. A case that gains a group, or has one edited, hashes anew: recordings keyed on that case's hash re-key,--regradesets its earlier records apart, and the case compares across rounds only after a re-run. Case 6 moves fromsha256:bd7f01e4b5bc2ac3…tosha256:b6390ca3b27f04dd….Case 6 of
skills/objectstack-ai/evals/skills-tools-knowledge.json:One group of four: the permission name the skill says does not decide the item (
ai:approve), where deciding happens (signed-in session), and two refusal terms (refused,never decides). All four are spellings of the approval paragraph the case grades and of the case's own reference answer. The prompt,expected_outputandmust_not_containare unchanged; no other case and no skill text changes.Files:
packages/qa/scenarios/src/skill-evals/{grade,cases,run,summary,self-test}.ts,packages/qa/scenarios/README.md, case 6'sassertions, one changeset (@objectstack/scenariospatch for the published README,@objectstack/skillspatch for the eval file).Read first, by risk: (1) the case 6 hunk above, the only published-skill change; (2)
anyOfProblemand the asserts-nothing sum incases.ts; (3)gradeAnsweringrade.ts.Two-minute check:
pnpm --filter @objectstack/scenarios skill-evals --self-testprints✓ skill-evals self-test: 40 rows pass.Tests
All on head
07fe4d2fa8.✓ skill-evals self-test: 40 rows pass.(34 before). Six new rows:must_containandmust_not_containdecide as before, and a second unmet group fails;--regradesets the earlier record apart;gradeAnswermutated to treat every group as met (scripts/ablation-replace.mjs, anchor 1 to 0, blob33487785e247tod9ab5806089f). The self-test went red on three rows (the none-of-its-tokens row, the beside-a-met-group row, the summary row) and did not reach its verdict; restored, blob equals HEAD andgit diff HEADis empty.pnpm --filter @objectstack/scenarios typecheck: exit 0.Test Files 45 passed (45),Tests 1395 passed (1395),VERDICT command-exit 0. The existing suite undertest/skill-evals/is untouched and passes, including its exact-shape assertions on the grader's result.node scripts/check-skills-token-ratchet.mjs: exit 0, no ceiling raised (the script is not in the diff).Acceptance
Both rounds ran case 6 alone through the runner's own turn machinery, the login's default model, Claude Code 2.1.332, 10 draws per arm, no invalid or error turn.
f0bbe3940emain(both ofsigned-in session,refused)07fe4d2fa8The bar is at least 8/10 with the skill and at most 2/10 without: round B meets it. No retune was made.
ai:approve; the tenth says the calls "are refused". Nine failed onmain's tokens for lackingsigned-in session(they wrote, for example, "while signed in", or the Chinese for it), which is the misgrade this card is about.pendingActions.approve(; three asked questions first and proposed alternatives without knowing the platform rule.ai:approvein eight,refusedin eight,never decidesin three,signed-in sessionin one). The one miss is a correct answer that wrote "ObjectStack refuses it" and "The server refuses an API key or token" and named noai:approve: the present tense of a token the group holds in the past tense.pendingActions.approve(; seven asked first or proposed alternatives; none carries a token of the group.Acceptance notes
ui/scripts/check-skill-eval-tokens.mjschecks that everymust_containtoken is taught by its bundle and does not readmust_contain_any, so the four tokens are not scored by it. Read by hand: each occurs inskills/objectstack-ai/SKILL.md(ai:approve1,signed-in session1,never decides1,refused9). That gate stays green on this head (exit 0). Extending it to the new form is outside this card's file surface.ai:approve. It is inside the bar and is left as measured.ai:approve.Verification
node scripts/pm/dispatch-gates.mjs --commands, 68 commands on07fe4d2fa8): 67 exit 0;pnpm check:dual-build-cjs-loadsexit 3, PREREQUISITE NOT MET (it reads every package'sdist/, and only the scenarios closure is built here), read as NOT MEASURED and left to CI.--ranreconciliation:68 derived, 67 run, 1 NOT-MEASURED, 0 UNRUN, exit 0.check:nul-bytesexit 0;uicheck:skill-eval-tokensexit 0.test:repoand the full gate farm, reason: CI's.Deviations
preflight,planRound,executeRoundandsummariseRound, so arms, argv, grading and records are the runner's. The rounds' records are in the session scratchpad, not in the repository.packages/qa/scenarios/test/skill-evals/gained no case: it is outside the card's file surface, and the self-test carries the new coverage as the card asks.Generated by Claude Code