Skip to content

docs(skills): four skill pages follow merged code (milestone translations, related-list remedy, kanban cardFooter, action write grant rule) - #38021

Merged
os-zhuang merged 3 commits into
mainfrom
claude/project-thread-s5bvax
Nov 28, 2026
Merged

os-zhuang merged 3 commits into
mainfrom
claude/project-thread-s5bvax

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Fixes #37585
Fixes #37899
Fixes #37612
Fixes #37814

Clause-②: no
Metadata-protocol: none
Rule-change: none

维护者速读

  • 是什么:对外发布的技能包里四处说法补齐到和现在的平台一致:里程碑时间线句子的翻译键、相关列表页签被隐藏后翻译键的改法、看板卡片底部的评论数和附件数、动作脚本缺写入授权时会被校验拦下。只改教 AI 的文字,用户无感。
  • 为什么:这四项平台能力这两天已经合入,技能包还没写到,照着技能包干活的 AI 会漏翻译里程碑句子、给出改不好的补救办法、说看板显示不了评论数,或把一条已有检查拦住的错误当成运行时才会出的问题。
  • 出错会怎样:只动技能包文字,写错了最多是 AI 学到一句不准的话,可以直接撤回这次修改。
  • 要你做的:无,座位复核后交审批人。

What changes

Four published skill pages, prose and examples only. No code, no eval fixture, no ceiling row.

