Skip to content

docs(skills): type-check more objectstack-automation examples with os:check - #31791

Merged
os-zhuang merged 6 commits into
mainfrom
claude/project-thread-9nqip1
Nov 9, 2026
Merged

os-zhuang merged 6 commits into
mainfrom
claude/project-thread-9nqip1

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Steedos · project thread

Refs #31112 (slice 5 of a per-skill split: item 4, objectstack-automation; the card stays open)

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:objectstack-automation 技能包又有 6 段 TypeScript 示例接入了示例编译检查(19 段中由 3 段变为 9 段),涵盖 notify 节点、按日期扫描的定时流程、状态机校验规则、折扣审批流程,以及两个连接器集成配方;没有发现写错的示例。
  • 为什么改:AI 编写流程、审批和集成时最先照抄这些示例;接入检查后,规范一旦改名或收紧,示例会在 CI 里立刻变红,而不是悄悄教错。
  • 风险与回滚:只改发布技能包的文档文字,不动任何运行时代码;四个文件的 token 上限都未抬高,新增字节靠同文件删减重复说明支付(每处删减的规则在技能包里另有出处,下文逐条列出),所有跨文件指针均保留。回滚即 revert 本 PR。
  • 先看:skills/objectstack-automation/references/state-machines-and-approvals.md(两处新标记与三处重复句删减);其次 references/integration-recipes.md(配方 4、5 的标记与导入路径)。
  • 两分钟验证:pnpm --filter @objectstack/spec check:skill-examples,预期最后一行为 343 段示例全部通过类型检查。
  • 需要你做的:作为受管面审批人审阅并批准本 PR(skills/** 属 Tier H)。

What changes

skills/objectstack-automation had 3 of its 19 fenced ts/typescript blocks under check:skill-examples (measured on main f647430, all *.md outside evals/, references/_index.md excluded as generator-owned). It now has 9. Each new mark is the os:check marker on the line above the fence plus one import line; three blocks also gain a wrapper on their existing first and last lines (const notify: FlowNode = { … };, const rule: StateMachineValidation = { … };, defineFlow({ … });).

File marked before → after / blocks tokens before → after / ceiling lines before → after
SKILL.md 1 → 2 / 5 6527 → 6525 / 6527 452 → 452
references/examples-flows.md 1 → 2 / 3 1494 → 1490 / 1494 136 → 138
references/integration-recipes.md 0 → 2 / 6 2588 → 2591 / 2595 183 → 186
references/state-machines-and-approvals.md 1 → 3 / 5 5825 → 5810 / 5825 404 → 405

Skills bundle reading: the sum of every published SKILL.md does not move (4601 → 4601 lines against current main; this skill's SKILL.md is 452 → 452).

  • SKILL.md: the notify node is typed FlowNode (import type { FlowNode } from '@objectstack/spec/automation';).
  • examples-flows.md: the time-relative sweep gains import { defineFlow } from '@objectstack/spec'; and defineFlow( … ).
  • state-machines-and-approvals.md: the state_machine rule is typed StateMachineValidation (@objectstack/spec/data); the discount approval flow gains import { cel, defineFlow } from '@objectstack/spec'; and defineFlow( … ).
  • integration-recipes.md: recipe 4 imports defineFlow and recipe 5 imports defineConnector, both from @objectstack/spec (the root exports both; @objectstack/spec/integration also exports defineConnector).
  • Unmarked, and why:
    • Budget, not fragments: SKILL.md's trigger start node, and integration-recipes.md's recipes 1 to 3. They compile with a wrapper (probed: 0 diagnostics), but the file has no room for the wrapper once every cross-reference stays. Each is byte-identical to main.
    • Not readable by the checker: SKILL.md's two script blocks are fenced inside a list item (indented 3 spaces), and the checker reads column-0 fences only.
    • Fragments: examples-flows.md's one-day-window filter: block, state-machines-and-approvals.md's send-back node/edge excerpt and its three expression approver literals, and integration-recipes.md's recipe-6 auth: alternatives. state-machines-and-approvals.md says so once in its intro. The other files have 2 to 4 tokens left and carry no note.

Why

#31112 item 4 (ruling B of #22059): published examples are guarded by the opt-in type check. This slice brings objectstack-automation's self-contained examples under it.

Example fixes

None. Every marked block compiled as written once its import and wrapper were added.

Trims that paid the marks (each cut and where its rule survives)

No cross-reference is cut: every pointer to another file, section, row, skill or repository reads as on main.

  • SKILL.md: "— write them right the first time" cut from the Valid-but-silently-wrong intro. No rule.
  • SKILL.md: "(see Inbound webhook triggers below)" → "(Inbound webhook triggers)". The section name stays.
  • SKILL.md: "§ Time-relative triggers — scheduled per-record date sweep." → "§ Time-relative triggers.". The file-and-section pointer stays, and the tail survives in the Flow Types schedule row ("per-record date sweep via config.timeRelative").
  • SKILL.md: item 2's "Reference a field explicitly." cut. Survives in the ✅ source: 'newRec.id' line directly below it.
  • examples-flows.md: "(moved verbatim from SKILL.md)" cut from the title. No rule (item 2's stub kind).
  • examples-flows.md: the sweep's // a sweep has no trigger user — elevate explicitly comment cut. Survives on the first example's runAs: 'system' line in the same file.
  • state-machines-and-approvals.md: "(the shipped showcase_dynamic_approval flow in the showcase app is this shape)" cut. The shape is the complete marked block that follows it.
  • state-machines-and-approvals.md: "(SKILL.md § Trigger Configuration)" cut from the approval flow's start-node comment. What it points at is the start node directly under the comment.
  • state-machines-and-approvals.md: the // Decision branches: mutually-exclusive edge condition predicates. comment cut. Survives in the same block's routing comment ("Guard every branch with a condition — see e4/e5 below") and in the e4/e5 conditions.
  • state-machines-and-approvals.md: "(an unmarked cycle registerFlow rejects)" cut from the lint blockquote. Survives in Three pieces item 2 ("an unmarked cycle is rejected").
  • state-machines-and-approvals.md: "Resubmit is an explicit verb (POST /api/v1/approvals/requests/:id/resubmit), never a record-save." → "Resubmit is never a record-save.". The route survives in Three pieces item 1 ("ended only by POST /api/v1/approvals/requests/:id/resubmit") and in § Recording a decision.
  • integration-recipes.md: "(SKILL.md's connector_action row)" cut. The row's substance is restated at the cut site.
  • integration-recipes.md: the import-path bullet "defineConnector: @objectstack/spec/integration; defineFlow: @objectstack/spec; both register in defineStack." → "defineConnector and defineFlow register in defineStack.". The import paths now sit, checked, in recipes 4 and 5.
  • integration-recipes.md: the auth bullet's "basic (username stays in metadata)" → "basic". Survives in recipe 5's marked block, which writes username beside credentialRef.

Tests

check:skill-examples, before and after, the reverse check, and the pinned teaching site
  • Before (main f647430, run with --keep): ✅ 337 prose examples type-check across 3 surface(s).
  • Probe before marking: each candidate block was written to its own file with its wrapper under the kept .examples-build/tsconfig.json and asked for syntactic, then semantic, diagnostics: 10 of 10 clean, with a planted unknown key on a FlowNode as the control (TS2353).
  • After (commit b58f35e; head e90045b adds only a merge of main touching no skills/objectstack-automation/** or packages/spec path): pnpm --filter @objectstack/spec check:skill-examples exited 0 with ✅ 343 prose examples type-check across 3 surface(s) — every marked block parsed, so tsc ran the SEMANTIC pass on all of them.
  • Reverse check at b58f35e, after the commit, one planted wrong key per touched file: a next key on the notify node (SKILL.md:122, TS2353), a top-level schedule on the sweep flow (examples-flows.md:90, TS2353), initialState for initialStates (state-machines-and-approvals.md:26, TS2561), authentication: { token } for auth on the legacy-ERP connector (integration-recipes.md:149, TS2322). The checker exited 1 at exactly those four lines. Restored with git checkout HEAD --; git diff HEAD and git status --porcelain were empty after.
  • A first reverse run typed the state-machine block ValidationRule. Its planted initialState was NOT reported, so the block is typed by its own member, StateMachineValidation.
  • packages/rest/src/meta-state-route-doc-spelling.test.ts pins SKILL.md's state-introspection route line, which an earlier head had cut (CI Test Core 2/8 red). The line is restored verbatim. Red leg: the earlier SKILL.md gives 2 failed / 6 passed. Green leg: 8/8 at b58f35e.
Derived gate sweep (head e90045b)

node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 47 commands. 46 exited 0. pnpm check:dual-build-cjs-loads exited 3 (PREREQUISITE NOT MET: needs every package's dist; CI runs it). dispatch-gates --ran exited 0: 47 derived, 46 run, 1 NOT-MEASURED, 0 unrun.

Acceptance notes

  • check:skill-examples is not in the derived gate list for a skills/** diff, so it was run by hand.
  • FlowNode's config is Record<string, unknown> in the spec, so the SKILL.md mark checks the node envelope (id, type, label, sibling keys) and nothing inside config; a key typo inside a notify config is still caught by NotifyConfigSchema at os validate, not by this check. The same holds for node configs inside the three marked defineFlow blocks. ConnectorSchema's providerConfig is also Record<string, unknown>, so the recipe-5 mark checks the connector envelope and the auth variant only, not spec.
  • Observation, not filed: the ValidationRule union type does not refuse an unknown key on a state_machine literal (measured above), while StateMachineValidation does; runtime parsing still refuses it. A TypeScript author typing a rule list as ValidationRule[] gets no excess-key check.
  • No ceiling was raised or lowered; the ratchet printed no lowering instruction.
  • This build ran on the default tier: dispatch-gates --tier mandates Fable for skills/**, and the claim records the no-Fable-build exit; the contract review is the seat's, on the lane's isolated reviewer.

Verification

pnpm --filter @objectstack/spec check:skill-examples (needs @objectstack/spec and @objectstack/client-react built) prints 343 examples green; node scripts/check-skills-token-ratchet.mjs exits 0.

Human Minimum

A governed approver reviews and approves (Tier H).

🤖 Generated with Claude Code

https://claude.ai/code/session_01QsR2jR7W3HHy6RgdAAYkFw

…unknown key is refused

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

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · zhuangjianguo · session_01QsR2jULfPnqQFGcZUtKDFH

Contract-review-claim: session_01QsR2jULfPnqQFGcZUtKDFH · head 94881c6 · 2026-11-09T04:07Z

The lane seat's isolated Fable reviewer runs the CONTRACT_REVIEW_TIER review (maintainer 2026-11-08 16:12Z 「有 fable 车道就可以契约复审啊」); the director seat is off duty.

…ine, a pinned teaching site

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

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · zhuangjianguo · session_01QsR2jULfPnqQFGcZUtKDFH

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 94881c6b3f2948e40d3fa95272737204c35908ac
Local-runs: none
Scope: skills/objectstack-automation/SKILL.md, skills/objectstack-automation/references/examples-flows.md, skills/objectstack-automation/references/integration-recipes.md, skills/objectstack-automation/references/state-machines-and-approvals.md + none (no file in the diff implements or enforces these; the checker packages/spec/scripts/check-skill-examples.ts, the spec types in packages/spec/src/automation/flow.zod.ts, packages/spec/src/data/validation.zod.ts, packages/spec/src/integration/connector.zod.ts and the ratchet scripts/check-skills-token-ratchet.mjs were read in the live tree, never reviewed). Remainder of the diff: .changeset/31112-automation-skill-examples-checked.md, the lane seat's ACCEPT at TIER_DEFAULT.

Inputs read: card #31112 body and all 16 comments (triage 6706617330, the slice 1 to 4 claims, reports and releases, the slice 5 claim 6731732071 and dev report 6731975880); PR #31791 body, file list and git diff origin/main...pr/31791 at the head; the check-runs on the head. The dispatch order and the seat's conclusions were not inputs.

① Derived judgments

  • Accept set: no runtime, schema or public-surface change. The diff adds ten os:check marks (SKILL.md 2, examples-flows.md 1, state-machines-and-approvals.md 2, integration-recipes.md 5), taking the skill from 3 to 13 of 19 fenced ts blocks, with one import line per block and a three-token wrapper on four of them. Right: every marker sits at column 0 on the line directly above a bare ts or typescript fence, which is what FENCE_OPEN_RE (checker line 711, anchored at column 0) and the adjacency rule (marked, checker line 632) require.
  • Each newly marked block compiles for the right reason, not by widening or casting. Right: the types are the spec's own authoring halves and nothing else. FlowNode is z.input of FlowNodeSchema (flow.zod.ts:2009), exported by @objectstack/spec/automation (automation/index.ts:4). StateMachineValidation is z.input of StateMachineValidationSchema (validation.zod.ts:555), exported by @objectstack/spec/data (data/index.ts:228). defineFlow, defineConnector and cel are root exports (packages/spec/src/index.ts lines 131, 181, 281), so the five recipes' move from @objectstack/spec/integration to the root is a true statement about the surface. No any, no as, no widened literal anywhere in the ten blocks.
  • Gate verdicts on the head: Type Check · consumer gates (lint.yml job at line 5966; it runs pnpm --filter @objectstack/spec run check:skill-examples at line 6270) concluded success, so the 13 marks compile against the built spec. Lint · docs & code guards, Lint · repo & tooling gates (token ratchet, skill links), Check Changeset, Governed Surface Queue Guard, PR-body guards, Type Check · workspace / source gates / debt ledger, Build Core, Live E2E UI concluded success. Test Core (1/8) and (2/8) were still in progress when this record was written; the diff touches no path they judge.
  • Token ratchet, audited by arithmetic on the tree (ceil of utf8 bytes over 4; SKILL.md's 20-byte stamp line excluded): SKILL.md 6527 to 6522 of 6527, examples-flows.md 1494 to 1490 of 1494, integration-recipes.md 2588 to 2591 of 2595, state-machines-and-approvals.md 5825 to 5809 of 5825. Matches the PR body's table; no ceiling moved (scripts/check-skills-token-ratchet.mjs lines 561, 1121, 1194, 1236 unchanged). Right.
  • The four stated deviations. (a) SKILL.md's two script blocks (lines 265 and 285) are fenced three spaces deep inside list item 3 of Valid-but-silently-wrong; FENCE_OPEN_RE reads column-0 fences only, so they cannot be marked without re-indenting the list. Right. (b) The fragment note is written once in state-machines-and-approvals.md (line 5) and nowhere else; the other three files close at 4 to 5 tokens of headroom. Right, and for SKILL.md a fragment note would be false anyway (its unmarked blocks are list-item fences, not fragments). (c) FlowNode.config is z.record(z.string(), z.unknown()).optional() (flow.zod.ts, the config key of flowNodeObject), so the two SKILL.md marks and the node configs inside the three marked defineFlow blocks check the node envelope only. Right; see the nit in ④ for the same fact on providerConfig. (d) The state-machine block is typed StateMachineValidation, the union member, because the ValidationRule union gives no excess-key check on a state_machine literal. Right: StateMachineValidationSchema is a strictObject over BASE_VALIDATION_SHAPE plus type, field, transitions, initialStates (validation.zod.ts:187), and the dev's measured TS2561 on a planted initialState is the behaviour that member gives.

② Semver level

.changeset/31112-automation-skill-examples-checked.md: '@objectstack/skills': patch (the package exists at packages/skills/package.json), Clause-②: no, Metadata-protocol: none, matching the PR body. The diff publishes prose in the skill bundle and nothing else: no spec export, schema key or route changes, so no narrowing and no feature. Patch is the right level and Clause-②: no is the right line. The body's one-paragraph summary of the changeset names the same ten blocks the diff marks.

③ Boundary flags

Dev flags (report 6731975880 and the PR body's Acceptance notes), each answered:

  • check:skill-examples is not in the derived gate list for a skills/** diff and was run by hand. Answered: it is CI's Type Check · consumer gates job, green on the head.
  • Two SKILL.md script blocks left unmarked (indented fences). Answered right in ①(a); an accepted deviation, no action.
  • Fragment note paid only in state-machines-and-approvals.md. Answered right in ①(b); an accepted deviation.
  • FlowNode.config is a record, so the SKILL.md marks check the envelope only. Answered right in ①(c); the same holds for providerConfig on the five connector recipes (④ nit 2).
  • No ceiling raised or lowered. Answered by arithmetic in ①.
  • Built on the default tier under the no-Fable-build exit. This record is the lane's isolated contract review on the mandated tier.
  • Observation, not filed: the ValidationRule union type does not refuse an unknown key on a state_machine literal while runtime parsing does. Out of this PR's scope; a TypeScript-only gap with no runtime effect. Left unfiled is acceptable; the seat may open a follow-up card on packages/spec/src/data/validation.zod.ts if it wants the union to carry per-member excess-key checking.
  • The dev's post-delivery flag that several cuts are pointers under the domain:skills lane ruling: judged cut by cut in ④.
    No open_questions entry exists in the report; nothing to escalate.

④ Design judgment

Every hits file against the code it cites and the card's eval prompts (skills/objectstack-automation/evals/flows-triggers-approvals.json and integrations-declared.json):

  • SKILL.md. The notify node (line 115) and the start node (line 395) typed FlowNode: flowNodeObject is a strict object whose keys include id, type (a string with the reserved-name regex, so 'notify' and 'start' pass), label and config; both blocks use exactly those keys, so the mark is honest about the envelope and the dev's planted next producing TS2353 is the expected refusal. The two blocks still carry every teaching the evals lean on (the 4th recipient form for a non-user applicant; record-after-update with a transition condition). Holds.
  • references/examples-flows.md. The time-relative sweep wrapped in defineFlow: FlowSchema (flow.zod.ts:1084) requires name, label, type in the enum at line 1171 (schedule is a member), nodes, edges, and takes runAs at line 1230; the block supplies all of them, the start node's timeRelative sits under config as the schema places it, and an empty edges array is legal input. Holds.
  • references/state-machines-and-approvals.md. The state_machine rule: name matches the snake_case regex, message is the one required base key and is present, label and initialStates are optional, transitions is a record of string arrays. Holds. The discount approval flow wrapped in defineFlow with cel: record_change is in the type enum; cel is a tagged template returning an EvaluatedExpression envelope (expression.zod.ts:490), which the edge condition and the start node's config accept; approval node configs are inside the record config and so unchecked by this mark, as ①(c) says. Holds.
  • references/integration-recipes.md. Recipes 1 to 5 under defineConnector from the root: ConnectorSchema (connector.zod.ts:1308) takes name (snake_case regex), label, type ('api'), provider, providerConfig and auth as ConnectorInstanceAuthSchema; the bearer, api-key with headerName, and basic with username shapes in the blocks are the same shapes the spec's own fixtures use (connector-auth-static-kinds.test.ts:30 to 32), and the dev's planted top-level authentication producing TS2322 is the refusal the schema is built to give. The Stripe, legacy-ERP and DocuSign eval prompts still find their recipes (1, 5, and 4 plus 6) intact. Holds.

Every cut in the PR body's cut list, judged under the lane ruling (a pointer the agent follows to reach content, that is a cross-reference to another file, section, row or repository, is not payable; only a restatement whose substance survives where the agent reads anyway is payable):

  1. SKILL.md, the state-introspection route cut from the State Machines pointer line. Restatement: the link to the file stays; the route survives at state-machines-and-approvals.md:49 (Introspection), the file the surviving link reaches. Payable.
  2. SKILL.md, "write them right the first time". No rule. Payable.
  3. SKILL.md, the "start node alone, not a whole flow" sentence shortened. Restatement; the list of flow-owned keys is the same list as before (it omitted name on main too, see nit 3). Payable.
  4. SKILL.md, "(see Inbound webhook triggers below)" shortened to "(Inbound webhook triggers)". The cross-reference itself (the section name) survives; only "see" and "below" went. Payable.
  5. SKILL.md, "section Time-relative triggers, scheduled per-record date sweep" shortened to the section name. The file-and-section pointer survives; the cut tail is a restatement of the Flow Types schedule row at SKILL.md:44. Payable.
  6. examples-flows.md, "(moved verbatim from SKILL.md)" cut from the title. A provenance stub of the kind card item 2 removes. Payable.
  7. examples-flows.md, the sweep's "a sweep has no trigger user, elevate explicitly" comment. Restatement; it survives on the first example's runAs: 'system' at line 23 of the same file. Payable.
  8. state-machines-and-approvals.md, Branching bullet "Send back for revision (ADR-0044), see Send-back for revision above". A cross-reference to a section, and the only entry that lists send-back among the reject routings. Pointer. NOT payable (about 20 tokens). Paid for: the approval-flow block's mark.
  9. state-machines-and-approvals.md, "See the showcase_budget_approval flow in the showcase app in the framework repo for the canonical shape". A cross-reference to a repository, and the only route to a complete send-back flow: this file holds a node-and-edge excerpt only (the unmarked fragment under Three pieces author it). Pointer. NOT payable (about 27 tokens). Paid for: the state_machine rule's mark.
  10. state-machines-and-approvals.md, "(the shipped showcase_dynamic_approval flow in the showcase app is this shape)". A cross-reference to a repository. Pointer under the ruling's form test. NOT payable (about 20 tokens). Paid for: the state_machine rule's mark and the fragment note. Note for the seat: the shape it names is the complete marked block that follows it, so what the agent loses is the name of a shipped instance, not the shape; if the seat reads the ruling by its rationale this one is a provenance restatement.
  11. state-machines-and-approvals.md, "(SKILL.md section Trigger Configuration)" cut from the approval flow's start-node comment. A cross-reference to a SKILL.md section. Pointer under the ruling's form test. NOT payable (about 9 tokens). Paid for: the approval-flow block's own mark (the cut is inside that block). Note for the seat: the content it points at is the start node directly under the comment and SKILL.md is the skill's root file.
  12. integration-recipes.md, "The rule is SKILL.md section Integrations are declared, not coded; this file is the shapes". A cross-reference to the SKILL.md section that owns the rule; an agent entering this file from the references index has no other way back to it. Pointer. NOT payable (about 22 tokens). Paid for: recipe 1's mark.
  13. integration-recipes.md, "(SKILL.md's connector_action row)". A cross-reference to a table row. Pointer under the ruling's form test. NOT payable (about 10 tokens). Paid for: recipe 2's mark. Note for the seat: the row's substance (a value-slot map; a top-level CEL envelope is evaluated, other values kept as written) is restated at the cut site.
  14. integration-recipes.md, the import-path bullet shortened to "defineConnector and defineFlow register in defineStack". Restatement; the import paths now sit, compiled, on the first line of each of the five marked blocks. Payable.
  15. integration-recipes.md, recipe 3's "To let an agent run the sweep on request: objectstack-ai section Actions as AI Tools" comment. A cross-reference to another skill's section; the content (an Action of type flow exposed as an AI tool, skills/objectstack-ai/SKILL.md:135) exists only there. Pointer. NOT payable (about 21 tokens). Paid for: recipe 3's mark.
  16. integration-recipes.md, recipe 4's "The sender signs each post under CARRIER_HOOK_SECRET (SKILL.md Signature bullet)". A cross-reference to the Signature bullet (SKILL.md:372) together with the fact that the default scheme signs under the start node's secretRef; SKILL.md:372 points forward to recipe 4 ("Vendor-signed: config.signature replaces it (recipe 4)") and recipe 4 now points nowhere back. Pointer. NOT payable (about 22 tokens). Paid for: recipe 4's mark.

Findings:

  • should-fix (F1): eight cuts are pointers and unpayable under the lane ruling: cuts 8, 9, 10, 11 in state-machines-and-approvals.md and cuts 12, 13, 15, 16 in integration-recipes.md. Restore each pointer. The budgets then do not close: state-machines-and-approvals.md has 16 tokens of headroom and the four pointers cost about 76, so about 60 tokens must come out; its two new marks and the fragment note cost about 60 (state_machine rule about 32, approval flow about 21, note about 8), so with no other restatement to cut, unmark both blocks and drop the note, or find about 60 tokens of restatement in the file. integration-recipes.md has 4 tokens of headroom and the four pointers cost about 74, so about 70 must come out; its marks cost about 21 (recipe 1), 18 (recipes 2, 3, 5 each) and 17 (recipe 4), so unmark recipes 1 to 4 (about 73) and keep recipe 5, or find the tokens in restatement. SKILL.md and examples-flows.md have no pointer cut and keep their marks. If the seat rules cuts 10, 11 and 13 restatements by the ruling's rationale (the pointed-at content is at the cut site), the unpayable set is 8, 9, 12, 15, 16 (about 112 tokens) and the state-machines budget needs about 31 tokens (unmark the state_machine rule), while integration-recipes still needs about 61 (unmark recipes 1 to 3 or 1, 2 and 4).
  • nit (N1): the PR body's Acceptance note says FlowNode.config is a record so SKILL.md's marks check the envelope only, and says nothing of providerConfig, which is also z.record(z.string(), z.unknown()) (connector.zod.ts:1036); the five recipe marks check the connector envelope and the auth variant, not spec, baseUrl, transport or include. PR-body prose only; no tree effect. A one-line addition on the body, or left as is.
  • nit (N2): SKILL.md:390 lists the keys a flow owns as label, type, nodes, edges and omits name, which FlowSchema requires (flow.zod.ts:1131). Pre-existing on main and unchanged by this PR; a follow-up or the next SKILL.md edit.

No must-fix. The should-fix F1 earns a delta review of its fix.

Implemented-by: claude/project-thread-9nqip1
Reviewed-by: session_01QsR2jULfPnqQFGcZUtKDFH

VERDICT: FAIL

… pay for the marks with restatement cuts

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

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · zhuangjianguo · session_01QsR2jULfPnqQFGcZUtKDFH

Contract-review-claim: session_01QsR2jULfPnqQFGcZUtKDFH · head e90045b · 2026-11-09T04:31Z

The lane seat's isolated Fable reviewer runs the CONTRACT_REVIEW_TIER review (maintainer 2026-11-08 16:12Z 「有 fable 车道就可以契约复审啊」); the director seat is off duty.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · zhuangjianguo · session_01QsR2jULfPnqQFGcZUtKDFH

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: e90045b1fe67b8a0fbb333803c747de157d99b4b
Local-runs: none
Scope: skills/objectstack-automation/SKILL.md, skills/objectstack-automation/references/examples-flows.md, skills/objectstack-automation/references/integration-recipes.md, skills/objectstack-automation/references/state-machines-and-approvals.md + none (no file in the diff implements or enforces these; the checker packages/spec/scripts/check-skill-examples.ts, the spec types in packages/spec/src/automation/flow.zod.ts, packages/spec/src/data/validation.zod.ts, packages/spec/src/integration/connector.zod.ts, the exports in packages/spec/src/index.ts and packages/spec/src/integration/index.ts, the ratchet scripts/check-skills-token-ratchet.mjs and the pin packages/rest/src/meta-state-route-doc-spelling.test.ts were read in the live tree, never reviewed). Remainder of the diff: .changeset/31112-automation-skill-examples-checked.md, the lane seat's ACCEPT at TIER_DEFAULT.

Delta round on the record for head 94881c6 (PR comment 6732120560: FAIL, should-fix F1, nits N1 and N2). Everything that record judged and this one does not restate is carried forward by reference to 6732120560; this record re-judges the delta git diff 94881c6b e90045b1 on skills/objectstack-automation/** and the changeset, and the net diff against the merge base 630a0baa (GitHub's file list: the four hits files and the changeset, nothing else; the merge of main in e90045b touches no skills/objectstack-automation/**, packages/spec/** or packages/rest/src/meta-state-route-doc-spelling.test.ts path against its first parent b58f35e).

Inputs read: card #31112 body and all 16 comments (triage 6706617330 through the slice 5 claim 6731732071 and dev report 6731975880; the seat's ruling on cuts 10, 11 and 13 and the dev's delta report are not on the card or the PR as comments and reach this record only through the review brief, which this record applies as the lane ruling); PR #31791 body (replaced for this head), file list and the net diff at e90045b; the check-runs on e90045b (two claim comments 6731986772 and 6732299929 and the record 6732120560 are the PR's only comments). The dispatch order and the seat's conclusions were not inputs.

① Derived judgments

  • Accept set: no runtime, schema or public-surface change. At this head the diff adds six os:check marks (SKILL.md 1, examples-flows.md 1, state-machines-and-approvals.md 2, integration-recipes.md 2), taking the skill from 3 to 9 of 19 fenced ts blocks, with one import line per block and a wrapper on four of them (const notify: FlowNode = { and };, const rule: StateMachineValidation = { and };, and defineFlow({ and }); on the sweep and on the discount approval flow; recipes 4 and 5 already read export const X = defineFlow({ and export const X = defineConnector({ on main). Counted on the tree: marks per file 2 of 5, 2 of 3, 2 of 6, 3 of 5; every marker is at column 0 on the line directly above a bare ts or typescript fence (lines 113 and 312 of SKILL.md; 14 and 86 of examples-flows.md; 113 and 138 of integration-recipes.md; 17, 73 and 304 of state-machines-and-approvals.md). Right.
  • The delta against 94881c6, judged item by item against the seat's order:
    • Cuts 8, 9, 12, 15 and 16 restored. Right: none of the five sites appears in the net diff against 630a0baa, so each is byte-identical to main. At the head: state-machines-and-approvals.md line 384 "Send back for revision (ADR-0044) — see Send-back for revision above" and lines 195 to 196 "See the showcase_budget_approval flow in the showcase app in the framework repo for the canonical shape"; integration-recipes.md lines 3 to 4 "The rule is SKILL.md § Integrations are declared, not coded; this file is the shapes", line 107 "To let an agent run the sweep on request: objectstack-ai § Actions as AI Tools" and lines 131 to 133 "The sender signs each post under CARRIER_HOOK_SECRET (SKILL.md Signature bullet). A vendor signing its own header adds, keyed by that ref, ...".
    • Unmarked blocks byte-identical to main. Right: SKILL.md's trigger start node (lines 393 to 404, the bare object literal and the lead sentence "This is the start node alone, not a whole flow (a flow also owns label, type, nodes and the edges FlowSchema requires)") and integration-recipes.md recipes 1 to 3 (fences at lines 34, 70, 99, no marker, no import line) are absent from the net diff.
    • The L300 clause. SKILL.md line 300 at the head reads "its state-introspection route is GET /api/v1/meta/object/:name/state/:field?from=:state", absent from the net diff so byte-identical to main. packages/rest/src/meta-state-route-doc-spelling.test.ts lists skills/objectstack-automation/SKILL.md as a TEACHING_SITE (line 153) and asserts text.includes(canonicalPath) where canonicalPath is derived from the ledger row and pinned by the test to the singular /api/v1/meta/object/:name/state/:field (lines 259 to 265, 296 to 308); the restored clause contains that path and spells it the singular way the population test (line 352) requires. Right. This is the fix for the Test Core (2/8) red the seat found on 94881c6.
    • New cuts in the delta, each judged in ④ under the lane ruling: SKILL.md "Reference a field explicitly."; state-machines-and-approvals.md the "Decision branches" comment, "(an unmarked cycle registerFlow rejects)" and the resubmit route parenthesis; integration-recipes.md "basic (username stays in metadata)" to "basic". All five are restatements with a surviving home; none is a pointer.
    • Cuts 10, 11 and 13 kept, as the seat ruled: state-machines-and-approvals.md line 302 "end to end:" (no showcase_dynamic_approval parenthesis), line 83 "// The trigger is the START node's config." and integration-recipes.md line 16 "connectorConfig.input is a value-slot map: ...". Right against the ruling as the seat read it (the pointed-at content sits at the cut site).
  • Each marked block compiles for the right reason, not by widening or casting. Carried forward from 6732120560 ①: the six blocks still marked are the same text as on 94881c6 except the discount approval flow, which lost one comment line, so the type judgments there (FlowNode is z.input of FlowNodeSchema from @objectstack/spec/automation; StateMachineValidation is z.input of StateMachineValidationSchema from @objectstack/spec/data; defineFlow, defineConnector and cel are root exports at packages/spec/src/index.ts lines 131, 181 and 281) hold unchanged. The PR body's new statement that @objectstack/spec/integration also exports defineConnector is true: packages/spec/src/integration/index.ts line 28 is export * from './connector.zod'. No any, no as, no widened literal in the six blocks.
  • Gate verdicts on e90045b (read at 04:41Z): Type Check · consumer gates (the job that runs pnpm --filter @objectstack/spec run check:skill-examples) concluded success at 04:41:41Z, so the six marks compile against the built spec. Test Core (2/8), the shard that holds meta-state-route-doc-spelling.test.ts and was red on 94881c6, concluded success at 04:38:05Z: the L300 pin is green on this head. Lint · docs & code guards, Lint · repo & tooling gates (token ratchet, skill links), Lint · CI, release & engine gates, Lint · ESLint, Lint · PM dispatch-gates, the three scoped lints, Check Changeset (both runs), Governed Surface Queue Guard, PR-body guards (both runs), Check PR Size, Type Check · workspace, Type Check · source gates, Type Check · debt ledger, Build Core, Dogfood Regression Gate, Live E2E UI, Test UI, Plan Test Core shards, Auto Label all concluded success. Still in progress when this record was written: Test Core (1/8) alone; the diff touches no path it judges.
  • Token ratchet, audited by arithmetic on the tree (ceil of utf8 bytes over 4; SKILL.md's 20-byte stamp line excluded, scripts/check-skills-token-ratchet.mjs lines 49 to 113): against the merge base 630a0baa, SKILL.md 6527 to 6525 of 6527 (26128 to 26119 bytes), examples-flows.md 1494 to 1490 of 1494, integration-recipes.md 2588 to 2591 of 2595, state-machines-and-approvals.md 5825 to 5810 of 5825. Matches the PR body's table to the token. No ceiling moved: the ratchet's rows (lines 519, 1079, 1152, 1194) are not in the diff. Lines 452 to 452, 136 to 138, 183 to 186, 404 to 405, as the body says; the sum of every skills/*/SKILL.md is 4601 lines at the merge base and at the head. Right.
  • The four stated deviations, re-read on this head. (a) SKILL.md's two script-node blocks (fences at lines 264 and 284, three spaces deep inside list item 3) stay unmarked for the column-0 reason given in 6732120560 ①(a). Right. (b) The fragment note "Unmarked blocks are fragments." is written once, state-machines-and-approvals.md line 5, and is true there: its two unmarked fences (line 178, the send-back node-and-edge excerpt; line 285, three approver expression literals) are fragments. The other three files carry no note and have 2 to 4 tokens of headroom; SKILL.md's and integration-recipes.md's unmarked complete blocks are budget cases, which the body names as such, so no false note is written anywhere. Right. (c) FlowNode.config is a record of string to unknown, so the SKILL.md mark checks the notify envelope only; the body now also says the same of providerConfig for recipe 5 (6732120560 N1, answered). Right. (d) The state-machine block typed StateMachineValidation, the union member with excess-key checking. Right, unchanged.

② Semver level

.changeset/31112-automation-skill-examples-checked.md at this head: '@objectstack/skills': patch, Clause-②: no, Metadata-protocol: none, matching the PR body. Its paragraph was rewritten in the delta and now says six blocks, 9 of 19, the notify node alone in SKILL.md, recipes 4 and 5 alone in integration-recipes.md, the start node and recipes 1 to 3 as budget cases, and "every cross-reference stays": each of those sentences is true of the tree. The diff publishes prose in the skill bundle and nothing else: no spec export, schema key or route changes, so no narrowing and no feature. Patch is the right level and Clause-②: no is the right line.

③ Boundary flags

Dev flags on this head (the PR body's Acceptance notes and Unmarked list; the delta report reaches this record through the brief), each answered:

  • check:skill-examples run by hand because it is not in the derived list. Answered: it is CI's Type Check · consumer gates, green on this head.
  • Trigger start node and recipes 1 to 3 unmarked for budget, byte-identical to main. Answered in ①: confirmed on the tree; an accepted deviation that follows from the lane ruling (the restored pointers took the room).
  • Two SKILL.md list-item fences unmarked. Answered in ①(a); accepted deviation.
  • Fragment note in state-machines-and-approvals.md only. Answered in ①(b); accepted deviation.
  • FlowNode.config and ConnectorSchema.providerConfig are records, so the marks check envelopes. Answered in ①(c); N1 of 6732120560 is closed by the body text.
  • Observation, not filed: ValidationRule gives no excess-key check on a state_machine literal. Carried from 6732120560 ③: out of scope, acceptable unfiled.
  • No ceiling raised or lowered. Answered by arithmetic in ①.
  • Default tier under the no-Fable-build exit; this record is the lane's isolated contract review.
  • The seat's finding of a PR-caused Test Core (2/8) red on 94881c6 (the cut L300 clause). Answered in ①: the clause is restored byte-identical to main and satisfies the pin's assertion; Test Core (2/8) concluded success on e90045b.
    No open_questions entry exists; nothing to escalate.

④ Design judgment

Every hits file against the code it cites and the card's eval prompts (skills/objectstack-automation/evals/flows-triggers-approvals.json, integrations-declared.json, approvals/test-revise-loop.md):

  • SKILL.md. The notify node (lines 113 to 127) typed FlowNode: carried from 6732120560 ④, holds. The start node is back to main's bare literal under main's lead sentence, so the record-after-update eval (flows-triggers-approvals.json line 248) reads exactly what it read on main. Line 300 again names the state-introspection route beside the link to the references file, and the rest pin reads it. The one new cut (item 2's "Reference a field explicitly.") leaves item 2's rule as its bold sentence plus the wrong and right lines; the right line source: 'newRec.id' is the instruction made concrete. Holds.
  • references/examples-flows.md. Unchanged since 94881c6; carried from 6732120560 ④. Holds.
  • references/state-machines-and-approvals.md. The state_machine rule and the discount approval flow carry their marks; the approval flow lost one comment line and nothing else, so its compile judgment stands. The send-back section's two pointers are back, so the revise-loop evals (flows-triggers-approvals.json line 46, approvals/test-revise-loop.md) reach the canonical shape in the framework repo and the Branching bullet again lists send-back among the reject routings. Holds.
  • references/integration-recipes.md. Recipes 4 and 5 under defineFlow and defineConnector from the root, carried from 6732120560 ④. Recipes 1 to 3 are main's text; the three pointers are back, so recipe 3 again reaches objectstack-ai § Actions as AI Tools, recipe 4 again points back at SKILL.md's Signature bullet (SKILL.md line 371 still points forward to recipe 4), and the file's first sentence again names the SKILL.md section that owns the rule. The legacy-ERP eval (integrations-declared.json lines 26 to 30, must_contain provider: 'openapi', operationId, credentialRef, type: 'basic', connector_action) is answered by recipe 5, which keeps every one of those tokens and writes username: 'svc_objectstack' beside credentialRef: 'ERP_SVC_PASSWORD'. Holds.

Every cut in the PR body's cut list at this head (14 entries), judged under the lane ruling as the seat read it (a pointer the agent follows to reach content in another file, section, row or repository is not payable; a restatement whose substance survives where the agent reads anyway is payable, and a parenthesis whose target sits at the cut site is a restatement):

  1. SKILL.md, "— write them right the first time". No rule. Payable.
  2. SKILL.md, "(see Inbound webhook triggers below)" to "(Inbound webhook triggers)". The section name, the cross-reference itself, survives at the site. Payable (6732120560 cut 4).
  3. SKILL.md, "§ Time-relative triggers — scheduled per-record date sweep." to "§ Time-relative triggers.". The file-and-section pointer survives; the tail restates the Flow Types schedule row (SKILL.md line 44, "per-record date sweep via config.timeRelative"). Payable (6732120560 cut 5).
  4. SKILL.md, item 2's "Reference a field explicitly." NEW. Restatement of the right line directly below it (source: 'newRec.id'), in the same list item the agent reads for the rule. Payable.
  5. examples-flows.md, "(moved verbatim from SKILL.md)". Provenance stub of the kind card item 2 removes. Payable (6732120560 cut 6).
  6. examples-flows.md, the sweep's "a sweep has no trigger user — elevate explicitly" comment. Survives at line 23 of the same file on the first example's runAs: 'system'. Payable (6732120560 cut 7).
  7. state-machines-and-approvals.md, "(the shipped showcase_dynamic_approval flow in the showcase app is this shape)". Cut 10 of 6732120560; the seat ruled it payable because the shape it names is the complete marked block at the cut site. Payable under the ruling as adopted.
  8. state-machines-and-approvals.md, "(SKILL.md § Trigger Configuration)" in the approval flow's start-node comment. Cut 11 of 6732120560; the seat ruled it payable because the start node sits directly under the comment. Payable under the ruling as adopted.
  9. state-machines-and-approvals.md, "// Decision branches: mutually-exclusive edge condition predicates." NEW. Restatement: the same block's routing comment at lines 105 to 108 ("the engine evaluates each out-edge's condition and follows every match — and an out-edge with NO condition ALWAYS runs ... Guard every branch with a condition — see e4/e5 below") carries the substance, and e4/e5 show it; SKILL.md line 71 teaches decision as "routed by edge condition predicates". The screen-flow eval (flows-triggers-approvals.json line 65, "mutually exclusive condition predicates (an unguarded out-edge always runs, in parallel)") is still taught by that comment. Payable.
  10. state-machines-and-approvals.md, "(an unmarked cycle registerFlow rejects)". NEW. Restatement of Three pieces item 2 at line 171 ("registerFlow validates the graph minus back edges as a DAG, so an unmarked cycle is rejected"), 20 lines above in the same section. Payable.
  11. state-machines-and-approvals.md, "Resubmit is an explicit verb (POST /api/v1/approvals/requests/:id/resubmit), never a record-save." to "Resubmit is never a record-save.". NEW. Restatement: the route survives at Three pieces item 1, line 165 ("ended only by POST /api/v1/approvals/requests/:id/resubmit"), in the same section. Payable. The body's second named survivor, § Recording a decision, does not hold the resubmit route (lines 198 to 212 name /approve, /reject and the 403 on the automation resume route); see N3.
  12. integration-recipes.md, "(SKILL.md's connector_action row)". Cut 13 of 6732120560; the seat ruled it payable because the row's substance is restated at the cut site. Payable under the ruling as adopted.
  13. integration-recipes.md, the import-path bullet to "defineConnector and defineFlow register in defineStack". The paths now sit, compiled, on the first line of recipes 4 and 5; @objectstack/spec/integration is still a true second home for defineConnector (integration/index.ts line 28) but the skill now teaches the root path, which is also true. Payable (6732120560 cut 14).
  14. integration-recipes.md, "basic (username stays in metadata)" to "basic". NEW. Restatement: recipe 5 (line 149) writes username: 'svc_objectstack' as a metadata key beside credentialRef, under a mark that compiles it against ConnectorInstanceBasicAuthSchema, and recipe 5 is the block the agent reads for basic auth (the legacy-ERP eval's must_contain list is met by it; the phrase "stays in metadata" is in that eval's expected_output rationale only, not in its must_contain). Payable.

No cut in the list is a pointer; no pointer named in 6732120560 F1 or in the seat's order is still cut. The cut list is complete against the net diff: every removed or shortened sentence in the four files is one of the 14, and the only other prose change is the added fragment note.

Findings:

  • nit (N2, carried from 6732120560): SKILL.md line 390 lists the keys a flow owns as label, type, nodes and edges and omits name, which FlowSchema requires. Pre-existing on main, byte-identical at this head; a follow-up or the next SKILL.md edit.
  • nit (N3, new, PR-body prose only): the cut-list entry for the resubmit sentence names § Recording a decision as a second surviving home of the route; that section does not mention resubmit (the route survives at Three pieces item 1 alone, which is enough). The What-changes paragraph says "three blocks also gain a wrapper" and lists three wrapper forms, but four blocks gain one (the defineFlow form is on both the sweep and the discount approval flow). Neither has a tree effect; fix on the body or leave.
  • N1 of 6732120560 (the body's silence on providerConfig) is closed by the body text on this head.

No must-fix. No should-fix: F1 of 6732120560 is resolved on the tree (five pointers restored byte-identical to main; three parentheses kept under the seat's ruling; the budgets closed by unmarking the start node and recipes 1 to 3 and by five restatement cuts, each with a named surviving home verified above). Nits alone end the round. Both gate verdicts this record leans on concluded success on this head: Type Check · consumer gates (the six marks compile) and Test Core (2/8) (the L300 pin).

Implemented-by: claude/project-thread-9nqip1
Reviewed-by: session_01QsR2jULfPnqQFGcZUtKDFH

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · zhuangjianguo · session_01QsR2jULfPnqQFGcZUtKDFH

维护者速读

  • 改了什么:objectstack-automation 技能包又有 6 段 TypeScript 示例加上 os:check 标记,CI 会把它们当真代码编译,覆盖从 3/19 升到 9/19。新增的是 notify 节点、按日期扫描的定时流程、状态机校验规则、折扣审批流程,以及集成配方 4、5。没有发现写错的示例。
  • 为什么改:AI 写流程、审批和集成时会照抄这些示例。没人编译的示例会在规范改名或收紧后悄悄过期;现在一出错,CI 直接变红(skills: one home per rule — the same rule written in three skills, "moved verbatim" stubs in data and upgrade SKILL.md, an undocumented user-invocable frontmatter key, and <!-- os:check --> coverage of 1/63 (platform) and 0/42 (query) example blocks #31112 第 4 项,automation 这一片)。
  • 风险与回滚:只改技能文档,不动运行时。四个文件都没有抬高 token 上限,新增字节靠删掉同文件里的重复说明支付,每处删减的出处复审都逐条核过。所有跨文件或跨章节的指针保持原样。回滚即 revert 本 PR。
  • 先看:references/state-machines-and-approvals.md,看两处新标记和三处删减;其次 references/integration-recipes.md,看配方 4、5 的标记和导入行。
  • 两分钟验证:pnpm --filter @objectstack/spec check:skill-examples 退出 0,统计应为 343 段示例。
  • 需要你做的:批准本 PR(Approve review)。契约复审记录有两份:评论 6732120560 是首轮 FAIL,评论 6732432267 是返工后增量复审 PASS,Head-sha e90045b1fe67b8a0fbb333803c747de157d99b4b。批准后由席位落地。
  • 席位意见:ACCEPT。首轮有两个问题,返工后都已修好。一是 packages/rest 的一个测试钉住了 SKILL.md L300 的状态路由句,这句被删后 Test Core 变红;现已原样恢复,本 head 上该测试为 success。二是有五处删减删的是指针,现已原样恢复,相应的三段配方和一个触发器示例退回不标记。本 head 上 Type Check · consumer gates(编译示例)为 success。

席位核对

Head-sha: e90045b1fe67b8a0fbb333803c747de157d99b4b

  1. Shape: draft, base main, body Refs #31112 (slice 5 of a per-skill split; the card stays open), Clause-②: no, Metadata-protocol: none, changeset '@objectstack/skills': patch. 5 files, +43/−27. Tier H (skills/**).
  2. Premise measured: the slice-4 release note 6731326441 counted automation at 3/19 on main c2bb879. At claim time (6731732071) no open PR touched skills/objectstack-automation/. The dev's reverse check planted one wrong key per touched file at b58f35e, went red at exactly those four lines (SKILL.md:122, examples-flows.md:90, state-machines-and-approvals.md:26, integration-recipes.md:149), and came back clean, so the marks are live.
  3. Gates: dev gates 47 derived, 46 exit 0; dual-build-cjs-loads exit 3 (needs a full build; no build input touched). check:skill-examples 337 → 343 exit 0. Token ratchet exit 0, no ceiling moved: SKILL.md 6525/6527, examples-flows 1490/1494, integration-recipes 2591/2595, state-machines 5810/5825. Check-runs on this head at ACCEPT: 30 success, 17 skipped, 0 failure, 0 running (Test Core 2/8 success).
  4. Accepted deviations: seat ruling on review F1 (6732120560), reading the lane's pointer rule (seat 2 on PR docs(skills): objectstack-data security.md teaches that a package's sharing rule resolves its queue recipient from its package #31777) by its rationale: a pointer cut is payable only when its target sits at the cut site. So cuts 10, 11 and 13 stay cut, and cuts 8, 9, 12, 15 and 16 were restored byte-identical to main; the delta review confirms both. Unmarked for budget, and byte-identical to main: SKILL.md's trigger start node and integration-recipes' recipes 1 to 3. Unmarkable: SKILL.md's two script blocks are fenced inside a list item, and the checker reads column-0 fences only. The fragment note appears once, in state-machines. FlowNode.config and ConnectorSchema.providerConfig are records of string to unknown, so those marks check the envelope only; the body says so. Review nits, accepted as is: N2, SKILL.md L390 omits name from a flow's keys, which is pre-existing on main. N3 is PR-body prose: the resubmit cut names § Recording a decision as a second survivor, but the route survives in Three pieces item 1 alone, and "three blocks gain a wrapper" counts forms, not blocks. Model: opus build under the standing no-Fable-build rule, Fable review (claim 6731732071).
  5. Out of scope / Skills-docs: items 1 to 3 of skills: one home per rule — the same rule written in three skills, "moved verbatim" stubs in data and upgrade SKILL.md, an undocumented user-invocable frontmatter key, and <!-- os:check --> coverage of 1/63 (platform) and 0/42 (query) example blocks #31112, the platform skill (1/63), and automation's remaining 10 blocks stay on the card. The CI red the first review missed is now a lane trap in the seat's dispatch rules: packages/rest/src/meta-state-route-doc-spelling.test.ts pins SKILL.md L300, and dispatch-gates does not derive it for a skills-only diff. Metadata-protocol: none, so no Skills-docs: line is owed. Seat 2's skills: objectstack-automation says a subflow or map child resolves from the calling flow's package and its declared dependencies (ADR-0150 E1 Skills-docs follow-up) #31741 also edits this SKILL.md; whichever PR lands second merges main and re-runs the ratchet.
  6. Landing: Tier H. pm:awaiting-merge + reviewers os-zhuang, hotlong; stays draft until an authorized approval or a maintainer merge. K = 6 first-parent merges since merge-base 630a0baa; none touches skills/objectstack-automation/, and the merge with main is clean. Refs, not Fixes: after the merge the seat releases the card to pm:queue with the remaining counts.

@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 9, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 9, 2026 08:10
@os-zhuang
os-zhuang enabled auto-merge November 9, 2026 08:10
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 9, 2026
@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 9, 2026
Merged via the queue into main with commit dbf5c8d Nov 9, 2026
56 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-9nqip1 branch November 9, 2026 08:34
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 size/s 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.

2 participants