Repository navigation
docs(skills): the relationships rule names reference_out_of_scope, and a _relatedLists key follows the served tab list - #37892
Conversation
…elatedLists keys follow the served tab list The import clause of the objectstack-data relationships rule said another master's detail fails with reference_not_found; on main it is reference_out_of_scope with a scope on the cell error. The related-lists bullet there and the _relatedLists row of objectstack-i18n now say the key is refused where the paired .custom arrangement re-states the entry without a label or hides it, with the remedy the refusal prescribes. Both files stay at their token ceilings: the words are paid for by deleting restatement in the same file. Claude-Session: https://claude.ai/code/session_01L6bhgTFpGNWjLMTYXbjD1f Co-authored-by: Claude <noreply@anthropic.com>
…e pattern example's summary copy The Roll-up Summaries section is served by exact heading and its JSON fence is validated, so it stays byte-identical to main. The words are paid for by the third copy of the summary shape in the master-detail pattern example. Claude-Session: https://claude.ai/code/session_01L6bhgTFpGNWjLMTYXbjD1f Co-authored-by: Claude <noreply@anthropic.com>
main shortened the same file and lowered its row to 4181; two bytes come off the new clause so the file sits at that measurement. Claude-Session: https://claude.ai/code/session_01L6bhgTFpGNWjLMTYXbjD1f Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: PR #37892, cards #37590 and #37620. Read: both cards with every comment (triage, unlock, claim, dev reports 7214429476 and 7214438486), the PR body and file list, the net diff against
① Derived judgments
② Semver level
Clause-②: no. Agreed. The PR body and the changeset both carry it (the changeset with a plain reason in parentheses, not the narrowing arm), and ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Nits, none with an effect on correctness or the contract, all left as accepted deviations at zero headroom:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — ACCEPT · head c62f65f · cards #37590 + #37620 · area s2-ai · 2026-11-27T09:38ZL1 checklist
Tier: H. Landing: hand-off to the maintainer follows this record. |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
|
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Tier H hand-off · 2026-11-27T09:40Z · head c62f65f · approver 维护者速读
|
Requested by Sales · project thread
Fixes #37590
Fixes #37620
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Two published skill pages, prose only. No code, no eval fixture, no ceiling row.
skills/objectstack-data/rules/relationships.mdreference_not_found. Onmainthat case answersreference_out_of_scope, and the cell error carriesscope: [{ field, value }], the row's scoping columns (packages/core/src/utils/import-coerce.ts,referenceNotFound).reference_not_foundstays for a name no record has, and for a scoping field the caller cannot read (thescopeDeniedarm of the same function).relatedListsbullet. It taught the keyobjects.{parent}._relatedLists.{list}.labelwith "(none: nothing to translate)". It now says: none, no key; and a.customarrangement that re-states the entry with nolabel, or hides it, leaves none, soos validaterefuses the key. The remedy is the one the merged migration entry prescribes (translation-related-list-key-under-arrangement-refused): drop the key, or re-state the entry with the owner'slabel.skills/objectstack-i18n/SKILL.md_relatedLists.{list}row of the object sub-key table gains the same clause, naming the paired.custompackage'srelatedListsand pointing at objectstack-data, where that arrangement is taught.Paid for in the same file (token ratchet, no ceiling moves). Each cut is restatement or history, and each has a home that stays:
relationships.mdtotalsummary field in the master-detail pattern examplerelationships.mdrelationships.mdobjectstack-i18n/SKILL.mdmessageFormatconfig knob was removed)"messageFormatsays it; the sentence "There is no ICU MessageFormat engine" staysobjectstack-i18n/SKILL.mdgetAppBundle/loadAppBundlewent with theo.*shape they returned.)"packages/spec/src,packages/core/srcorpackages/services/service-i18n/srcobjectstack-i18n/SKILL.mdobjects.*groups")Skill size readings, against
main@b620c4b2:skills/objectstack-data/rules/relationships.mdskills/objectstack-i18n/SKILL.mdSKILL.md, summedDecided in the thread (small, listed per the standing rule):
packages/spec/scripts/skill-served-sections.json), so it is byte-identical tomain. A first cut removed that JSON block;check:skill-served-sectionswent red, and the cut moved to the TypeScript copy in the pattern example.objectstack-i18neval case 16 (the_relatedListskey, an entry with nolabelhas no key) still matches the row.Skills-docs:line: the kind isnoneand there is no(narrowing)arm.mainshortenedrelationships.mdand lowered its row from 4201 to 4181 while this branch was open.mainis merged in, and two bytes came off the new import clause so the file sits at that measurement.claude/project-thread-d3sz2i, so it does not carry the issue number.Why
Both behaviours merged on 2026-11-26, and each code PR declared the skill text as a follow-up because
skills/**is governed. Until the pages change, an agent that handles import errors from the skill matchesreference_not_foundfor a case that no longer answers it, and one that writes a pair package's arrangement keeps a translation key thatos validatenow refuses.Tests
Prose only, so no unit test changes and no ablation.
Local gates, run on the final head
c62f65f0(after mergingmain@b620c4b2and a fullpnpm build):node scripts/pm/dispatch-gates.mjs --commandsderives 50 families for this diff, all 50 ran with exit 0, and--rananswers:The ones that read the two pages:
verdict lines
check:skill-docs,check:skill-compatibility,check:skill-frame-sync,check:skill-identifier-liveness,check:doc-authoring,check:pm-skill-id-lintandcheck:nul-bytes: exit 0.Everything else is CI's run: the check-runs on this PR are the record.
Acceptance notes
mainbefore writing: both passages still carried the old text (relationships.md:117 and :369,objectstack-i18n/SKILL.md:166), and both blockers are merged.messageFormatrefusal inpackages/spec/src/system/translation.zod.tssays interpolation is "simple{variable}substitution", while the i18n skill teaches double braces and says single braces pass through. The skill sentence that warns about this stays. Not measured in this thread, no card filed.Verification
Read first:
skills/objectstack-data/rules/relationships.md(the import clause under Optional master, then therelatedListsbullet under Detail-page related lists), then the_relatedLists.{list}row ofskills/objectstack-i18n/SKILL.md. The risk hunk is the removedtotalfield in the master-detail pattern example.Two-minute check:
node scripts/check-skills-token-ratchet.mjsprints both files at their ceilings with headroom 0, andpnpm --filter @objectstack/spec run check:skill-served-sectionsprints 24 served sections, 10 JSON fences passing.Tier H:
skills/**. Contract review at CONTRACT_REVIEW_TIER is owed by the seat; not self-reviewed here.Human Minimum
packages/specholds no runtime logic.pnpm lintpasses.main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgTFpGNWjLMTYXbjD1f
Generated by Claude Code