Repository navigation
Description
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs
Filing gate: ③ maintainer-directed · Source: maintainer — ruling on #37419 (record 7217332972, item 4), option text verbatim 「第 6 题恢复原样,另开一张卡把判分改成几种写法任一即算对,在那之前它仍约半数误判。」 Analysis 7217315886.
Grading: area:ai · Feature (a new assertion form of the skill-evals runner) · p3 · reach: every reader of a skill-evals round, and every case whose correct answers do not share one literal · evidence: measured (#37419 rounds) and read (grade.ts).
Reader: area o1-B under seat repo:objectstack#1, after PR #37797 lands.
Dedupe (objectstack, is:issue): any-of grader 48 (none on this grader; #36206 is the scenario scorer, a different grader) · must_contain any_of 0 · "skill-evals" grader 33 (none open on this) · grade.ts any-of 14 (same set).
维护者速读
- 做什么:技能评测的判分现在只有「每个必含词都要出现」一种写法。加一种「这几种写法出现任意一种就算对」,仍然逐字匹配、不做归一化、不用模型判分。第 6 题第一个改用它。
- 谁受益:看技能评测结果的人:红灯才真正代表「文档没教会」,而不是「答对了但措辞不同」。
- 不做会怎样:第 6 题继续约半数把正确答案判错;第 12 题和一批英文短语必含词的题也一样只能二选一:查太严误判,查太松漏判。
- 需要你做的:无(改
skills/**下的评测文件需 os-zhuang 批准)。
What
packages/qa/scenarios/src/skill-evals/grade.ts passes an answer "when every must_contain token appears in it and no must_not_contain token does"; a token is "a literal, case-sensitive substring", "No model judges an answer, and nothing is normalised." There is only an all-of form. On #37419, two single-token choices for skills/objectstack-ai/evals/skills-tools-knowledge.json case 6 both marked correct answers wrong: the two main phrases pool 6/15 with the skill, and ai:approve read 5/5 then 2/5 on fresh rounds, where the dev read the three misses as correct answers that never wrote that name.
- Add one assertion form beside
must_contain: a list of groups, each group a list of literal tokens; a group is met when at least one of its tokens appears. Same matching as today: literal, case-sensitive substring, no normalisation, no model judge. The key's name and the result's report of an unmet group are the author's choice; say them in the PR body. cases.tsparses and refuses the new form as it does the others (a group must be a non-empty list of strings; a case that asserts nothing still refuses).hashCaseincludes it, so recordings keyed on a case's hash re-key when the form is added; say so in the PR body.- Case 6 moves to it. The token set is drawn from a recorded with-skill round (the earlier recordings are not in the project files, so record one first) and must be code spellings or refusal terms a correct answer of the expected kind uses;
must_not_contain(pendingActions.approve(), the prompt andexpected_outputdo not change. - Out of scope, pointed here: case 12's carry 7207779687 (the
get_record_contextbinding) and the English-phrase family named in 7207740184. They are the next readers of this form; this card does not move them.
Acceptance
- The grader's self-test covers the new form: a group met by its second token passes, a group with none of its tokens fails, all-of and
must_not_containunchanged. - Case 6 on the pushed head, a fresh round at 10 draws per arm (not the round the tokens were drawn from): with the skill ≥ 8/10, without the skill ≤ 2/10. A miss returns to the decision box; ⛔ no silent lowering of the bar.
- ⛔ No rewording of the approval paragraph in
skills/objectstack-ai/SKILL.mdon this card. node scripts/check-skills-token-ratchet.mjsexits 0 with no ceiling raised.Clause-②: no,Metadata-protocol: none.
Model: skills/** is MANDATORY at the contract review tier (the eval file changes).
Parent: #37419
Size: S
Activity
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ai · domain:devx · Feature · p2 · pm:queue · size S; rationale: maintainer-directed (ruling on #37419). The skill-evals grader needs an any-of form over literal tokens. Until it lands, case 6 still misgrades about half its runs (the maintainer's words), and an eval-tooling false red is p2, so p3 → p2. Recorded 2026-11-27T12:15Z.
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
Claim: PM loop round 4 · area o1-B (the card's named reader, now that PR #37797 has merged as
3247e87d; seat repo:objectstack#1 cleared the order in its seat thread) · 2026-11-27T12:50ZSession:
session_016WV4cxBECSPtHxQMZDHSieAccount:
os-elon-muskBranch:
claude/area-o1B-37928Worktree:
objectstack-issue-37928Domain:
domain:devxArea: o1-B
Seat:
repo:objectstack#1File surface:
packages/qa/scenarios/src/skill-evals/(grade.ts,cases.ts,self-test.ts, andsummary.ts/run.tsonly where they report an unmet group);skills/objectstack-ai/evals/skills-tools-knowledge.json, case 6'sassertionsonly (prompt,expected_output,must_not_containand every other case unchanged); the runner README underpackages/qa/scenarios/where it documents the assertion forms; one changeset. ⛔ No edit toskills/objectstack-ai/SKILL.md(stop on breach; explain in the report)Container & model: S,
mode:subagent, model:CONTRACT_REVIEW_TIER(dispatch-gates --tieron the surface: "Model tier — MANDATORY",skills/objectstack-ai/evals/skills-tools-knowledge.json⇢skills/**, derived from the file surface), effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card (Feature)
Thread-read: 7218032083
Premise: holds — on
mainbc173343grade.tshas the all-of form only ("passes when everymust_containtoken appears");cases.tsparsesmust_contain/must_not_containand refuses a case that asserts nothing;hashCasecoversmustContain/mustNotContain; case 6 onmainreadsmust_contain["signed-in session", "refused"],must_not_contain["pendingActions.approve("], untouched by PR #37797.Serial constraints cleared:
PR #37937 (seat repo:objectstack#3, card #37857, draft) edits case 10 of the same eval file; the hunks are disjoint from case 6, and whichever lands second merges main. PR #37939 (card #37782) edits objectstack-ai SKILL.md only, outside this surface. No in-flight claim on packages/qa/scenarios/src/skill-evals/.Pre-claim lane:
skills/**⇒ governed, Tier H: L1 and contract review in L1-a, landed by seat repo:objectstack#1 after ①–④.Prior rulings read: #37419 second ruling A (7217332972, item 4 files this card; its analysis 7217315886). Bar on this card: case 6, fresh round at 10 draws per arm, ≥ 8/10 with the skill and ≤ 2/10 without; a miss returns to the decision box, ⛔ no silent lowering.
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
os-dev-report
{
"issue": 37928,
"status": "done",
"branch": "claude/area-o1B-37928",
"pr": "#37969",
"session": "session_016WV4cxBECSPtHxQMZDHSie",
"premise_still_valid": true,
"head": "07fe4d2fa877",
"files": [
"packages/qa/scenarios/src/skill-evals/grade.ts",
"packages/qa/scenarios/src/skill-evals/cases.ts",
"packages/qa/scenarios/src/skill-evals/run.ts",
"packages/qa/scenarios/src/skill-evals/summary.ts",
"packages/qa/scenarios/src/skill-evals/self-test.ts",
"packages/qa/scenarios/README.md",
"skills/objectstack-ai/evals/skills-tools-knowledge.json (case 6 assertions only)",
".changeset/37928-skill-evals-any-of.md"
],
"summary": "The skill-evals grader gained the any-of form: key must_contain_any (a list of groups, each a list of literal tokens; a group is met by any one token; every group required; same literal case-sensitive substring matching). An unmet group is reported whole in unmetAny on the grade result and the run record (key absent when every group is met), and in the summary's missed column as '(none of: a / b)'. cases.ts refuses a malformed form (not a list, a group not a list of strings, an empty group, an empty token) and still refuses a case asserting nothing; hashCase includes the groups only when a case has any, so only a case that gains or edits a group re-keys. Case 6 moved to one group of four tokens (ai:approve, signed-in session, refused, never decides) drawn from a recorded with-skill round; prompt, expected_output and must_not_contain unchanged; SKILL.md untouched. Draft PR 37969 opened through the relay, assignee os-elon-musk, body stored identical.",
"acceptance": {
"round_A_recording_tokens_drawn_from_it": {
"head": "f0bbe3940e",
"tokens": "as on main",
"with_skill": "1/10",
"no_skill": "0/10",
"offline_reading_against_new_group_not_a_measurement": {
"with_skill": "10/10",
"no_skill": "0/10"
}
},
"round_B_fresh_acceptance": {
"head": "07fe4d2fa8",
"tokens": "the new group",
"with_skill": "9/10",
"no_skill": "0/10",
"invalid_or_error_turns": 0
},
"bar": "with >= 8/10 and without <= 2/10: met; no retune made",
"answers": "Round B with-skill: ten correct answers (decline to approve on the token, only the person the call ran as decides in the app, list-and-report script offered); the one miss is a correct answer that wrote 'refuses' in the present tense and named no ai:approve. Round B no-skill: three wrote pendingActions.approve(, seven asked first or proposed alternatives without the platform rule; none carries a token of the group. Round A with-skill: ten correct answers, four in Chinese; nine failed main's tokens for lacking 'signed-in session'."
},
"tests": "All on head 07fe4d2. skill-evals --self-test: exit 0, '✓ skill-evals self-test: 40 rows pass.' (34 before; six new rows). pnpm --filter @objectstack/scenarios typecheck: exit 0. Under the verify lock, package build then 'pnpm --filter @objectstack/scenarios exec vitest run --maxWorkers=2': 'Test Files 45 passed (45)', 'Tests 1395 passed (1395)', 'VERDICT command-exit 0'. Ablation once (scripts/ablation-replace.mjs: gradeAnswer made to treat every group as met; anchor 1 -> 0, blob 33487785e247 -> d9ab5806089f): self-test exit 1 with three rows red (none-of-its-tokens, beside-a-met-group, summary) and no verdict line; restored, blob == HEAD, git diff HEAD empty. No rebuild leg: the self-test runs from src through tsx.",
"gates": "Local, each exit captured before any pipe: node scripts/check-skills-token-ratchet.mjs exit 0 (no ceiling raised; script not in the diff); check:nul-bytes exit 0; ui check:skill-eval-tokens exit 0; dispatch-gates --commands derived 68 commands on 07fe4d2: 67 exit 0, pnpm check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET (reads every package's dist; only the scenarios closure is built) = NOT MEASURED, left to CI. --ran: '68 derived famil(ies) accounted for — 67 run, 1 NOT-MEASURED', exit 0. CI on 07fe4d2 at report time: 23 check-runs, 17 in_progress, 1 queued, 5 skipped, none failed. NOT MEASURED: test:repo and the full gate farm, reason: CI's.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls, then POST /issues/37969/assignees); this os-dev-report comment (POST /issues/37928/comments via post-stamped)",
"deviations": [
"The CLI has no per-case filter, so both rounds ran case 6 alone through an uncommitted scratch driver calling the runner's own preflight / planRound / executeRound / summariseRound; records live in the session scratchpad, not the repository.",
"The first locked package test run was read as NOT MEASURED for two build suites (package dist not yet built); re-run after building, all green.",
"No case added under packages/qa/scenarios/test/skill-evals/: outside the claimed file surface; the self-test carries the new coverage.",
"The PR footer uses the repository's AGENTS.md form (rule line plus session-URL footer) in place of the harness reminder's footer; commits carry the model-free trailer pair the pre-push hook requires."
],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed · ui/scripts/check-skill-eval-tokens.mjs scores only must_contain tokens against the bundle's guides and does not read must_contain_any, so tokens of the new form are not checked as taught (case 6's four were read by hand: each occurs in skills/objectstack-ai/SKILL.md). Outside this card's file surface; the next readers of the form (case 12, the English-phrase family) would want the gate extended first. dedupe words: check-skill-eval-tokens must_contain_any, eval tokens taught any-of, skill eval token gate any-of",
"carrier: none · noted, not filed · observation: on an English prompt, 4 of 10 with-skill and 7 of 10 no-skill answers in round A came back in Chinese (1 and 6 in round B); English-phrase tokens cannot match those, which bears on the English-phrase family named in the card's item 4."
]
}
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
Close-out (area o1-B) · 2026-11-27T14:31Z
Delivered: PR #37969 merged as
dc45b1e6(seat repo:objectstack#1 landing after os-zhuang's approval): the skill-evals grader takesmust_contain_any(groups of literal tokens, any one per group, same literal case-sensitive matching, no normalisation, no model judge);cases.tsrefuses a malformed form;hashCasere-keys only a case carrying groups.skills/objectstack-aicase 6 moved to one group (ai:approve,signed-in session,refused,never decides). Fresh acceptance round on the pushed head: 9/10 with the skill, 0/10 without (bar ≥ 8 / ≤ 2), no retune. L1 ACCEPT 7220192629, contract review PASS 7220167777, seat record 7220219532.Accepted deviation N1, standing condition: if a later recording shows
refusedalone carrying a wrong answer, the token returns to the decision box with that recording; no silent tuning.Follow-ups: #37978 (
check-skill-eval-tokens.mjsreadsmust_contain_any), #37980 (a--casefilter on the CLI, plus README andcli.tsprose).State:
pm:dispatchedremoved with the close. Remaining: none on this card.