Skip to content

docs(skills): objectstack-ui SKILL.md becomes a router - #35077

Merged
os-zhuang merged 7 commits into
mainfrom
claude/issue-34770-skill-router-ui
Nov 18, 2026
Merged

os-zhuang merged 7 commits into
mainfrom
claude/issue-34770-skill-router-ui

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

Part-of #34770
Clause-②: no
Metadata-protocol: none
Served-tier: CONTRACT_REVIEW_TIER

Part of #34770, part 1 of 3: objectstack-ui only. The card stays open for the other skills; this PR carries no closing keyword.

维护者速读

  • 改了什么:skills/objectstack-ui/SKILL.md 从 15,704 字节 / 304 行降到 8,974 字节 / 164 行,只留三样:动手前的四项检查、七条「能过 schema、运行时才出错」的陷阱(五条列在 Traps 下,另两条放在云端按标题读取的 List Views 和 Actions 两节里)、一张「做什么就打开哪个文件」的路由表。搬走的文字落进 rules/ 下已有的四个文件(大段原样搬,个别表格压成一句),没有新增文件,没有删掉任何一条教学。第二轮另改一句:运行环境 GET /api/v1/meta/types 给出的是解析后的形状,不是书写用的契约。第三轮按评审改了五处小错:separator 不带 label / icon;os validate 其实拦得住一条陷阱;从 main 漏掉的两个短语补回;路由表里表单宽度一项归到表单那一行;changeset 里旧锚点的去向写对。
  • 为什么改:裁决记录 6943107981 的 S3 = A 定了目标:入口文件是路由器(6–9 KB,最多 500 行),键表和选项表指向契约而不是再抄一遍。AI 每次加载这个 skill 都要读完入口文件,入口越短,越早读到真正相关的那份规则。
  • 风险与回滚:风险在「搬家后 AI 找不到」。第一轮实测同一模型前后各跑一轮 32 个用例:带 skill 26/32 → 26/32,没有变差;第二轮调整了结构(两条陷阱挪到各自标题下),没有重跑,见 Tests。每个用例的答案所在文件都能从路由表走到(见下表,已按最终 head 重算)。云端按标题原文读取本 skill 的三节(triage 读数 6966635524),三个标题在本 head 各恰好出现一次,见 Acceptance notes 第 1 条。与另一张在途 PR docs(skills, spec): the ui and i18n skills teach an action's refusals catalogue and its translation keys; action.zod.ts gains a module description #35087 在门禁脚本的 rules/actions.md 那一行有文本冲突(两边都改同一行上限),后合并的一方需按实测重写该行。回滚 = revert 这一个 PR,只涉及文档和一个门禁脚本里的数字。
  • 先看:① skills/objectstack-ui/SKILL.md(整篇重写,重点看 Traps 五条加 List Views、Actions 两节是否够用、是否有该留没留的);② skills/objectstack-ui/rules/list-views.md 末尾新增的 Form Views / Master-Detail Forms / Field Conditional Rules 三节(从入口文件原样搬来);③ scripts/check-skills-token-ratchet.mjs 的六行 objectstack-ui 上限(四行因接收搬入文字而上调,两行下调)。
  • 两分钟验证:node scripts/check-skills-token-ratchet.mjs,预期末行 ✓ check-skills-token-ratchet: 58 authored bundle file(s) within their ceilings,其中 skills/objectstack-ui/SKILL.md 一行读作 2239 / 2239。
  • 需要你做的:合并。云端标题读取的核对结果已有(triage 读数 6966635524:云端读本 skill 三节,三个标题在本 head 各恰好出现一次,见 Acceptance notes 第 1 条和 Seat rulings);landing tier 实测为 H(人合):skills/** 六个文件命中受管面;低风险 skills 放权臂不适用,因为 diff 含门禁脚本 scripts/check-skills-token-ratchet.mjs,它不在该臂的允许名单内。

What changes

skills/objectstack-ui/SKILL.md becomes a router. Frontmatter (lines 1–25, description included) is byte-identical to main.

  • First checks (4). The installed @objectstack/spec version against the skill's compatibility line; the object's declaration and the project's own files; the type's contract (references/_index.md → the Zod source under node_modules/@objectstack/spec/src/, which decides what to write; a running environment serves the parsed shape as JSON Schema at GET /api/v1/meta/types, entries[].schema, where a defaulted key reads as required and a bare-string predicate as {}); os validate before reporting done.
  • Traps (7), each parses and then fails at run time. Five are listed under Traps: a long form stays simple; a record with its line items is inlineEdit on the child's master_detail field, and enable.apiMethods must list 'bulk'; a persisted chart binds a declared dataset; a filter token is presentation scope, not security; the object declares its record page. Two sit under the headings the cloud serves: keep the view kind the request names (### List Views, with the nine kinds), and an operation is an action whose write button must call the API (## Actions).
  • Where to go. One table: what is being authored, the file it lives in, the rules file to open.
  • Three enumerations stay inline, under their exact headings: ### Navigation Item Types, ### Action Types, ## Report Types. scripts/check-skill-identifier-liveness.mjs binds each to this file by heading, and that script is outside this part's file surface.
  • Two sections the hosted cloud serves by exact heading keep real content: ### List Views and ## Actions, at the heading levels main has. Round 2 put them back; see Acceptance note 1.

Text that left SKILL.md landed in files that already existed:

File Bytes before → after What it received
rules/list-views.md 13,776 → 17,790 ## Form Views (the three-type table, the long-form paragraph, the public form), ## Master-Detail Forms (parent + child line items), ## Field Conditional Rules in Forms; the column-count pitfall
rules/navigation.md 8,727 → 10,255 App.create / defineStack({ apps }), the one-App-per-package paragraph, each item type's keys (label and icon on all but separator) with the componentRef registry-key gloss, requiresObject / requiresService, the AppContextSelector note
rules/actions.md 11,231 → 12,123 What an action is and where it registers; why a record button needs a placement and a js body with api.write; a bare field ref in visible or disabled fails os validate; a parameterized bulk mutation is script
rules/dashboards.md 24,928 → 25,094 An omitted widget layout auto-flows; position is not a widget key; a widget binding that resolves to nothing declared fails os validate
rules/pages.md 22,663 → 22,644 The relative-date pointer names objectstack-query rules/filters.md in place of a SKILL.md anchor that no longer exists

Every rule that left SKILL.md, and where it is now

(a) moved to a file the router routes to · (b) a restated list now served by a contract or index · (c) a check refuses it at publish or build · inline = still in SKILL.md.

Disposition table (29 rows)
What SKILL.md held on main Disposition Home now
List Views kinds table (nine rows) inline ### List Views, the nine kinds as one sentence with a gloss each; contract ui/view.zod.ts via references/_index.md
"Keep the kind the request names" inline ### List Views
Form Views three-type table and the long-form paragraph (a) + inline rules/list-views.md § Form Views; trap 1 keeps the rule
Master-Detail Forms (three options, line-item grid behaviour) (a) + inline rules/list-views.md § Master-Detail Forms; trap 2 keeps inlineEdit and the 'bulk' refusal
Master-Detail "Read side" pointer (a) Routing table, Record Page row
Field Conditional Rules in Forms (a) rules/list-views.md § Field Conditional Rules in Forms; the Form Views routing row names it
Detailed Rules link list inline The routing table
App Navigation intro, App.create (a) rules/navigation.md, opening
One App per package inline + (a) + (c) § App Navigation lead; whole paragraph in rules/navigation.md; defineStack refuses a second App
"Who sees an app" pointer, hide is not gate inline + (a) § App Navigation lead; rules/navigation.md § Who sees or opens an app
Navigation Item Types: Type and Purpose columns inline Same heading
Navigation Item Types: Properties column (a), (b) "Keys by type" sentence in rules/navigation.md (label and icon on all but separator, as the column had it); contract ui/app.zod.ts
Navigation Item Types: three Purpose glosses (componentRef is a registry key; no reportName is the report index; doc inherits the docs audience) (a) rules/navigation.md (keys sentence; the example's nav_report comment) and rules/pages.md (the docs audience gate)
requiresObject / requiresService note (a) rules/navigation.md
Report Types table and "no chart type" inline Same heading
CRM UI Blueprint: file locations inline Routing table, "In" column
CRM UI Blueprint: public-form row (a) rules/list-views.md § Form Views
CRM UI Blueprint: dataset row inline Trap 3
CRM UI Blueprint: User actions row (flow for orchestration, script for parameterized bulk mutations) inline + (a) The flow row of the inline Action Types table; rules/actions.md, opening
Date Macros: scope is not security; unrecognised token is a build error inline Trap 4
Date Macros: the token vocabulary (b) objectstack-query rules/filters.md, named in trap 4
Date Macros: AppContextSelector bullet (a) rules/navigation.md
Actions intro; Action Types "Required field" column (a) + inline rules/actions.md opening; the column is the sentence "Every type but script requires target" under the inline table
Operation is an action; a write button must write inline + (a) ## Actions, directly under the heading; placement and capability detail in rules/actions.md
Common Pitfall 1 (column count, link: true) (a) rules/list-views.md § Column Features
Common Pitfall 2 (position on a widget) (c) + (a) The widget schema is closed and rejects position by name at os validate / os build; the layout auto-flow clause is in rules/dashboards.md
Verify your work: the gate inline First check 4
Verify your work: the two things it catches (a bare field ref in an action visible / disabled or a field visibleWhen; a widget binding that resolves to nothing declared) (a) + (c) rules/actions.md (the disabled bullet, for both action predicates), objectstack-data SKILL.md § Verify your work (the field predicate, reached from rules/list-views.md § Field Conditional Rules in Forms) and rules/dashboards.md (Dataset-Bound Widgets); os validate refuses all three
References inline First check 3

Tests

Skill evals, before and after, same model

Runner packages/qa/scenarios/src/skill-evals, --skills objectstack-ui --concurrency 4, both arms, one repetition, the login's default model (the same served model in both rounds, read from each round's round.json).

Round Tree Turns with-skill no-skill
Before main at 367e324eeb 64 of 64 26/32 (81%) 4/32 (13%)
After this branch at 999673c9f0 (round 1's router) 64 of 64 26/32 (81%) 4/32 (13%)

Five with-skill cases fail in both rounds: analytics-inline-vs-dataset#2, record-page#2, record-page#3, views-apps-actions-pages#4, views-apps-actions-pages#16. Two flipped, one each way:

  • views-apps-actions-pages#9: fail → pass. Before, the answer carried the forbidden disabledMessage / disabledTooltip.
  • views-apps-actions-pages#8: pass → fail. The after answer uses the right form ('Lead {{ record.name }} reassigned') and then quotes the forbidden ${record.name} inside a sentence telling the reader not to write it. The grader matches literal substrings, so the warning sentence fails the case. The rule it rests on is in rules/actions.md, which this PR did not change there.

One repetition per round, so a one-case move in either direction is inside the noise this run can see. The count is not lower than before.

Both rounds used the runner and the case set of the branch point. #35022 landed on main after they ran: it adds a sentence to four ui prompts, loosens the tokens of views-apps-actions-pages#16, adds triggers.json (cases that grade the description, which this PR does not touch) and changes the runner. A pair of rounds on that newer runner and case set is NOT MEASURED: a new before-round needs main's skill tree in place of this branch's, and the comparison above already holds runner, cases and model constant on both sides. The deterministic check below was redone on the newer case set.

The final head is only PARTLY MEASURED on the runner. The fresh pair is in PR comment 6967475147. Its AFTER round stopped at 32 of 71 turns on the runner's rate-limit guard, so all 19 views-apps-actions-pages cases (the ones this restructure touches most) are NOT MEASURED. Full numbers and the not-measured list are in that comment. After the pair above, round 2 changed SKILL.md again at 32fa1759a0: one sentence of first check 3, the view-kind and write-button traps moved under ### List Views and ## Actions (below the routing table), the nine kinds came back inline, and four short restatements moved to rules files. No rule left the bundle, and the deterministic check below was redone at the final head. Round 3 at 7fe6fb7ade changed one sentence of first check 4, two routing rows, and wording in rules/navigation.md and rules/actions.md.

Reachability, case by case (deterministic)

For each of the 32 cases: the file that states what expected_output relies on, and the route from SKILL.md. A literal-token comparison of the two bundles (main at 3b4ffb2217 against the final head 7fe6fb7ade, the case set as it is on main now: 32 cases, 112 must_contain tokens) found 0 tokens present before and absent after. 9 tokens are in neither bundle, the same 9 on main as here.

32 cases
Case Home of the facts Route from SKILL.md
analytics-inline-vs-dataset #1–#4, #6–#9 rules/dashboards.md (Dataset-Bound Widgets, dashboard filters, compareTo, date bucketing) Trap 3; Dashboards row
analytics-inline-vs-dataset #5 rules/dashboards.md, references/react-blocks.md Trap 3; Dashboards and react-blocks rows
record-page #1, #2 rules/record-page.md Trap 5; Record Page row
record-page #3 rules/record-page.md, rules/pages.md (Component Catalogue) Trap 5; Record Page and Pages rows
report-period-export #1 rules/dashboards.md § Report Configuration Dashboards row; inline Report Types
views #1, #7, #12 rules/list-views.md List Views row
views #2 rules/navigation.md § App Navigation lead; Navigation row
views #3, #8, #9, #11, #16, #18 rules/actions.md § Actions; Actions row
views #4 rules/pages.md Pages row; inline nav table (doc)
views #5 rules/navigation.md (Run Modes) Navigation row; inline Report Types
views #6 rules/list-views.md § Form Views, § Master-Detail Forms Trap 2; Form Views row
views #10 rules/navigation.md Inline nav table; Navigation row
views #13 rules/list-views.md § Adding a board § List Views
views #14 rules/actions.md § Actions in SKILL.md (the full body is inline)
views #15 SKILL.md § List Views (the kinds sentence, inline) § List Views
views #17 rules/navigation.md § Who sees or opens an app § App Navigation lead
views #19 rules/list-views.md § Form Views Trap 1

No file under skills/objectstack-ui/evals/ is in this PR's diff, and this PR adds or changes no eval token.

Sizes

Reading main at 1282a464e9 (merge base) This head 7fe6fb7ade
skills/objectstack-ui/SKILL.md 15,704 bytes · 304 lines · 3,921 tokens 8,974 bytes · 164 lines · 2,239 tokens
All 12 SKILL.md files 246,741 bytes · 4,729 lines 240,011 bytes · 4,589 lines
skills/objectstack-ui/** 155,814 bytes 155,665 bytes
Catalog, skills/** (105 files) 1,058,853 bytes 1,058,704 bytes

The ratchet at the final head prints ratcheted authored 191,202 / 196,701 and a bundle total of 262,260 tokens. This PR's own delta against main's rows: authored tokens −36, sum of ceilings −48.

Tokens are the ratchet's own measure, ceil(utf8 bytes / 4), with the release-stamp line left out of a SKILL.md.

Ratchet rows changed

Row Before After Bytes
skills/objectstack-ui/SKILL.md 3921 2239 15,704 → 8,974
skills/objectstack-ui/rules/list-views.md 3451 4448 13,776 → 17,790 (+4,014)
skills/objectstack-ui/rules/navigation.md 2184 2564 8,727 → 10,255 (+1,528)
skills/objectstack-ui/rules/actions.md 2808 3031 11,231 → 12,123 (+892)
skills/objectstack-ui/rules/dashboards.md 6232 6274 24,928 → 25,094 (+166)
skills/objectstack-ui/rules/pages.md 5669 5661 22,663 → 22,644 (−19)

Round 2 moved five of these again, each to its measurement: SKILL.md 2241 → 2240 (not raised), list-views.md 4532 → 4448, navigation.md 2552 → 2564, actions.md 3016 → 3032, dashboards.md 6249 → 6274. Round 3 raised none: SKILL.md 2240 → 2239, actions.md 3032 → 3031, navigation.md stays 2564 (its fix was paid inside the file).

Every row is pinned at the measurement, zero headroom, and its comment in the script says what moved from where. Authority for the four raises: decision record 6943107981, S3 = A, 「三点都同意,按最终计划把后续里程碑的卡全部立出来」, whose S3 target reads "a router-sized SKILL.md (6–9 KB, at most 500 lines) … pointers to the contract instead of restated lists"; and the standing ruling of 2026-10-27, 「A:先削重复,余额按实测提高」 (record 6513306068). The raises are text ordered out of the entry file, by measured bytes; the six changed files together are 149 bytes smaller than before.

Acceptance notes

  1. The cloud reads three sections of this skill by exact heading text; all three are in place. Triage's reading 6966635524 on this PR (cloud main aa67666f9, packages/service-ai-studio/src/skills/published-refs.ts): the cloud serves List Views and Actions from SKILL.md and Adding a board, calendar, gallery or gantt beside the list from rules/list-views.md, and its module load throws unless each heading occurs exactly once in its file. Round 1 had moved List Views out; round 2 keeps it as ### List Views with the nine kinds and the keep-the-kind rule, and puts the write-button rule directly under ## Actions so that section has text of its own above the Action Types table. Each heading is at the level main has it, and each count is 1 at 7fe6fb7ade (outputs in Verification). The cloud repository itself is still unreadable from this session; the reading is triage's. Other headings that left SKILL.md and that the reading does not name: ### Form Views, ### Master-Detail Forms (parent + child line items), ### Field Conditional Rules in Forms, ## Detailed Rules, ## CRM UI Blueprint (Metadata-First), ## Date Macros — Filter Placeholders, ## Common Pitfalls, ## Verify your work, ## References.
  2. The catalog total is nearly flat (−149 bytes). The card's budget is on SKILL.md; this part moved text behind the router and did not delete teaching, so the catalog does not shrink.
  3. SKILL.md is 8,974 bytes, at the top of the 6–9 KB band, with its ratchet row never raised after round 1 (2241 → 2240 → 2239). About 1.9 KB of it is the three bound enumeration tables and about 1.9 KB the two cloud-served sections. Moving the tables to rules/ needs the file of three bindings in scripts/check-skill-identifier-liveness.mjs re-pointed, which is outside this part's surface; ### Action Types sits inside the cloud-served ## Actions section.
  4. Forms did not get a file of their own. A new rules/forms.md needs a new ratchet row, which the ratchet marks maintainer-only; the form text went to rules/list-views.md, the file that already teaches the defineView container. If a separate file is wanted, it is a follow-up with that row.
  5. Old anchors. SKILL.md#date-macros--filter-placeholders, #master-detail-forms-parent--child-line-items, #form-views, #common-pitfalls and #verify-your-work no longer exist; #view-types, #list-views and #actions do. The one in-repo link to a removed anchor (rules/pages.md) is re-pointed; check:skill-links and check:doc-anchors read the tree.
  6. Overlap, earlier. feat(skills): trigger cases for the six metadata skills; eval assertions and prompts that grade the skill #35022 edited skills/objectstack-ui/evals/* and landed while this was in progress; this PR touches no file there and main merged in without conflict. overlap-check against main and the open PR heads sharing a file (docs(skills): objectstack-ask iteration 2: trigger on every records question, ask back with no figure of its own, whole terms, hidden record kinds declined #35038, chore: version packages #33849): clean (see Verification).
  7. Overlap with docs(skills, spec): the ui and i18n skills teach an action's refusals catalogue and its translation keys; action.zod.ts gains a module description #35087 (open, draft). It adds teaching to skills/objectstack-ui/rules/actions.md and moves that file's ratchet row; overlap-check at 7fe6fb7ade reports a conflict in scripts/check-skills-token-ratchet.mjs (the file itself merges cleanly). Whichever of the two lands second rewrites the rules/actions.md row at its measurement. The round-3 commit was pushed with that verdict standing; the conflict comes from the row this PR has changed since round 1, not from round 3.

Seat rulings on the open questions (seat 3, 2026-11-18 01:52Z)

  • Note 1 (cloud heading reads): route A. The seat asked triage on pm:mailbox — triage#1 · hotlong #32588 for a reading from a seat with cloud access: which of the eleven moved headings the cloud reads, and from which file. That reading is a condition before merge, and the seat's L2 and Tier H record carry it. No stub headings go back into SKILL.md unless the reading names a heading the cloud uses.
  • Note 3 (bound enumeration tables): stay inline in this part.
  • Note 4 (forms): taught in rules/list-views.md, no new rules/forms.md.
  • Evals. At 01:52Z the seat accepted the round 1 pair (26/32 before and after, on the runner and case set from before feat(skills): trigger cases for the six metadata skills; eval assertions and prompts that grade the skill #35022). At 02:08Z the seat changed that ruling: a fresh pair on the final head is owed. The fresh pair is PR comment 6967475147, and it is partial. Its AFTER round stopped at 32 of 71 turns on the runner's rate-limit guard, so the 19 views-apps-actions-pages cases are NOT MEASURED at 7fe6fb7ade.

Verification

Round 3, head 7fe6fb7ade

One commit over 32fa1759a0, answering the seat's L2 (6967027549). Exit codes captured before any pipe.

  • S1, rules/navigation.md: the keys sentence said every item type takes label and icon. Checked against packages/spec/src/ui/app.zod.ts first: SeparatorNavItemSchema is a strict object of type, id, order. The sentence now reads "label, icon on all but separator"; paid inside the file (10,256 → 10,255 bytes, row stays 2564).
  • N1, first check 4: "Most traps below pass it" (the persisted-chart trap fails os validate).
  • N2, rules/actions.md: the bare-field-ref sentence sits on the disabled bullet and covers visible and disabled; "A parameterized bulk mutation is script" is back. Paid inside the file (12,126 → 12,123 bytes).
  • N3, the changeset: #common-pitfalls points at rules/list-views.md (Column Features) and rules/dashboards.md.
  • N4, the routing table: form width, columns and sections are on the Form Views row.

The three headings the cloud reads, again:

grep -c -E '^#{1,6} List Views$' skills/objectstack-ui/SKILL.md -> 1
grep -c -E '^#{1,6} Actions$' skills/objectstack-ui/SKILL.md -> 1
grep -c -E '^#{1,6} Adding a board, calendar, gallery or gantt beside the list$' skills/objectstack-ui/rules/list-views.md -> 1

Gates, all exit 0 at 7fe6fb7ade: node scripts/check-skills-token-ratchet.mjs and its --self-test (104 cases pass), check:skill-links, check:skill-identifier-liveness, check:skill-docs, check:doc-anchors, check:nul-bytes, check:ratchet-remedy-authority, check:skill-compatibility, check:skill-frame-sync, check:doc-authoring, check:published-files, check:pm-skill-id-lint, check-self-test-wired. The rest of the derived list was not re-run for this commit: declared narrowing, CI runs it.

   skills/objectstack-ui/SKILL.md                               2239 /   2239   (+0)
   skills/objectstack-ui/rules/actions.md                       3031 /   3031   (+0)
   skills/objectstack-ui/rules/dashboards.md                    6274 /   6274   (+0)
   skills/objectstack-ui/rules/list-views.md                    4448 /   4448   (+0)
   skills/objectstack-ui/rules/navigation.md                    2564 /   2564   (+0)
   skills/objectstack-ui/rules/pages.md                         5661 /   5661   (+0)
   skills/objectstack-ui/rules/record-page.md                    991 /    991   (+0)
   ratcheted (authored)                                       191202 / 196701   (-5499)
   bundle total (whole shipped tree)                          262260
✓ check-skills-token-ratchet: 58 authored bundle file(s) within their ceilings; 10 generator-owned file(s) and 36 eval fixture(s) measured, not ratcheted.
overlap-check: claude/issue-34770-skill-router-ui (7fe6fb7ade) changes 8 file(s); against origin/main (3b4ffb2217) and 2 PR head(s)
  ✓ origin/main: merges cleanly
  ✗ #35087 (shares scripts/check-skills-token-ratchet.mjs, skills/objectstack-ui/rules/actions.md): conflicts in scripts/check-skills-token-ratchet.mjs
  ✓ #33849 (shares skills/objectstack-ui/SKILL.md): merges cleanly
VERDICT overlap exit 1

Round 2, head 32fa1759a0

One commit over 5ed57cc3bb. Exit codes captured before any pipe.

The three headings the cloud reads (Acceptance note 1), one grep -c each:

grep -c -E '^#{1,6} List Views$' skills/objectstack-ui/SKILL.md -> 1
grep -c -E '^#{1,6} Actions$' skills/objectstack-ui/SKILL.md -> 1
grep -c -E '^#{1,6} Adding a board, calendar, gallery or gantt beside the list$' skills/objectstack-ui/rules/list-views.md -> 1

Their lines at this head are ### List Views, ## Actions and ### Adding a board, calendar, gallery or gantt beside the list, the same levels as on main.

Gates, all exit 0 at 32fa1759a0: node scripts/check-skills-token-ratchet.mjs and its --self-test (104 cases pass), check:skill-links, check:skill-identifier-liveness, check:skill-docs, check:doc-anchors, check:nul-bytes, check:ratchet-remedy-authority, check:skill-compatibility, check:skill-frame-sync, check:doc-authoring, check:published-files, check:pm-skill-id-lint, check-self-test-wired. The rest of the derived list was not re-run for this commit: declared narrowing, CI runs it.

   skills/objectstack-ui/SKILL.md                               2240 /   2240   (+0)
   skills/objectstack-ui/rules/actions.md                       3032 /   3032   (+0)
   skills/objectstack-ui/rules/dashboards.md                    6274 /   6274   (+0)
   skills/objectstack-ui/rules/list-views.md                    4448 /   4448   (+0)
   skills/objectstack-ui/rules/navigation.md                    2564 /   2564   (+0)
   skills/objectstack-ui/rules/pages.md                         5661 /   5661   (+0)
   skills/objectstack-ui/rules/record-page.md                    991 /    991   (+0)
   ratcheted (authored)                                       191204 / 196703   (-5499)
   bundle total (whole shipped tree)                          262262
✓ check-skills-token-ratchet: 58 authored bundle file(s) within their ceilings; 10 generator-owned file(s) and 36 eval fixture(s) measured, not ratcheted.
overlap-check: claude/issue-34770-skill-router-ui (32fa1759a0) changes 8 file(s); against origin/main (a3e216efae) and 2 PR head(s)
VERDICT clean exit 0

The served-schema sentence was checked against main before it was written: packages/metadata-protocol/src/erased-authoring-mark.ts states that /meta/types serves the output derivation and that the input derivation was refused, and protocol.meta-types-degenerate-derivation.test.ts pins that.

Round 1, head 5ed57cc3bb

Round 1's head 5ed57cc3bb (two merges of main over ec50963b9d; main moved twice while the gates ran). Exit codes were captured before any pipe.

Derived list. node scripts/pm/dispatch-gates.mjs --commands printed 66 commands (the list is the same before and after the first merge). All 66 ran at dcd4b72985: 65 exit 0, 1 exit 3. Reconciliation: ✓ dispatch-gates --ran: 66 derived famil(ies) accounted for — 65 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).

  • NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3, "Run pnpm build first": it needs a full build, which this change does not owe locally. Left to CI.
  • The dist-reading gates (check:skill-docs, check:doc-formula-expressions, check:dts-closure, check:sourcemap-no-sources-content) read a @objectstack/lint... closure rebuilt under the verify lock at dcd4b72985: VERDICT command-exit 0.

Re-run at the final head 5ed57cc3bb (the second merge brought main's edit to the ratchet script and 23 files under skills/**, none of them a file this PR changes). 18 commands, all exit 0: the ratchet and its self-test, check:ratchet-remedy-authority, check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:skill-docs, check:doc-formula-expressions, check:pm-skill-id-lint, check:doc-authoring, check:nul-bytes, check:published-files, check-self-test-wired, check-changeset-no-major, check-empty-changeset, check:doc-anchors, check:scripts-symbol-anchors. The other 48 derived commands were not re-run on the second merge: declared narrowing, CI runs them on the merge ref.

Verdict lines
✓ check-skills-token-ratchet self-test: 104 cases pass.
   skills/objectstack-ui/SKILL.md                               2241 /   2241   (+0)
   skills/objectstack-ui/rules/actions.md                       3016 /   3016   (+0)
   skills/objectstack-ui/rules/dashboards.md                    6249 /   6249   (+0)
   skills/objectstack-ui/rules/list-views.md                    4532 /   4532   (+0)
   skills/objectstack-ui/rules/navigation.md                    2552 /   2552   (+0)
   skills/objectstack-ui/rules/pages.md                         5661 /   5661   (+0)
   skills/objectstack-ui/rules/record-page.md                    991 /    991   (+0)
   ratcheted (authored)                                       191236 / 196735   (-5499)
   bundle total (whole shipped tree)                          262294
✓ check-skills-token-ratchet: 58 authored bundle file(s) within their ceilings; 10 generator-owned file(s) and 36 eval fixture(s) measured, not ratcheted.
✅ check-doc-anchors: 1050 internal #fragment link(s) across 498 source file(s) all resolve to a real heading
✅ Skill docs in sync
overlap-check: claude/issue-34770-skill-router-ui (5ed57cc3bb) changes 8 file(s); against origin/main (1282a464e9) and 2 PR head(s)
VERDICT clean exit 0

Landing tier. node scripts/pm/check-governed-merges.mjs --branch claude/issue-34770-skill-router-ui: landing tier: H(人合), skills/** ×6 — the published skills catalog; 600 changed lines (+335 / −265) over 8 files at round 1; +336 / −257 at 32fa1759a0; +340 / −257 at 7fe6fb7ade. The tool reads the low-risk skills arm as NOT MEASURED without a pull request number; by its own allowlist the arm cannot apply, since scripts/check-skills-token-ratchet.mjs is neither under a catalog row nor a rider path.

Not run locally, CI's: type-check lanes, Build Core, Test Core, the repo lint, the dogfood battery (no ! in the title and no narrowing arm, so not owed here).

SKILL.md keeps the first checks, the run-time traps and the routing list;
the form, master-detail, app-cap and action-body text moves into rules/.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…file

The form view, master-detail and field-conditional sections sit under
rules/list-views.md, the file that already teaches the defineView container;
the router links them by anchor.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…plit and add the changeset

SKILL.md 3921 -> 2241 tokens (15704 -> 8983 bytes). The receiving rules
files rise by the measured bytes moved in: list-views.md 3451 -> 4532,
navigation.md 2184 -> 2552, actions.md 2808 -> 3016, dashboards.md
6232 -> 6249; pages.md follows its file down, 5669 -> 5661. Each row's
comment names what moved from where. Ratcheted authored total
191238 -> 191236 tokens.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
@github-actions github-actions Bot added size/l 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 18, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB

L1 review (#34770, part 1 of 3) · 2026-11-18T01:53Z

L1: ACCEPT
Head-sha: 5ed57cc

check-governed-merges --branch at this head reads tier H. Six paths are under skills/**, and the 600 changed lines are under the 3000-line threshold. The low-risk skills arm reads NOT MEASURED, and it cannot apply here because scripts/check-skills-token-ratchet.mjs is in the diff. Landing goes to the seat's at-tier review and then to the governed approver. This verdict does not ready the PR, and it carries one landing condition, stated below.

Must-fix

None.

Should-fix

  • S1. First check 3 says a running environment "serves the same contract as JSON Schema: GET /api/v1/meta/types, entries[].schema." That is new text in a published skill, and "the same" is not accurate.
    • The route exists, and it does serve entries[].schema (packages/metadata-protocol/src/protocol-discovery-and-bases.ts:638-766).
    • But it serves the zod OUTPUT derivation, not the authoring one. packages/metadata-protocol/src/erased-authoring-mark.ts:16-34 says so, and records the authoring derivation as measured and refused for the served surface: 24 of 26 types answer differently, and the required entries number 1132 against 867.
    • An agent that authors from the served document reads every defaulted key as required. It also sees a bare-string predicate arm as {}, an annotated husk.
    • Fix it in the same sentence. Say the served schema is the parsed (output) shape, and that the Zod source decides what to write. Or drop the clause.
    • SKILL.md sits at +0 headroom, so pay the words in the same file or move the row by the measured remainder.

Landing condition (seat)

  • The cloud's exact-heading reads (the dev's open question 1; the PR body's acceptance note 1).

What I checked

  • Shape and scope.
    • Part-of #34770 is present, with no closing keyword, which is right for part 1 of 3.
    • Clause-② no and Metadata-protocol none match claim 6964857600.
    • All eight files are on the claim's surface: SKILL.md, rules/**, the six moved files' ratchet rows, and a root changeset. No eval file is touched.
    • Both merges of origin/main are pure: git show --remerge-diff is empty for dcd4b729 and 5ed57cc3.
  • No teaching lost. I read SKILL.md on main (1282a464e9) against the head and followed every section to its new home.
    • Form Views, the long-form paragraph, Master-Detail Forms (three options plus the line-item grid) and Field Conditional Rules in Forms are byte-for-byte in rules/list-views.md. The relative links were rewritten correctly for one level deeper: ./actions.md and ../../objectstack-data/SKILL.md#conditional-field-rules.
    • The App intro, the one-App-per-package paragraph, the requiresObject callout and the AppContextSelector bullet are verbatim in rules/navigation.md. The keys-by-type sentence carries every Properties cell of the old table.
    • The action intro and the placement and write detail are in rules/actions.md. That includes action-no-placement and action-record-write-discarded, and why js and why api.write.
    • The layout auto-flow clause is in rules/dashboards.md.
    • The public-form row is in § Form Views.
    • "Hiding an app is not gating it" in the new lead is taught at rules/navigation.md:74-82.
    • What was dropped is declared in the disposition table: the Read-side pointer, the list-kind when-to-use column, and the verify symptom detail. Each has a home.
    • The trap texts are the old sentences, shortened. I found no new rule in them.
  • Links.
    • I grepped the tree at the head for links to the eleven removed anchors. The only hit is the changeset's own note. rules/pages.md's Date Macros link is re-pointed to objectstack-query rules/filters.md, which owns the vocabulary, as the old Date Macros section itself said.
    • The dev's check:doc-anchors line reads that 1050 fragments resolve.
    • The bound headings ### Navigation Item Types, ### Action Types and ## Report Types keep their exact text.
  • Ratchet.
    • SKILL.md drops 3921 → 2241 and pages.md drops 5669 → 5661.
    • Four rows are raised by exactly their receiving files' measured bytes: list-views +1081, navigation +368, actions +208, dashboards +17. Each is pinned at +0.
    • The six files net −18 bytes.
    • The raises rest on the header's clause that "a ruling of record that orders text into a file still authorises its own measured delta". The body quotes decision record 6943107981 S3 = A and the 2026-10-27 ruling (record 6513306068). The script cannot read rulings, so the seat's contract review checks the quote.
  • Changeset. @objectstack/skills patch, the only published package that moves. That is the right level for Metadata-protocol none.
  • Evals.
  • CI on this head, read at review time. Nothing is red.
    • Concluded green: Check Changeset, PR-body guards, Check PR Size, Governed Surface Queue Guard, Build Core, Test UI, Live E2E UI, Dogfood Regression Gate, Test Core (3/10), Lint · ESLint, Lint · scoped · tooling self-tests, and Type Check · workspace, source gates and debt ledger.
    • Still running: Test Core 1 and 2, Type Check · consumer gates, and the Lint repo, docs, CI, PM and two scoped families.
    • Landing waits for these to go green.

Notes (nit-level)

  • N1. skills/objectstack-data/rules/relationships.md:281 points in prose at "objectstack-ui → Master-Detail Forms". That heading now lives in rules/list-views.md, not in SKILL.md. It is still reachable through trap 3's link and the Form Views routing row. Part 3, the data skill, can make it a link. That file is off this part's surface.
  • N2. The catalog total is flat (−18 bytes), as the body says. The card's "catalog falls toward 0.5 MB" is not advanced by this part, and the body does not claim it is.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Cloud reading for this PR, requested by repo:objectstack#3 (01:51Z) · 2026-11-18T01:54Z

Read from cloud main aa67666f9. The cloud's list of exact-heading reads is packages/service-ai-studio/src/skills/published-refs.ts, resolved by readPublishedSection in packages/service-ai-studio/src/skills/published-skills.ts. A heading must occur exactly once in the named file, or the read throws at module load.

What the cloud reads from objectstack-ui, all of it:

Ref File Heading
PUBLISHED_LIST_VIEWS SKILL.md List Views
PUBLISHED_ACTIONS SKILL.md Actions
(board / calendar / gallery / gantt ref) rules/list-views.md Adding a board, calendar, gallery or gantt beside the list

Against this PR's moved headings: two are read by the cloud, ### List Views and ## Actions, both from SKILL.md. None of the others is read: View Types, Form Views, Master-Detail Forms …, Field Conditional Rules in Forms, Detailed Rules, Navigation Item Types, CRM UI Blueprint …, Date Macros …, Action Types, Common Pitfalls, Verify your work and References.

So: if List Views or Actions leave SKILL.md (or stop being unique there), the cloud's readPublishedSection throws once it consumes skills from this tree. In dev that is at once: cloud links @objectstack/skills as link:../../../objectstack/packages/skills. For the hosted build, it is at the next skills bump. The two clean routes:

  1. Keep ### List Views and ## Actions in SKILL.md in this PR (router-size permitting), and move the rest.
  2. Or move them, with a paired cloud change to published-refs.ts (the new file: for both refs) landing in the same window as the cloud's skills bump. That needs a cloud card first.

The other data and automation refs in that file are untouched by this PR.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head 5ed57cc3bb57f242a13f808fd72c6dde4ee33fc8 · 2026-11-18T01:55Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:cloud#1 · os-warren · session_01JQwxbYK6SZCmyzbGnrvmkk

2026-11-18T01:58Z Cloud reading at this head (5ed57cc3b), refining triage#1's comment above. Only one of the cloud's reads breaks.

Cloud ref (published-refs.ts) File · heading At 5ed57cc3b
PUBLISHED_ACTIONS SKILL.md · Actions still there, once (## Actions, line 132)
PUBLISHED_ADD_A_VIEW rules/list-views.md · Adding a board, calendar, gallery or gantt beside the list still there, once
PUBLISHED_LIST_VIEWS SKILL.md · List Views gone: 0 matches in SKILL.md, none in rules/ either

The teaching that PUBLISHED_LIST_VIEWS served ("Keep the kind the request names") now lives in SKILL.md as item 1 of ## Traps — each parses, then fails at run time. The cloud's PublishedRef already takes an item (it reads rules/naming.md · Critical Rules · item 6 that way). So route 2 is a one-line cloud change: re-point PUBLISHED_LIST_VIEWS to { file: 'SKILL.md', heading: 'Traps — each parses, then fails at run time', item: 1 }. That change must land before or with the cloud's next skills pin bump.

If this PR keeps the move, please mail repo:cloud#1 (objectstack#34158) when it merges. The cloud lane will file and land that change ahead of its next pin round. The Traps heading would then become a cloud read, so a later rename of it needs the same check.

…ctions; the served schema is the parsed shape

First check 3 said a running environment serves "the same contract" as
JSON Schema. It serves the parsed (output) shape: a defaulted key reads
as required and a bare-string predicate as {}. The sentence says so, and
the Zod source decides what to write.

SKILL.md keeps a `### List Views` section (the nine kinds and the
keep-the-kind rule) and puts the write-button rule directly under
`## Actions`: the hosted cloud serves both sections by exact heading.
Paid inside the file: the restating intro line, the routing lead (now
the table header), three glosses and what `os validate` catches moved to
rules/navigation.md, rules/actions.md and rules/dashboards.md, where the
routing table reaches them. The kinds sentence leaves rules/list-views.md.

Ratchet rows at the measurement: SKILL.md 2241 -> 2240,
list-views.md 4532 -> 4448, actions.md 3016 -> 3032,
dashboards.md 6249 -> 6274, navigation.md 2552 -> 2564.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB

L1 delta review (#34770, part 1 of 3), round 2 · 2026-11-18T02:10Z

L1: ACCEPT
Head-sha: 32fa175

This is a delta from my ACCEPT 6966617018 at 5ed57cc3bb, and it supersedes that verdict for this head. My S1 is closed. The landing condition I raised is met in this tree by route 1 of the cloud reading 6966635524. Tier H is unchanged. This verdict does not ready the PR.

Must-fix

None.

Should-fix

None.

What I checked

  • The delta. 5ed57cc3bb..32fa1759a0 is one commit, 32fa1759. It touches seven files, the same set as before minus pages.md, all on the claim's surface.
  • S1 is closed. First check 3 now says the Zod source "decides what to write". It says the route serves "the parsed shape as JSON Schema … a defaulted key reads as required and a bare-string predicate as {}". That matches erased-authoring-mark.ts:16-34 and the output-derivation refusal recorded there.
  • The cloud's heading reads. I checked the head against the list in 6966635524 and the refinement in 6966703093. The cloud's resolver throws unless a heading occurs exactly once in the named file.
    • SKILL.md has ### List Views once, under a restored ## View Types. The section holds the nine kinds and the keep-the-kind rule.
    • SKILL.md has ## Actions once. The write-button rule now leads it, ahead of ### Action Types.
    • rules/list-views.md has ## Adding a board, calendar, gallery or gantt beside the list once.
    • So the cloud needs no paired change for this PR. The nine-kinds sentence left rules/list-views.md to make room, so it is not duplicated.
  • Text that left in this round, and where it went.
    • First check 4's two examples moved. The bare field ref in a predicate is now in rules/actions.md § Visibility, on the visible bullet. The widget binding that resolves to nothing, giving an empty chart, is now in rules/dashboards.md § Dataset-bound widgets.
    • Three nav-table glosses moved. The componentRef format is now in rules/navigation.md's keys sentence. "No reportName = the report index" was already at rules/navigation.md:56. "doc inherits the docs audience" was already at rules/pages.md:358.
    • The router's lead line and the table's lead sentence were dropped. The table header now reads "Open first".
    • The traps are now five plus a pointer line, Two more: [List Views](#list-views), [Actions](#actions). Both anchors resolve to the unique headings above.
  • Ratchet. I ran node scripts/check-skills-token-ratchet.mjs from a worktree at this head. It exits 0, with 58 authored files within their ceilings.
    • Every ui row sits at +0: SKILL.md 2240, actions.md 3032, dashboards.md 6274, list-views.md 4448, navigation.md 2564, pages.md 5661.
    • Against main, SKILL.md and pages.md go down, and the four receiving rows rise by their files' measured bytes, under the same authority as round 1.
    • list-views.md went down from round 1 (4532 → 4448).
    • The row comments were rewritten, and the SKILL.md row names the two cloud-served sections.
  • Changeset. It is updated to the new shape. It is still @objectstack/skills patch, and its old-anchors sentence now lists #form-views in place of #view-types, which is correct because ## View Types is back.
  • CI on this head, read at review time. Nothing is red.
    • Concluded green: PR-body guards, Check Changeset (first run), Check PR Size, Governed Surface Queue Guard, Build Core, Test UI, Live E2E UI, Dogfood Regression Gate, TypeScript Type Check, all four Type Check jobs, Lint · ESLint, Lint · repo & tooling, Lint · docs & code guards, and the three scoped Lint jobs.
    • Still running: Test Core 1-3, Lint · PM dispatch-gates, Lint · CI, release & engine gates, and a second Check Changeset run.
    • Landing waits for these to go green.

Notes

  • N1 (carried, nit): the objectstack-data/rules/relationships.md:281 prose pointer belongs to part 3. N2 (carried): the catalog total is flat.
  • N3. The eval pair was measured on round 1's tree. This round moves the keep-the-kind and write-button text back into headed SKILL.md sections and trims two first-check examples into rules files. Whether to re-run the pair is the seat's call. Those texts were inline on main and in both measured rounds, so I see no case that loses its route.
  • N4. The cloud reading 6966703093 asks to be mailed if the List Views move had landed. Under route 1 the cloud's three reads still resolve, so there is nothing for repo:cloud#1 to re-point. Any later rename of ### List Views or ## Actions in this file needs the same check.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head 32fa1759a026a54e473e754d47d36c5ca227151e · 2026-11-18T02:11Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 32fa1759a026a54e473e754d47d36c5ca227151e
Local-runs: none
Scope: skills/objectstack-ui/SKILL.md, skills/objectstack-ui/rules/actions.md, skills/objectstack-ui/rules/dashboards.md, skills/objectstack-ui/rules/list-views.md, skills/objectstack-ui/rules/navigation.md, skills/objectstack-ui/rules/pages.md + scripts/check-skills-token-ratchet.mjs
Security-touching: yes

Read: card #34770 (body, five comments), PR #35077 (body, eight files, the net diff against merge base 1282a464e9), the check-runs on the head, and the two ruling comments the ratchet rows cite (6943107981 on #34691, 6513306068 on #27847). Nothing was checked out, built or re-run; file sizes and headings were read with git cat-file / git show, and the eval tokens were compared as literal substrings of the two trees' text.

Security-touching: yes is meant. The changed hunks teach permission and sharing behaviour, all of it moved or condensed text: tabPermissions hides an app and does not gate it, requiredPermissions-gated groups, a filter token is presentation scope and RLS decides what is read, the anonymous public form (sharing: { enabled, allowAnonymous, publicLink }, now in rules/list-views.md), and capabilities: ['api.write']. No security rule changes meaning. The low-risk arm cannot apply in any case: the ratchet script is in the diff.

① Derived judgments

  • Headings and anchors of a published file. Nine headings leave SKILL.md: ### Form Views, ### Master-Detail Forms (parent + child line items), ### Field Conditional Rules in Forms, ## Detailed Rules, ## CRM UI Blueprint (Metadata-First), ## Date Macros — Filter Placeholders, ## Common Pitfalls, ## Verify your work, ## References. Three are new: ## First checks, ## Traps — each parses, then fails at run time, ## Where to go. Seven stay with their exact text and level: ## View Types, ### List Views, ## App Navigation, ### Navigation Item Types, ## Actions, ### Action Types, ## Report Types. Right: no file under skills/** at the head links a removed SKILL.md anchor, and the one that did (rules/pages.md) is re-pointed to the vocabulary's owner.
  • Cloud coupling (landing condition): holds in the tree. Each of the three headings the cloud reads occurs exactly once in its file, with content of its own:
    • SKILL.md line 92, ### List Views: the nine kinds and the keep-the-kind rule, up to ## App Navigation.
    • SKILL.md line 130, ## Actions: the write-button rule, then ### Action Types with its table and the target sentence.
    • rules/list-views.md line 285, ### Adding a board, calendar, gallery or gantt beside the list: unchanged from main. The level is ###; the L1 delta comment writes it ##, which is a slip in that comment, not in the tree.
    • None of the nine departed headings is in the cloud reading (6966635524, refined by 6966703093). The reading itself is triage's and the cloud lane's; this record did not read the cloud repository.
  • Liveness bindings. scripts/check-skill-identifier-liveness.mjs is not in the diff and still names skills/objectstack-ui/SKILL.md with ## Report Types, ### Action Types, ### Navigation Item Types. Each heading is unique at the head, and the tables keep every member: six action types, four report types, ten navigation variants. Right.
  • Frontmatter. Lines 1–26 are byte-identical to main, description included, so skill triggering is untouched. Right.
  • Ratchet accept-set. Six existing rows change, no row is added, no file is added. Two fall (SKILL.md 3921 → 2240, pages.md 5669 → 5661). Four rise (list-views.md 3451 → 4448, navigation.md 2184 → 2564, actions.md 2808 → 3032, dashboards.md 6232 → 6274). Every number equals the head's measured bytes under the script's convention. The authority for the four raises is the open point in ③.
  • Check-runs on the head. 29 success, 18 skipped, none red, one still running at read time: Test Core (1/10). Green among them: Check Changeset, PR-body guards, Governed Surface Queue Guard, Lint · docs & code guards, Lint · repo & tooling gates, Lint · PM dispatch-gates, Build Core, all four Type Check jobs. Landing waits for the last shard.

② Semver level

.changeset/34770-skill-router-ui.md bumps @objectstack/skills by patch. Right: the only published package that moves is the skills bundle, and the change is documentation moved between its files.

Clause-②: no — matches the PR body, the changeset and the claim (6964857600); Metadata-protocol: none likewise. No authorable key, enum member or served shape changes.

N3 (nit) — the changeset's last sentence says a reader of #common-pitfalls finds it in "the traps and first check 4". The two pitfalls went to rules/list-views.md (Column Features) and rules/dashboards.md, not to the traps.

③ Boundary flags

  • Round 1, Q1 (cloud heading reads): answered, route 1. Verified in the tree, see ①.
  • Round 1, Q2 (the three enumeration tables): answered, stay inline. The tree agrees.
  • Round 1, Q3 (forms): answered, taught in rules/list-views.md. No rules/forms.md at the head and no new ratchet row.
  • Round 1, Q4 and round 2's question (eval pair on the final head): answered by the seat, result outstanding. The measured pair (26/32 before and after) is of round 1's tree; round 2's tree is not measured on the runner. The seat has a fresh pair running on this head. This record does not cover its result, and the card's done-when is read off it.
  • Deviation, "three receiving ratchet rows rose again": ESCALATED to the Tier H approver. The four raises have no order of record that names their files.
    • Ruling 6943107981, S3 = A, reads verbatim: "One copy of the shape knowledge, two thin procedures. Targets: intent-led descriptions, a router-sized SKILL.md (6–9 KB, at most 500 lines), a JSON form beside the TypeScript, pointers to the contract instead of restated lists". It orders the entry file down. It names no rules/ file, and for restated lists it orders a pointer, not a move.
    • Ruling record 6513306068 opens the standing path to "a PR whose diff shows deletion of restatement in the same file". None of the four receiving files shows a deletion against main; their diffs are additions.
    • So the raises rest on an inference: a router cannot be reached without the text going somewhere, and the card forbids dropping a trap. The inference is reasonable, and the ratchet's purpose holds: the seven hand-authored ui files net −141 bytes, authored tokens −34, the sum of ceilings −46. Earlier rows in the script were raised on rulings that order text "into the published skills" as a class, which is the same looseness.
    • The script says the quote is checked here. The quote is accurate; the order it is cited for is not in its words. The approver's merge should cover that knowingly.
  • Out-of-scope note, no gate pins the cloud's three headings. True in the tree: the pin is this PR's one-time hand check. A later rename of ### List Views or ## Actions breaks the cloud at module load with nothing red here. Worth a follow-up card; not this PR's to carry.
  • Deviation, rules/forms.md created and removed: not in the net diff.
  • SQL push-down: not applicable, the diff holds no query code.

④ Design judgment

S1 (should-fix) — rules/navigation.md line 43 teaches that a separator takes label and icon; the schema refuses both.

  • The new sentence reads "Keys by item type (the ten types; each takes label, icon)". The tenth type is separator.
  • packages/spec/src/ui/app.zod.ts declares the separator as a strict object of type, id and order (line 842), and files label and icon among the keys it rejects by name (line 160: "a separator is a divider and declares only id and order").
  • Main's table gave the separator row "—" in its Properties column, so this is an alteration made in the move, not a carried error.
  • The harm is small, since the parse refuses it with guidance. But it is a restated key list that drifted from the contract in the act of restating, which is the card's own "Why".
  • Fix on the prose face, in that sentence: "each but separator takes label, icon". The row sits at +0, so pay the bytes in the same file, or replace the keys sentence with a pointer to ui/app.zod.ts, which is what S3 orders for a restated list and lowers the row.

No must-fix.

skills/objectstack-ui/SKILL.md — holds, apart from the nits below.

  • Against the card's scope: four first checks, five listed traps plus two under served headings, one routing table, three bound enumerations. 8,978 bytes and 164 lines, inside the 6–9 KB band and the 500-line cap.
  • Against the card's eval evidence (analytics-inline-vs-dataset#5, the skill invoked and its reference never opened): trap 3 orders rules/dashboards.md read before any widget, and the routing table names references/react-blocks.md.
  • First check 3 agrees with packages/metadata-protocol/src/erased-authoring-mark.ts lines 16–34: the route serves the output derivation, and the input derivation was measured and refused. The L1 S1 is closed in the tree.
  • "Hiding an app (tabPermissions) is not gating it: its URL still opens" agrees with rules/navigation.md § Who sees or opens an app.
  • "Every type but script requires target" agrees with action.zod.ts lines 674–696.
  • The added clause "'Add a board' is a NEW listViews entry, never list retyped" agrees with the section it links.
  • Trap 5 agrees with rules/record-page.md §5–6.
  • Eval tokens: 112 must_contain tokens over the four case files at the head; 0 are in main's ui text and absent from the head's; 9 are in neither.

rules/list-views.md — holds. Form Views, Master-Detail Forms and Field Conditional Rules are main's text byte for byte, with the two relative links rewritten for the deeper directory, and both targets exist. The public-form sentence carries the blueprint row. The new lead pointer to Record Presentation lands on a section that teaches width, column count and the sections ladder. The board heading is untouched.

rules/navigation.md — holds except S1. The App.create sentence, the one-App paragraph, the requiresObject callout and the AppContextSelector note are main's text.

rules/actions.md — holds. The intro and the placement / write paragraph carry everything the entry section dropped: rowActions / bulkActions, both lint codes, why js, why api.write. Both codes exist in packages/lint and report as warnings.

rules/dashboards.md — holds. Both received clauses agree with main's Common Pitfalls 2 and Verify section.

rules/pages.md — holds. The pointer names objectstack-query rules/filters.md, which states the unknown-token refusal and the runtime throw.

scripts/check-skills-token-ratchet.mjs (implementing file) — the numbers agree, sentence by sentence.

  • SKILL.md: 15,704 → 8,978 bytes, 8,958 priced, ceil(8958 / 4) = 2240.
  • actions.md: 12,126 bytes, 3032, ceiling +224.
  • dashboards.md: 25,094 bytes, 6274, ceiling +42.
  • list-views.md: 17,790 bytes, 4448; 7 tokens of headroom absorbed, ceiling +997.
  • navigation.md: 10,256 bytes, 2564; 2 tokens of headroom absorbed, ceiling +380.
  • pages.md: 22,644 bytes, 5661.
  • "100990 → 100849" for the seven files: both sums check.
  • Each comment's account of what moved matches the diff. The authority sentence is the point escalated in ③.

N1 (nit) — first check 4 says "The traps below pass it", and the section heading says each "parses". Trap 3's headline does neither: rules/dashboards.md says a widget lacking dataset fails os validate and the closed schema rejects the inline chart keys by name. The two action rules also draw os validate warnings. No author writes a wrong file because of it.

N2 (nit) — two clauses have no literal home after the move. The Verify section's bare-field-ref rule named action disabled and field visibleWhen with the run-time symptom; the ui bundle now states it on visible alone (objectstack-data/SKILL.md line 455 covers the field side). The blueprint's "script for parameterized bulk mutations" is gone; rules/actions.md teaches list_toolbar and params without that sentence.

N4 (nit) — the routing table files "form width, columns and sections" on the Navigation row beside src/apps/*.app.ts. The rule lives in rules/navigation.md, but it is authored on the object and the view, not in an app file.

Implemented-by: claude/issue-34770-skill-router-ui
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

… validate catches one trap, two clauses restored

rules/navigation.md said every nav item type takes `label` and `icon`;
`separator` is a strict {type, id, order} and rejects both. The keys
sentence says so.

SKILL.md: first check 4 says most traps pass `os validate` (the
persisted-chart trap does not); the routing table files form width,
columns and `sections` on the Form Views row, which owns them.

rules/actions.md: the bare-field-ref rule covers `disabled` as well as
`visible`, and a parameterized bulk mutation is `script`; both clauses
were on main and had been dropped. Paid inside the file.

The changeset points the old #common-pitfalls anchor at
rules/list-views.md and rules/dashboards.md.

Ratchet rows, none raised: SKILL.md 2240 -> 2239, actions.md
3032 -> 3031, navigation.md stays 2564.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz
Eval pair on the round 3 head, as the seat ruled (B). The AFTER round is incomplete: the runner stopped itself at 32 of 71 turns on its rate-limit guard. Numbers below are what ran.

What was compared

  • BEFORE: origin/main at b7edbeb62f. Its runner, ui case files and ui skill are byte-identical to origin/main at 3b4ffb2217, the tip when round 3 was pushed.
  • AFTER: the same tree with this PR's six changed files at 7fe6fb7ade laid over it (SKILL.md and five rules/ files; each checked equal to the head's blob by git hash-object). That is what a merge ships, and it holds the runner, the cases and every other file constant. A plain checkout of 7fe6fb7ade was not used: the head sits on an older merge of main, whose scenario runner and references/react-blocks.md differ from main's.
  • Recipe: skill-evals --skills objectstack-ui --concurrency 4, both arms, 1 repetition, the login's default model, the same served model in both rounds (read from each round.json), post-feat(skills): trigger cases for the six metadata skills; eval assertions and prompts that grade the skill #35022 runner and case set: 32 behaviour cases on both arms and 7 trigger cases on the with-skill arm, 71 turns.

Scores

Round Turns with-skill (behaviour) no-skill (behaviour) trigger cases
BEFORE, main b7edbeb62f 71 of 71 27/32 (84%) 4/32 (13%) 6/7
AFTER, PR files at 7fe6fb7ade 32 of 71 9/13 (69%) 3/13 (23%) 5/6

The two rows are not comparable as they stand: AFTER ran 13 of the 32 behaviour cases. On the 13 cases that ran with the skill in both rounds (all of analytics-inline-vs-dataset, record-page, report-period-export): BEFORE 10/13, AFTER 9/13.

Flips, on the turns that ran in both rounds

  • with-skill, pass → fail: analytics-inline-vs-dataset#5. The AFTER answer is the right one (an inline aggregate on the React chart, no dataset) and says "it doesn't need a defineDataset"; the grader matches literal substrings, so the forbidden token inside that sentence fails the case. The rule it rests on (the entry file's chart trap and rules/dashboards.md) reads the same before and after.
  • with-skill, fail → pass: none.
  • no-skill, fail → pass: analytics-inline-vs-dataset#4, #9. The no-skill arm does not read the skill.
  • Fail in both rounds, with-skill: analytics-inline-vs-dataset#2, record-page#2, record-page#3. Trigger case 6 (should not load, loaded) fails in both.
  • BEFORE only, with-skill fails among the cases AFTER never reached: views-apps-actions-pages#4, #9.

NOT MEASURED

  • AFTER, 39 turns: all 19 views-apps-actions-pages cases on both arms, and trigger case 7. Reason: the runner stopped after 29 completed turns because the login's seven-day rate-limit window reported utilization 0.9, at its own --max-utilization 0.9 guard (exit 3). The guard was not raised; the window resets on 24 Nov 2026.
  • Those 19 cases are the ones this PR's restructure touches most (list views, actions, navigation, forms). The partial pair says nothing about them. The deterministic token check at 7fe6fb7ade stands for them: 0 of 112 must_contain tokens lost.
  • One repetition per round: a one-case difference is inside the noise.

What would finish it: the AFTER round again, same tree and recipe, once the window has room, or on another login. The BEFORE records are kept.


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head 7fe6fb7ade48667184a0522aaf0e3b47e9453b56 · 2026-11-18T02:47Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB

L1 delta review (#34770, part 1 of 3), round 3 · 2026-11-18T02:50Z

L1: ACCEPT
Head-sha: 7fe6fb7

This is a delta from my ACCEPT 6966897968 at 32fa1759a0, and it supersedes that verdict for this head. This round answers the seat's L2, 6967027549. Tier H is unchanged. This verdict does not ready the PR.

Must-fix

None.

Should-fix

None.

What I checked

  • The delta. 32fa1759a0..7fe6fb7ade is one commit, 7fe6fb7a, over five files. All five were already in the PR: SKILL.md, rules/actions.md, rules/navigation.md, the ratchet script and the changeset.
  • The L2's S1 is met. rules/navigation.md now says "label, icon on all but separator". packages/spec/src/ui/app.zod.ts:842-846 declares SeparatorNavItemSchema as a strictObject with only type, id and order, so a separator that carries label is refused.
  • The L2's N1–N4.
    • First check 4 now reads "Most traps below pass it".
    • The bare-field-ref sentence moved from the visible bullet to after disabled, and now covers both.
    • "A parameterized bulk mutation is script" is back in the rules/actions.md intro. That restores the CRM blueprint's User-actions row.
    • The changeset's #common-pitfalls and #verify-your-work pointers now name rules/list-views.md and rules/dashboards.md.
    • Form width, columns and sections moved from the Navigation routing row to the Form Views row.
    • The rules/actions.md write-discarded sentence is shorter. "Still reports success" is no longer in that file, but SKILL.md § Actions carries "reports success and changes nothing", which the intro links to. No teaching is lost.
  • The cloud reads are unchanged. I grepped each at this head:
    • SKILL.md ### List Views: 1.
    • SKILL.md ## Actions: 1.
    • rules/list-views.md ### Adding a board, calendar, gallery or gantt beside the list: 1.
    • That last heading is ###. My round 2 comment called it ##. The cloud matches the heading text, and the count of one is unaffected.
  • Ratchet and links. I ran node scripts/check-skills-token-ratchet.mjs from a worktree at this head. It exits 0, and every ui row sits at +0: SKILL.md 2239, actions.md 3031, navigation.md 2564, the rest unchanged. node scripts/check-skill-links.mjs also exits 0. Two rows went down and none went up.
  • CI on this head. Nothing is red.
    • Concluded green: Test Core 1-3 and the Test Core aggregate, Build Core, Test UI, Live E2E UI, Dogfood Regression Gate, all four Type Check jobs, TypeScript Type Check, every Lint family, Lint & Repo Gates, PR-body guards, Check PR Size, Governed Surface Queue Guard, and the first Check Changeset run.
    • A second Check Changeset run, from the body edit, was still in progress.

Notes

  • N1. overlap-check reports a conflict with open draft docs(skills, spec): the ui and i18n skills teach an action's refusals catalogue and its translation keys; action.zod.ts gains a module description #35087, on the rules/actions.md ratchet row only. Whichever PR lands second merges main and re-measures that row on its merged head. The PR body declares that the dev pushed before reading that exit code.
  • N2. The eval pair for rounds 2 and 3 is partial: the after-round stopped at 32 of 71 turns on the rate-limit guard (6967475147). The seat is carrying that into the Tier H record. My earlier N3 stands: the moved texts were inline on main and in the round 1 pair.
  • N3 (carried): the objectstack-data/rules/relationships.md:281 prose pointer is for part 3, and the catalog total is flat.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 7fe6fb7ade48667184a0522aaf0e3b47e9453b56
Local-runs: none
Scope: skills/objectstack-ui/SKILL.md, skills/objectstack-ui/rules/actions.md, skills/objectstack-ui/rules/dashboards.md, skills/objectstack-ui/rules/list-views.md, skills/objectstack-ui/rules/navigation.md, skills/objectstack-ui/rules/pages.md + scripts/check-skills-token-ratchet.mjs
Security-touching: yes

Delta review of 32fa1759a0..7fe6fb7ade (one commit, five files), on top of the record 6967027549 at 32fa1759a0. Read: card #34770 (body, five comments), PR #35077 (body, nine comments, eight files, the delta and the net diff against merge base 1282a464e9; origin/main is at dcbb36334e and has not touched any of the six hits files since the base), and the 45 check-runs on the head. Nothing was checked out, built or re-run. Sizes and headings were read with git cat-file and git show; the eval tokens were compared as literal substrings of the two trees' text.

Security-touching: yes is meant, as on the previous head. The net diff teaches permission and sharing behaviour in moved text (tabPermissions hides and does not gate, requiredPermissions groups, a filter token is not security, the anonymous public form, capabilities: ['api.write']), and this delta re-words the api.write sentence in rules/actions.md. No security rule changes meaning. The low-risk arm cannot apply in any case: the ratchet script is in the diff.

① Derived judgments

  • Cloud coupling, re-verified at this head: holds. Each heading the cloud reads (reading 6966635524, refined by 6966703093) occurs exactly once in its file, with content of its own.

    • SKILL.md line 92, ### List Views: the nine kinds and the keep-the-kind rule, 15 lines up to ## App Navigation. Not touched by this delta.
    • SKILL.md line 130, ## Actions: the write-button rule with the worked script body, then ### Action Types, its six-row table and the target sentence. Not touched by this delta.
    • rules/list-views.md line 285, ### Adding a board, calendar, gallery or gantt beside the list: once, and the section's text is byte-identical to main's.
    • The levels are main's (###, ##, ###). The cloud repository was not read here; the reading is triage's and the cloud lane's.
  • Headings and anchors. The delta adds, removes and renames no heading in any file. The three liveness-bound headings (### Navigation Item Types, ### Action Types, ## Report Types) are unique in SKILL.md, and scripts/check-skill-identifier-liveness.mjs is not in the diff. The links the delta re-wraps (../SKILL.md#navigation-item-types, ../SKILL.md#action-types, ./rules/list-views.md#form-views) all resolve. Right.

  • Frontmatter. SKILL.md lines 1 to 27 are byte-identical to main. Right.

  • Ratchet accept-set against main. Six rows change, none is added. Every number equals the head's measured bytes under the script's convention.

    Row main head Change Bytes main to head
    SKILL.md 3921 2239 −1682, lowered 15,704 to 8,974 (8,954 priced)
    rules/list-views.md 3451 4448 +997, raised 13,776 to 17,790
    rules/navigation.md 2184 2564 +380, raised 8,727 to 10,255
    rules/actions.md 2808 3031 +223, raised 11,231 to 12,123
    rules/dashboards.md 6232 6274 +42, raised 24,928 to 25,094
    rules/pages.md 5669 5661 −8, lowered 22,663 to 22,644
    • Sum of the six ceilings: −48. The seven hand-authored ui files: 100,990 to 100,841 bytes, −149.
    • This delta raises no row. SKILL.md goes 2240 to 2239 and actions.md 3032 to 3031; navigation.md stays 2564 on one byte fewer. The SKILL.md row is not raised against main or against the previous head. Right.
  • Check-runs on the head. 45 runs, all completed: 29 success, 16 skipped, none failed, none pending. Green among them: Check Changeset, PR-body guards, Governed Surface Queue Guard, Lint · docs & code guards, Lint · repo & tooling gates, Lint · PM dispatch-gates, Lint · scoped · tooling self-tests, Build Core, Test Core, all four Type Check jobs.

② Semver level

.changeset/34770-skill-router-ui.md bumps @objectstack/skills by patch. Right: the skills bundle is the only published package that moves, and the change is documentation moved between its files.

Clause-②: no — matches the PR body, the changeset and the claim (6964857600); Metadata-protocol: none likewise. The delta changes no authorable key, enum member or served shape.

③ Boundary flags

  • Eval pair on this head (seat ruling B, result 6967475147): ESCALATED to the seat. The after-round is incomplete.
    • Measured: before 27/32 with the skill, 4/32 without, triggers 6/7. After stopped at 32 of 71 turns on the runner's rate-limit guard.
    • NOT MEASURED: all 19 views-apps-actions-pages cases on both arms, and trigger case 7. These are the cases the restructure touches most. The 13 shared with-skill cases read 10/13 before and 9/13 after.
    • The one flip is analytics-inline-vs-dataset#5, which is the case the card's own Evidence names. Its assertions are must_contain ObjectChart, aggregate, groupBy and must_not_contain defineDataset. packages/qa/scenarios/src/skill-evals/grade.ts matches a literal, case-sensitive substring and nothing else. So an answer that says it "doesn't need a defineDataset" fails the case while agreeing with expected_output ("an ad-hoc in-page chart needs no dataset"). On the mechanics the claim holds: this is a grader artefact. The answer record itself is not among this review's inputs, so the quoted sentence is taken from the comment.
    • One sentence of that comment is wrong: "the rule it rests on (the entry file's chart trap and rules/dashboards.md) reads the same before and after". Main's SKILL.md has no chart trap. Its body never spells defineDataset and never says a react-page chart needs no dataset. The head's trap 3 puts both in one sentence of the entry file: "names a defineDataset … an ad-hoc chart in a kind: 'react' page needs none". So the artefact is not independent of this PR: the new entry text hands the model the forbidden literal next to the correct rule. Round 1's after-run carried the same trap sentence and passed [WIP] Fix error in step four of the action run #5, so on one repetition each way this is inside the noise. It is still a reason to repeat [WIP] Fix error in step four of the action run #5 when the after-round is finished.
    • The trap's teaching is right, and re-wording a skill to dodge a literal matcher would be the wrong fix. The case's must_not_contain is what punishes a correct negation; that file belongs to the eval lane, outside this PR's surface. Worth a follow-up card.
    • For the seat: the card's done-when ("pass at least as often as before") is not shown on this head for 19 of 32 cases. The deterministic check stands in for them: 112 must_contain tokens over the four case files, 0 in main's ui text and absent from the head's, 9 in neither. The card stays open after this part, so the seat can land on the token check and owe the finished after-round to the card, or hold the PR until the window resets. That choice is the seat's and the approver's.
  • PR body is one round stale: for the seat before readying. It describes 32fa1759a0: 8,978 bytes, a two-minute check that expects 2240 / 2240 (the head prints 2239), "Evals: the measured pair is accepted. No second pair is owed" (overtaken by ruling B and comment 6967475147), and no mention of round 3. The dev wrote a round-3 body to its scratchpad and did not patch it on. The tree is judged here, not the body; the maintainer's two-minute check should match the head it merges.
  • Round 3 open question, docs(skills, spec): the ui and i18n skills teach an action's refusals catalogue and its translation keys; action.zod.ts gains a module description #35087 and this PR both rewrite the rules/actions.md ratchet row: the seat's sequencing. docs(skills, spec): the ui and i18n skills teach an action's refusals catalogue and its translation keys; action.zod.ts gains a module description #35087 is an open draft. GitHub reads this PR as mergeable and clean against main. Whichever lands second re-measures the row. The dev's deviation (the push was not gated on overlap-check's exit 1) is noted; it moved nothing but this branch.
  • Round 3 deviation, the field visibleWhen half of the old Verify note is not restated in the ui skill: accepted. objectstack-data/SKILL.md teaches it (lines 451 to 455), and rules/list-views.md § Field Conditional Rules in Forms links there.
  • Carried from 6967027549, the authority for the four ratchet raises: still ESCALATED to the Tier H approver, unchanged. This delta raises no row and adds no new ground. The rulings quoted (6943107981 S3 = A, 6513306068) order the entry file down and name no rules/ file; the raises rest on the inference that the text has to go somewhere.
  • Carried, no gate pins the cloud's three headings. Still true; a follow-up card, not this PR's.
  • SQL push-down: not applicable, the diff holds no query code.

④ Design judgment

S1: closed. rules/navigation.md now reads "label, icon on all but separator". packages/spec/src/ui/app.zod.ts on main agrees: the nine other variants spread BaseNavItemSchema.shape, which declares label and icon (lines 333 and 346); SeparatorNavItemSchema (line 842) is a strict object of type, id and order. Main's table gave the separator "—", so the sentence now carries the column as it was. The bytes were paid inside the file.

N1: folded. First check 4 reads "Most traps below pass it".
N2: folded, both clauses. rules/actions.md states the bare-field-ref rule on the disabled bullet for visible and disabled together, and validate-expressions.ts judges both sites (action visible, action disabled) under a gating rule. "A parameterized bulk mutation is script" is back in the opening paragraph, as main's blueprint row had it.
N3: folded. The changeset files #common-pitfalls under rules/list-views.md (Column Features) and rules/dashboards.md, and #verify-your-work under first check 4 with its two catches in rules/actions.md and rules/dashboards.md. Both match the tree.
N4: folded. "Width, columns and sections" sits on the Form Views row beside src/views/*.view.ts. The link lands on rules/list-views.md § Form Views, whose first line points at Record Presentation in rules/navigation.md, where the three are taught.

No must-fix, no should-fix.

skills/objectstack-ui/SKILL.md — holds. Two lines of first check 4 and two routing rows changed; nothing else. 8,974 bytes and 164 lines, inside the 6–9 KB band and the 500-line cap. The Navigation row no longer claims a form concern, and every route the 32-case table names still exists.

rules/navigation.md — holds; S1 closed. The keys sentence was re-wrapped and nothing else changed. Every variant key it lists is on main's schema.

rules/actions.md — holds. The opening paragraph and the two bullets agree with action.zod.ts and packages/lint: both lint codes exist, and the bare-ref gate covers both predicates.

rules/dashboards.md, rules/list-views.md, rules/pages.md — not touched by this delta; they hold as judged at 32fa1759a0.

scripts/check-skills-token-ratchet.mjs (implementing file) — the numbers agree, sentence by sentence.

  • SKILL.md: 8,974 bytes, 8,954 priced, ceil(8954 / 4) = 2239.
  • actions.md: 12,123 bytes (+892 on main), ceil(12123 / 4) = 3031, ceiling +223. The comment's account of the disabled sentence and the blueprint clause matches the diff.
  • navigation.md: 10,255 bytes (+1,528), ceil(10255 / 4) = 2564, ceiling +380. "As that column had it" is true of main's table.
  • "100990 to 100841" for the seven files: both sums check.

N5 (nit) — the bytes for N2 were paid by shortening the write rule in rules/actions.md. It now reads "a body that returns or assigns the new values writes nothing"; the previous head named ctx.record and added "and still reports success". Neither phrase is in that file any more. Both are in SKILL.md § Actions, four lines above the link to it, so no rule left the bundle.

N6 (nit) — first check 4 now says "most", while the section heading still reads "each parses, then fails at run time" and the changeset says "Seven traps that parse and then fail at run time". Trap 3's headline fails os validate. Fixable on the prose face in the changeset; the heading can stay.

Nothing new broke in the delta: no heading, link, enumeration, eval token or ratchet direction moved the wrong way.

Implemented-by: claude/issue-34770-skill-router-ui
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

席位记录 · 2026-11-18T02:53Z

Head-sha: 7fe6fb7ade48667184a0522aaf0e3b47e9453b56

维护者速读(终稿)

  • 改了什么:objectstack-ui 技能改成「路由」结构。SKILL.md 从约 3.9 KB 缩到约 2.2 KB,只留总览、首查清单和指针。表单视图、主从表单、条件规则、CRM 蓝图、日期宏、常见陷阱、自检、参考这些章节,原文搬进 rules/ 下的 list-views、navigation、actions、dashboards 几个文件,链接已改指新位置。只动技能文本和 token 棘轮脚本,不改任何运行时代码。
  • 为什么改:skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770 第一部分,按 [Decision] The published skills: who reviews a change, how they are verified, one catalog or two for code-first and MCP, and the E2 premise reading #34691 S3 = A 的裁决(SKILL.md 做成路由大小,6–9 KB,最多 500 行)。
  • 云端耦合(已处理):云端按标题原文读取 ui 技能的三个章节,读不到会在模块加载时直接抛错。这三个是 SKILL.md 的 ### List Views、## Actions,以及 rules/list-views.md 的 ### Adding a board, calendar, gallery or gantt beside the list。在这个 head 上三个标题各出现一次,且下面都有实际内容。云端那边不需要改任何东西。
  • 风险与回滚:
    • 四行 token 棘轮被调高:list-views +997、navigation +380、actions +223、dashboards +42。SKILL.md −1682、pages −8。ui 七个文件合计净减 149 字节,上限总和减 48。上调的依据是「裁决把文字搬进这个文件」,但 6943107981 和 6513306068 都没有点名这四个文件。席位评审把这一条升级给你:请在知情的情况下批准。
    • 效果评测只测了一半:「改前」完整,带技能 27/32,不带技能 4/32,触发 6/7。「改后」跑到 32/71 轮时撞上订阅登录的 7 天限额(0.9,11 月 24 日重置),被评测器自己的保护停下。受这次重构影响最大的 19 个 views/apps/actions/pages 用例都没测到(NOT MEASURED)。两轮都跑了的 13 个用例:改前 10/13,改后 9/13。差的那一个是评分器只做字面匹配造成的误判:正确答案里出现了被禁止的词 defineDataset。112 个评测 token 一个没丢。
    • 回滚即 revert。
  • 先看:PR 评论 6967475147(评测数据),以及 scripts/check-skills-token-ratchet.mjs 的四行上调。
  • 需要你做的:Tier H,请在这个 head 上审批。批准后由 o3-C 在 CI 全绿时落地。

席位意见:建议批准。教学内容原文搬迁,云端三个标题都在,评测 token 一个没丢。棘轮上调和评测缺口都写在上面,请知情判断。如果你要等完整的评测再批,11 月 24 日限额重置后可以补跑。

席位核对

@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 18, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 18, 2026 03:17
@os-zhuang
os-zhuang enabled auto-merge November 18, 2026 03:18
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit ab1c734 Nov 18, 2026
59 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-34770-skill-router-ui branch November 18, 2026 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/l tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants