Skip to content

Commit 6ec3a73

Browse files
docs(skills): JSON forms in the sections served to MCP clients, and a check that pins their headings (#35131)
Fixes #34771 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:托管 MCP 门按标题读取的 24 个技能章节里,8 个章节的示例改为 JSON(或 JSON 与 TypeScript 并列),其余 16 个是纯文字和表格、对两类客户端读法一致;新增一份 24 行清单和一个检查,标题被改名、删除或重复时 CI 变红,章节里的每个 JSON 块都要通过 spec 的 schema。 - 为什么改:通过 MCP 搭建的客户端写的是 JSON,却只能看到带 import 的 TypeScript 示例;而这些标题一旦改名,托管产品启动即失败,本仓此前没有任何检查知道哪些标题被读取(#34691 S3 = A)。 - 风险与回滚:只动文档、一个检查脚本、一行 CI 步骤和 token 棘轮的 7 行;风险在 `notify` 与审批流两个示例从 TypeScript 改成 JSON 后措辞是否仍准确。回滚 = revert 本 PR,无数据或运行时影响。 - 先看:① `skills/objectstack-automation/references/state-machines-and-approvals.md` 的审批流 JSON(整块替换,最大的一处);② `skills/objectstack-automation/SKILL.md` 的 `notify` 节(原注释改成了块下的键说明列表);③ `scripts/check-skills-token-ratchet.mjs` 的 5 行上调。 - 两分钟验证:`pnpm --filter @objectstack/spec run check:skill-served-sections`,预期末行 `24 served section(s) ... (6 json, 2 json+ts, 16 neutral); 10 JSON fence(s) parse and pass their spec validators`。 - 需要你做的:审阅并合并(`skills/**` 与 workflow 属 Tier H 受管面)。 ## What changes **JSON forms.** The 24 sections are the ones listed in #34771 comment 6967385705. Each section's chosen form: | # | File | Heading | Form | What changed | |:--|:--|:--|:--|:--| | 1 | `objectstack-data/rules/naming.md` | Critical Rules | neutral | item 2 no longer says "TypeScript" (the rule holds for JSON keys too); item 6 untouched | | 2 | `objectstack-data/SKILL.md` | Object Definition | json | new: one object as JSON, with the TypeScript wrapper named in one line | | 3 | `objectstack-data/SKILL.md` | Field Type Selection | neutral | the `expression` envelope is named beside the TypeScript tag | | 4 | `objectstack-data/SKILL.md` | Relationship Patterns | neutral | untouched (a table) | | 5 | `objectstack-data/SKILL.md` | Validation Patterns | neutral | untouched (prose) | | 6 | `objectstack-data/rules/validation.md` | State Machine Validation | json | the rule is JSON; its two comments became one sentence | | 7 | `objectstack-data/rules/relationships.md` | Roll-up Summaries | json | the `summary` field and the permission set are JSON; commented-out alternatives became a sentence and a second field entry | | 8 | `objectstack-data/references/seeds.md` | Seed best practices | neutral | the `defineSeed()` row says it is the TypeScript form | | 9 | `objectstack-data/rules/lifecycle.md` | Save Notice | neutral | untouched (prose) | | 10 | `objectstack-ui/SKILL.md` | List Views | neutral | untouched (prose) | | 11 | `objectstack-ui/SKILL.md` | Actions | json | the write-button action is one JSON object; the inline fragment it replaces left the paragraph | | 12 | `objectstack-ui/rules/list-views.md` | Adding a board, calendar, gallery or gantt beside the list | neutral | untouched (prose) | | 13 | `objectstack-automation/SKILL.md` | Data Operations | neutral | untouched (a table) | | 14 | `objectstack-automation/SKILL.md` | External Integration | neutral | untouched (a table) | | 15 | `objectstack-automation/SKILL.md` | `notify` | json | the node is JSON; the block's comments are a key list under it | | 16 | `objectstack-automation/SKILL.md` | Failure routing & `runAs` | neutral | untouched (prose) | | 17 | `objectstack-automation/SKILL.md` | Filter operands (`config.filter`) | neutral | untouched (prose) | | 18 | `objectstack-automation/SKILL.md` | Valid-but-silently-wrong (passes build, fails at runtime) | json+ts | the two nodes of item 3 are a JSON array; the function registration stays TypeScript and says it has no JSON form | | 19 | `objectstack-automation/SKILL.md` | Integrations are declared, not coded | neutral | untouched (prose) | | 20 | `objectstack-automation/references/examples-flows.md` | Time-relative triggers — scheduled per-record date sweep | json+ts | the TypeScript flow stays; its start node is added as JSON; the window filter is JSON | | 21 | `objectstack-automation/references/state-machines-and-approvals.md` | Approvals (Flow Nodes) | json | the whole flow is JSON; the block's comments are three list items above it | | 22 | `objectstack-automation/references/state-machines-and-approvals.md` | Approver Types | neutral | untouched (a table) | | 23 | `objectstack-automation/references/state-machines-and-approvals.md` | Node Config (`ApprovalNodeConfigSchema`) | neutral | untouched (a table) | | 24 | `objectstack-automation/references/state-machines-and-approvals.md` | Approval Best Practices | neutral | untouched (prose) | "neutral" means the section holds prose and tables and no fenced TypeScript; inline key fragments in prose (`{ type: 'boolean', defaultValue: false }`) are left as they are. **The two sections the hosted door serves with passages replaced** are rows 20 and 24 (read from the hosted table, `packages/service-ai-studio/src/skills/published-refs.ts` in the cloud repository). Both replaced passages are byte for byte as on `main` and occur exactly once in their sections; no line containing `runAs: 'system'` is added, removed or changed anywhere in this diff. That is why row 20 keeps its TypeScript flow, and why its JSON is the start node alone: a whole-flow JSON would have to declare the identity that the replaced variant tells its reader not to declare. **The pin.** `packages/spec/scripts/skill-served-sections.json` lists the 24 sections (file, heading, the numbered item where the door reads one, form, and the validator of each JSON block in document order). `packages/spec/scripts/check-skill-served-sections.ts` applies the hosted door's rule line for line: the heading text must occur exactly once in its file outside code fences, and the section runs to the next heading of the same or a higher level. It also parses every JSON block in a listed section and validates it against the spec schema for its kind (a flow node also against its node type's config contract), and fails when a section carries a JSON block the list does not declare, or a TypeScript block its declared form does not allow. It runs in `lint.yml` beside `check:skill-refs`, as `pnpm --filter @objectstack/spec check:skill-served-sections`, self-test first. **Token ratchet.** Raise path: ruling record 6513306068 on #27847, letter B (「A:先削重复,余额按实测提高」). Paid down first in each file, then five rows moved by the measured remainder and two rows re-locked lower: | File | Bytes before -> after | Row before -> after | Cut first | |:--|:--|:--|:--| | `objectstack-automation/SKILL.md` | 27988 -> 28199 | 6992 -> 7045 | the block's import line, type annotation and check marker | | `objectstack-automation/references/examples-flows.md` | 5957 -> 6170 | 1494 -> 1543 | two clauses restating the paragraph and block above them | | `objectstack-automation/references/state-machines-and-approvals.md` | 23652 -> 23744 | 5916 -> 5936 | the import line, the `defineFlow` wrapper and the check marker | | `objectstack-data/SKILL.md` | 26678 -> 26859 | 6665 -> 6710 | the sentence restating the `sharingModel` row; the `namespace` row's wrapper clause and example | | `objectstack-ui/SKILL.md` | 8974 -> 9128 | 2239 -> 2277 | the inline `type` / `body` fragment the JSON block replaces | | `objectstack-data/rules/relationships.md` | 16884 -> 16811 | 4221 -> 4203 | (shrank) | | `objectstack-data/references/seeds.md` | 6985 -> 6984 | 1747 -> 1746 | (shrank) | Skills readings, lines: the nine changed files, before -> after: 468 -> 478, 138 -> 145, 412 -> 392, 472 -> 478, 175 -> 175, 25 -> 25, 409 -> 411, 330 -> 331, 164 -> 169 (in the order `git diff --numstat` prints them); net across `skills/**` +11 (169 added, 158 removed). All `SKILL.md` files together: 4596 -> 4617 lines. Tokens, by the ratchet's own count: authored 191485 -> 191677, whole bundle 263501 -> 263693. ## Tests - `pnpm --filter @objectstack/spec run check:skill-served-sections`: self-test 33 cases in 8 batteries, then `24 served section(s) ... 10 JSON fence(s) parse and pass their spec validators`. - Ablation, one run: `### List Views` renamed to `### List views` in `skills/objectstack-ui/SKILL.md` through `scripts/ablation-replace.mjs` (anchor 1 -> 0, blob changed); the gate exits 1 with `found 0 (renamed or removed)`; restored, blob equals `HEAD` and `git diff HEAD` is empty; the gate is green again. - `pnpm --filter @objectstack/spec run check:skill-examples`: `345 prose examples type-check across 3 surface(s)` (two marked TypeScript blocks left with the conversion; the JSON that replaces them is validated by the new check instead). - `pnpm --filter @objectstack/spec typecheck`: exit 0 (covers `scripts/`). ## Acceptance notes - The new JSON for item 3 of Valid-but-silently-wrong gives each node a `label`: the TypeScript fragment it replaces had none, and the flow node schema requires one. - The check does not judge the two replaced passages themselves; those strings belong to the hosted table. - #35087 (draft) conflicts with this branch in `scripts/check-skills-token-ratchet.mjs` (`overlap-check`); whichever lands second re-measures its row. #35100 and #35002 merge cleanly. ## Verification Head `84cede3db5` (merged with `origin/main` `958ee03594`). <details><summary>Local gate subset</summary> `node scripts/pm/dispatch-gates.mjs --commands` derived 133 families; all were run on this head and reconciled: `dispatch-gates --ran: 133 derived famil(ies) accounted for — 133 run, 0 NOT-MEASURED`. Among them `check-skills-token-ratchet` and its self-test (104 cases), `check:skill-docs`, `check:skill-refs`, `check:skill-links`, `check:skill-compatibility`, `check:doc-authoring`, `check:pm-dispatch-gates`, `bare-root-worklist --self-test`. `check-governed-merges --branch HEAD`: Tier H, as expected for `skills/**` and a new workflow step. `test:repo` and the full farm are left to CI. </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01JQwxbWDsbbJizuYnDwBxT8)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3483407 commit 6ec3a73

16 files changed

Lines changed: 708 additions & 165 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): the sections served to MCP clients show their examples as JSON, and a check pins their headings
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
A client that builds through MCP writes JSON, and the sections of `objectstack-data`, `objectstack-ui` and `objectstack-automation` that the hosted MCP door serves showed their examples in TypeScript. Those sections now give each example as JSON, with one line on how a TypeScript project wraps the same literal:
11+
12+
- `objectstack-data`: the object in Object Definition, the `state_machine` rule in State Machine Validation, and the `summary` field and the permission set in Roll-up Summaries. Field Type Selection names the `{ dialect: 'cel', source }` envelope beside the TypeScript tag.
13+
- `objectstack-ui`: the write-button action in Actions.
14+
- `objectstack-automation`: the `notify` node (its key notes are a list under the block), the `script` and `update_record` pair in Valid-but-silently-wrong, the whole approval flow in Approvals (Flow Nodes), and the start node and window filter of the time-relative trigger, beside its TypeScript flow.
15+
16+
The other served sections are prose and tables and read the same to both kinds of client; three of them drop a TypeScript-only phrase.
17+
18+
Every JSON block in a served section is parsed and validated against the spec schema for its kind in CI, and a renamed, removed or duplicated heading of a served section now fails there.