skills/objectstack-i18n/SKILL.md (#37585, #37899 N1)

  • The object sub-key table gains a _milestones.{field}.{value} row: summary is the timeline sentence of the activityMilestones entry that fires on that field and value, with the same {field} tokens; it is composed at read time in the reader's language, a select token shows as its option label, the stored row is unchanged, and it is redacted as the stored sentence is. Written against packages/spec/src/system/translation.zod.ts (_milestones), resolveObjectMilestoneSummary and packages/plugins/plugin-audit/src/activity-summary-message.ts.
  • The _relatedLists row's remedy now reads "re-state the entry, shown, with the owner's own label": the lint hint for a hidden entry is "Drop this key, or show the tab (drop hidden) with the owner's label on the entry" (packages/lint/src/validate-translation-references.ts).

skills/objectstack-data/rules/relationships.md (#37899 N1, N2, N3)

  • N1: the same remedy wording in the relatedLists bullet.
  • N2: a bare child name in the .custom arrangement, labelled or not, covers each of that child's child.field lists too (the migration entry translation-related-list-key-under-arrangement-refused and relatedListNameCovers).
  • N3: the import clause names the third reference_not_found arm, a scoping field the engine cannot filter by, such as a formula (import_reference_scope_unqueryable in packages/core/src/utils/import-coerce.ts).

skills/objectstack-ui/rules/list-views.md (#37612)

  • The kanban example carries cardFooter: { comments: true, attachments: true }, and the notes under it say: those two members only, comments counts the record's open top-level threads, attachments its files, shown only with enable.files on the object. Written against KanbanConfigSchema.cardFooter (packages/spec/src/ui/view.zod.ts, a strict object) and ui/packages/plugin-kanban/src/ObjectKanban.tsx (the attachment count is read only when objectDef.enable.files === true).

skills/objectstack-ui/rules/actions.md (#37814)

  • The opening paragraph said that without capabilities: ['api.write'] "the sandbox throws on a write". It now names the rule that refuses it, action-body-write-capability-undeclared, beside the two rule ids the paragraph already names.
  • The card's second item, checked: this skill teaches no seed key, and the object-binding trap is already named by its rule (action-no-object-binding) in the same paragraph. Nothing else moves here.

Paid for in the same file (token ratchet, no ceiling moves).

File Cut Where it still lives
objectstack-i18n/SKILL.md from the bundle example: the due_date field (both locales), common.cancel (both locales), the zh-CN apps block; from the interpolation example: the pagination message the example keeps subject and status, common.save and welcome.user, the en apps block (the zh-CN one is "same shape, translated values"), and the welcome message with its double-brace hole
relationships.md first_name in the lookup example, product in the master-detail example, the aside "(e.g. primary_account + partner_account)" neither field is a relationship; the sentence "several FKs yields one related list per FK" stays
list-views.md "Bare-key blocks in this file are fragments, so check:skill-examples skips them."; two Airtable asides; the due_date column object folded to one line; alignment padding in the gantt example's comments the first is a note to this repository's maintainers, not to a skill reader; the rest keep every key and comment
actions.md "(a constant is a style, not a reader's state)" after "a boolean literal is refused" the refusal itself stays

Skill size readings, against main @ cb3f8b95 (merged into this branch):

lines before lines after tokens before tokens after
skills/objectstack-i18n/SKILL.md 513 506 6333 6333 (ceiling 6333)
skills/objectstack-data/rules/relationships.md 384 383 4181 4181 (ceiling 4181)
skills/objectstack-ui/rules/list-views.md 414 412 4510 4510 (ceiling 4510)
skills/objectstack-ui/rules/actions.md 261 262 3844 3844 (ceiling 3844)
every published SKILL.md, summed 4936 4929
whole shipped bundle 302223 302223

Net over skills/**: 23 lines added, 32 removed.

Decided in the thread (small, listed per the standing rule):

  • The N2 sentence lives in relationships.md only; the i18n row points there already (objectstack-data), and the row had no room for it.
  • No eval case is added and no eval round ran (the dispatch order says none). No Skills-docs: line: the kind is none and there is no (narrowing) arm, so none is owed, and no eval exercises the new sentences.
  • Rule-change: none is written at the seat's request; the diff touches no .claude/** path.
  • The merge queue removed head 8b452b4f on 2026-11-27: main had meanwhile shortened actions.md and lowered its row from 3890 to 3844 (and moved list-views.md to 4510), so on the merge commit actions.md measured 3843, one under its ceiling, and the token ratchet was red (Type Check · source gates, run 46042274398). main @ cb3f8b95 is merged in and the new actions.md sentence gained two bytes ("without that grant, a write is refused too"), so the file sits at 3844. No ceiling row is edited here.
  • Branch name: the platform assigned claude/project-thread-s5bvax, so it does not carry an issue number.

Why

Each behaviour has merged, and each code PR left the skill text as a follow-up because skills/** is governed. Until the pages change, an agent that writes a translation bundle from the skill leaves milestone sentences untranslated, one that fixes a refused related-list key re-states a label on an entry that stays hidden, one asked for comment counts on a board finds no key, and one that reads the actions page takes a refused write for a run-time failure.

Tests

Prose and examples only, so no unit test changes and no ablation.

Local gates, run on head 8b452b4f (before the merge of main) after a full pnpm build (verify lock: VERDICT command-exit 0): node scripts/pm/dispatch-gates.mjs --commands derives 50 families for this diff, all 50 ran with exit 0, and --ran answers:

✓ dispatch-gates --ran: 50 derived famil(ies) accounted for — 50 run, 0 NOT-MEASURED (a DERIVED zero — all 50 recorded an exit code and none of them is 3).
verdict lines of the gates that read the four pages
✓ check-skills-token-ratchet: 61 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted.
   skills/objectstack-data/rules/relationships.md               4181 /   4181   (+0)
   skills/objectstack-i18n/SKILL.md                             6333 /   6333   (+0)
   skills/objectstack-ui/rules/actions.md                       3844 /   3844   (+0)
   skills/objectstack-ui/rules/list-views.md                    4510 /   4510   (+0)
✓ check-skill-served-sections: 24 served section(s), each heading exactly once in its file (6 json, 2 json+ts, 16 neutral); 10 JSON fence(s) parse and pass their spec validators.
✓ check-skill-links: 272 relative link(s) in 76 published skill file(s) resolve; 140 fragment(s) name a real heading under GitHub's slug rule.

On the merged head c4eed6e0: node scripts/check-skills-token-ratchet.mjs, pnpm check:skill-links, pnpm --filter @objectstack/spec run check:skill-served-sections and pnpm check:nul-bytes, exit 0 each; the other families are CI's on this head.

Outside the derived list, run on 8b452b4f because the kanban block is a checked example: pnpm --filter @objectstack/spec run check:skill-examples, exit 0, "351 prose examples type-check across 3 surface(s)".

Everything else is CI's run: the check-runs on this PR are the record.

Acceptance notes

  • Premise re-read on main @ 4af32b99 before writing: all four passages still carried the old text, and every prerequisite is merged (_milestones in the translation schema, cardFooter in KanbanConfigSchema, the rule action-body-write-capability-undeclared in packages/lint, the migration entry for the related-list key).
  • Noted, not filed: no published skill names seed-record-unknown-field or object-reference-unknown; skills: objectstack-ui actions rule teaches the api.write grant as prose; the trap is now refused at validate and publish (after #37807) #37814 asks about objectstack-ui only. The seat has read skills/objectstack-data/references/seeds.md: it does not teach the seed-record-unknown-field trap as prose, so no card is needed.
  • Milestone templates use single-brace {field} tokens, while messages use double braces. The new row says "{field} tokens"; the interpolation section's sentence about double braces is about messages and is unchanged.

Verification

Read first: the _milestones row of skills/objectstack-i18n/SKILL.md, then the kanban example and note in skills/objectstack-ui/rules/list-views.md, then the relatedLists bullet of skills/objectstack-data/rules/relationships.md. The risk hunk is the shortened bundle example in the i18n page.

Two-minute check: node scripts/check-skills-token-ratchet.mjs prints the four files at their ceilings with headroom 0.

Tier H: skills/**. Contract review at CONTRACT_REVIEW_TIER is owed by the seat; not self-reviewed here.

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic.
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint is CI's run.
  • 4. One branch off an up-to-date main, one pull request (four folded cards, per the claim).
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec not touched.
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgWMuD6jCQttnVxoy3u

…ions, related-list remedy, kanban cardFooter, action write grant rule)

Claude-Session: https://claude.ai/code/session_01L6bhgWMuD6jCQttnVxoy3u
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 27, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 8b452b4fa46cfc0d3e9459d4ba1763c4c05ff699
Local-runs: none
Scope: skills/objectstack-data/rules/relationships.md, skills/objectstack-i18n/SKILL.md, skills/objectstack-ui/rules/actions.md, skills/objectstack-ui/rules/list-views.md + none
Security-touching: yes

Inputs read: cards #37585, #37899, #37612 and #37814 (bodies and every comment, the claim and the os-dev-report included), the PR body, its five-file list, the net diff against main, and the check-runs on this head. The cited code was read on main, not reviewed. The remainder of the diff, .changeset/37585-skills-follow-merged-code.md, is the lane seat's ACCEPT.

Security-touching: yes is meant, not the template default: three changed hunks state access behaviour in passing (the i18n row says how field redaction applies to a translated timeline sentence; the import clause is the sentence about a scoping field the caller cannot read; the actions paragraph is about a body's capability grant). Each sentence agrees with the merged code and none changes what an author is told to grant, but the arm's test is whether a hunk teaches such behaviour, and these do.

① Derived judgments

  • No accept-set changes: the diff holds no schema, no lint rule, no code. Right.
  • Public surface: four published skill pages change wording and examples; the bundle @objectstack/skills publishes them. Right, and covered by the changeset.
  • No token-ceiling row moves: scripts/check-skills-token-ratchet.mjs is not in the diff. Right.
  • No eval fixture changes. Right as a statement of the diff; see ③ for what it means for the Skills-docs: line.
  • Gates: all 44 check-runs on this head are completed, 28 success and 16 skipped, none failed or cancelled; Check Changeset, Lint · docs & code guards, Lint · repo & tooling gates, Governed Surface Queue Guard and the PR-body guards are among the 28. Those conclusions are the gate verdicts; nothing was re-run here.

② Semver level

'@objectstack/skills': patch matches what the diff publishes: prose and examples of a shipped bundle, nothing an author could write before is refused now, and nothing new is accepted. Clause-②: no and Metadata-protocol: none are right, and the PR body and the changeset carry the same two lines. The changeset's prose agrees with the four hunks.

③ Boundary flags

  • open_questions: empty in the os-dev-report. Nothing to answer.
  • Dev deviation, no eval case and no eval round: accepted as a deviation of this PR (the cards carry no eval prompt, and each asks for a sentence written against merged code). It leaves the new sentences unexercised, which is the next point.
  • Skills-docs: updated here is not right as written. The claim template defines updated here as "the diff teaches it in the docs and its evals exercise it". The first half holds. The second does not: no eval under skills/objectstack-i18n/evals, skills/objectstack-ui/evals or skills/objectstack-data/evals names _milestones, cardFooter, action-body-write-capability-undeclared, the bare-child case or the unfilterable-scope arm. The line is also not owed: the kind is none and there is no (narrowing) arm. Seat action, on the PR body only (the head does not move): strike the line, or keep it and file the eval follow-up card it then promises. Not a finding on a hits file.
  • Out-of-scope note in the report (no published skill names seed-record-unknown-field or object-reference-unknown; skills/objectstack-data/references/seeds.md unread): carrier is none. skills: objectstack-ui actions rule teaches the api.write grant as prose; the trap is now refused at validate and publish (after #37807) #37814's second bullet asks about objectstack-ui only, and that half is answered (the object-binding trap is already named by action-no-object-binding in the same paragraph; the page teaches no seed key). The seeds page is the seat's to route: a card, or a stated reason for none.
  • Branch main moved past the branch point without touching skills/** or the ratchet script: accepted.
  • SQL push-down: not applicable, the diff holds no query and no code.

④ Design judgment

No must-fix, no should-fix.

skills/objectstack-i18n/SKILL.md (#37585; #37899 N1). Holds.

  • The new row _milestones.{field}.{value} → summary matches ObjectTranslationDataSchema._milestones (packages/spec/src/system/translation.zod.ts: a record by watched field, then by value, a strict object whose one key is summary), the address resolveObjectMilestoneSummary reads, and what the lint accepts (a pair some activityMilestones entry declares). "Same {field} tokens", "composed at read time in the reader's language", "a select token as its option label" and "stored row unchanged" each match composeActivitySummary's activityMilestone arm and the writer in audit-writers.ts. "Redacted as the stored sentence is" holds: the summary middleware composes only a summary the redaction left on the row. The card's three asks (stored row unchanged, read-time language, hidden stays hidden in every language) are all in the row.
  • The _relatedLists remedy now says "re-state the entry, shown", which is the lint hint for a hidden entry ("show the tab (drop hidden) with the owner's label").
  • Deleted to pay for it: due_date in both locales, common.cancel in both, the zh-CN apps block, the pagination message. Nothing a reader needs is lost: every key shape is still shown once (fields, options, apps in en, a messages entry with a double-brace hole), the zh-CN block was already a partial mirror of en, and fields.due_date in the naming table is an illustration of casing, not a reference to the example.

skills/objectstack-data/rules/relationships.md (#37899 N1, N2, N3). Holds.

  • Card item N1 — same remedy, same lint hint.
  • Card item N2 — "a bare child's name, labelled or not, covers each of its child.field lists too" is relatedListNameCovers (packages/spec/src/data/related-list-entry.ts) and the fold in validate-translation-references.ts, where each arrangement entry strips the label of every list it covers; it is the case the migration entry translation-related-list-key-under-arrangement-refused names.
  • Card item N3 — "or the engine cannot filter by (such as a formula)" is the scopeUnqueryable arm of packages/core/src/utils/import-coerce.ts, which answers reference_not_found.
  • Deleted: first_name and product (plain text fields in two relationship examples) and the primary_account + partner_account aside. Both examples still show the relationship field whole, and "one related list per FK" stays.

skills/objectstack-ui/rules/list-views.md (#37612). Holds.

  • cardFooter: { comments: true, attachments: true } sits inside kanban: in an os:check example and matches KanbanConfigSchema.cardFooter (a strict object with those two optional booleans, so "those two members only" is right). "Open top-level threads" and "shown only with enable.files on the object" match the schema text and ui/packages/plugin-kanban/src/ObjectKanban.tsx. All three of the card's asks are met.
  • Deleted: the sentence about check:skill-examples skipping bare-key blocks (a note to this repository's maintainers; no gate reads it), two Airtable asides, line folding in the due_date column and the gantt comments. Every key and every comment's meaning stays.

skills/objectstack-ui/rules/actions.md (#37814). Holds.

  • "Without the grant a write is refused too (action-body-write-capability-undeclared)" names the rule as packages/lint/src/validate-action-body-capabilities.ts spells it; "too" refers to "refused at validate and publish" earlier in the paragraph, which is where the rule runs (authoring-rules.ts: gating, CLI and runtime). The fix (the grant) is in the same sentence, as the card asks.
  • Deleted: the rationale "(a constant is a style, not a reader's state)". The refusal it explained stays.

Nits, each left as an accepted deviation (all four files sit at their ceilings, so a fix would need a further cut):

  • nit — list-views.md: the note gives the condition for the attachment count and none for the comment count. The board also draws no comment count on an object that turns feeds off, and draws nothing for a count of zero. The card did not ask for either.
  • nit — i18n/SKILL.md: the row does not say that a pair with no entry keeps the authored sentence. It is the behaviour a reader would assume.

Implemented-by: claude/project-thread-s5bvax
Reviewed-by: session_01L6bhgV6i8jfWwSXjpWJrjA

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

席位核对 — ACCEPT · head 8b452b4 · cards #37585 #37899 #37612 #37814 · area s2-ai · 2026-11-27T16:56Z

L1 checklist

Tier: H. Landing: hand-off to the maintainer follows this record.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Tier H hand-off · 2026-11-27T16:57Z · head 8b452b4 · approver os-zhuang

维护者速读

  • 改了什么: 四张卡合成一个 PR,都是代码已合并、技能文字没跟上的补写:多语言技能补上「里程碑摘要」的翻译键;相关列表隐藏条目的修法改成「既要显示又要给标签」;看板设置补上卡片底部的评论数、附件数开关;动作规则不再用散文教写权限,改为指向已上线的校验规则名。
  • 影响: 只改技能文字,不改产品行为。用这些技能搭应用的 Agent 能写出这几个已有的功能,不会编造键名或漏翻译。四个文件都没超出字数上限。
  • 请你留意: 其中三处顺带说到了权限相关行为(字段隐藏、写权限声明),审核核对过都和已合并代码一致,按规则加了 security 标签,没有需要私下处理的内容。
  • 审核: 契约审核(最高档)PASS(7223812659),没有必须改或建议改的项,两处小瑕疵按已接受偏差记录。席位 L1 ACCEPT 在本评论前一条。
  • 要你做什么: 需要你批准后才能合并。撤回这一次合并即恢复原样。

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 27, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 27, 2026 17:29
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 27, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 27, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: c4eed6e03a3a2b51a7180450004092c572aa4bdf
Local-runs: none
Scope: skills/objectstack-data/rules/relationships.md, skills/objectstack-i18n/SKILL.md, skills/objectstack-ui/rules/actions.md, skills/objectstack-ui/rules/list-views.md + none
Security-touching: yes

Delta of record 7223812659 (head 8b452b4f). The head moved by a merge of main at cb3f8b95 (merge commit 7ff77a92) and one commit, c4eed6e0, which rewords one sentence in skills/objectstack-ui/rules/actions.md. Read for this delta: the net diff against main at the new head, the range between the two heads, what main changed in the four files since the old merge base (#37947, #37985), the updated PR body, and the check-runs on the new head. The earlier record had no graded finding to close.

Security-touching: yes stands, for the reason the earlier record gives: three changed hunks state access behaviour in passing. The reworded sentence is one of them and says the same thing as before.

① Derived judgments

② Semver level

Unchanged: '@objectstack/skills': patch, Clause-②: no, Metadata-protocol: none. The changeset file is byte-identical to the one at the earlier head, and its actions.md sentence still describes the hunk.

③ Boundary flags

  • The Skills-docs: updated here line the earlier record called not right as written is gone from the PR body, which now says no line is owed and no eval exercises the new sentences. Answered.
  • The seeds-page note (skills/objectstack-data/references/seeds.md unread for the seed-key trap) still has no carrier in the PR body. The seat's to route, as before.
  • Queue ejection: the cause the PR body gives matches the tree. main lowered the actions.md row to its new measurement, so the merged file sat one token under a ceiling pinned at the measurement; the reword adds the byte count back without moving a row.
  • SQL push-down: not applicable, the diff holds no query and no code.

④ Design judgment

No must-fix, no should-fix.

skills/objectstack-ui/rules/actions.md, the changed sentence. It now reads "capabilities: ['api.write']; without that grant, a write is refused too (action-body-write-capability-undeclared)". Against the merged rule (packages/lint/src/validate-action-body-capabilities.ts, registered gating for CLI and runtime in authoring-rules.ts): the rule id is exact, "that grant" has one antecedent (the capabilities entry in the same sentence), and "refused too" still points back at "refused at validate and publish" in the same paragraph. The meaning is the earlier sentence's. Holds.

The paragraph also still agrees with the page as main left it: it says a record button needs locations or a view naming it, and #37947 removed locations from examples only. How those examples now read beside that paragraph is #37947's text, outside this diff.

The other three hits files are byte-identical in their PR hunks to what the earlier record judged, and main changed none of the code they cite in a way that touches them (relationships.md and objectstack-i18n/SKILL.md are untouched by the merge; the new list-views.md sentence is independent of the kanban section). The earlier judgments stand.

The two nits of the earlier record stand, unchanged and still accepted deviations: the cardFooter note gives no condition for the comment count, and the _milestones row does not say that a pair with no entry keeps the authored sentence. No new finding.

Implemented-by: claude/project-thread-s5bvax
Reviewed-by: session_01L6bhgV6i8jfWwSXjpWJrjA

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

席位核对 — ACCEPT · head c4eed6e · cards #37585 #37899 #37612 #37814 · area s2-ai · 2026-11-27T18:20Z

L1 checklist (delta of ACCEPT 7223862450 at 8b452b4f)

Tier: H. Landing: the hand-off to the maintainer is renewed after this record.

@os-zhuang
os-zhuang added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 815e882 Nov 28, 2026
48 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-s5bvax branch November 28, 2026 01:00
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment