Repository navigation
docs(skills): objectstack-i18n teaches that a stack may translate the platform's Setup and Account apps - #39033
Conversation
… platform's Setup and Account apps The skill's verify line and key map, one eval case and the i18n standard's apps rows now state what the merged translation-target-unknown rule does: an apps.setup or apps.account key resolves, and the navigation ids under it are not judged. Claude-Session: https://claude.ai/code/session_01WGufzhKEbEnW8pwZRgK2gJ Co-authored-by: Claude <noreply@anthropic.com>
…kills patch Claude-Session: https://claude.ai/code/session_01WGufzhKEbEnW8pwZRgK2gJ Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ 2026-12-02T04:24Z · |
…8n-platform-apps Claude-Session: https://claude.ai/code/session_01WGufzhKEbEnW8pwZRgK2gJ Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ Final green head · 2026-12-02T05:12Z · zone osa-data
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract-review-claim: session_01WGufzhGA3zoCFquQgku4pm · head f764197 · 2026-12-02T05:16Z |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract reviewServed-tier: Inputs: card #38793 (body and its five comments), PR #39033 (body, four-file list, net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
M1 (must-fix) — the deletions in this file break eval case 8 of the same bundle. Case 8 has
S1 (should-fix) — case 17's assertions do not grade the outcome the card names ("expects no refusal"). Four of the five Nits:
Delta owed on the next head: M1 and S1. Implemented-by: VERDICT: FAIL |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 review · PR #39033 (#38793) · head f764197 · 2026-12-02T05:23ZREWORK. The Must-fix
Read and right
Next: fix head, then the contract delta ( |
…rades a written bundle Contract review of the previous head: the entry file no longer spells the two worked paths case 8 required, so its prompt now supplies the names; case 17 gains any-of groups only an answer that writes the bundle meets. Claude-Session: https://claude.ai/code/session_01WGufzhKEbEnW8pwZRgK2gJ Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhKEbEnW8pwZRgK2gJ Final green head · patch round 1 · 2026-12-02T05:43Z · zone osa-data
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract-review-claim: session_01WGufzhGA3zoCFquQgku4pm · head 309fcae · 2026-12-02T05:44Z |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract reviewServed-tier: Delta on the record for head ① Derived judgments
② Semver levelUnchanged: ③ Boundary flagsNo new dev flag and no ④ Design judgmentM1: closed No must-fix, no should-fix.
Nits:
Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 delta · PR #39033 (#38793) · head 309fcae · 2026-12-02T05:46ZACCEPT on head
Next: the seat's Tier H hand-off. |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 席位核对ACCEPT — PR #39033 @
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 维护者速读
|
Fixes #38793
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Read first, by risk:
skills/objectstack-i18n/SKILL.md, the verify line (First checks 3) and the new first note under the key map. This is the text an AI author follows.skills/objectstack-i18n/SKILL.md, the four places that pay for it (title line, locale check, theinlineTitlenote, the report and book note).content/docs/protocol/kernel/i18n-standard.mdx, theapps.{app}andapps.{app}.navigation.{id}rows.The skill now says what the merged
translation-target-unknownrule does, in the words of itsos explaintext ("A platform app a stock runtime serves (setup,account) resolves too and its navigation ids are not judged: the runtime applies the key over the served app, whose items come from the plugins the deployment composes."):os validaterefuses a key naming nothing the metadata declares, except a platform app's.apps.setupandapps.accounttranslate the platform apps a stock runtime serves;os validatedoes not judge theirnavigation.{id}ids, which the deployment's plugins supply, so the ids are read from the served app.The docs rows carry the same two facts in full, plus what the skill has no room for and the rule's code and tests state:
studiois not served by a stock boot and stays an orphan; a stack that declares its own app under one of the two names is judged against its own declaration; ids the stack itself contributes into a platform app are not judged either; and atranslationitem saved through the metadata API is judged against the served apps when the host states them.One eval case (id 17,
bundles-locales-coverage.json): a stack that declares nosetupapp is asked to translate Setup's title and itsnav_usersentry. The answer must containapps,setup,navigation,nav_usersand the translated label, and must not declare an app to carry the key.Skill size, the two readings:
skills/objectstack-i18n/SKILL.md, linesskills/objectstack-i18n/SKILL.md, tokens (ratchet convention)skills/*/SKILL.md, linesThe file sat at zero headroom, so the new text is paid for by deletion in the same file: a shorter title line, the clause "not an English
defaultLocale" (the sentence already names the two values to declare), and three worked key paths that restated their own sentence (the child-objectinlineTitlepath, the report block path, the book group path). The rules those paths illustrated still read in full, and the eval cases that grade them (ids 8 and 9) supply the names in their prompts. The ceiling row is not touched.Tests
Text only; no package source changes, so there is no package test to run. All readings at head
0d07a96c.Local gate readings
node scripts/check-skills-token-ratchet.mjs: exit 0, "61 authored bundle file(s) within their ceilings"; the i18n row reads2243 / 2243 (+0).pnpm --filter @objectstack/spec run check:skill-examples: exit 0, "344 prose examples type-check across 3 surface(s)" (after building the client-react closure it reads).pnpm --filter @objectstack/spec run check:skill-docs,check:skill-refs,check:docs: exit 0.pnpm check:skill-links,check:skill-identifier-liveness,check:skill-compatibility,check:skill-frame-sync,check:skill-top-level-keys,check:doc-authoring,check:doc-anchors,check:nul-bytes: exit 0.dispatch-gates.mjs --commandsderives (75 in all): exit 0, except the two below.--ran: "75 derived famil(ies) accounted for, 74 run, 1 NOT-MEASURED".pnpm check:dual-build-cjs-loads, exit 3, its own prerequisite refusal (it needs a full workspace build); left to CI.pnpm check:closed-ceremony-text, exit 1,spawnSync git ENOBUFS. See Acceptance notes.Acceptance notes
pnpm check:closed-ceremony-textis expected to be red on this PR for a reason outside the diff. Its file listing runsgit ls-files -zoverpackages,content/docsand.changesetthroughexecFileSyncwith the default 1 MiB output buffer. Onorigin/mainat444dce61that listing is 1,048,565 bytes, 11 bytes under the 1,048,576 limit; this PR's one new changeset path takes it to 1,048,611 and the call throws before any file is read. The same gate exited 0 on this branch one commit earlier (6b959d0d, every content change, no new file). Any pull request that adds a tracked path of 12 bytes or more under those roots meets the same failure. The fix belongs to that script (amaxBufferon the call) and is outside this card's file surface, so it is reported to the seat and not made here. The phrases the gate looks for do not occur in the added text (grep over the changeset: 0 hits).studioand own-declaration cases; the docs rows do. The entry file had no room for them without cutting a rule.Verification
Two minutes: run
pnpm --filter @objectstack/lint exec vitest run --maxWorkers=2 src/validate-translation-references.test.ts -t "a platform app the runtime serves"and compare its five cases with the two skill sentences and the two docs rows: accepted with any navigation id; accepted when the stack also contributes into the app;studioreported; an ownsetupapp judged against its own declaration; at the save door, a platform app the environment does not serve reported.Patch round 1
Head
309fcaea, answering the contract review off7641974(M1, S1; comment 7335881986). The skill file is unchanged from the reviewed head.crm_opportunity_line_itemandopen_block, which only the two worked paths this PR removed from the entry file spelled. Its prompt now names the child object, its field and the block, so the case grades the rule (the key is the child's; a block is keyed by itsname) and not a recalled name.nav_users: {, its JSON spelling, ornavigation.nav_users.label) and one over the app title'slabelspelling. An answer that echoes the prompt or declines no longer passes.309fcaea(dev report 7336075205): token ratchet exit 0, i18n row2243 / 2243 (+0); the eval reader's test (test/skill-evals/skill-evals.test.ts) 40 passed; 73 of the 75 derived gate families exit 0, 2 not measured locally (check:dual-build-cjs-loadsneeds a full build; the comment-mask sweep reads JS sources and this round changed none).Generated by Claude Code