‎.github/workflows/lint.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5336,6 +5336,16 @@ jobs:
53365336
continue-on-error: true
53375337
run: pnpm --filter @objectstack/spec check:skill-refs
53385338

5339+
# Rationale: `packages/spec/scripts/check-skill-served-sections.ts` header.
5340+
# The hosted MCP door reads 24 sections of the published skills by exact
5341+
# heading text; a rename, removal or duplicate fails that product at
5342+
# start. Also holds every JSON example in those sections to the spec.
5343+
# Reads packages/spec/src via tsx and needs no build, as its neighbours.
5344+
- name: Check the skill sections served to MCP clients keep their headings and valid JSON
5345+
id: check-the-skill-sections-served-to-mcp-clients
5346+
continue-on-error: true
5347+
run: pnpm --filter @objectstack/spec check:skill-served-sections
5348+
53395349
# Rationale: `scripts/check-skill-frame-sync.mjs` header (#5130, #5451, #5799).
53405350
- name: Check the decision frame is in sync across its four copies
53415351
id: check-the-decision-frame-is-in-sync-across

‎packages/spec/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@
314314
"check:strictness-ledger": "tsx scripts/check-strictness-ledger.mts",
315315
"gen:react-blocks": "tsx scripts/build-react-blocks-contract.ts",
316316
"check:react-blocks": "tsx scripts/build-react-blocks-contract.ts --check",
317+
"check:skill-served-sections": "tsx scripts/check-skill-served-sections.ts --self-test && tsx scripts/check-skill-served-sections.ts",
317318
"check:skill-examples": "tsx scripts/check-skill-examples.ts --self-test && tsx scripts/check-skill-examples.ts",
318319
"check:yaml-examples": "tsx scripts/check-yaml-examples.ts --self-test && tsx scripts/check-yaml-examples.ts",
319320
"check:template-manifests": "tsx scripts/check-template-manifests.ts --self-test && tsx scripts/check-template-manifests.ts",

