Skip to content

docs(skills): the objectstack-data and objectstack-automation entry files become routers - #38347

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

os-zhuang merged 23 commits into
mainfrom
claude/project-thread-kbc4b2

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Part of #34770

Clause-②: no
Metadata-protocol: none

Supersedes draft PR #36158: the same change, resumed from claude/issue-34770-skill-router-budget@937e2f1482d66e55251f55c944196254d587c631 on a new branch after seat 4's lane went vacant, with main merged in and the three eval cases of ruling 7176941587 Q1 B added. #36158 can be closed with a pointer here; nothing on its branch is missing from this one.

Part of, not Fixes: rulings 7128031203 and 7168461386 keep the first line at Part of #34770 until the catalog-size line of the card's Done-when is met, and this PR does not meet it (the catalog descriptions are not touched here).

维护者速读

  • 用户能看到什么变化:用户无感。发给 AI 的两份技能说明(数据建模、自动化)的入口文件从约 27 KB、28 KB 缩到 9 KB、10.7 KB:入口只留开工前四项检查、会悄悄出错的坑、和「写什么去读哪个文件」的路由表,其余原文搬进同包的参考文件,教的内容不变。
  • 为什么做:入口文件每次都整份装进 AI 的上下文,越长越贵、越容易漏读;缩成路由后,AI 只在需要时才读细节。
  • 出错会怎样:只动教 AI 的文字和三道评测题的判分词,没有产品行为变化。风险是 AI 少读一段后答错;为此前后各跑了一轮评测,逐题对照(见 Tests)。可整笔撤回。
  • 要你做的:座位复核后请审批人批准(skills/** 属 Tier H)。本 PR 合并后,云端仓库要按 cloud hosted skills door: repoint the eleven served sections of objectstack-data / objectstack-automation SKILL.md when the pin bump carries the router change #36934 把十一处托管章节的指向跟着改。

Rulings this executes

  • 7128031203 (①A ②A ④A): land as is, the hosted repoint is cloud's (cloud hosted skills door: repoint the eleven served sections of objectstack-data / objectstack-automation SKILL.md when the pin bump carries the router change #36934); a before and an after eval round, parity = the after round's failing set is the before round's or a subset, a flipped case is re-run once and the second reading counts; a ceiling row raised because text MOVED is accepted at the measured bytes with zero headroom when the sum of ceilings does not rise.
  • 7168461386 (A): six flow-shape facts go back into the automation entry, and that one row rises by exactly the bytes restored.
  • 7176941587 (Q1 B, Q2 A, Q3 A): three eval cases are relaxed first, then both rounds are run; the 187 bytes of entry wording stay; triggers#6 is the eval seat's and is not touched here.

What changes

Two entry files become routers. skills/objectstack-data/SKILL.md 26,860 → 8,983 bytes (472 → 167 lines), skills/objectstack-automation/SKILL.md 28,206 → 10,703 bytes (480 → 215 lines). Each keeps four first checks, the traps that parse and then fail at run time, and a table that says which file to open for what is being written. No rule's teaching changes; the text moved, and the changeset lists section by section where it went and which anchors no longer exist in the entry files.

Eight files receive the moved text: objectstack-data/references/examples-objects.md, rules/field-types.md, rules/relationships.md, rules/security.md, rules/validation.md; objectstack-automation/references/examples-flows.md, references/integration-recipes.md, and a re-pointed link in references/state-machines-and-approvals.md.

One correction (unchanged from #36158): the multi-value lookup note showed a {record.tags.0} token "in flow values", which a flow value slot refuses; it now shows the CEL spelling record.tags[0].

New in this round, over 937e2f14:

  1. main merged (through 600197a6ae; a merge commit, not a rebase). Two things main changed in the entry files while docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 was open were mapped onto the relocated text instead of being lost with the old sections:
  2. Three eval cases accept the spellings the bundles teach (ruling 7176941587 Q1 B):
    • objectstack-automation/evals/flows-triggers-approvals.json case 1: must_not_contain values: → values: { (the key form a node carries; a prose heading also spells the bare word).
    • objectstack-data/evals/hooks-security-seeds-datasources.json case 7: hooks: { leaves must_contain for one any-of group hooks: { / "hooks": { / .refusals.CREDIT_LIMIT (the nested literal, its JSON spelling, or the dotted key references/data-hooks.md teaches).
    • objectstack-data/evals/objects-fields-relationships.json case 10: type: 'boolean' leaves must_contain for one any-of group type: 'boolean' / Field.boolean(.
  3. Ratchet rows re-measured on the merged tree, since fix(scripts): the skills token ratchet reds a row whose ceiling sits above its measurement #37747 made a row equal its measurement exactly (see Verification).
  4. The changeset follows the merged tree's sizes and names the three eval cases.
  5. Three nits of contract review 7240993637 (head edcd7df4ad, one commit over the reviewed 3b62b5e9b0):
    • skills/objectstack-project/SKILL.md line 187 pointed at objectstack-data, "Schema evolution", a heading the router moved. It now names rules/field-types.md § Changing a field that has data. That file sat at its ceiling, so the longer pointer is paid in the same file by five function-word cuts that lose no fact; its row stays 2990.
    • scripts/check-skills-token-ratchet.mjs loses one formula comment line the merge left in the rules/security.md history block.
    • The changeset says what the Skill Boundaries table listed (the neighbouring skills) and names the re-pointed objectstack-project line.

Acceptance notes

Decided by the thread (small, no shipped behaviour):

  • "hooks": { is a third member of case 7's any-of group. The ruling names the dotted key; the JSON spelling of the same nested literal is the form a .json translation file carries, and refusing it would fail a correct answer on quote marks.
  • references/state-machines-and-approvals.md measured 2 tokens over main's row after the merge (the re-pointed link is 9 bytes longer). It is paid inside the file ("In a packaged flow, see below" → "A packaged flow: below") instead of raising a row no ruling covers.
  • The before round ran on main 600197a6ae plus only the three eval-case edits (skill text byte-identical to main), so both rounds grade with the same token lists. Without that the three relaxed cases would differ between the rounds for a reason that is not the router.

Not done, and why:

Tests

Skill evals, the command line of #37235 unchanged for both rounds, run in the thread's cloud container (subscription login, no API key):

pnpm --filter @objectstack/scenarios skill-evals --skills objectstack-data,objectstack-automation --repeats 1 --model <as #37235> --effort medium --concurrency 4
round tree turns with-skill objectstack-automation objectstack-data no-skill trigger cases
before main 600197a6ae + the three eval-case edits (304a4c5375, local only) 206/206 75/96 24/29 51/67 2/96 14/14
after, first reading head 3b62b5e9b0 206/206 77/96 23/29 54/67 2/96 13/14
after, with the second readings head 3b62b5e9b0 +7 80/96 24/29 56/67 14/14

Parity under ruling 7128031203 ②A holds: the after round's failing set is a strict subset of the before round's.

One repetition per case is the round the card and #37235 fix; at that depth a single case moves between readings for no reason of the text (four did here, in the unfavourable direction, and reverted). The five that moved the favourable way were not re-read: the rule re-reads a flip that would break parity, and a gain is not claimed from one reading. Read the result as "not lower", not as "five cases better".

Both rounds were read on 3b62b5e9b0. The commit after it (edcd7df4ad) changes no file of the two evaluated bundles (one line of objectstack-project, a script comment, the changeset), so the rounds were not run again.

Records (round.json, every turn's record, both summaries): skill-evals-before-304a4c53.tgz, skill-evals-after-3b62b5e9.tgz, skill-evals-after-reread-3b62b5e9.tgz in the project's shared files, folder 34770/.

No unit test changes: the diff is skill text, three eval fixtures, ratchet rows and a changeset. The one test that names the ratchet script, packages/spec/scripts/platform-catalog.test.ts, ran apart from the gate list (see Verification).

Verification

Eleven skill files, measured on the head edcd7df4ad against main (ceil((utf8 bytes − the SKILL.md version stamp line) / 4), the ratchet's own arithmetic):

file lines bytes ratchet row
objectstack-data/SKILL.md 472 → 167 26,860 → 8,983 6709 → 2239
objectstack-data/references/examples-objects.md 192 → 305 6,892 → 14,441 1723 → 3611
objectstack-data/rules/field-types.md 273 → 318 14,160 → 16,799 3540 → 4200
objectstack-data/rules/relationships.md 384 → 393 16,714 → 17,274 4179 → 4319
objectstack-data/rules/security.md 349 → 388 17,335 → 19,290 4334 → 4823
objectstack-data/rules/validation.md 329 → 392 11,031 → 13,861 2758 → 3466
objectstack-automation/SKILL.md 480 → 215 28,206 → 10,703 7045 → 2669
objectstack-automation/references/examples-flows.md 145 → 432 6,170 → 25,729 1543 → 6433
objectstack-automation/references/integration-recipes.md 186 → 212 10,379 → 12,222 2595 → 3056
objectstack-automation/references/state-machines-and-approvals.md 388 → 388 23,706 → 23,708 5927 → 5927
ten files of the move 3,198 → 3,210 161,453 → 163,010 40,353 → 40,743
objectstack-project/SKILL.md (the re-pointed line) 214 → 214 11,985 → 11,987 2990 → 2990
  • What an AI loads first: the two entry files together 55,066 → 19,686 bytes (13,754 → 4,908 tokens), 64% smaller.
  • Whole pack: authored (ratcheted) 200,068 → 200,458 tokens (+390); bundle total 304,380 → 304,770. The pack does not shrink: the text moved inside it.
  • Ruling ④A accounting: every raised row equals its measured bytes, zero headroom (the gate is exact since fix(scripts): the skills token ratchet reds a row whose ceiling sits above its measurement #37747, so a row above or below its file is red). Of the +390, +430 is the automation entry's own row (the pure router measured 2239; ruling 7168461386 A restores six flow-shape facts and ruling 7176941587 Q2 A keeps 187 bytes, 2239 → 2670, then 2669 after the merge). Set that authorised row aside and the moves sum to −40: the sum of ceilings does not rise.
Gates run locally on the head

Derived with node scripts/pm/dispatch-gates.mjs --commands on 3b62b5e9b0, each command run and its exit code recorded, then reconciled with --ran: 69 derived, 68 run (each exit 0), 1 NOT-MEASURED, 0 unrun.

On head edcd7df4ad (the three nits) the 16 gates that read the changed files were run again, each exit 0: the fourteen skill gates (check-skills-token-ratchet and its self-test, check:skill-docs, check:skill-refs, check:skill-served-sections, check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:doc-authoring, check:nul-bytes, check:pm-skill-id-lint, check:skill-examples, check:doc-formula-expressions) and the two changeset gates. The other gates were not re-run on it. A trial merge with origin/main c6a1328dfe (which moved the ratchet script and skills/objectstack-ai/SKILL.md meanwhile) has no conflict and the ratchet is green on the merged tree (200,510 / 200,510); the trial was discarded and main is not merged again.

  • NOT MEASURED: pnpm check:dual-build-cjs-loads exited 3 (prerequisite not met: it needs every package's dist, a whole pnpm build). Long builds go to GitHub under this project's standing rule, so CI is the reading for it; the diff touches no package source.
  • pnpm check:skill-examples needed pnpm --filter '@objectstack/client-react...' --filter '@objectstack/lint...' build first; then exit 0, 351 prose examples type-check across 3 surfaces.
  • Outside the derived list, run apart: pnpm --filter @objectstack/spec exec vitest run scripts/platform-catalog.test.ts (the one test that names the ratchet script), 21 of 21.
  • node scripts/pm/overlap-check.mjs before the first push: clean against origin/main and the two open PRs that share a file (docs(skills): objectstack-ai names the save refusal of a knowledge_source whose adapter is not mounted #38224, chore: version packages (next) #38192).

Exit 0, all 68: node scripts/check-adr-0087-registration.mjs --base origin/main · node scripts/check-adr-0087-registration.mjs --self-test · node scripts/check-changeset-no-major.mjs --base origin/main · node scripts/check-closing-keyword-parity.mjs · node scripts/check-closing-keyword-parity.mjs --self-test · node scripts/check-comment-mask-corpus.mjs · node scripts/check-declaration-mirrors.mjs · node scripts/check-declaration-mirrors.mjs --self-test · node scripts/check-doc-route-spelling.mjs --advisory · node scripts/check-doc-route-spelling.mjs --self-test · node scripts/check-dts-emitted.mjs --self-test · node scripts/check-empty-changeset.mjs --base origin/main · node scripts/check-empty-changeset.mjs --self-test · node scripts/check-self-test-wired.mjs · node scripts/check-self-test-wired.mjs --self-test · node scripts/check-self-test-workflow-commands.mjs · node scripts/check-self-test-workflow-commands.mjs --self-test · node scripts/check-skills-token-ratchet.mjs · node scripts/check-skills-token-ratchet.mjs --self-test · node scripts/check-whole-set-label-write.mjs · node scripts/check-whole-set-label-write.mjs --self-test · node scripts/ci/assert-turbo-remote-cache.mjs --self-test · node scripts/ci/plan-test-core-shards.mjs --self-test · node scripts/ci/prune-turbo-cache.mjs --self-test · node scripts/ci/snapshot-next.mjs --self-test · node scripts/pm/bare-root-worklist.mjs --self-test · node scripts/pm/check-governed-queue-guard.mjs --self-test · node scripts/pm/release-rehearsal-clone.mjs --self-test · node scripts/release-pending-publish.mjs --self-test · --filter @objectstack/lint run check:doc-formula-expressions · --filter @objectstack/spec run check:skill-docs · --filter @objectstack/spec run check:skill-refs · --filter @objectstack/spec run check:skill-served-sections · check:adr-anchors · check:agent-test-spelling · check:bash32-floor · check:changeset-gate-self-tests · check:ci-filter-parity · check:cli-command-ids · check:closed-ceremony-text · check:corpus-claim-drift · check:cross-package-test-inputs · check:doc-authoring · check:driver-memory-census · check:dts-closure · check:entry-guard · check:gitlink-declared · check:lean-entry-closure · check:merge-driver · check:nul-bytes · check:parse-guard · check:pm-dispatch-gates · check:pm-expected-skips · check:pm-governed-merges · check:pm-skill-id-lint · check:pnpm-filter-targets · check:pnpm-flag-spellings · check:published-files · check:ratchet-remedy-authority · check:refd-timer-probe · check:role-word · check:scripts-symbol-anchors · check:skill-compatibility · check:skill-frame-sync · check:skill-identifier-liveness · check:skill-links · check:sourcemap-no-sources-content · check:watch-hint-literal

Writer: all skills/** text was written by the card thread itself, a session at CONTRACT_REVIEW_TIER per the claim (7240213191). Every assistant turn of the session's transcript was served at the tier (210 of 210 when counted against the constant in scripts/pm/dispatch-gates.mjs); verify-review-tier.mjs itself refuses the transcript because the session once ran a read-only sub-agent to read the rulebook, so that count is the thread's reading, not the script's PASS.


Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgUTzGxLiCQYi8Wvn3K

SKILL.md keeps the first checks, the run-time traps, the routing table
and the sections the hosted door serves by heading; the text that left
moved into the skill's existing rule and reference files.

Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET
Co-authored-by: Claude <noreply@anthropic.com>
SKILL.md keeps the first checks, the routing table, the trigger rule and
the seven sections the hosted door serves by heading; the text that left
moved into references/examples-flows.md and integration-recipes.md.

Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET
Co-authored-by: Claude <noreply@anthropic.com>
The moved data and automation text no longer repeats its SKILL.md
section; restated key rows a check already refuses are gone.

Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET
Co-authored-by: Claude <noreply@anthropic.com>
… routers

The two SKILL.md rows follow their files down to the measurement, which
pins the 9 KB budget; seven receiving rows move by the measured bytes
that left the entry files.

Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET
Co-authored-by: Claude <noreply@anthropic.com>
…ctor-input text

main's two hunks to objectstack-automation/SKILL.md land where this branch
moved their sections: the connector_action row in references/examples-flows.md,
the inbound-webhook bullets in references/integration-recipes.md. Three ratchet
rows re-pinned at the merged measurement.

Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET
Co-authored-by: Claude <noreply@anthropic.com>
… relocated text; ratchet rows not yet re-pinned

Claude-Session: https://claude.ai/code/session_01QSeKYoBFwgPdc8gN56sREh
Co-authored-by: Claude <noreply@anthropic.com>
… nine rows re-pinned at the measurement

Main's additions to the two entry files since the branch point (the colour row, fieldHistory, an
extension's place, the paired .custom arrangement, showOnCreate, the option-label and subflow
corrections) now sit at their relocated homes, so the receiving files grew. Paid inside the moved
text by cutting sentences that restate what the entry's traps and served sections say, two long
table separators, and connective text; the insert-null note leaves the entry as it left main's.
The sum of ceilings is 23 tokens under main's, every moved row at zero headroom.

Claude-Session: https://claude.ai/code/session_01QSeKYoBFwgPdc8gN56sREh
Co-authored-by: Claude <noreply@anthropic.com>
…ome; two pointers name where their sections moved

Main's Validation Patterns ended with the clause that a state machine's transitions keys and
values are option values, never labels; no file of the bundle said it after the move and no
publish check covers it. It is one sentence of rules/validation.md § State Machine Validation.
The Prerequisite pointer in examples-flows.md and the Assignment rules pointer in
state-machines-and-approvals.md name the sections' homes instead of SKILL.md. Rows re-pinned:
validation.md 3466, examples-flows.md 6551; the sum of ceilings is 203,009 against main's 203,016.

Claude-Session: https://claude.ai/code/session_01QSeKYoBFwgPdc8gN56sREh
Co-authored-by: Claude <noreply@anthropic.com>
Main's entry said defineStack errors unless the stack declares requires: ['hierarchy-security'];
the routed home kept only that the capability is needed. rules/security.md now names the refusal
and its code (STACK_HIERARCHY_SCOPE_CAPABILITY_REQUIRED, read off packages/spec/src/stack.zod.ts
and the runtime authoring gate), paid inside the file by two restatement cuts; the row is
re-pinned at 4771, three tokens below the ceiling this PR had asked for.

Claude-Session: https://claude.ai/code/session_01QSeKYoBFwgPdc8gN56sREh
Co-authored-by: Claude <noreply@anthropic.com>
…ad as on main

rules/security.md § Access depth said defineStack, a save and a publish refuse an undeclared
hierarchy-relative grant with one code. Only defineStack does (packages/spec/src/stack.zod.ts,
validateHierarchyScopeCapability); a draft save warns and a publish is refused under another
rule and another condition (packages/metadata-protocol/src/runtime-authoring-gate.ts). The
section carries the entry's own clause again: defineStack errors unless the stack declares
requires: ['hierarchy-security'].

The sharing bullet's `outside-closure` and `ambiguous-in-environment` glosses are back, byte
for byte; that bullet no longer differs from main. Paid inside the file: "paid" leaves "the
paid plugin goes in plugins[]", which SKILL.md § Access depth states with the plugin's name.

The row is re-pinned at its measurement, 4771 -> 4781 (19123 bytes); the 60 ceilings sum to
203016, the sum on main.

Claude-Session: https://claude.ai/code/session_01QSeKYmgNasqCR9aajfRjJK
Co-authored-by: Claude <noreply@anthropic.com>
… the seed row names its factory

The after round lost six automation cases on facts the router had moved to
references/examples-flows.md: a flow's type (schedule), the option label
evaluated once per run, the refused {…} token and its CEL envelope, the
assignment rule beside an approval node, and where a flow's start is gated.
They are back in the entry; the two sentences that moved back verbatim leave
the reference. The data entry's seed row names defineSeed() as on main.

Claude-Session: https://claude.ai/code/session_01QSeKYoxcCjgMFvCg22svAv
Co-authored-by: Claude <noreply@anthropic.com>
…s variables; value slots show the CEL spelling

A flow in a project is defineFlow in a *.flow.ts, and its variables are an
array: both sit beside the flow types in the entry again. The value-slot rule
and its reference show the CEL spelling a refused token is given, not the
token. The yes/no literal stands beside the rule that explains it in
rules/field-types.md.

Claude-Session: https://claude.ai/code/session_01QSeKYoxcCjgMFvCg22svAv
Co-authored-by: Claude <noreply@anthropic.com>
The automation entry's row rises to its measurement on the ruling that orders
the flow-shape facts back into it; the reference they left falls; the data
entry's seed row and the yes/no literal in rules/field-types.md are pinned at
their measurements. Without the one ruled raise the ceilings sum under main's.

Claude-Session: https://claude.ai/code/session_01QSeKYoxcCjgMFvCg22svAv
Co-authored-by: Claude <noreply@anthropic.com>
… the whole definition

Both eval rounds on the router showed answers stopping at a plan when the
project held nothing for the first checks to read. One line under First checks
says to state that and still give the definition as code. The data entry pays
for it inside the file; the placeholder example of the filter section reads as
it did before this round. Rows re-pinned at their measurements.

Claude-Session: https://claude.ai/code/session_01QSeKYoxcCjgMFvCg22svAv
Co-authored-by: Claude <noreply@anthropic.com>
…keeps, and the sizes

Claude-Session: https://claude.ai/code/session_01QSeKYoxcCjgMFvCg22svAv
Co-authored-by: Claude <noreply@anthropic.com>
…-kbc4b2

Resumes the router change from 937e2f1 on main 600197a.

Conflicts: the two entry files and the token ratchet's rows. The entry
files keep the router; the two edits main made to them while this was
open are carried to where their text lives now: the actionLayout
sentence of the paired .custom extension in
objectstack-data/references/examples-objects.md, and the select-label
rule in objectstack-automation (the entry's item 4 in short, main's
sentence whole in references/examples-flows.md). The pointer
state-machines-and-approvals.md re-aims is paid inside that file, so
its row stays main's. Every row this change moves is re-measured on the
merged tree and pinned at its measurement.

Claude-Session: https://claude.ai/code/session_01L6bhgUTzGxLiCQYi8Wvn3K
Co-authored-by: Claude <noreply@anthropic.com>
flows-triggers-approvals 1 forbids `values: {`, the key form a node
carries, instead of the bare word a prose heading also spells.
hooks-security-seeds-datasources 7 takes the refusal translation as the
nested `hooks: {` literal, its JSON spelling, or the dotted key
`hooks.HOOK.refusals.CREDIT_LIMIT.message` the data-hooks reference
teaches. objects-fields-relationships 10 takes the yes/no field as
`type: 'boolean'` or as `Field.boolean(`.

Claude-Session: https://claude.ai/code/session_01L6bhgUTzGxLiCQYi8Wvn3K
Co-authored-by: Claude <noreply@anthropic.com>
… the three eval cases

Claude-Session: https://claude.ai/code/session_01L6bhgUTzGxLiCQYi8Wvn3K
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 3b62b5e9b0564c80365478c194c42b945cee7dd9
Local-runs: none
Scope: skills/objectstack-automation/SKILL.md, skills/objectstack-automation/evals/flows-triggers-approvals.json, skills/objectstack-automation/references/examples-flows.md, skills/objectstack-automation/references/integration-recipes.md, skills/objectstack-automation/references/state-machines-and-approvals.md, skills/objectstack-data/SKILL.md, skills/objectstack-data/evals/hooks-security-seeds-datasources.json, skills/objectstack-data/evals/objects-fields-relationships.json, skills/objectstack-data/references/examples-objects.md, skills/objectstack-data/rules/field-types.md, skills/objectstack-data/rules/relationships.md, skills/objectstack-data/rules/security.md, skills/objectstack-data/rules/validation.md + scripts/check-skills-token-ratchet.mjs
Security-touching: yes

Read for this record: card #34770 (body and all 37 comments, the three rulings 7128031203, 7168461386, 7176941587 in full), PR #38347 (body, its 15 files, the net diff against main, merge base 600197a6ae), the check-runs on the head, and the three round records the seat notes name in the project's shared folder 34770/ (read as data; nothing was built or run). Security-touching: yes because the moved hunks teach access depth, ownership queues, flow elevation and credential placement; no wording of that teaching is new, it moved.

① Derived judgments

  • Entry files become routers: right. skills/objectstack-data/SKILL.md is 8,983 bytes / 167 lines and skills/objectstack-automation/SKILL.md 10,703 bytes / 215 lines on the head. The data entry is inside the card's 6–9 KB band; the automation entry is over it by ruling 7168461386 A and 7176941587 Q2 A and by no more than they give. Both are under the 500-line cap. Frontmatter (name, description, compatibility) is byte-identical to main in both, so what triggers a load is unchanged.
  • Hosted served sections: right. Each of the eleven headings packages/spec/scripts/skill-served-sections.json names in the two entry files is present exactly once on the head (data: Object Definition, Field Type Selection, Relationship Patterns, Validation Patterns; automation: Data Operations, External Integration, notify, Failure routing & runAs, Filter operands (config.filter), Valid-but-silently-wrong (passes build, fails at runtime), Integrations are declared, not coded). The served headings in the receiving files (State Machine Validation, Roll-up Summaries, Time-relative triggers, the four approval headings) are also present once. The sections are shorter; the repoint is cloud's (cloud hosted skills door: repoint the eleven served sections of objectstack-data / objectstack-automation SKILL.md when the pin bump carries the router change #36934, ruling ①A).
  • Anchors: right. Every in-pack link the two entries and the receiving files add resolves to a heading on the head (#changing-a-field-that-has-data, #choosing-a-type, #object-keys, #search-fields-searchablefields, #object-extension-model, #conditional-field-rules, #uniqueness--use-unique-indexes, #triggers--event-driven-automation, #assignment-rules, #flow-node-types, #inbound-webhook-api-triggers-adr-0041-tier-1, #approver-types). The two cross-skill anchors other skills link (objectstack-data/SKILL.md#conditional-field-rules, objectstack-automation/SKILL.md#failure-routing--runas) still exist.
  • Ratchet rows: right. Recomputed from the head's blobs with the script's own arithmetic, each of the ten rows equals its measurement with zero headroom: data entry (8983 − 27) / 4 → 2239; examples-objects 14441 → 3611; field-types 16799 → 4200; relationships 17274 → 4319; security 19290 → 4823; validation 13861 → 3466; automation entry (10703 − 27) / 4 → 2669; examples-flows 25729 → 6433; integration-recipes 12222 → 3056; state-machines-and-approvals 23708 → 5927 (the row main holds). Ten rows 40,353 → 40,743 (+390). Ruling ④A (b): with the automation entry's authorised +430 (2239 → 2669) set aside the moves sum to −40, so the sum of ceilings does not rise outside the one row a ruling names.
  • Merge of main: right. docs(skills): objectstack-data names actionLayout among the pair-only keys; objectstack-automation says an option label in a flow filter or edge condition is refused #37551's two edits are on the relocated text: the option-label item is in the entry in short form and whole, in main's words, as item 3 of references/examples-flows.md § Value slots — the rest; the actionLayout sentence is in references/examples-objects.md § Object Extension Model in main's words. fix(scripts): the skills token ratchet reds a row whose ceiling sits above its measurement #37747's rewritten rows for these files are re-measured (above); no row outside this change's ten is touched. skills/objectstack-data/** and skills/objectstack-automation/** are unchanged on main between the merge base and origin/main f38a3ca846, so the head is current for these files.
  • Eval fixtures: right (see ④).
  • Gate verdicts on the head, at the time of this read: 19 check-runs concluded success (among them Governed Surface Queue Guard, Check Changeset, PR-body guards, Lint · docs & code guards, Lint · repo & tooling gates, Lint · ESLint, Type Check · source gates, Build Core); none failed; 7 were still in progress (Test Core (1/12), Test Core (2/12), Type Check · debt ledger, Type Check · workspace, Type Check · consumer gates, Lint · PM dispatch-gates, Lint · CI, release & engine gates). This record does not stand in for those seven; the adopting seat reads their conclusions before it acts.

② Semver level

.changeset/34770-skills-data-automation-router.md bumps @objectstack/skills at patch, the level the pack's prose changes take on main. The diff publishes skill text, three eval fixtures and ratchet rows; no schema, no runtime code, no accepted-input change. Clause-②: no and Metadata-protocol: none on the PR body and the changeset agree with the tree. The changeset's sizes match the head (ten files 161,453 → 163,010 bytes; data −2,344, automation +3,901) and it lists the anchors that leave the two entry files.

③ Boundary flags

  • Part of or Fixes (the report's open question): A holds. Rulings 7128031203 and 7168461386 keep the first line at Part of #34770 until the catalog-size line of Done-when is met; this diff does not touch catalog descriptions. The claim's Fixes line is the one out of step, and it is the seat's to reconcile.
  • Parity under ruling ②A: read from the round records, not from the report. Before (tree 304a4c53, 206 of 206 turns): 21 with-skill failures. After, first reading (head, 206 of 206): 19 failures, of which three are outside the before set (automation flows-triggers-approvals#7, data hooks-security-seeds-datasources#25, objects-fields-relationships#11), plus trigger case objectstack-data/triggers#6. Each of the four was re-run once on the head (7 of 7 turns) and passed; by the rule the second reading counts, so the counted failing set is 16, a strict subset of the before round's 21. All 206 case hashes are equal between the two rounds and every turn of the three records was served by the same model, so the two rounds grade the same cases with the same token lists. The five cases that moved the favourable way were not re-read; a second reading of any of them could only put it back in the before set, so the subset holds either way.
  • Before round on main plus the three fixture edits, never pushed: holds as the order ruling Q1 B gives (relax, then before, then after). The equal case hashes above are the evidence that the before tree carried the same three edits.
  • Who ran the rounds: ruling ②A names the eval seat; claim 7240213191 moves both rounds to the thread's container. That reassignment is the claiming seat's own and is recorded there; it is not judged here.
  • The third member of case 7's any-of group, "hooks": {: holds on its merits, and the seat should know what rests on it. The ruling names hooks: { beside the dotted key. The JSON spelling is the same nested literal, and the nested shape is what packages/spec/src/system/translation.zod.ts declares (hooks as a record of hook name to refusals). In the records, the before round's answer met the group on the dotted key alone and the after round's answer on the JSON spelling alone (it also writes the dotted key generically, as hooks.HOOK.refusals.CODE.message, and the nested zh-CN literal). So case 7's pass on the head is carried by the thread-decided token. The answer is correct against the spec; whether a token beyond the two the ruling names needs the maintainer's word is the adopting seat's call.
  • 流程发布检查收紧后,skills 文档和示例还在教会被新检查拦下的写法(#35143 后续) #36718's flow-shape harness, NOT MEASURED on this head: a merge condition of ruling 7128031203, and the harness is not in the repository. Answered here by reading, not by the harness: between 937e2f14 (where report 7170977110 records the result 0) and the head, the only changes under skills/objectstack-automation/ outside evals/ are the version stamp, the option-label item in the entry and in references/examples-flows.md (both main's wording), and main's own edits to references/state-machines-and-approvals.md. Every line of the three receiving automation files that is absent from main's pack was read; each is a condensation of a sentence main carries and none is a flow example. The two long examples under ## Long examples are main's lines. The harness figure itself stays unmeasured; the seat decides whether the ruling's condition is met on that reading.
  • references/state-machines-and-approvals.md, 2 tokens paid inside the file: holds; the row is main's 5927 and the two shortened phrases lose no fact.
  • objectstack-data/triggers#6: passed before, loaded by reading on the after round's first reading, left alone on the second. Ruling Q3 A gives the case to the eval seat and this diff does not touch it.
  • Writer tier: the report says verify-review-tier.mjs refuses the thread's transcript. That is the seat's guard to settle, not this record's.
  • Out-of-scope carriers in the report (docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 to close, cloud hosted skills door: repoint the eleven served sections of objectstack-data / objectstack-automation SKILL.md when the pin bump carries the router change #36934's Blocked-by: to repoint): the seat's.
  • SQL push-down: no code path in the diff; nothing to judge.

④ Design judgment

Method: every code span of main's two entry files was looked up in the head's pack; every sentence the entries and the receiving files add was read against main's text and, where it is new wording, against the code.

  • skills/objectstack-data/SKILL.md: holds. Of 252 code spans in main's entry, seven are in no file of the head's pack: the datasource, displayNameField, apiEnabled and titleFormat table rows (the contract states them; a save and os validate refuse titleFormat by name), *.seed.ts from the old verify paragraph, and the {record.tags.0} token the change corrects. None is a trap that parses and then fails silently. The three traps, the sharingModel rule with its refusal, the inverted script rule, initialStates, and the access-depth sentence agree with main and with packages/spec/src/data/object.zod.ts.
  • skills/objectstack-automation/SKILL.md: holds. Of 331 code spans, four are gone from the pack: the two refused {…} tokens (their CEL spellings stay), dist/, and the wrong-form example of item 2 (the rule and the right form stay). The six flow-shape facts of ruling 7168461386 are in the entry: type: 'schedule' with its cadence on the start node, variables, type: 'approval', the option label evaluated once per run, the {…} refusal beside the CEL envelope, and defineAssignmentRule beside its approval node. The new wording checks out: defineFlow is exported by packages/spec/src/automation/flow.zod.ts, whose type enum is the five values the entry lists; strategy: 'round_robin' on a queue target is what assignment-rule.zod.ts accepts; the approvers literal has the shape references/state-machines-and-approvals.md teaches.
  • references/examples-flows.md, references/integration-recipes.md, references/state-machines-and-approvals.md: hold. The moved sections keep main's facts; the "— the rest" sections are complements of the entry's sections and the two together say what main's one section said (checked for notify, failure routing and runAs, filter operands, the value-slot item, script, select). The three re-pointed references name real headings.
  • references/examples-objects.md, rules/field-types.md, rules/relationships.md, rules/security.md, rules/validation.md: hold. Search Fields, Object Extension Model, the schema-evolution table and its two paragraphs, Ownership queues, and the Conditional Field Rules example arrive whole. The ownership default 'user' in the new Object keys table matches object.zod.ts. The correction to record.tags[0] matches what the automation pack already teaches as the CEL spelling. The transitions clause is in § State Machine Validation. In rules/security.md the position bullet's "the two closure refusals" refers to the two names the queue bullet above it still spells.
  • The three eval fixtures: hold; none loosens what its case tests. Case 1 still forbids the wrong key in the form a node carries it (values: {), and the runner reads must_contain_any (packages/qa/scenarios/src/skill-evals/cases.ts). Case 7 still requires the declared code, the code-only throw, the js body and the Chinese sentence, and takes the translation's home in any of three spellings of one location. Case 10 still requires the default and the Chinese label and takes the boolean in the literal or the factory spelling rules/field-types.md teaches.
  • scripts/check-skills-token-ratchet.mjs (implementing): agrees with the contract; the ten rows are the measurements (① above), and each row's history comment names its ruling.

No must-fix, no should-fix.

N1 (nit) — skills/objectstack-project/SKILL.md line 187 (outside the diff) still points a reader at objectstack-data, "Schema evolution"; that heading is now rules/field-types.md § Changing a field that has data, reached from the entry's trap 1. A follow-up card, since a fix moves another file's row.
N2 (nit) — scripts/check-skills-token-ratchet.mjs gains one formula comment line (ceil(16272 / 4)) inside the older history block of the rules/security.md row; it reads as a merge leftover and has no effect on the row.
N3 (nit) — the changeset files Skill Boundaries among "sections that only listed the other files"; that section listed other skills. The frontmatter description still names the neighbouring skills.
N4 (nit) — item 2 of § Valid-but-silently-wrong no longer shows the wrong form beside the right one; the rule is stated and the right form shown. An accepted cut.

Implemented-by: claude/project-thread-kbc4b2
Reviewed-by: session_01L6bhgV6i8jfWwSXjpWJrjA (isolated contract-review sub-agent)

VERDICT: PASS

objectstack-project's pointer to the schema-evolution section names
rules/field-types.md § Changing a field that has data, where the router
moved it; the longer pointer is paid inside the file, so its ratchet row
stays 2990. The ratchet script loses one formula comment line the merge
left in the rules/security.md history block. The changeset says what the
Skill Boundaries table listed (the neighbouring skills) and names the
re-pointed objectstack-project line.

Claude-Session: https://claude.ai/code/session_01L6bhgUTzGxLiCQYi8Wvn3K
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: edcd7df4ad87faf8649d7fa80b555636ed610f9d
Local-runs: none
Scope: skills/objectstack-automation/SKILL.md, skills/objectstack-automation/evals/flows-triggers-approvals.json, skills/objectstack-automation/references/examples-flows.md, skills/objectstack-automation/references/integration-recipes.md, skills/objectstack-automation/references/state-machines-and-approvals.md, skills/objectstack-data/SKILL.md, skills/objectstack-data/evals/hooks-security-seeds-datasources.json, skills/objectstack-data/evals/objects-fields-relationships.json, skills/objectstack-data/references/examples-objects.md, skills/objectstack-data/rules/field-types.md, skills/objectstack-data/rules/relationships.md, skills/objectstack-data/rules/security.md, skills/objectstack-data/rules/validation.md, skills/objectstack-project/SKILL.md + scripts/check-skills-token-ratchet.mjs
Security-touching: yes

Delta record. It covers the one commit edcd7df4ad over 3b62b5e9b0, read as git diff 3b62b5e9b0 edcd7df4ad (three files: the changeset, scripts/check-skills-token-ratchet.mjs, skills/objectstack-project/SKILL.md). Everything else in the earlier record on 3b62b5e9b0 stands unchanged: the thirteen earlier hits files are byte-identical between the two heads. Security-touching: yes is carried from that record; this commit itself teaches no security behaviour.

① Derived judgments

  • skills/objectstack-project/SKILL.md joins the diff: right. One pointer is re-aimed and five filler phrases are shortened; no key, command or rule changes.
  • Ratchet row: right. The file is 11,987 bytes on the head with a 27-byte stamp line, (11987 − 27) / 4 → 2990, and the row reads 2990, unchanged, zero headroom. No other row moves; the ten rows of the earlier record are as measured there.
  • Gate verdicts on this head, at the time of this read: Governed Surface Queue Guard concluded success; none failed; 15 were still in progress (Check Changeset, Check PR Size, PR-body guards, Lint · ESLint, Lint · docs & code guards, Lint · repo & tooling gates, Lint · PM dispatch-gates, Lint · CI, release & engine gates, the three Lint · scoped jobs, Type Check · workspace, Type Check · source gates, Type Check · consumer gates, Type Check · debt ledger); the build and test jobs had not been listed yet. This record does not stand in for them; the adopting seat reads their conclusions before it acts.

② Semver level

Unchanged: @objectstack/skills at patch, Clause-②: no, Metadata-protocol: none. The changeset now says objectstack-project points at the new home and describes Skill Boundaries as a table of neighbouring skills; both statements match the tree.

③ Boundary flags

  • Evals not re-run for this commit: holds. objectstack-project is outside the two measured bundles, and the two skill directories the parity rounds measured are byte-identical to 3b62b5e9b0, so those rounds still describe this head.
  • Trial merge with main c6a1328dfe reported clean by the thread: not re-run here (read-only); the merge queue's own run is its reading.
  • The flags of the earlier record (the third any-of token of case 7, the unmeasured 流程发布检查收紧后,skills 文档和示例还在教会被新检查拦下的写法(#35143 后续) #36718 harness, who ran the rounds, the writer-tier refusal, Part of) are untouched by this commit and remain the seat's as written there.
  • SQL push-down: no code path in the diff.

④ Design judgment

  • skills/objectstack-project/SKILL.md: holds. The pointer now names rules/field-types.md § Changing a field that has data, a heading that exists once in that file on the head. The five cuts lose no fact: "to one version" still says every package lands on one version; "between the versions", "takes os migrate plan then os migrate apply", "run it on each deployment while still on the old release" and "touch only rows that need it" say what the longer forms said. Against that skill's own evals (evals/project-process.json, evals/triggers.json): no must_contain or must_not_contain token is among the removed words; the two cases over this section assert --apply, REST, changeset, os migrate and experimental_sync, --copy, CHANGELOG, pnpm test, all still in the file. The words "together" and "the two versions" occur only in two cases' expected_output prose, which is not graded by token.
  • scripts/check-skills-token-ratchet.mjs (implementing): agrees; one comment line removed, no row changed.

N1: closed — the pointer at skills/objectstack-project/SKILL.md line 187 names the real heading; no file under skills/ says "Schema evolution" any more.
N2: closed — the stray ceil(16272 / 4) comment line is gone from the rules/security.md history block.
N3: closed — the changeset names Skill Boundaries as a table of neighbouring skills, apart from the sections that listed files.
N4: left as the accepted cut the earlier record named; this commit does not touch it.

No must-fix, no should-fix.

Implemented-by: claude/project-thread-kbc4b2
Reviewed-by: session_01L6bhgV6i8jfWwSXjpWJrjA (isolated contract-review sub-agent)

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

席位核对 — ACCEPT · head edcd7df · card #34770 · area s2-ai · 2026-11-28T15:18Z

L1 checklist

  • Shape and checks. Every check on the head is green apart from expected skips (31 success, 18 skipped); mergeable clean. The PR is a draft. It resumes vacant seat 4's docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 (closed, superseded) from 937e2f14, merges main, and turns skills/objectstack-data/SKILL.md and skills/objectstack-automation/SKILL.md into routers (8,983 and 10,703 bytes; frontmatter unchanged) with the moved text under unique headings in their references/ and rules/, relaxes three eval cases per ruling Q1 B, re-measures ten ratchet rows, fixes one cross-skill pointer in skills/objectstack-project/SKILL.md, and adds one changeset. Dev report 7240853523.
  • Contract review at CONTRACT_REVIEW_TIER. Record 7240993637 is a PASS with four nits; delta 7241110781 on this head closes N1–N3 and is a PASS, N4 stays an accepted cut. The seat adopts both records. They read Security-touching: yes (the moved text includes the data skill's security rules, unchanged in meaning); the security label is added in this stroke.
  • Parity (ruling 7128031203 ②A). Before round on main plus only the three case edits: 21 with-skill failures. After round on 3b62b5e9b0: four cases outside the before set failed the first reading and passed their one re-run; the counted failing set is 16, a strict subset of 21; with-skill 80/96, triggers 14/14. The last commit does not touch the two measured skill directories, so the rounds describe this head.
  • Seat calls on the review's flags. The third any-of token on hooks#7 is the case's original form kept beside the dotted key the bundle teaches: accepted as the ruling's "accept the forms the bundle teaches". The 流程发布检查收紧后,skills 文档和示例还在教会被新检查拦下的写法(#35143 后续) #36718 flow-shape harness was a temp file in the old container and is not re-run; the review read every automation line changed since 937e2f14 and found no new flow example, which the seat accepts for that merge condition. The thread ran both rounds, as claim 7240213191 assigned. Triggers#6 stays with the eval seat (Q3 A).
  • Ratchet. Ten rows equal ceil(priced bytes / 4) at zero headroom, 40,353 → 40,743: +430 is the row ruling 7168461386 authorises, the moves net −40 (④A).
  • Declarations. Clause-②: no, Metadata-protocol: none, @objectstack/skills patch. Part of #34770 is right: the card's directory-size Done-when is not yet met (claim amended 7240873355).
  • Hosted door. All eleven headings skill-served-sections.json serves still exist once; cloud card cloud hosted skills door: repoint the eleven served sections of objectstack-data / objectstack-automation SKILL.md when the pin bump carries the router change #36934 now names this PR in Blocked-by:.
  • Governance. skills/** is Tier H, so the maintainer's approval lands it. Built and reviewed at the ceiling tier.

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

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Tier H hand-off · 2026-11-28T15:19Z · head edcd7df · approver os-zhuang

维护者速读

@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 28, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 28, 2026 22:47
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit ed70d23 Nov 28, 2026
59 of 60 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-kbc4b2 branch November 28, 2026 23:16
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation security size/xl 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