Skip to content

docs(skills): the objectstack-automation entry file is cut back to the router budget - #39230

Queued
objectstack-fleet[bot] wants to merge 7 commits into
mainfrom
claude/project-thread-gvlos5
Queued

objectstack-fleet[bot] wants to merge 7 commits into
mainfrom
claude/project-thread-gvlos5

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Bill · project thread

Part of #34770

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感;发给 AI 的「流程、审批、触发器、集成」技能说明,入口文件从约 10.8 KB 缩到 9 KB,规则一条没少,几段示例和细节挪进了同一技能的参考文件。
  • 为什么做:这是「技能目录瘦身」里自动化技能这一份;入口文件每次都整份装进 AI 的上下文,越长越贵,也越容易漏读。
  • 出错会怎样:只动教 AI 的文字,没有产品行为变化,可以直接撤回;风险是 AI 少读一段后答错,评测二十九道题、每题三遍:改动后对八十一次,改动前对七十九次,没有哪道题在改动后每遍都错而改动前能对;有出入的三道题又各跑了六遍,结论不变。
  • 要你做什么:暂时无;审核意见已改完,复审通过后再请你批准。

Rulings this executes

  • Card Scope (decision record on the card): an entry file holds first checks, the traps and a routing list; 6–9 KB, hard cap 500 lines; everything else goes behind a pointer; no trap is removed until a publish-time check covers it or it stays inline.
  • Zone order for this PR (PR 9, objectstack-automation only): the same shape as the earlier entry files; the entry ends at or under 9,000 bytes; nothing docs(skills): the objectstack-automation entry carries a save notice's translation key and names the gate that judges a grant made from a flow #38971 added (the save_notice translation key, the delegated-administration gate) is lost; a reference file may grow only by what moved out of the entry.
  • 7128031203 fork 4 = A: a ratchet row may rise by text that MOVED between files when each row is pinned at its measurement with zero headroom and the sum of ceilings does not rise. Used here for one row (below).
  • 7168461386 = A: the flow-shape facts that ruling put back stay in the entry: type: 'schedule' and where its cadence sits, once per run, dialect: 'cel', the rule on {…} references in a value slot, and defineAssignmentRule beside its approval step. Each is in the cut entry.
  • 7176941587: the "Nothing to read yet?" line and the flow's project-form sentence stay (both are in the cut entry). Q3 A of the same record: "the triggers#6 false load is the eval seat's to fix, by adding objectstack-query to that trigger case's candidate set. This PR does not change it."
  • 7249189592, the parity rule, in its own words: "a config-plugins-ops case whose result flips between runs on both trees (main and head) is treated as unstable on both and does not block the PR. … A case that fails on every run of head while main passes is still a regression." Claim amendment 7249198313 reads it for every PR of this split: "a case whose result flips between runs on both trees is unstable on both and does not block; a case that fails on every run of the head while main passes is still a regression." The rule's text covers a case that flips on both trees and a case that fails every head run. A case that drops on the head only gets its own fact-loss reading, as the series has done (reports 7300470521 and 7305292150). All of that is under Acceptance notes.

Review round

Contract review 7364905628 (PASS on 40c74104: one should-fix, three nits) and the seat's L1 record 7364954194 (REWORK: R1 to R3). One patch round, commits e07adc1b and d0180669, then a plain merge of main.

  • S1, fixed. The cut entry kept "Writing a readonly field? Set runAs: 'system'" and had dropped the limit beside it, so an author following the bullet could declare a button-started flow runAs: 'system' and get 403 on every click; no publish-time check covers that shape. The bullet now ends: "A button starts a system flow only as screen / api, or through a subflow node." The long form (the 403, why the subflow route is preferred) stays in references/examples-flows.md § Failure routing & runAs — the rest. Paid inside the entry: the notify row's purpose is "See below"; the integrations pointer is shorter; the last runAs bullet says "gate an elevated flow here" without repeating screen / api; item 3's sentence about the later node is shorter.
  • N1, fixed. ## Assignment rules reads "never a hook that picks an owner, nor a counter field".
  • N2, taken. Item 3 of Valid-but-silently-wrong: the script node's block now follows the sentence about config.function, and the sentence about the later update_record comes after the block, with its fields literal in the entry's TypeScript form.
  • N3, fixed. The entry row's comment block says the triggers routing row joined the examples-flows.md routing line, and that the button rule's limit stays in the entry.
  • R1, fixed in this body. The parity ruling is quoted in its own words above, and the cases that differ are classified one by one under Acceptance notes.
  • R2, measured: flows 4 is unstable on both texts, and the isOutput example is not put back. Run alone at six repeats: 4 of 6 on main's text, 4 of 6 on the head's. The reading is under Acceptance notes.
  • R3 (a), fixed. The footer is in the AGENTS.md form.
  • R3 (b), not taken. The attribution link still names this card's own thread: this session's standing attribution rule fixes those two lines as given. The machine-read marker is the same either way, and the zone thread is cmsg_016iMXWSZDzqWRWvWzdNo8wgUwbwcnVFGBgQzaCTFpnAff in the same project.
  • The moved-text note now says what the 776 bytes are (below, and in the changeset).

The entry went 8,992 to 8,991 bytes and 189 to 190 lines in this round; its row is re-pinned at the measurement, 2242 to 2241. The reference file did not change in this round.

What changes

skills/objectstack-automation/SKILL.md is cut from 10,810 bytes to 8,991 (215 lines to 190). The frontmatter and the title are byte-identical, so what loads the skill does not change. Every heading is kept, in the same order, so every anchor and every heading the hosted door serves still resolves. Nothing an author can write changes: this is wording only.

What pays for the cut, by kind (the changeset lists every sentence and its other home):

Kind What Bytes it answers
Said twice Sentences references/examples-flows.md already held in full: the autolaunched gloss, the long form of the button rule (its limit stays in the entry as one clause), the dropped-condition and computed-operand notes under filter operands, the run user spelling, the long form of the assignment-rule warning and what an assignment rule routes cut from the entry, nothing added
The contract's The second variables entry (an output variable): FlowVariableSchema in automation/flow.zod.ts cut from the entry
Routing The routing table became a three-item list; its triggers row joined the flows line, its assignment-rules row became a link inside ## Assignment rules cut from the entry
Table wording The three record-write rows share one row; three purposes that restate the node's name are gone cut from the entry
Moved Five passages with no other home went to references/examples-flows.md: the message and sourceObject / sourceId / actionUrl lines of the notify example; "route around the node with a decision; to match an empty field, write the literal null"; the registerFlow and executor doors with the has(record.owner) spelling; the second node of the script example +776 bytes in the reference file: about 655 moved, about 120 seating them (the lead-in sentence, the code fence, indentation, the clause naming the three doors)
Cut, no other home "Most are caught by objectstack build" (first check 4 and each item say where a trap is refused); "evaluated before the query"; the package.json path of first check 1; "As JSON:"; "mail-only," cut

What #38971 added is all still in the entry: the save_notice row with its translation key (flows.{flow}.notices.{node_id}.message, in the saver's locale) and the delegated-administration gate, whole (the gate judges a grant as the user the run acts for, past an approval the decider, and records them as granted_by, or refuses it).

Sizes (bytes; tokens are the ratchet's, the release-stamp line unpriced):

main at 5a0bb8dd head b8eea5f6
skills/objectstack-automation/SKILL.md 10,810 B · 215 lines · 2,696 tokens 8,991 B · 190 lines · 2,241 tokens
skills/objectstack-automation/references/examples-flows.md 25,729 B · 432 lines · 6,433 tokens 26,505 B · 445 lines · 6,627 tokens
skills/objectstack-automation/** (10 files) 117,869 B 116,826 B
all 14 SKILL.md 121,252 B · 2,146 lines 119,433 B · 2,121 lines
skills/ (115 files) 1,176,327 B 1,175,284 B
ratchet, authored sum (61 rows) 182,414 tokens 182,153 tokens
ratchet, bundle total 291,290 tokens 291,029 tokens

Budget reading. 8,991 bytes is on the 9 KB line, as the earlier entry files were. What remains is the ruled facts, the #38971 additions, the served sections with their required blocks, and the traps; the entry was not cut further.

Tests

All on the pushed head b8eea5f6, exit 0 each:

  • pnpm --filter @objectstack/rest exec vitest run --maxWorkers=2 src/meta-state-route-doc-spelling.test.ts (under the verify lock, VERDICT command-exit 0): 1 file, 8 tests passed. It pins this entry as a teaching site of the state-introspection route.
  • pnpm --filter @objectstack/spec run check:skill-examples: 344 prose examples type-check across 3 surface(s). The entry's TypeScript block is among them.
  • pnpm --filter @objectstack/spec run check:skill-served-sections: 24 served section(s), each heading exactly once in its file (6 json, 2 json+ts, 16 neutral); 10 JSON fence(s) parse and pass their spec validators.

No behaviour a test pins changed, so no ablation is owed. The eval rounds are under Acceptance notes.

Live check

The eval rounds under Acceptance notes are the live check a skills/** text change owes: skill-evals --skills objectstack-automation on both texts, read on the with-skill arm, subscription login only (oauth_token, no API key), at the model tier and effort the parity ruling names. The two full rounds ran at three repeats on every case because the zone's order asked for the full parity round; the review round ran only the cases its edits touch, and the three cases the L1 record asked about at six repeats. Notional cost the CLI reported, nothing billed: $12.89 and $12.85 for the two full rounds, $3.74 for the review round's ten cases, $1.38 + $2.40 + $1.17 for the six-repeat runs.

Acceptance notes

Eval rounds

Command, every round: pnpm --filter @objectstack/scenarios skill-evals --skills objectstack-automation --repeats N --concurrency 4, with --case for the partial rounds; CLI 2.1.334, subscription login, guard --max-utilization 0.9 (the default), window seven_day, status allowed. evals/** is untouched (read-only measurement hold). Records, with every answer: /mnt/project-files/card-34770/eval/ in the project's files.

Round 1, the full parity pair (29 behaviour cases on both arms and 7 trigger cases, three repeats, 195 of 195 turns each). Before: main's text at 75a2d578 (unchanged on main since), 00:08Z to 00:23Z. After: the cut text at 918df212, 00:28Z to 00:44Z.

main's entry, 10,810 B cut entry at 918df212, 8,992 B
behaviour, with-skill 79/87 81/87
behaviour, no-skill 0/87 0/87
trigger cases 21/21 20/21

Every behaviour case is 3 of 3 on both texts except: flows 2 (main 1/3, head 3/3), flows 4 (3/3, 2/3), flows 12 (1/3, 3/3), flows 14 (0/3, 0/3), flows 19 (3/3, 2/3), integrations 1 (2/3, 2/3). Trigger case 6: 3/3, 2/3.

Round 2, the review round's text (e07adc1b; the two skill files are byte-identical on the pushed head), the ten cases its edits touch, three repeats, 60 of 60 turns: with-skill 26/30, no-skill 0/30. Flows 1, 5, 7, 12, 21 and integrations 2, 3: 3/3. Flows 11: 1/3. Flows 19: 2/3. Integrations 1: 2/3.

Round 3, six repeats by --case on the three cases that read lower on the head in round 1 or 2:

case main's text (440331f1), ×6 head's text (e07adc1b), ×6 all runs, main all runs, head
flows 4 4/6 4/6 7/9 6/9
flows 11 6/6 6/6 9/9 10/12
flows 19 4/6 6/6 7/9 10/12

main's text ran in the head checkout with the two skill files checked out from 440331f1 (the runner reads skills/ from disk); the files were restored and the tree confirmed clean before the head's run.

Reading, case by case

No case fails on every run of the head while main passes it. The one case at 0 of 3 on the head (flows 14) is 0 of 3 on main too.

  • Flows 4 (onboarding wizard): flips on both trees; unstable on both under the ruling. 4 of 6 on each text. main's two failures are answers with no variables key, on the text that still has the isOutput example; the head's round-1 failure is the same miss; the head's two six-repeat failures are correct screen flows that say, in prose, that a wizard which never branches would be a type: 'wizard' form view, which is the case's forbidden literal and comes from a line of the reference file this PR does not change. No with-skill answer on either text writes isInput or isOutput (0 of 18). The missing-variables answer is 2 of 9 on main and 1 of 9 on the head. So the cut of the second variables entry is not what the case measures: no fact is lost, and nothing goes back under ruling 7168461386. The isOutput key's home is the contract, FlowVariableSchema, where first check 3 sends the reader.
  • Flows 19 (should the reacting flow run as system): flips on both trees; unstable on both under the ruling. main 4 of 6 at six repeats; the head 2/3, 2/3 and 6/6. Every failing answer on the head is a prose answer with no flow code, so the literal record-after-update is absent; the entry sentence the case leans on (the record-change trigger with triggerType: 'record-after-update' and its previous. / record. condition) is unchanged.
  • Flows 11 (grant a permission set from a flow): a head-only drop in one round, outside the ruling's text; fact-loss reading: none. 3/3 on both texts in round 1, 1/3 on the head in round 2, then 6/6 on both. The entry bullet the case tests (identity elevation and the delegated-administration gate, docs(skills): the objectstack-automation entry carries a save notice's translation key and names the gate that judges a grant made from a flow #38971's addition) is byte-identical on main and the head. Both failing answers are correct: runAs: 'user', a create_record on sys_user_permission_set, system refused. They do not spell PERMISSION_DENIED (one also omits delegated-administration). No fact is lost, so nothing goes back under ruling 7168461386.
  • Trigger case 6 (a validation rule; must not load): a head-only one-run drop, outside the ruling's text; already ruled. 3/3 on main, 2/3 on the head. The frontmatter, which is all a trigger turn sees before it decides, is byte-identical. The failing turn searched the empty project, found only this skill's files and read two of them. Ruling 7176941587 Q3 A: that false load is the eval seat's to fix, and this PR does not change it.
  • Integrations 1 (DocuSign): 2/3 on both texts in rounds 1 and 2; one answer in each has no defineConnector. Unstable on both.
  • Flows 14 (a notification that opens the case): 0/3 on both. Every answer writes sourceObject:, the case's forbidden literal; the rule a correct answer needs ("with neither and no actionUrl the notice links to the trigger record") is in the entry on both texts. Recorded here and in the report; the case file is under the measurement hold.
  • Flows 2 and flows 12: higher on the head (3/3 against 1/3).

Other notes

  • Two ratchet rows move (the claim was amended for the second, comment 7363248355). skills/objectstack-automation/SKILL.md: 2696 to 2241, ceil((8991 - 27) / 4) = ceil(8964 / 4), lowered, headroom 0. skills/objectstack-automation/references/examples-flows.md: 6433 to 6627, ceil(26505 / 4), raised by +194 for the 776 bytes placed there by this PR, headroom 0, under ruling 7128031203 fork 4 = A. The sum of ceilings falls by 261 (−455 + 194); no row is added. Each row carries its arithmetic and its authority in a comment above it.
  • What the 776 bytes are. About 655 bytes are passages that left the entry: two example lines under "notify — the rest", one sentence under "Filter operands — the rest", the doors and the empty-field spelling in item 1, and the persisting node in item 2 of "Value slots and the other silent traps — the rest". About 120 bytes seat them: the lead-in "The node that persists the entry's outputVariable: 'ai':", the code fence, indentation, and the clause "A {…} token is refused at …" (one clause after it is reworded to follow: "The spellings a refused {…} token is given" now reads "The spellings it is given"). Nothing is removed from the reference file. The skill as a whole is 1,043 bytes smaller.
  • Served sections, and the hosted door's repoint check. The entry has seven sections the hosted door serves by exact heading (packages/spec/scripts/skill-served-sections.json): Data Operations, External Integration, notify, Failure routing & runAs, Filter operands (config.filter), Valid-but-silently-wrong, Integrations are declared, not coded. All seven keep their headings and their block forms (notify its one JSON node; Valid-but-silently-wrong its JSON node list and its TypeScript block), and check:skill-served-sections is green. The text inside each of the seven is shorter. The cloud door pins a commit of this repository and rewrites passages inside served sections; whoever bumps the cloud pin past this commit owes the repoint check (the same carrier as #36934). Not done here: this session cannot read the cloud repository.
  • Anchors. None is removed or renamed. skills/objectstack-data/rules/validation.md links #failure-routing--runas; the two reference files name "§ Failure routing", "§ Flows" and items 3 and 4 of Valid-but-silently-wrong in prose; each still resolves. One link is new: ## Assignment rules links references/examples-flows.md#assignment-rules.
  • The state-introspection route (GET /api/v1/meta/object/:name/state/:field?from=:state) stays in the entry, on the routing line for approvals and state machines: packages/rest/src/meta-state-route-doc-spelling.test.ts pins this file as a teaching site of it.
  • Out of scope, named as ordered: the card's catalog line (the published catalog "falls toward 0.5 MB") is not this PR's to meet or to edit. skills/ is 1,176,327 bytes before and 1,175,284 after.
  • Not done here: evals/** is untouched; no file is added under skills/; no published docs page is edited; no reviewer is requested and the PR stays a draft (governed surface).

Verification

Read first, by risk:

  1. skills/objectstack-automation/SKILL.md, the whole file (190 lines): is anything a model needs before it opens a reference file missing? The risk hunks are ### Failure routing & runAs (the button clause, restored in the review round), item 1 and item 3 of ## Valid-but-silently-wrong (the doors a {…} token is refused at, and the second node of the script pair, both now in the reference file), ### notify (the example lost four lines) and ### Filter operands.
  2. skills/objectstack-automation/references/examples-flows.md: five insertions, each seating a passage that left the entry.
  3. .changeset/34770-automation-skill-router.md: the "what left, and what answers it now" list is the record of every cut.
  4. scripts/check-skills-token-ratchet.mjs: the two rows and their comment blocks.

Two-minute check: node scripts/check-skills-token-ratchet.mjs prints ratcheted (authored) 182153 / 182153 (+0), skills/objectstack-automation/SKILL.md 2241 / 2241 (+0) and skills/objectstack-automation/references/examples-flows.md 6627 / 6627 (+0); wc -c skills/objectstack-automation/SKILL.md prints 8991.

Gates, local, each exit code captured before any pipe. The whole derived list ran again on the pushed head b8eea5f6 (tree 5c021e60), after a plain merge of main at 5a0bb8dd (the gate tool reported a stale tree before it) and a build of the merged workspace under the verify lock (pnpm build --concurrency=2, 124 successful, 124 total, VERDICT command-exit 0). The first head, 40c74104, had the same list green and CI green (29 success, 18 expected skips).

Derived families on head `b8eea5f6`: 71 derived, 71 run green, 0 NOT MEASURED
  • Reconciliation: ✓ dispatch-gates --ran: 71 derived famil(ies) accounted for — 71 run, 0 NOT-MEASURED (a DERIVED zero — all 71 recorded an exit code and none of them is 3). No STALE TREE warning.
  • node scripts/check-skills-token-ratchet.mjs: ✓ check-skills-token-ratchet: 61 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted. (ratcheted (authored) 182153 / 182153 (+0), bundle total 291029); its --self-test: exit 0.
  • pnpm --filter @objectstack/spec run check:skill-refs: 10 generated files in sync with packages/spec.
  • pnpm --filter @objectstack/spec run check:skill-served-sections: the line quoted under Tests.
  • pnpm check:skill-links: 283 relative link(s) in 76 published skill file(s) resolve; 159 fragment(s) name a real heading under GitHub's slug rule.
  • pnpm check:skill-identifier-liveness: Leg 1: 453 citation(s) over 76 published file(s) ...; Leg 2: 11 registered exhaustive section(s), 0 ledgered gap(s).
  • pnpm check:dual-build-cjs-loads: 128 published require entry point(s) across 75 package(s) load; 2623 emitted CommonJS file(s) parse.
  • pnpm check:dts-closure: 124 built package(s) swept - 329/329 declared declaration file(s) present across 121 package(s).
  • pnpm --filter @objectstack/spec run check:skill-docs, pnpm --filter @objectstack/lint run check:doc-formula-expressions, pnpm check:skill-compatibility, check:skill-frame-sync, check:role-word, check:corpus-claim-drift, check:doc-authoring, check:published-files, check:nul-bytes, check:ratchet-remedy-authority: exit 0.
  • The changeset gates (check-changeset-no-major, check-empty-changeset, check-adr-0087-registration, check:changeset-gate-self-tests): exit 0. pnpm check:pm-dispatch-gates: exit 0.
Beside the derived list, on head `b8eea5f6`, all exit 0
  • pnpm --filter @objectstack/spec run check:generated, after the merge and the build: All 14 generated artifacts are up to date.
  • pnpm check:doc-anchors: 1225 internal #fragment link(s) across 369 source file(s) all resolve to a real heading.
  • pnpm check:skill-top-level-keys, pnpm check:skill-frame-freshness: exit 0.
  • node scripts/check-platform-checklist.mjs --changed-from origin/main: 0 anchored files in the change set — nothing judged.

node scripts/pm/overlap-check.mjs on b8eea5f6: VERDICT clean exit 0 (origin/main merges cleanly; #39234 shares the ratchet script and merges cleanly; #38857, the release bot's version PR, shares the entry's stamp line and merges cleanly). Not run locally: test:repo and the test shards (CI's).


Generated by Claude Code

The entry goes from 10,810 to 8,992 bytes; what left with no other home
moves into references/examples-flows.md. Ratchet rows, changeset and the
eval parity reading follow.

Claude-Session: https://claude.ai/code/session_01Utp6Caj1WJjAUzogG5YWv5
Co-authored-by: Claude <noreply@anthropic.com>
The objectstack-automation entry row goes 2696 to 2242 (8,992 bytes, 8,965
priced) and the examples-flows.md reference row 6433 to 6627 (26,505 bytes),
each at its measurement with no headroom. The reference row rises only by
text that moved out of the entry (ruling 7128031203, fork 4 = A); the sum of
ceilings falls by 260.

Claude-Session: https://claude.ai/code/session_01Utp6Caj1WJjAUzogG5YWv5
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/m 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 Dec 3, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE

Contract-review-claim: session_01Utp6CYHCfrNqXVPhRFuHmE · head 40c7410 · 2026-12-03T01:49Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 40c74104780037d0ef7d7e96a79441aa8ce6ebf9
Local-runs: none
Scope: skills/objectstack-automation/SKILL.md, skills/objectstack-automation/references/examples-flows.md + scripts/check-skills-token-ratchet.mjs
Security-touching: yes

PR #39230 (card #34770, Part of), net diff against main: 4 files, merge-base 440331f1; main is now 724b3695 and has not touched the three reviewed paths since. Read: the card body and its 79 comments, the PR body and file list, the diff, the two skill files whole at the head, the check-runs on the head. .changeset/34770-automation-skill-router.md is the lane seat's remainder at TIER_DEFAULT.

Security-touching: yes is meant: the changed hunk of ### Failure routing & runAs takes a permission rule out of the entry (which entrances may start a runAs: 'system' flow, 403 PERMISSION_DENIED), and the changed http row and ## Integrations are declared, not coded hunks carry credential wording. See S1.

① Derived judgments

  • Accept-set: none changes. Right. No schema, validator, lint rule or runtime file is in the diff; nothing an author can write is accepted or refused differently.
  • Public surface: the published @objectstack/skills text. Right as declared. The entry goes 10,810 B / 215 lines to 8,992 B / 189 lines; the reference 25,729 B to 26,505 B (+776); measured on the head's blobs, both as the PR states. Frontmatter and title are untouched, so loading does not change. No heading line is in the diff: the seven served sections of packages/spec/scripts/skill-served-sections.json keep their headings and block forms (notify one JSON node, Valid-but-silently-wrong a JSON node list plus a TypeScript block), and inbound anchors (#failure-routing--runas from objectstack-data/rules/validation.md; "§ Failure routing", "§ Flows", items 3 and 4 named by the reference files) still resolve. One link is new, #assignment-rules, and ## Assignment rules exists in the reference.
  • Ratchet rows. Right. ceil((8992 - 27) / 4) = 2242 and ceil(26505 / 4) = 6627; the reference row rises by 194 = 776 / 4, zero headroom; the two ceilings sum to -260; no row is added. This is the shape ruling 7128031203 fork ④ A allows for moved text (each raised row equals the bytes moved in, the sum does not rise). Claim amendment 7363248355 names the second row.
  • Budget. Right. 8,992 B is inside the card's 6–9 KB, 189 lines under the 500 cap.
  • Gate verdicts. Every check-run on the head is success or skipped (Lint & Repo Gates and its scoped legs, Type Check, Test Core 1–3/12, Check Changeset, Governed Surface Queue Guard, PR-body guards, Check PR Size). None failed, none pending.

② Semver level

'@objectstack/skills': patch, with Clause-②: no and Metadata-protocol: none on the PR body and the changeset. Right: the diff publishes wording only in two skill files, plus two ceiling rows in a repo script that ships in no package. Check Changeset is green.

Clause-②: no — nothing in the diff narrows or widens what the spec accepts.

③ Boundary flags

The dev report (7364428567) has no open_questions. Its flags, answered:

  • Served sections are shorter; the cloud repoint is owed at the pin bump. Answered by ruling 7128031203 ① A: the cloud change that bumps the pin past this commit repoints the hosted sections (precedent #36934). Not this PR's to do. It does bear on S1: a hosted reader of the served section Failure routing & runAs gets that section alone.
  • Eval parity under 7249189592. No case fails on every run of the head while main passes it: holds on the table as reported (flows 14 is 0/3 on both; flows 2 and 12 rise). One thing for the adopting seat, not graded: the ruling's passing sentence is about a case that flips on both trees, and its text names PRs 2–8; this PR is PR 9 and reads it through amendment 7249198313 ("every PR of this split"). Flows 4, flows 19 and triggers 6 are 3/3 on main and 2/3 on the head, so in a three-run sample they flip on the head only. Triggers 6 cannot be this text (frontmatter byte-identical). Flows 19's assertions sit on sentences this diff does not change. Flows 4 (one answer with no variables) is the only one on a changed sentence, the variables example that lost its second entry; the array rule and one entry remain. I read all three as flips under the ruling as the series has applied it; a seat wanting it proven reruns flows 4.
  • Flows 14 fails on both texts on its forbidden literal. Agreed, not a regression of this PR; the rule a correct answer needs is in the entry on both texts. The case file is under skills(objectstack-automation): the save_notice row does not carry the notices translation key, and the identity-elevation bullet does not name the delegated-administration gate or granted_by (eval flows #16, #11) #38940's hold; carrier is the eval seat.
  • Catalog line of Done-when. Out of scope as ordered; the PR is Part of, correctly.
  • Deviations (attribution link names the card thread; the closing lines; no reviewer requested on a draft): none touches the contract.
  • SQL push-down. Not applicable: no query, no id materialisation, no code path in the diff.

④ Design judgment

skills/objectstack-automation/SKILL.md, read against main's entry sentence by sentence, the reference at the head, the card's Scope and rulings, and the eval file.

Kept whole, checked: the ruled flow-shape facts of 7168461386 (type: 'schedule' with the cadence on the start node's config.schedule, once per run, dialect: 'cel', the refused {…} token beside its CEL envelope, defineAssignmentRule beside its approval node); the two lines of 7176941587 ("Nothing to read yet?", the project-form sentence); and both additions of #38971, byte for byte: the save_notice row with flows.{flow}.notices.{node_id}.message in the saver's locale, and the identity-elevation bullet with the delegated-administration gate, the user it judges, the decider past an approval, and granted_by. Neither is in a changed hunk.

Cut text and where it now reaches the reader, each verified in the head's reference: the autolaunched gloss (§ Flow Types); the second variables entry (FlowVariableSchema, where first check 3 sends the reader); connectorConfig.input as a value-slot map (§ External Integration — the rest); the notify message and source-pair examples (moved, § notify — the rest; message is optional in io-node-config.zod.ts, so the shortened node is still valid); the dropped-condition and computed-operand notes and the two null remedies (§ Filter operands — the rest); the registerFlow and executor doors, has(record.owner) ? record.owner : null and current_user.id (item 1 of § Value slots; the refusal itself still "names its CEL spelling" in the entry); the persisting update_record node (item 2 there, consistent with the entry's ai / category names); the once-per-insert sentence and the long hook-and-counter warning (§ Assignment rules). Nothing is restated against the spec: the shortened sentences say less, none says something different. Removing "Most are caught by objectstack build" also ends its disagreement with first check 4 ("Most traps below pass it").

S1 (should-fix) — the button rule left the entry and its bullet now points the wrong way. main: "Writing a readonly field? Set runAs: 'system'. … A button cannot start a runAs: 'system' autolaunched, record_change or schedule flow: elevate the write, not the flow, through a subflow node." The head keeps the instruction and drops the limit. An agent asked for a button that stamps a readonly field follows the entry, declares the autolaunched flow runAs: 'system', and every click answers 403 PERMISSION_DENIED. That shape passes the schema and fails at run time, and I found no publish-time rule for it: flow-update-readonly-field (packages/lint/src/validate-readonly-flow-writes.ts) mentions the button route only in the hint of a runAs: 'user' flow, and is silent once the flow is declared system (rule-explanations/record-writes.ts describes the 403 as run-time). The card's Scope says no trap is removed until a publish-time check covers it or it stays inline. The full text is in the reference (§ Failure routing & runAs — the rest), so nothing is lost from the skill, which is why this is not a must-fix; but the entry bullet is the one a reader acts on, no eval case covers it (parity cannot see the loss), and a hosted reader of the served section gets the bullet without the reference. Fix: put one clause back on that bullet (a button starts an elevated flow only as screen / api, or through a subflow node), paid for inside the 9,000 B (the parenthetical in item 3 restates the node the reference now holds). The row holds to 8,995 B without moving.

N1 (nit) — ## Assignment rules: "⛔ never a hook that picks an owner or a counter field" can be read as a hook that picks a counter field. main had "nor a round-robin counter field"; "nor a counter field" restores the sense.

N2 (nit) — item 3 of Valid-but-silently-wrong: the sentence about the later node ends in a colon and the block under it shows only the script node. The block form is what the served-sections check requires and the sentence is correct; it reads oddly, no more.

skills/objectstack-automation/references/examples-flows.md: five insertions, nothing removed, one clause reworded to follow the sentence added before it. Each insertion is text that stood in main's entry, in the section that mirrors its origin, and agrees with the entry it completes. The file grew by what moved and by nothing else. No finding.

scripts/check-skills-token-ratchet.mjs (implementing file): both rows equal their measurements, the arithmetic lines are right, and the authority cited for the raised row (7128031203 fork ④ A) is the ruling that covers it.

N3 (nit) — the 2242 block says the triggers routing row is one "a section now carries as its own link"; in the tree it joined the examples-flows.md routing line (the changeset says it correctly). Comment wording only.

One should-fix (S1), three nits; no must-fix.

Implemented-by: claude/project-thread-gvlos5
Reviewed-by: session_01Utp6CYHCfrNqXVPhRFuHmE

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE

席位核对

REWORK — L1 of record for PR #39230 (card #34770, PR 9) at head 40c74104780037d0ef7d7e96a79441aa8ce6ebf9; zone ai-1202, isolated TIER_DEFAULT reviewer. Narrow: R1 (eval-parity quote of ruling 7249189592), R2 (flows 4 reading; isOutput example), R3 (body footer). One patch round with the contract review's S1/N1/N3 (record 7364905628).

Rework items (owed before L2 hand-off)

  • R1. The PR body misquotes ruling 7249189592, and the quote is looser than the ruling.
    • What the ruling says: "a case whose result flips between runs on both trees (main and head) is treated as unstable on both and does not block … A case that fails on every run of head while main passes is still a regression."
    • What the body says (§ Rulings this executes): "a case whose result flips between runs does not block". It drops "on both trees". § Reading then calls all five differing cases "a flip between runs".
    • So the ruling is stricter than "no case fails every head run while main passes it". Its safe harbour covers only cases that flip on both trees. Three cases here are main 3/3 → head 2/3: flows 4, flows 19 and triggers 6. They flip on head only, and the ruling's text covers neither them nor their opposite.
    • Series practice for such a case is to give it a fact-loss reading:
      • 7300470521 (PR 7 case 2): "no fact is lost, so nothing goes back under ruling 7168461386".
      • 7305292150 (PR 8 case 8): 2/3 vs 3/3, "ruled A".
    • Fix: quote the ruling exactly. Classify those three cases as head-only one-run drops, each with its own reading.
    • flows 19 already has a valid reading: the entry sentence is unchanged and the failing answer is prose only.
    • triggers 6 has a valid reading: the frontmatter is byte-identical. Add a citation of ruling 7176941587 Q3 A, which already rules this case's false load as the eval seat's to fix.
  • R2. flows 4 has no reading, and its miss sits on a cut this PR made.
    • The head's failing run has no variables.
    • This PR cut the only isOutput example from the skill: skills/objectstack-automation/SKILL.md:59-60, before { name: 'approval_result', type: 'boolean', isOutput: true }. At head, isOutput appears nowhere under skills/objectstack-automation/ outside evals/. Its only home is the contract pointer (FlowVariableSchema, packages/spec/src/automation/flow.zod.ts:265).
    • The case's expected_output names "explicit variables entries ({ name, type, isInput, isOutput })".
    • The round artefacts under /mnt/project-files/card-34770/eval/ hold no per-run answers, so L1 cannot do this reading itself.
    • Owed: run flows-triggers-approvals#4 alone on the head text at ≥6 repeats, the series precedent (PR 3 case 12 ×8, PR 4 case 13 ×6, both by --case), and write the reading into the body.
      • If the case reads as noise, give the numbers and stop there.
      • If it reads lower, restore the isOutput half inside the 9,000 B budget, paid by a cut elsewhere in the entry, and re-pin the row at the measurement.
  • R3 (fold into the same body patch; not a rework reason by itself).
    • (a) Footer: AGENTS.md:432-437 sets the PR-body form as --- + _Generated by [Claude Code](https://claude.ai/code/session_<id>)_, and PRs 5–8 (docs(skills): the objectstack-project entry file becomes a router #38868, docs(skills): the objectstack-ai entry file becomes a router #38911) used it. This body ends with the 🤖 Generated with … line plus a bare session URL. The order asked for that line, but AGENTS.md wins (AGENTS.md:6).
    • (b) Attribution link: it names thread …UMzxRnkW8ZpdbwwJggSNds; the order named the zone thread …UwbwcnVFGBgQzaCTFpnAff. Both are in the same channel (chan_016iMXWSZDzqWRWvWzdNo8wg) under the same github_login: os-bill marker, and the machine-read part is correct. It matters only as provenance, and the dev declared the deviation. Switching the link to the zone thread during this patch is cheap; it is not a merge issue.

Checklist conclusions

  • PR shape (l1-face --pr 39230: CLEAN, 13 items):
    • Open, draft, base main.
    • First line Part of #34770. No closing keyword anywhere; body scanned by eye and by regex.
    • Clause-②: no and Metadata-protocol: none each open a line.
    • No content/docs/releases/ path. No NUL suspects.
  • Card relation: Part of is correct, because Done-when line 2 (the catalog toward 0.5 MB) stays open. At landing, pm:dispatched is removed by hand (landing rule B).
  • Changeset:
    • .changeset/34770-automation-skill-router.md takes '@objectstack/skills': patch.
    • packages/skills is published: it is not private, and its files are dist, README and CHANGELOG. The changeset uses the same package and level as docs(skills): the objectstack-ai entry file becomes a router #38911's.
    • Read sentence by sentence against the tree: every "what left → what answers it now" claim resolves on head. Checked:
      • examples-flows.md § Flow Types :12.
      • § External Integration — the rest :65.
      • § notify — the rest :71-85.
      • § Failure routing & runAs — the rest: the button/403/subflow text at :108-117.
      • § Filter operands — the rest :146-152.
      • § Value slots item 1 :160-170 and item 2 :187-196.
      • § Assignment rules :263-289.
      • FlowVariableSchema at packages/spec/src/automation/flow.zod.ts:265.
    • No model name in the changeset, the body or the ratchet comments.
    • l1-face's "no published package touched" line reads the four paths only. It does not change this finding.
  • Scope:
    • The diff is 4 files.
    • The claim (7362651148, amended 7363248355) names the entry, references/ and the two ratchet rows.
    • It does not name the changeset, which the dispatch order requires. The claim omitted it; the dev's diff is not at fault. Accepted.
    • evals/** is untouched.
  • Gates and CI at head 40c7410:
    • Lint & Repo Gates and TypeScript Type Check: success.
    • All checks: 29 success, 18 expected skip, 0 failed, 0 pending.
    • The dev's local lap (71 derived, 71 run, 0 NOT-MEASURED) is pinned to this head.
    • L1 re-ran the ratchet on a detached checkout of the head:
      • skills/objectstack-automation/SKILL.md is 2242 tokens (ceiling 2242; headroom 0), with a 27-byte stamp line.
      • references/examples-flows.md is 6627 tokens (ceiling 6627; headroom 0).
    • The checkout was removed afterwards. Nothing was committed.

Judged points from the brief

  1. Budget: holds.
    • Byte counts read from the blobs:

      File Before After
      Entry SKILL.md 10,810 B / 215 lines 8,992 B / 189 lines (≤ 9,000)
      examples-flows.md 25,729 B 26,505 B (+776)
      skills/objectstack-automation/** 117,869 B 116,827 B (−1,042, net smaller)
    • The skill files have not changed between 75a2d57 (the eval's "before"), 440331f (merge base) and origin/main 724b369. The head's skill files equal those at 918df21 (the eval's "after").

    • Moved-text check, removed entry lines against added reference lines:

      • Every passage added to the reference is text that left the entry: the message literal; the sourceObject/sourceId/actionUrl literal; "Route around the node with a decision; …"; the three refusing doors; the has(record.owner) spelling; the apply node.
      • The apply node's names were shortened to match the entry's renamed script node.
      • Measured split of the +776 B: about 655 B is moved literal text. About 120 B is the lead-in "The node that persists the entry's outputVariable: 'ai':", the fence lines, indentation, and the "A {…} token is refused at …" clause that seats the moved doors. That clause is offset by the reword "The spellings a refused {…} token is given" → "The spellings it is given".
    • "776 bytes, all of it text that left the entry" (changeset and row comment) is therefore slightly overstated. Accepted as a deviation, because the connective is needed to place the moved text and the sum of ceilings still falls.

  2. Ratchet rows: hold.
  3. Eval parity: NOT CLEARED as written.
    • The numbers match both summaries (/mnt/project-files/card-34770/eval/*/summary.md and round.json):

      Text Behaviour, with skill No skill Triggers
      main 75a2d57 79/87 0/87 21/21
      head 918df21 81/87 0/87 20/21

      Both rounds ran 195/195 turns with the same driver, sonnet at medium effort, and the 0.9 guard.

    • No case fails every head run while main passes it: flows 14 is 0/3 on both texts.

    • Done-when's "at least as often" holds in aggregate: behaviour is +2, triggers −1 (101 vs 100 combined).

    • The ruling's own rule is stricter than that floor; see R1. The three head-only drops need readings, and flows 4 lacks one; see R2.

  4. Value density from the customer agent's seat: acceptable; pointers resolve on main.
    • Each routing target exists on origin/main:
      • references/_index.md
      • examples-flows.md, and #assignment-rules (heading :248 on main)
      • state-machines-and-approvals.md
      • integration-recipes.md
      • objectstack-data rules/lifecycle.md § Save Notice (:148)
      • objectstack-formula § Verify your work
    • All seven served headings are kept: check:skill-served-sections is green in CI and in the dev's lap. The cross-skill anchor #failure-routing--runas still resolves.
    • The ruled facts are kept on head:
      • project form at SKILL.md:53
      • type: 'schedule' with its cadence at :55-57
      • variables as an array at :59
      • type: 'approval' at :70
      • save_notice with its translation key at :79
      • once per run at :109
      • the delegated-administration gate whole at :118-123
      • requiredPermissions at :126
      • the {…} token with dialect: 'cel' at :138-144
      • defineAssignmentRule beside its approval at :178-181
      • "Nothing to read yet?" at :35
    • Spot nits, not owed:
      • SKILL.md:109 is now one unwrapped line of about 150 characters.
      • SKILL.md:189 demotes the integration-recipes link to a code-span path. The routing list at :48-49 still links it.
      • SKILL.md:139 no longer lists input.* / collection. The item's rule is general, and the reference lists them.
    • The one fact lost from the skill outright is isOutput; see R2.
  5. PR body:
    • Attribution marker: present.
    • Part of #34770: present.
    • Line-start declarations: present.
    • ## 维护者速读: 4 Chinese lines covering what, why, risk, and what Bill does.
    • Acceptance notes: they carry the two-row arithmetic, the served-section / cloud-pin repoint carrier (whoever bumps the cloud pin; precedent #36934), the anchors, and the catalog line as out of scope. The two eval rounds are in § Eval parity and § Live check rather than in Acceptance notes. That is acceptable, because the body carries both.
    • Footer and attribution link: see R3.

Deviations accepted

  • About 120 B of connective text inside the +776 B row raise (point 1). Recommended wording for the re-patch: "≈655 B moved, ≈120 B lead-in/fence seating it". The ratchet comment may stay as is.
  • The claim surface does not name the changeset (see Scope).
  • The attribution link names the card's working thread (R3b): immaterial.
  • The eval ran on the dev's 918df212 rather than the pushed head. The skill files are byte-identical, verified by git diff --stat 918df212 40c74104 -- skills/objectstack-automation (empty).

Out of scope (named, not filed here)

…ause

Contract review 7364905628, S1: the entry told an author to set
runAs: 'system' for a readonly write and had dropped the limit that a
button cannot start such a flow, a trap no publish-time check covers. One
clause on that bullet restores it: a button starts a system flow only as
screen / api, or through a subflow node. Paid inside the entry (the notify
row's purpose, the integrations pointer, the last runAs bullet, item 3's
sentence, which now follows its script node). Also from that review: "nor a
counter field" in the assignment rule, and the ratchet block's routing-row
wording.

The entry is 8,991 bytes and 190 lines; its row is re-pinned at the
measurement, 2242 to 2241.

Claude-Session: https://claude.ai/code/session_01Utp6Caj1WJjAUzogG5YWv5
Co-authored-by: Claude <noreply@anthropic.com>
About 655 bytes are passages that left the entry; about 120 are the lead-in
sentence, the code fence and the clause that seat them in the reference file.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE

Contract-review-claim: session_01Utp6CYHCfrNqXVPhRFuHmE · head b8eea5f · 2026-12-03T03:19Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: b8eea5f6071bdea9f92f8eae1a6360c3aee7ca4e
Local-runs: none
Scope: skills/objectstack-automation/SKILL.md, skills/objectstack-automation/references/examples-flows.md + scripts/check-skills-token-ratchet.mjs
Security-touching: yes

Delta review of PR #39230 (card #34770, Part of) after record 7364905628 on 40c74104. New commits: e07adc1b, d0180669, and a merge of main at 5a0bb8dd. Read: the diff 40c74104..b8eea5f6 on the reviewed paths, the net diff against main (still 4 files; merge-base 5a0bb8dd, main now 1fe9c628, neither has touched the three reviewed paths), the entry at the new head, the dev's delta report (7366437159), the check-runs on the new head. Everything the first record judged and this delta does not touch stands as judged there. .changeset/34770-automation-skill-router.md remains the lane seat's at TIER_DEFAULT.

Security-touching: yes is meant: the delta's own hunk in ### Failure routing & runAs teaches which flows a button may start elevated, and rewords the requiredPermissions bullet.

① Derived judgments

  • Accept-set: none changes. Right. The delta is wording in the entry, two numbers and comment text in the ratchet script, and changeset prose.
  • Public surface. Right. The entry is 8,991 B / 190 lines (was 8,992 / 189), inside 6–9 KB. references/examples-flows.md is byte-for-byte what it was on 40c74104 (26,505 B). No heading line changes; the seven served sections and their block forms are as before (item 3 still carries its JSON node list and its TypeScript block).
  • Ratchet rows. Right. ceil((8991 - 27) / 4) = ceil(8964 / 4) = 2241, the entry row moves 2242 to 2241, zero headroom; the reference row stays 6627 = ceil(26505 / 4); the two ceilings now sum to -261 (-455 + 194), and the reference row's comment follows (-454 to -455). Still the shape of ruling 7128031203 fork ④ A.
  • Gate verdicts. On the new head: 30 check-runs success, 20 skipped, none failed. One PR-body guards run is cancelled (143971191512); the run that replaced it after the body edit is success (143971478903). Governed Surface Queue Guard, Check Changeset, Lint & Repo Gates, TypeScript Type Check and Test Core are green.

② Semver level

Unchanged and right: '@objectstack/skills': patch, wording only. The changeset's numbers follow the new head (190 lines, row 2241, sum -261) and it now says what the 776 bytes in the reference are.

Clause-②: no — nothing in the diff narrows or widens what the spec accepts.

③ Boundary flags

The delta report has no open_questions. Its flags, answered:

  • Eval parity, the flag my first record left for the seat. Answered by measurement: flows 4 at six repeats reads 4/6 on main's text and 4/6 on the head's, so it flips on both trees and passes under 7249189592 as amendment 7249198313 words it; the isOutput example is rightly not put back. Flows 19 reads 4/6 on main and 6/6 on the head. Triggers 6 stays the eval seat's (7176941587 Q3 A; frontmatter byte-identical).
  • Flows 11 dipped once on the review text (1/3), then 6/6 on both texts. Not a regression: no case fails on every run of the head, and the bullet that case reads (identity elevation, the delegated-administration gate, granted_by, PERMISSION_DENIED) is not in any hunk of the PR.
  • Eval case literals (flows 4's forbidden type: 'wizard', flows 11's required PERMISSION_DENIED): the eval seat's, under skills(objectstack-automation): the save_notice row does not carry the notices translation key, and the identity-elevation bullet does not name the delegated-administration gate or granted_by (eval flows #16, #11) #38940's hold. Not this PR's.
  • Deviations (attribution link unchanged; extra eval rounds beyond the order; main's text measured in the head checkout and restored; one more main merge): none touches the contract. The merge brought nothing into the reviewed paths.
  • Served sections and the cloud repoint: as in the first record, cloud's at the pin bump (7128031203 ① A).
  • SQL push-down. Not applicable: no query or code path in the diff.

④ Design judgment

skills/objectstack-automation/SKILL.md

S1: closed. The readonly bullet again carries the limit: "A button starts a system flow only as screen / api, or through a subflow node." That agrees with the code it restates (packages/lint/src/rule-explanations/record-writes.ts: a button does not start an autolaunched, record_change or schedule flow declared runAs: 'system'; the elevated routes are a screen or api flow, or a user-run flow whose subflow node calls the elevated one) and with the long form in the reference (§ Failure routing & runAs — the rest). The clause sits in the served section, so a hosted reader gets it too.

What paid for it, each checked:

  • The requiredPermissions bullet now reads "Gate an elevated flow here", without screen / api. Nothing is lost: the bullet two above now says which elevated flows a user can start, the rule (gate at the flow's start, never on current_user.positions inside it) is whole, and the reference keeps the long sentence.
  • The notify row reads "See below". The section it points at follows.
  • The closing line of ## Integrations are declared, not coded is shorter, same list, same path.

N1: taken ("never a hook that picks an owner, nor a counter field").
N2: taken (the script block now follows the sentence that introduces it; the sentence on the later update_record comes after the block, and its category / ai.category names match the node in the reference).

Both #38971 additions and the ruled facts of 7168461386 and 7176941587 are untouched by the delta.

skills/objectstack-automation/references/examples-flows.md: unchanged in this delta. No finding.

scripts/check-skills-token-ratchet.mjs (implementing file): the row equals the measurement, and the comment block now says what the tree does.

N3: taken (the triggers row is described as joining the examples-flows.md routing line; the block also records why the button clause stays in the entry).

No must-fix, no should-fix.

Implemented-by: claude/project-thread-gvlos5
Reviewed-by: session_01Utp6CYHCfrNqXVPhRFuHmE

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE

席位核对

ACCEPT — L1 of record for PR #39230 (card #34770, PR 9) at head b8eea5f6071bdea9f92f8eae1a6360c3aee7ca4e, delta after REWORK 7364954194; zone ai-1202, isolated TIER_DEFAULT reviewer. Contract review at CONTRACT_REVIEW_TIER: PASS on this head, record 7366510425 (S1 closed; no must-fix, no should-fix). Governed surface (skills/**) ⇒ Tier H: the zone does not land it; handed to the seat for the hand-off to approvers.

Rework items R1–R3

R1 — cleared.

  • The PR body now quotes ruling 7249189592 word for word, including "on both trees (main and head)" and the regression sentence. It also quotes the seat's series reading, 7249198313, word for word. It says plainly that a case dropping on the head only falls outside the rule's text and gets a fact-loss reading instead, citing the series precedents 7300470521 and 7305292150.
  • The body gives a reading per case under ## Acceptance notes › ### Reading, case by case, covering:
    • flows 4
    • flows 19
    • flows 11 (new in round 2)
    • triggers 6, citing ruling 7176941587 Q3 A
    • integrations 1
    • flows 14
    • flows 2 and flows 12
  • ### Eval rounds sits under Acceptance notes and lists rounds 1–3.

R2 — cleared. The six-repeat reading satisfies R2, and I checked it against the per-run records in /mnt/project-files/card-34770/eval/ (answers are now kept):

  • Pass counts:

    Case main ×6 (eval-x6-main-440331f1) head ×6 (eval-f4-head-e07adc1b)
    flows 4 4/6 4/6

    Both rounds used the same case hash (…26de9c27), the same driver, sonnet at medium effort, and the 0.9 guard.

  • All runs: main 7/9, head 6/9. Under the ruling's own text, flows 4 flips on both trees, so it is unstable on both and does not block.

  • Why main's runs failed: both of main's six-repeat failures are missing ['variables'], on the text that still carries the isOutput example.

  • Why the head's runs failed: both of the head's six-repeat failures are forbidden ["type: 'wizard'"]. I read both answers (r3 and r6). Each is a correct branching screen flow with a decision, and each mentions the wizard only in prose, as the alternative to a flow that never branches. That literal comes from references/examples-flows.md:18, which is byte-identical at 440331f and at b8eea5f.

  • isOutput and isInput: no with-skill answer on either text writes either key, 0 of 18 (I counted).

  • Conclusion: the cut isOutput example is not what this case measures. Leaving it out is acceptable, and its home in the contract (FlowVariableSchema) is reached through first check 3.

R3 — cleared, with one declared deviation.

  • (a) The footer is now --- + _Generated by [Claude Code](https://claude.ai/code/session_…)_ (AGENTS.md:432-437).
  • (b) The attribution link still names the card's working thread (…UMzxRnkW8ZpdbwwJggSNds), not the zone thread. I confirm this is acceptable as the declared deviation: the machine-read claude-projects-attribution marker (os-bill) is correct, and both threads sit in the same channel. It is provenance only.

Other case readings (checked against the records)

  • flows 19. Pass counts:

    Text Rounds Total
    main 3/3 + 4/6 7/9
    head 2/3 + 2/3 + 6/6 10/12

    It flips on both trees, and the head's failures are prose answers without the literal record-after-update.

  • flows 11. Pass counts:

    Text Rounds Total
    main 3/3 + 6/6 9/9
    head 3/3 + 1/3 + 6/6 10/12

    This is a head-only drop in one round, so it needs a fact-loss reading. The Elevation bullet it tests, the docs(skills): the objectstack-automation entry carries a save notice's translation key and names the gate that judges a grant made from a flow #38971 gate, is byte-identical between 40c7410 and b8eea5f, and I checked that in the delta diff. I read both failing answers:

    • Each writes runAs: 'user', a create_record on sys_user_permission_set, says system is refused, and names the gate's judgement and granted_by.
    • One answer lacks the literal PERMISSION_DENIED. The other lacks both PERMISSION_DENIED and the literal delegated-administration, writing "delegated-admin rights" instead; the body notes this.
    • No fact is lost.
  • triggers 6. Main 3/3, head 2/3. The frontmatter is byte-identical, and ruling 7176941587 Q3 A already puts this false load with the eval seat.

  • Overall. No case fails every head run while main passes it.

Delta since 40c7410

The delta is the S1 and N1–N3 fixes, the row re-pin and a main merge. Nothing else changed:

  • Commits: e07adc1b (SKILL.md and ratchet), d0180669 (changeset), b8eea5f6 (merge of main at 5a0bb8d).

  • Files from main: the merge brings in no change under skills/objectstack-automation/ or to the ratchet script (git diff 440331f1 5a0bb8dd: empty).

  • Diff against the merge base: still the same 4 files.

  • Same text as measured: the skill files are byte-identical between e07adc1b and the head, which is the text rounds 2 and 3 measured.

  • SKILL.md changes:

    • S1: one clause on the readonly bullet, "A button starts a system flow only as screen / api, or through a subflow node". It agrees with examples-flows.md § Failure routing & runAs — the rest.
    • Paid for by trims:
      • the notify row now reads "See below"
      • "gate an elevated flow here"
      • the item-3 sentence moved after its block (N2)
      • the integrations pointer is shorter
    • N1: "nor a counter field".
  • Bytes:

    Path Before After
    Entry (SKILL.md) 10,810 B / 215 lines 8,991 B / 190 lines (≤ 9,000)
    examples-flows.md 25,729 B 26,505 B (unchanged this round)
    Skill 117,869 B 116,826 B (−1,043)
  • Ratchet: I re-ran it on a detached checkout of b8eea5f and removed the checkout afterwards; nothing was committed.

    • SKILL.md 2241 / 2241 (+0) and examples-flows.md 6627 / 6627 (+0).
    • ratcheted (authored) 182153 / 182153 (+0).
    • The row comments carry ceil(8964/4), ceil(26505/4), "−455 + 194", and fork ④ A.
  • Moved-bytes deviation from the first L1: now stated accurately in the changeset (line 29) and in the body ("about 655 moved, about 120 seat them").

Mechanical face and checks

  • l1-face --pr 39230 at b8eea5f. Every item is ok except one flag on all-checks: a PR-body guards run marked cancelled. I read the check-runs: run 143971191512 was cancelled at 02:55:58Z, and run 143971478903, the same check on the same head, succeeded at 02:56:39Z, started by the body edit. The run was replaced and the check is green. I take this as no finding.
  • Other checks:
    • Lint & Repo Gates: success.
    • TypeScript Type Check: success.
    • 30 success, 20 expected skip, 0 pending.
    • mergeable_state clean.
    • Still a draft.
  • PR body:
    • The first line is Part of #34770, with no closing keyword (regex and eye).
    • The Clause-②: and Metadata-protocol: lines start their lines.
    • ## 维护者速读 has 4 lines in Chinese and is updated for the review round.
    • No model names in the body or the changeset.

Deviations accepted

  • The attribution link names the card thread, not the zone thread (R3b): declared, immaterial.
  • The main text for round 3 ran in the head checkout, with the two skill files checked out from 440331f. The deviation is declared, and the runner record notes "with uncommitted changes under the runner or skills/".
  • The extra rounds (round 2 on ten touched cases; flows 11 and 19 at six repeats) went beyond the order, which strengthens the reading.

Nits, not owed

  • ### Eval rounds says "CLI 2.1.334, every round". Rounds 2 and 3 actually ran on 2.1.335 (from round.json). Both arms of round 3 used the same version, so the comparison is unaffected. Correct it if the body is patched again.
  • The flows 11 reading in the delta report says "without spelling PERMISSION_DENIED" and does not mention the missing delegated-administration literal in the second answer. The PR body does mention it.

Out of scope (carried, unchanged)

Next step: the contract-tier L2 re-check of the S1/N1–N3 hunks belongs to the seat. This is a governed surface (Tier H), so the PR stays a draft until the seat hands it off.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

维护者速读

席位核对

ACCEPT · head b8eea5f6071bdea9f92f8eae1a6360c3aee7ca4e · repo:objectstack@os-bill

  1. Shape: 4 files, +142/−89. skills/objectstack-automation/SKILL.md (+57/−82, the router cut), skills/objectstack-automation/references/examples-flows.md (+18/−5), scripts/check-skills-token-ratchet.mjs (rows re-pinned at the measurement) and one changeset. Part of skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770 (PR 9).
  2. Premises measured: eval rounds 1 to 3 and a six-repeat reading on main and on the head, recorded in the PR body under ## Acceptance notes and checked by the zone against the per-run records in /mnt/project-files/card-34770/eval/. Flows 4 scores 4/6 on both trees, so it is unstable on both and, under ruling 7249189592, not a regression.
  3. Gates: check-runs at this head show 30 success, 20 rostered skips and 0 failed. One run was cancelled, superseded by a re-run. Mergeable is clean. The zone L1 ACCEPT is 7366547617 (a delta after REWORK 7364954194). Contract review at CONTRACT_REVIEW_TIER passed: 7364905628, then delta PASS 7366510425 on this head with S1 closed. Security-touching: yes.
  4. Accepted deviations: the attribution link names the card's working thread rather than the zone thread; the zone records this as provenance only (R3b).
  5. Out of scope: skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770 stays open for Done-when line 2 (the catalog toward 0.5 MB), which needs a maintainer decision. Zone follow-ups are Scenario scorer and runner: two more whole-text JSON parses miss a tool body followed by the CLI schema note (isRefusal, createdIdOf) #39208 and docs: layout-dsl says record:related_list columns are field-name strings only, but the prop also accepts column objects #39240. Skills-docs: updated here.
  6. Landing: Tier H (skills/**). Handed to the approver; the seat lands after approval, then removes pm:dispatched from skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

维护者速读

Review requested · 2026-12-03T03:26Z · Tier H (skills/**). The seat ACCEPT and contract review PASS 7366510425 are at Head-sha: b8eea5f6071bdea9f92f8eae1a6360c3aee7ca4e. Please approve at this head. On approval the seat lands it (ready + auto-merge) under the maintainer's authorization of 2026-12-02T12:07Z (「审批人批准后的 Tier H PR 你可以自主落地」).

@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 Dec 3, 2026
@objectstack-fleet
objectstack-fleet Bot requested a review from os-zhuang December 3, 2026 03:27
@os-zhuang
os-zhuang marked this pull request as ready for review December 3, 2026 03:29
@os-zhuang
os-zhuang added this pull request to the merge queue Dec 3, 2026
Any commits made after this event will not be merged.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue security size/m 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