Repository navigation
docs(skills): objectstack-i18n eval 12 forbids the nested key a wrong answer writes - #39073
Conversation
… answer writes, not the shape a right one names Claude-Session: https://claude.ai/code/session_01WGufzeatqKfTRUzTJVa9jQ Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract-review-claim: session_01WGufzhGA3zoCFquQgku4pm · head 131281a · 2026-12-02T07:19Z |
…y position an object holds it The first commit on this branch forbade the key after a comma-space and after two spaces. A probe with the grader showed three written spellings the bare literal on main failed and that set let through: the key first in its object, flush left on its own line, and indented by a tab or by one space, plus the comma or brace with no space after it. Each is now an entry. Every entry contains the old literal, so no answer that passed before fails now. The changeset says which wrong spellings fail and which were never graded. Claude-Session: https://claude.ai/code/session_01WGufzeatqKfTRUzTJVa9jQ Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract-review-claim: session_01WGufzhGA3zoCFquQgku4pm · head 7b1f395 · 2026-12-02T07:49Z |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract reviewServed-tier: A full record on this head; the record drafted on ① Derived judgments
② Semver level
The rewritten changeset now names the positions: after a previous entry with and without a space, first in its object with and without a space, and at a line start flush left, by a tab, by one space, by two spaces or more. That list matches the eight entries. It also says which answers no literal separates, which spellings were never graded, and that every entry contains the old literal. All four statements are true of the tree. Two imprecisions remain, both prose (N3 below). ③ Boundary flags
④ Design judgment
The reference answer passes its own assertions: Wrong answers, each nesting
Right answers:
No entry refuses any answer main passes, with or without braces, so the brace case is not a new red: it is one of main's reds that this line keeps. No must-fix, no should-fix. Nits, none fixed on this head (a change to the line moves the head):
Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 review — ACCEPT on
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 席位核对ACCEPT — PR #39073 @
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 维护者速读
|
Requested by Yibo Wang · project thread
Part of #38941
Claim for this branch: #38941 comment 7338066079
Clause-②: no
Metadata-protocol: none
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzeatqKfTRUzTJVa9jQ
维护者速读
error: {,正确答案只要提一句「不要拆成嵌套对象error: { … }」就会被判错。现在只禁这个键写在对象里的位置:跟在前一项后面、对象里的第一项、或一行的开头(顶格、制表符、一个或多个空格缩进)。单独提到这个形状的答案通过。'error.message',照样通过;把error: { message: … }嵌进rows列里的答案,在上述位置照样判错;把同一个对象整段写成「不要这样写」的示例也会判错,没有字面量能把两者分开(修改前同样判错)。键加引号或冒号后不留空格的写法,修改前后都不判。本题的用例哈希会变,跨轮比较要在重跑之后。What changes
skills/objectstack-i18n/evals/bundles-locales-coverage.json, eval 12 (table column headers on an action's result dialog).must_not_containon main is the one bare literalerror: {. It becomes eight entries, each the same literal where an object holds it:A
must_not_containentry is a literal, case-sensitive substring, so the bareerror: {also failed a right answer that names the nested shape as the thing to avoid. Every new entry contains the old literal, so no answer that passed on main fails now. The bundle's.mdtext, the prompt and the reference answer have 0 hits for the bare literal, so 0 for each entry.The first commit on this branch (
131281a74e) wrote two of the eight entries. The second (7b1f39571b) is the re-derivation at the mandated tier: a probe with the grader showed written spellings main failed and the two entries let through (rows W3 to W6 and W10 below), and adds an entry for each. The changeset now says which wrong spellings fail and which were never graded.History: the edit was held on #38941 (status note on the card) because this session's auto-mode permission classifier refused it twice while the change had no maintainer okay; the zone did not route around those refusals. The maintainer's okay arrived 2026-12-02T07:14Z, and the edit went through directly.
Tests
Measured at
7b1f39571b.Probe: 18 constructed answers graded by
gradeAnswer(packages/qa/scenarios/src/skill-evals/grade.ts) with the case's ownmust_contain, against threemust_not_containsets. Every answer carries all four required tokens, so the verdict is the forbidden set's alone.runAs: 'system' }) and pass the key named alone.Gates (local subset; CI runs the rest)
node scripts/pm/dispatch-gates.mjs --commandsderived 46 commands;--ran: 46 accounted for, 41 run (each exit 0), 5 NOT-MEASURED.check:doc-formula-expressions,check:dts-closure,check:dual-build-cjs-loads,check:lean-entry-closure,check:sourcemap-no-sources-content, each exit 3, PREREQUISITE NOT MET: they read built output and this worktree built no package (the diff touches no package source). CI owns them.node scripts/check-skills-token-ratchet.mjs,pnpm check:changeset-fixed,pnpm check:skill-top-level-keys,node ui/scripts/check-skill-eval-tokens.mjs. The last one scans theui/skillsbundles only, so it does not judge this file; its own-answer check is row R0 of the probe.loadSkillEvalCatalogoverskills/loads the case with the eight entries decoded.overlap-check.mjsbefore the push: clean.