Repository navigation
docs(skills): the objectstack-automation entry file is cut back to the router budget - #39230
objectstack-fleet[bot] wants to merge 7 commits into
Conversation
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>
|
repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE Contract-review-claim: session_01Utp6CYHCfrNqXVPhRFuHmE · head 40c7410 · 2026-12-03T01:49Z |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE Contract reviewServed-tier: PR #39230 (card #34770,
① Derived judgments
② Semver level
Clause-②: no — nothing in the diff narrows or widens what the spec accepts. ③ Boundary flagsThe dev report (7364428567) has no
④ Design judgment
Kept whole, checked: the ruled flow-shape facts of 7168461386 ( Cut text and where it now reaches the reader, each verified in the head's reference: the S1 (should-fix) — the button rule left the entry and its bullet now points the wrong way. N1 (nit) — 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
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 One should-fix (S1), three nits; no must-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE 席位核对REWORK — L1 of record for PR #39230 (card #34770, PR 9) at head Rework items (owed before L2 hand-off)
Checklist conclusions
Judged points from the brief
Deviations accepted
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>
|
repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE Contract-review-claim: session_01Utp6CYHCfrNqXVPhRFuHmE · head b8eea5f · 2026-12-03T03:19Z |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE Contract reviewServed-tier: Delta review of PR #39230 (card #34770,
① Derived judgments
② Semver levelUnchanged and right: Clause-②: no — nothing in the diff narrows or widens what the spec accepts. ③ Boundary flagsThe delta report has no
④ Design judgment
S1: closed. The What paid for it, each checked:
N1: taken ("never a hook that picks an owner, nor a counter field"). Both #38971 additions and the ruled facts of 7168461386 and 7176941587 are untouched by the delta.
N3: taken (the triggers row is described as joining the No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CYHCfrNqXVPhRFuHmE 席位核对ACCEPT — L1 of record for PR #39230 (card #34770, PR 9) at head Rework items R1–R3R1 — cleared.
R2 — cleared. The six-repeat reading satisfies R2, and I checked it against the per-run records in
R3 — cleared, with one declared deviation.
Other case readings (checked against the records)
Delta since 40c7410The delta is the S1 and N1–N3 fixes, the row re-pin and a main merge. Nothing else changed:
Mechanical face and checks
Deviations accepted
Nits, not owed
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. |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd 维护者速读
席位核对ACCEPT · head
|
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd 维护者速读
Review requested · 2026-12-03T03:26Z · Tier H ( |
Requested by Bill · project thread
Part of #34770
Clause-②: no
Metadata-protocol: none
维护者速读
Rulings this executes
objectstack-automationonly): 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 (thesave_noticetranslation key, the delegated-administration gate) is lost; a reference file may grow only by what moved out of the entry.type: 'schedule'and where its cadence sits,once per run,dialect: 'cel', the rule on{…}references in a value slot, anddefineAssignmentRulebeside its approval step. Each is in the cut entry.objectstack-queryto that trigger case's candidate set. This PR does not change it."config-plugins-opscase 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 whilemainpasses 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, commitse07adc1bandd0180669, then a plain merge ofmain.readonlyfield? SetrunAs: 'system'" and had dropped the limit beside it, so an author following the bullet could declare a button-started flowrunAs: 'system'and get403on every click; no publish-time check covers that shape. The bullet now ends: "A button starts a system flow only asscreen/api, or through asubflownode." The long form (the403, why thesubflowroute is preferred) stays inreferences/examples-flows.md§ Failure routing &runAs— the rest. Paid inside the entry: thenotifyrow's purpose is "See below"; the integrations pointer is shorter; the lastrunAsbullet says "gate an elevated flow here" without repeatingscreen/api; item 3's sentence about the later node is shorter.## Assignment rulesreads "never a hook that picks an owner, nor a counter field".scriptnode's block now follows the sentence aboutconfig.function, and the sentence about the laterupdate_recordcomes after the block, with itsfieldsliteral in the entry's TypeScript form.examples-flows.mdrouting line, and that the button rule's limit stays in the entry.isOutputexample is not put back. Run alone at six repeats: 4 of 6 onmain's text, 4 of 6 on the head's. The reading is under Acceptance notes.cmsg_016iMXWSZDzqWRWvWzdNo8wgUwbwcnVFGBgQzaCTFpnAffin the same project.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.mdis 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):
references/examples-flows.mdalready held in full: theautolaunchedgloss, 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 routesvariablesentry (an output variable):FlowVariableSchemainautomation/flow.zod.ts## Assignment rulesreferences/examples-flows.md: themessageandsourceObject/sourceId/actionUrllines of thenotifyexample; "route around the node with adecision; to match an empty field, write the literalnull"; theregisterFlowand executor doors with thehas(record.owner)spelling; the second node of thescriptexampleobjectstack build" (first check 4 and each item say where a trap is refused); "evaluated before the query"; thepackage.jsonpath of first check 1; "As JSON:"; "mail-only,"What #38971 added is all still in the entry: the
save_noticerow 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 asgranted_by, or refuses it).Sizes (bytes; tokens are the ratchet's, the release-stamp line unpriced):
mainat5a0bb8ddb8eea5f6skills/objectstack-automation/SKILL.mdskills/objectstack-automation/references/examples-flows.mdskills/objectstack-automation/**(10 files)SKILL.mdskills/(115 files)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-automationon 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--casefor the partial rounds; CLI 2.1.334, subscription login, guard--max-utilization 0.9(the default), windowseven_day, statusallowed.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 at75a2d578(unchanged onmainsince), 00:08Z to 00:23Z. After: the cut text at918df212, 00:28Z to 00:44Z.main's entry, 10,810 B918df212, 8,992 BEvery behaviour case is 3 of 3 on both texts except: flows 2 (
main1/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
--caseon the three cases that read lower on the head in round 1 or 2:main's text (440331f1), ×6e07adc1b), ×6mainmain's text ran in the head checkout with the two skill files checked out from440331f1(the runner readsskills/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
mainpasses it. The one case at 0 of 3 on the head (flows 14) is 0 of 3 onmaintoo.main's two failures are answers with novariableskey, on the text that still has theisOutputexample; 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 atype: '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 writesisInputorisOutput(0 of 18). The missing-variablesanswer is 2 of 9 onmainand 1 of 9 on the head. So the cut of the secondvariablesentry is not what the case measures: no fact is lost, and nothing goes back under ruling 7168461386. TheisOutputkey's home is the contract,FlowVariableSchema, where first check 3 sends the reader.main4 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 literalrecord-after-updateis absent; the entry sentence the case leans on (the record-change trigger withtriggerType: 'record-after-update'and itsprevious./record.condition) is unchanged.mainand the head. Both failing answers are correct:runAs: 'user', acreate_recordonsys_user_permission_set, system refused. They do not spellPERMISSION_DENIED(one also omitsdelegated-administration). No fact is lost, so nothing goes back under ruling 7168461386.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.defineConnector. Unstable on both.sourceObject:, the case's forbidden literal; the rule a correct answer needs ("with neither and noactionUrlthe 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.Other notes
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.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'soutputVariable: '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.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 (notifyits one JSON node; Valid-but-silently-wrong its JSON node list and its TypeScript block), andcheck:skill-served-sectionsis 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.skills/objectstack-data/rules/validation.mdlinks#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 ruleslinksreferences/examples-flows.md#assignment-rules.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.tspins this file as a teaching site of it.skills/is 1,176,327 bytes before and 1,175,284 after.evals/**is untouched; no file is added underskills/; no published docs page is edited; no reviewer is requested and the PR stays a draft (governed surface).Verification
Read first, by risk:
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 thescriptpair, both now in the reference file),### notify(the example lost four lines) and### Filter operands.skills/objectstack-automation/references/examples-flows.md: five insertions, each seating a passage that left the entry..changeset/34770-automation-skill-router.md: the "what left, and what answers it now" list is the record of every cut.scripts/check-skills-token-ratchet.mjs: the two rows and their comment blocks.Two-minute check:
node scripts/check-skills-token-ratchet.mjsprintsratcheted (authored) 182153 / 182153 (+0),skills/objectstack-automation/SKILL.md 2241 / 2241 (+0)andskills/objectstack-automation/references/examples-flows.md 6627 / 6627 (+0);wc -c skills/objectstack-automation/SKILL.mdprints 8991.Gates, local, each exit code captured before any pipe. The whole derived list ran again on the pushed head
b8eea5f6(tree5c021e60), after a plain merge ofmainat5a0bb8dd(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
✓ 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.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.mjsonb8eea5f6:VERDICT clean exit 0(origin/mainmerges 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:repoand the test shards (CI's).Generated by Claude Code