‎packages/spec/scripts/check-generated.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ const NO_GENERATOR: ReadonlyArray<{ check: string; why: string }> = [
213213
// above. The audit half is unchanged and is still the bulk of what it reports.
214214
{ check: 'check:empty-state', why: 'audits empty-state coverage — no artifact' },
215215
{ check: 'check:skill-examples', why: 'validates skill examples parse — no artifact' },
216+
{ check: 'check:skill-served-sections', why: 'audits the skill sections the hosted MCP door serves (headings, JSON examples) against a hand-kept list — no artifact' },
216217
// #13086 — the YAML half of the surface `check:skill-examples` covers for
217218
// TypeScript: tagged ```yaml blocks in skills/ + content/docs/ are safeParsed
218219
// against the live spec schemas. Reads src/ through tsx (no dist), writes

‎packages/spec/scripts/check-skill-served-sections.ts‎

Lines changed: 426 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"about": "The sections of the published skills that the hosted MCP door serves by exact heading text. Read by check-skill-served-sections.ts, whose header states the matching rule. The hosted table is the cloud repository's packages/service-ai-studio/src/skills/published-refs.ts; when that table moves, its owner updates this list by pull request.",
3+
"forms": {
4+
"json": "the item's example is a JSON block; a one-line note says how TypeScript wraps the same literal",
5+
"json+ts": "a JSON block beside a TypeScript block that carries what JSON cannot (a function, or lines the hosted door replaces)",
6+
"neutral": "prose and tables only: no fenced TypeScript to translate"
7+
},
8+
"sections": [
9+
{ "file": "skills/objectstack-data/rules/naming.md", "heading": "Critical Rules", "item": 6, "form": "neutral", "json": [] },
10+
{ "file": "skills/objectstack-data/SKILL.md", "heading": "Object Definition", "form": "json", "json": ["Object"] },
11+
{ "file": "skills/objectstack-data/SKILL.md", "heading": "Field Type Selection", "form": "neutral", "json": [] },
12+
{ "file": "skills/objectstack-data/SKILL.md", "heading": "Relationship Patterns", "form": "neutral", "json": [] },
13+
{ "file": "skills/objectstack-data/SKILL.md", "heading": "Validation Patterns", "form": "neutral", "json": [] },
14+
{ "file": "skills/objectstack-data/rules/validation.md", "heading": "State Machine Validation", "form": "json", "json": ["ValidationRule"] },
15+
{ "file": "skills/objectstack-data/rules/relationships.md", "heading": "Roll-up Summaries", "form": "json", "json": ["Field", "PermissionSet"] },
16+
{ "file": "skills/objectstack-data/references/seeds.md", "heading": "Seed best practices", "form": "neutral", "json": [] },
17+
{ "file": "skills/objectstack-data/rules/lifecycle.md", "heading": "Save Notice", "form": "neutral", "json": [] },
18+
{ "file": "skills/objectstack-ui/SKILL.md", "heading": "List Views", "form": "neutral", "json": [] },
19+
{ "file": "skills/objectstack-ui/SKILL.md", "heading": "Actions", "form": "json", "json": ["Action"] },
20+
{ "file": "skills/objectstack-ui/rules/list-views.md", "heading": "Adding a board, calendar, gallery or gantt beside the list", "form": "neutral", "json": [] },
21+
{ "file": "skills/objectstack-automation/SKILL.md", "heading": "Data Operations", "form": "neutral", "json": [] },
22+
{ "file": "skills/objectstack-automation/SKILL.md", "heading": "External Integration", "form": "neutral", "json": [] },
23+
{ "file": "skills/objectstack-automation/SKILL.md", "heading": "`notify`", "form": "json", "json": ["FlowNode"] },
24+
{ "file": "skills/objectstack-automation/SKILL.md", "heading": "Failure routing & `runAs`", "form": "neutral", "json": [] },
25+
{ "file": "skills/objectstack-automation/SKILL.md", "heading": "Filter operands (`config.filter`)", "form": "neutral", "json": [] },
26+
{ "file": "skills/objectstack-automation/SKILL.md", "heading": "Valid-but-silently-wrong (passes build, fails at runtime)", "form": "json+ts", "json": ["FlowNodeList"] },
27+
{ "file": "skills/objectstack-automation/SKILL.md", "heading": "Integrations are declared, not coded", "form": "neutral", "json": [] },
28+
{ "file": "skills/objectstack-automation/references/examples-flows.md", "heading": "Time-relative triggers — scheduled per-record date sweep", "form": "json+ts", "json": ["FlowNode", "FlowFilter"] },
29+
{ "file": "skills/objectstack-automation/references/state-machines-and-approvals.md", "heading": "Approvals (Flow Nodes)", "form": "json", "json": ["Flow"] },
30+
{ "file": "skills/objectstack-automation/references/state-machines-and-approvals.md", "heading": "Approver Types", "form": "neutral", "json": [] },
31+
{ "file": "skills/objectstack-automation/references/state-machines-and-approvals.md", "heading": "Node Config (`ApprovalNodeConfigSchema`)", "form": "neutral", "json": [] },
32+
{ "file": "skills/objectstack-automation/references/state-machines-and-approvals.md", "heading": "Approval Best Practices", "form": "neutral", "json": [] }
33+
]
34+
}

