Repository navigation
docs(skills): the objectstack-ui router names action refusals - #35279
Conversation
The Actions row of the routing table names `refusals` in the words of rules/actions.md's heading, so a refused action's message routes there. Paid down first by one restatement cut in the same file; the +2 token remainder is pinned at the measurement in the ratchet row. Claude-Session: https://claude.ai/code/session_01Utp6CazXu8zyYD5PC6J2u7 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ Contract reviewServed-tier: PR #35279 for card #35178, read as the net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Nits (no effect on correctness or the contract; none asks for a change to this head)
Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ 维护者速读
席位核对 — ACCEPT · repo:objectstack#5 · head
|
Requested by Bill · project thread
Fixes #35178
Clause-②: no
Metadata-protocol: none
维护者速读
objectstack-ui技能入口路由表的 Actions 行加上「refusing by code (refusals)」,与rules/actions.md该节标题同词;同文件 First checks 第 3 条删去一处复述(": it decides what to write"),token 棘轮该行 2277 → 2279。refusals声明(按码拒绝并返回翻译后的消息),但路由表没提,找「动作被拒时的提示」的模型不会被导向该规则。skills/objectstack-ui/SKILL.md路由表 Actions 行与 First checks 第 3 条(被删的从句是否确属复述);②scripts/check-skills-token-ratchet.mjs的 objectstack-ui SKILL.md 行注释与 +2 上调。node scripts/check-skills-token-ratchet.mjs,预期skills/objectstack-ui/SKILL.md is 2279 tokens (ceiling 2279; headroom 0)且末行 ✓。skills/**属 Tier H 受管面)。What changes
skills/objectstack-ui/SKILL.md, routing table: the Actions row ("A button or operation:locations, visibility, dialog and toast copy, params, new tab, the body'sctx") gains ", refusing by code (refusals)" — the words ofrules/actions.md's heading "Refusing by code (refusals)" — so a model looking for a refused action's message is routed to that rule (+31 bytes).scripts/check-skills-token-ratchet.mjs: theskills/objectstack-ui/SKILL.mdrow moves by the measured remainder, 2277 -> 2279, pinned AT the measurement (zero headroom), with its row note..changeset/35178-ui-router-names-refusals.md:@objectstack/skillspatch, carrying both declaration lines.Raise authority, quoted verbatim and untranslated — the standing ruling of 2026-10-27 「A:先削重复,余额按实测提高」, made the gate-recognised path by ruling record 6513306068 (letter B): restatement in the same file is cut first, the remainder moves by measurement.
Ratchet row: 9128 bytes (9108 priced) / 2277 tokens -> 9133 bytes (9113 priced) / 2279 tokens; measured remainder +2,
ceil((9133 - 20) / 4) == 2279.Skill size readings (tree
objectstack-ai/objectstack, basef4dbcc21-> head8254c29b):skills/objectstack-ui/SKILL.mdlinesskills/objectstack-ui/SKILL.mdbytes / priced tokensskills/*/SKILL.mdlines (sum)skills/*/SKILL.mdbytes (sum)Tests
Text-only change to served skill text and one ratchet row; no tested behaviour changed, so no ablation.
Token ratchet, gate and self-test (head 8254c29)
Before re-pinning the row, the same gate read
2279 / 2277 (+2)and exited 1 — the remainder this PR carries.Acceptance notes
Most traps below pass it.(First checks 4) sits next to the Traps heading "each parses, then fails at run time"; not cut, because passingos validateis a wider claim than parsing.*.action.tswhile the routing table's In column sayssrc/actions/*.actions.ts;examples/uses both spellings (2 vs 1). Noted only.Verification
Local gate union derived by
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackat head8254c29b(3 paths, 67 commands); every family CI runs is read from this PR's check-runs.Local run, reconciled with --ran (head 8254c29)
check:skill-docs,check:skill-served-sections(24 served sections, 10 JSON fences pass),check:skill-identifier-liveness,check:skill-links(267 links, 138 fragments),check:doc-authoring,check:pm-skill-id-lint,check:nul-bytes,check:doc-formula-expressions(after building the@objectstack/lintclosure),check:pm-dispatch-gates(fast tier, 2249 cases).pnpm --filter @objectstack/spec run check:skill-refs-> exit 0, "9 generated files in sync with packages/spec": no skill generator output changes.check:dual-build-cjs-loads,check:lean-entry-closure, reason: PREREQUISITE NOT MET (exit 3) — they load every package's builtdist/, which this docs-only diff does not build; CI runs them.test/typecheckowed: the diff touches no package source.🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CazXu8zyYD5PC6J2u7