‎scripts/check-skills-token-ratchet.mjs‎

Lines changed: 49 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,16 @@ export const CEILINGS = new Map([
651651
// ceil(27968 / 4) = 6992; the ceiling moves +89, the measured addition only.
652652
// Pinned AT the measurement.
653653
// ceil(($(wc -c < skills/objectstack-automation/SKILL.md) - 20) / 4) == ceil(27968 / 4)
654-
['skills/objectstack-automation/SKILL.md', 6992],
654+
// 6992 -> 7045 (#34771): the JSON forms #34691 S3 = A orders into the sections the
655+
// hosted MCP door serves. `### \`notify\`` trades its TypeScript block for the node
656+
// as JSON plus a key list carrying the block's comments; item 3 of `## Valid-but-
657+
// silently-wrong` shows its two nodes as a JSON array (each now with the `label` the
658+
// schema requires) and says the function registration has no JSON form. Raise path:
659+
// ruling record 6513306068, letter B, 「A:先削重复,余额按实测提高」. Paid down first: the block's import line, type annotation and check marker
660+
// went with it. The file is 27988 -> 28199 bytes (27968 -> 28179 priced); the row
661+
// moves +53, the measured remainder, pinned AT the measurement.
662+
// ceil(($(wc -c < skills/objectstack-automation/SKILL.md) - 20) / 4) == ceil(28179 / 4)
663+
['skills/objectstack-automation/SKILL.md', 7045],
655664
// 13783 -> 13892 (2026-08-31 app-repo-principles raise, see the block above).
656665
// The invariant-vs-transition-gate choice, placed in the field-conditional-rule
657666
// bullet list where the tool is actually picked. Both wrong picks are silent:
@@ -700,7 +709,15 @@ export const CEILINGS = new Map([
700709
// public skills … The private corpus's rules of that kind move there". The
701710
// raise path is the standing 2026-10-27 ruling, verbatim and untranslated:
702711
// 「A:先削重复,余额按实测提高」 (ruling record 6513306068).
703-
['skills/objectstack-data/SKILL.md', 6665],
712+
// 6665 -> 6710 (#34771): `### Object Definition` gains the object as JSON and
713+
// `### Field Type Selection` names the `expression` envelope beside the TypeScript
714+
// tag (#34691 S3 = A). Raise path: ruling record 6513306068, letter B, 「A:先削重复,余额按实测提高」. Paid down first, in the same section: the
715+
// sentence restating the `sharingModel` row (omitted resolves to `private`, the
716+
// publish door refuses first) and the `namespace` row's `ObjectSchema.create()`
717+
// clause and `name` example, which the JSON now shows. 26678 -> 26859 bytes (26658
718+
// -> 26839 priced); the row moves +45, the measured remainder, pinned AT it.
719+
// ceil(($(wc -c < skills/objectstack-data/SKILL.md) - 20) / 4) == ceil(26839 / 4)
720+
['skills/objectstack-data/SKILL.md', 6710],
704721
// 5997 -> 6008 (the formula skills follow-ups of PRs #34443 and #34447): the
705722
// `label(record.f)` row teaches a multi-select (`multiple: true`) reading each
706723
// selected label in stored order, joined with `, `, and the built-ins line
@@ -937,7 +954,12 @@ export const CEILINGS = new Map([
937954
// (15684 priced) -> 8974 (8954 priced) -> 2239 tokens; the ceiling follows the file down
938955
// to the measurement, the ratchet's ordinary direction.
939956
// ceil(($(wc -c < skills/objectstack-ui/SKILL.md) - 20) / 4) == ceil(8954 / 4)
940-
['skills/objectstack-ui/SKILL.md', 2239],
957+
// 2239 -> 2277 (#34771): `## Actions` shows the write-button action as one JSON
958+
// object (#34691 S3 = A); the inline `type` / `body` fragment it replaces left the
959+
// paragraph. Raise path: ruling record 6513306068, letter B, 「A:先削重复,余额按实测提高」. 8974 -> 9128 bytes (8954 -> 9108 priced); the row
960+
// moves +38, the measured remainder, pinned AT the measurement.
961+
// ceil(($(wc -c < skills/objectstack-ui/SKILL.md) - 20) / 4) == ceil(9108 / 4)
962+
['skills/objectstack-ui/SKILL.md', 2277],
941963
// 8333 -> 6193: RE-LOCK at the landed count after the #19715 split (decision
942964
// batch #213 item 1, maintainer 「1 2 4 同意」): the worked R1, the report
943965
// template and the v17-canonical shapes block moved VERBATIM into
@@ -1125,7 +1147,11 @@ export const CEILINGS = new Map([
11251147
// assignment per pair", "On the PARENT object", the second "On the CHILD object's FK
11261148
// field", the contact example's "independent lifecycle"). 16916 -> 16884 bytes ->
11271149
// ceil(16884 / 4) = 4221; the row follows the measurement down.
1128-
['skills/objectstack-data/rules/relationships.md', 4221],
1150+
// 4221 -> 4203 (#34771): RE-LOCK at the landed count. `## Roll-up Summaries` gives
1151+
// the summary field and the permission set as JSON; the commented-out alternatives
1152+
// became a sentence and a second field entry. 16884 -> 16811 bytes.
1153+
// ceil($(wc -c < skills/objectstack-data/rules/relationships.md) / 4) == ceil(16811 / 4)
1154+
['skills/objectstack-data/rules/relationships.md', 4203],
11291155
// NEW FILE (#14296 item 1 = A, condition (b)): the entry's Security & Access
11301156
// Control block moved here whole. Pinned at its landed count — no headroom,
11311157
// because a split that arrives with budget is a raise wearing a new path.
@@ -1518,7 +1544,15 @@ export const CEILINGS = new Map([
15181544
// measurement. Same authority as the SKILL.md row above: cloud#3659 letter A
15191545
// (ruling comment 6682024726) orders the text in; the raise path is the
15201546
// standing 2026-10-27 ruling (record 6513306068), quoted in the PR body.
1521-
['skills/objectstack-automation/references/examples-flows.md', 1494],
1547+
// 1494 -> 1543 (#34771): the time-relative section gains its start node as JSON
1548+
// beside the TypeScript flow, whose `type` / `runAs` lines the hosted door replaces
1549+
// and which therefore stay byte for byte, and its window filter becomes JSON
1550+
// (#34691 S3 = A). Raise path: ruling record 6513306068, letter B, 「A:先削重复,余额按实测提高」. Paid down first: two clauses restating the
1551+
// paragraph and the block above them (the daily sweep never missing a threshold;
1552+
// each bound being a CEL envelope). 5957 -> 6170 bytes; the row moves +49, the
1553+
// measured remainder, pinned AT the measurement.
1554+
// ceil($(wc -c < skills/objectstack-automation/references/examples-flows.md) / 4) == ceil(6170 / 4)
1555+
['skills/objectstack-automation/references/examples-flows.md', 1543],
15221556
// NEW FILE (card #27223): one recipe per integration archetype — OpenAPI with
15231557
// a static key, remote MCP with a static header, plain REST, the vendor
15241558
// callback, a hand-written document for a spec-less vendor — plus the two
@@ -1646,7 +1680,13 @@ export const CEILINGS = new Map([
16461680
// 23661 bytes -> ceil(23661 / 4) = 5916; the ceiling moves +91, the measured
16471681
// remainder only. Pinned AT the measurement.
16481682
// ceil($(wc -c < skills/objectstack-automation/references/state-machines-and-approvals.md) / 4) == ceil(23661 / 4)
1649-
['skills/objectstack-automation/references/state-machines-and-approvals.md', 5916],
1683+
// 5916 -> 5936 (#34771): `### Approvals (Flow Nodes)` gives its flow as JSON, with
1684+
// the block's comments as three list items above it (#34691 S3 = A). Raise path:
1685+
// ruling record 6513306068, letter B, 「A:先削重复,余额按实测提高」. Paid down first: the import line, the `defineFlow` wrapper and the check
1686+
// marker went with the TypeScript block. 23652 -> 23744 bytes; the row moves +20,
1687+
// the measured remainder (main carried 3 of headroom), pinned AT the measurement.
1688+
// ceil($(wc -c < skills/objectstack-automation/references/state-machines-and-approvals.md) / 4) == ceil(23744 / 4)
1689+
['skills/objectstack-automation/references/state-machines-and-approvals.md', 5936],
16501690
// 1779 -> 1769 (#26297): RE-LOCK at the landed count after a net cut — two
16511691
// stale `{ type: 'lookup', reference: 'user' }` fields (an object that does
16521692
// not exist) became `type: 'user'`; -10 tokens, the row follows the
@@ -1685,7 +1725,9 @@ export const CEILINGS = new Map([
16851725
// objectstack-ai/cloud#3659, letter A, maintainer 「A」 (ruling comment
16861726
// 6682024726); raise path the 2026-10-27 ruling 「A:先削重复,余额按实测提高」
16871727
// (ruling record 6513306068).
1688-
['skills/objectstack-data/references/seeds.md', 1747],
1728+
// 1747 -> 1746 (#34771): RE-LOCK at the landed count; the `defineSeed()` row of
1729+
// `### Seed best practices` says it is the TypeScript form. 6985 -> 6984 bytes.
1730+
['skills/objectstack-data/references/seeds.md', 1746],
16891731
// 1351 -> 1343: the body-pin values left the count (#31115, ruling B; see
16901732
// BODY_PIN_REPIN); the file's count fell by the same 8, headroom unchanged.
16911733
['skills/objectstack-platform/references/bootstrap.md', 1343],

0 commit comments

Comments
 (0)