Repository navigation
docs(skills): the objectstack-data and objectstack-automation entry files become routers - #38347
Conversation
SKILL.md keeps the first checks, the run-time traps, the routing table and the sections the hosted door serves by heading; the text that left moved into the skill's existing rule and reference files. Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET Co-authored-by: Claude <noreply@anthropic.com>
SKILL.md keeps the first checks, the routing table, the trigger rule and the seven sections the hosted door serves by heading; the text that left moved into references/examples-flows.md and integration-recipes.md. Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET Co-authored-by: Claude <noreply@anthropic.com>
The moved data and automation text no longer repeats its SKILL.md section; restated key rows a check already refuses are gone. Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET Co-authored-by: Claude <noreply@anthropic.com>
… routers The two SKILL.md rows follow their files down to the measurement, which pins the 9 KB budget; seven receiving rows move by the measured bytes that left the entry files. Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET Co-authored-by: Claude <noreply@anthropic.com>
… re-pinned Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET Co-authored-by: Claude <noreply@anthropic.com>
…oken Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET Co-authored-by: Claude <noreply@anthropic.com>
…ctor-input text main's two hunks to objectstack-automation/SKILL.md land where this branch moved their sections: the connector_action row in references/examples-flows.md, the inbound-webhook bullets in references/integration-recipes.md. Three ratchet rows re-pinned at the merged measurement. Claude-Session: https://claude.ai/code/session_017xRBcULDAsasAL8sAQTfET Co-authored-by: Claude <noreply@anthropic.com>
… relocated text; ratchet rows not yet re-pinned Claude-Session: https://claude.ai/code/session_01QSeKYoBFwgPdc8gN56sREh Co-authored-by: Claude <noreply@anthropic.com>
… nine rows re-pinned at the measurement Main's additions to the two entry files since the branch point (the colour row, fieldHistory, an extension's place, the paired .custom arrangement, showOnCreate, the option-label and subflow corrections) now sit at their relocated homes, so the receiving files grew. Paid inside the moved text by cutting sentences that restate what the entry's traps and served sections say, two long table separators, and connective text; the insert-null note leaves the entry as it left main's. The sum of ceilings is 23 tokens under main's, every moved row at zero headroom. Claude-Session: https://claude.ai/code/session_01QSeKYoBFwgPdc8gN56sREh Co-authored-by: Claude <noreply@anthropic.com>
…m/SKILL.md Claude-Session: https://claude.ai/code/session_01QSeKYoBFwgPdc8gN56sREh Co-authored-by: Claude <noreply@anthropic.com>
…ome; two pointers name where their sections moved Main's Validation Patterns ended with the clause that a state machine's transitions keys and values are option values, never labels; no file of the bundle said it after the move and no publish check covers it. It is one sentence of rules/validation.md § State Machine Validation. The Prerequisite pointer in examples-flows.md and the Assignment rules pointer in state-machines-and-approvals.md name the sections' homes instead of SKILL.md. Rows re-pinned: validation.md 3466, examples-flows.md 6551; the sum of ceilings is 203,009 against main's 203,016. Claude-Session: https://claude.ai/code/session_01QSeKYoBFwgPdc8gN56sREh Co-authored-by: Claude <noreply@anthropic.com>
Main's entry said defineStack errors unless the stack declares requires: ['hierarchy-security']; the routed home kept only that the capability is needed. rules/security.md now names the refusal and its code (STACK_HIERARCHY_SCOPE_CAPABILITY_REQUIRED, read off packages/spec/src/stack.zod.ts and the runtime authoring gate), paid inside the file by two restatement cuts; the row is re-pinned at 4771, three tokens below the ceiling this PR had asked for. Claude-Session: https://claude.ai/code/session_01QSeKYoBFwgPdc8gN56sREh Co-authored-by: Claude <noreply@anthropic.com>
…ad as on main rules/security.md § Access depth said defineStack, a save and a publish refuse an undeclared hierarchy-relative grant with one code. Only defineStack does (packages/spec/src/stack.zod.ts, validateHierarchyScopeCapability); a draft save warns and a publish is refused under another rule and another condition (packages/metadata-protocol/src/runtime-authoring-gate.ts). The section carries the entry's own clause again: defineStack errors unless the stack declares requires: ['hierarchy-security']. The sharing bullet's `outside-closure` and `ambiguous-in-environment` glosses are back, byte for byte; that bullet no longer differs from main. Paid inside the file: "paid" leaves "the paid plugin goes in plugins[]", which SKILL.md § Access depth states with the plugin's name. The row is re-pinned at its measurement, 4771 -> 4781 (19123 bytes); the 60 ceilings sum to 203016, the sum on main. Claude-Session: https://claude.ai/code/session_01QSeKYmgNasqCR9aajfRjJK Co-authored-by: Claude <noreply@anthropic.com>
… the seed row names its factory
The after round lost six automation cases on facts the router had moved to
references/examples-flows.md: a flow's type (schedule), the option label
evaluated once per run, the refused {…} token and its CEL envelope, the
assignment rule beside an approval node, and where a flow's start is gated.
They are back in the entry; the two sentences that moved back verbatim leave
the reference. The data entry's seed row names defineSeed() as on main.
Claude-Session: https://claude.ai/code/session_01QSeKYoxcCjgMFvCg22svAv
Co-authored-by: Claude <noreply@anthropic.com>
…s variables; value slots show the CEL spelling A flow in a project is defineFlow in a *.flow.ts, and its variables are an array: both sit beside the flow types in the entry again. The value-slot rule and its reference show the CEL spelling a refused token is given, not the token. The yes/no literal stands beside the rule that explains it in rules/field-types.md. Claude-Session: https://claude.ai/code/session_01QSeKYoxcCjgMFvCg22svAv Co-authored-by: Claude <noreply@anthropic.com>
The automation entry's row rises to its measurement on the ruling that orders the flow-shape facts back into it; the reference they left falls; the data entry's seed row and the yes/no literal in rules/field-types.md are pinned at their measurements. Without the one ruled raise the ceilings sum under main's. Claude-Session: https://claude.ai/code/session_01QSeKYoxcCjgMFvCg22svAv Co-authored-by: Claude <noreply@anthropic.com>
… the whole definition Both eval rounds on the router showed answers stopping at a plan when the project held nothing for the first checks to read. One line under First checks says to state that and still give the definition as code. The data entry pays for it inside the file; the placeholder example of the filter section reads as it did before this round. Rows re-pinned at their measurements. Claude-Session: https://claude.ai/code/session_01QSeKYoxcCjgMFvCg22svAv Co-authored-by: Claude <noreply@anthropic.com>
…keeps, and the sizes Claude-Session: https://claude.ai/code/session_01QSeKYoxcCjgMFvCg22svAv Co-authored-by: Claude <noreply@anthropic.com>
…-kbc4b2 Resumes the router change from 937e2f1 on main 600197a. Conflicts: the two entry files and the token ratchet's rows. The entry files keep the router; the two edits main made to them while this was open are carried to where their text lives now: the actionLayout sentence of the paired .custom extension in objectstack-data/references/examples-objects.md, and the select-label rule in objectstack-automation (the entry's item 4 in short, main's sentence whole in references/examples-flows.md). The pointer state-machines-and-approvals.md re-aims is paid inside that file, so its row stays main's. Every row this change moves is re-measured on the merged tree and pinned at its measurement. Claude-Session: https://claude.ai/code/session_01L6bhgUTzGxLiCQYi8Wvn3K Co-authored-by: Claude <noreply@anthropic.com>
flows-triggers-approvals 1 forbids `values: {`, the key form a node
carries, instead of the bare word a prose heading also spells.
hooks-security-seeds-datasources 7 takes the refusal translation as the
nested `hooks: {` literal, its JSON spelling, or the dotted key
`hooks.HOOK.refusals.CREDIT_LIMIT.message` the data-hooks reference
teaches. objects-fields-relationships 10 takes the yes/no field as
`type: 'boolean'` or as `Field.boolean(`.
Claude-Session: https://claude.ai/code/session_01L6bhgUTzGxLiCQYi8Wvn3K
Co-authored-by: Claude <noreply@anthropic.com>
… the three eval cases Claude-Session: https://claude.ai/code/session_01L6bhgUTzGxLiCQYi8Wvn3K Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: Read for this record: card #34770 (body and all 37 comments, the three rulings 7128031203, 7168461386, 7176941587 in full), PR #38347 (body, its 15 files, the net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentMethod: every code span of
No must-fix, no should-fix. N1 (nit) — Implemented-by: VERDICT: PASS |
objectstack-project's pointer to the schema-evolution section names rules/field-types.md § Changing a field that has data, where the router moved it; the longer pointer is paid inside the file, so its ratchet row stays 2990. The ratchet script loses one formula comment line the merge left in the rules/security.md history block. The changeset says what the Skill Boundaries table listed (the neighbouring skills) and names the re-pointed objectstack-project line. Claude-Session: https://claude.ai/code/session_01L6bhgUTzGxLiCQYi8Wvn3K Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Contract reviewServed-tier: Delta record. It covers the one commit ① Derived judgments
② Semver levelUnchanged: ③ Boundary flags
④ Design judgment
N1: closed — the pointer at No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — ACCEPT · head edcd7df · card #34770 · area s2-ai · 2026-11-28T15:18ZL1 checklist
Tier: H. Landing: hand-off to the maintainer follows this record. |
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA Tier H hand-off · 2026-11-28T15:19Z · head edcd7df · approver 维护者速读
|
Requested by Sales · project thread
Part of #34770
Clause-②: no
Metadata-protocol: none
Supersedes draft PR #36158: the same change, resumed from
claude/issue-34770-skill-router-budget@937e2f1482d66e55251f55c944196254d587c631on a new branch after seat 4's lane went vacant, withmainmerged in and the three eval cases of ruling 7176941587 Q1 B added. #36158 can be closed with a pointer here; nothing on its branch is missing from this one.Part of, notFixes: rulings 7128031203 and 7168461386 keep the first line atPart of #34770until the catalog-size line of the card's Done-when is met, and this PR does not meet it (the catalog descriptions are not touched here).维护者速读
skills/**属 Tier H)。本 PR 合并后,云端仓库要按 cloud hosted skills door: repoint the eleven served sections of objectstack-data / objectstack-automation SKILL.md when the pin bump carries the router change #36934 把十一处托管章节的指向跟着改。Rulings this executes
triggers#6is the eval seat's and is not touched here.What changes
Two entry files become routers.
skills/objectstack-data/SKILL.md26,860 → 8,983 bytes (472 → 167 lines),skills/objectstack-automation/SKILL.md28,206 → 10,703 bytes (480 → 215 lines). Each keeps four first checks, the traps that parse and then fail at run time, and a table that says which file to open for what is being written. No rule's teaching changes; the text moved, and the changeset lists section by section where it went and which anchors no longer exist in the entry files.Eight files receive the moved text:
objectstack-data/references/examples-objects.md,rules/field-types.md,rules/relationships.md,rules/security.md,rules/validation.md;objectstack-automation/references/examples-flows.md,references/integration-recipes.md, and a re-pointed link inreferences/state-machines-and-approvals.md.One correction (unchanged from #36158): the multi-value lookup note showed a
{record.tags.0}token "in flow values", which a flow value slot refuses; it now shows the CEL spellingrecord.tags[0].New in this round, over
937e2f14:mainmerged (through600197a6ae; a merge commit, not a rebase). Two thingsmainchanged in the entry files while docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 was open were mapped onto the relocated text instead of being lost with the old sections:references/examples-flows.mdcarriesmain's sentence verbatim.actionLayoutsentence of § Object Extension Model, now inreferences/examples-objects.md, verbatim.mainremoved from the two entry files found no stale copy left in a receiving file.objectstack-automation/evals/flows-triggers-approvals.jsoncase 1:must_not_containvalues:→values: {(the key form a node carries; a prose heading also spells the bare word).objectstack-data/evals/hooks-security-seeds-datasources.jsoncase 7:hooks: {leavesmust_containfor one any-of grouphooks: {/"hooks": {/.refusals.CREDIT_LIMIT(the nested literal, its JSON spelling, or the dotted keyreferences/data-hooks.mdteaches).objectstack-data/evals/objects-fields-relationships.jsoncase 10:type: 'boolean'leavesmust_containfor one any-of grouptype: 'boolean'/Field.boolean(.edcd7df4ad, one commit over the reviewed3b62b5e9b0):skills/objectstack-project/SKILL.mdline 187 pointed at objectstack-data, "Schema evolution", a heading the router moved. It now namesrules/field-types.md§ Changing a field that has data. That file sat at its ceiling, so the longer pointer is paid in the same file by five function-word cuts that lose no fact; its row stays 2990.scripts/check-skills-token-ratchet.mjsloses one formula comment line the merge left in therules/security.mdhistory block.Skill Boundariestable listed (the neighbouring skills) and names the re-pointed objectstack-project line.Acceptance notes
Decided by the thread (small, no shipped behaviour):
"hooks": {is a third member of case 7's any-of group. The ruling names the dotted key; the JSON spelling of the same nested literal is the form a.jsontranslation file carries, and refusing it would fail a correct answer on quote marks.references/state-machines-and-approvals.mdmeasured 2 tokens overmain's row after the merge (the re-pointed link is 9 bytes longer). It is paid inside the file ("In a packaged flow, see below" → "A packaged flow: below") instead of raising a row no ruling covers.main600197a6aeplus only the three eval-case edits (skill text byte-identical tomain), so both rounds grade with the same token lists. Without that the three relaxed cases would differ between the rounds for a reason that is not the router.Not done, and why:
937e2f14(report 7170977110); this round adds no flow example over that head, only the two sentences above, bothmain's own words. NOT MEASURED on this head.Part of.triggers#6(ruling Q3 A): the eval seat's.Tests
Skill evals, the command line of #37235 unchanged for both rounds, run in the thread's cloud container (subscription login, no API key):
main600197a6ae+ the three eval-case edits (304a4c5375, local only)3b62b5e9b03b62b5e9b0Parity under ruling 7128031203 ②A holds: the after round's failing set is a strict subset of the before round's.
flows-triggers-approvals[WIP] Fix error in step four of the action run #5, Migrate documentation site to Fumadocs with monorepo structure and shared content #11, feat: Comprehensive CRM example demonstrating all ObjectStack protocol features #14, [WIP] Update action workflow steps for better execution #16,integrations-declaredAdd metamodel interfaces for ObjectQL/ObjectUI contract #1; datahooks-security-seeds-datasourcesImplement ObjectStack protocol specification with Zod schemas and TypeScript interfaces #3, Migrate from npm to pnpm #6, Convert to monorepo with scoped packages #8, [WIP] Update action workflow steps for better execution #16, Add language switch feature to support Chinese #19, Add critical protocol definitions: Field Widget, Plugin Lifecycle, Driver Interface, and Trigger Context #34, Verify TypeScript build passes - issue already resolved #38; dataobjects-fields-relationships✨ Set up Copilot instructions #2, Convert to monorepo with scoped packages #8, chore(ci)(deps): bump actions/upload-artifact from 4 to 6 #22, chore(ci)(deps): bump github/codeql-action from 3 to 4 #24.hooks-security-seeds-datasources[WIP] Fix error in step four of the action run #5, feat: Comprehensive CRM example demonstrating all ObjectStack protocol features #14, Add missing Field.phone() helper and factory methods for Action/Dashboard/Report #15, chore(ci)(deps): bump github/codeql-action from 3 to 4 #24;objects-fields-relationshipschore: version packages #10.flows-triggers-approvalsRemove explicit pnpm version from workflows to fix version conflict #7 (the first answer carried the forbiddencurrent_user.positions), datahooks-security-seeds-datasourceschore(ci)(deps): bump actions/upload-pages-artifact from 3 to 4 #25 (misseddefault datasource),objects-fields-relationshipsMigrate documentation site to Fumadocs with monorepo structure and shared content #11 (missedtype: 'select'), and trigger caseobjectstack-data/triggers#6(the bundle was read when it should have been left alone; the case of ruling Q3 A, which this PR does not change). Re-run with the same flags plus--casefor those four keys: 7 of 7 turns, all four pass.flows-triggers-approvalsAdd metamodel interfaces for ObjectQL/ObjectUI contract #1 andhooks-security-seeds-datasourcesRemove explicit pnpm version from workflows to fix version conflict #7 pass in both rounds;objects-fields-relationshipschore: version packages #10 failed before onlabel: '是否完成', not on the relaxed token, and passes after.One repetition per case is the round the card and #37235 fix; at that depth a single case moves between readings for no reason of the text (four did here, in the unfavourable direction, and reverted). The five that moved the favourable way were not re-read: the rule re-reads a flip that would break parity, and a gain is not claimed from one reading. Read the result as "not lower", not as "five cases better".
Both rounds were read on
3b62b5e9b0. The commit after it (edcd7df4ad) changes no file of the two evaluated bundles (one line of objectstack-project, a script comment, the changeset), so the rounds were not run again.Records (round.json, every turn's record, both summaries):
skill-evals-before-304a4c53.tgz,skill-evals-after-3b62b5e9.tgz,skill-evals-after-reread-3b62b5e9.tgzin the project's shared files, folder34770/.No unit test changes: the diff is skill text, three eval fixtures, ratchet rows and a changeset. The one test that names the ratchet script,
packages/spec/scripts/platform-catalog.test.ts, ran apart from the gate list (see Verification).Verification
Eleven skill files, measured on the head
edcd7df4adagainstmain(ceil((utf8 bytes − the SKILL.md version stamp line) / 4), the ratchet's own arithmetic):objectstack-data/SKILL.mdobjectstack-data/references/examples-objects.mdobjectstack-data/rules/field-types.mdobjectstack-data/rules/relationships.mdobjectstack-data/rules/security.mdobjectstack-data/rules/validation.mdobjectstack-automation/SKILL.mdobjectstack-automation/references/examples-flows.mdobjectstack-automation/references/integration-recipes.mdobjectstack-automation/references/state-machines-and-approvals.mdobjectstack-project/SKILL.md(the re-pointed line)Gates run locally on the head
Derived with
node scripts/pm/dispatch-gates.mjs --commandson3b62b5e9b0, each command run and its exit code recorded, then reconciled with--ran: 69 derived, 68 run (each exit 0), 1 NOT-MEASURED, 0 unrun.On head
edcd7df4ad(the three nits) the 16 gates that read the changed files were run again, each exit 0: the fourteen skill gates (check-skills-token-ratchetand its self-test,check:skill-docs,check:skill-refs,check:skill-served-sections,check:skill-links,check:skill-identifier-liveness,check:skill-compatibility,check:skill-frame-sync,check:doc-authoring,check:nul-bytes,check:pm-skill-id-lint,check:skill-examples,check:doc-formula-expressions) and the two changeset gates. The other gates were not re-run on it. A trial merge withorigin/mainc6a1328dfe(which moved the ratchet script andskills/objectstack-ai/SKILL.mdmeanwhile) has no conflict and the ratchet is green on the merged tree (200,510 / 200,510); the trial was discarded andmainis not merged again.pnpm check:dual-build-cjs-loadsexited 3 (prerequisite not met: it needs every package'sdist, a wholepnpm build). Long builds go to GitHub under this project's standing rule, so CI is the reading for it; the diff touches no package source.pnpm check:skill-examplesneededpnpm --filter '@objectstack/client-react...' --filter '@objectstack/lint...' buildfirst; then exit 0, 351 prose examples type-check across 3 surfaces.pnpm --filter @objectstack/spec exec vitest run scripts/platform-catalog.test.ts(the one test that names the ratchet script), 21 of 21.node scripts/pm/overlap-check.mjsbefore the first push: clean againstorigin/mainand the two open PRs that share a file (docs(skills): objectstack-ai names the save refusal of a knowledge_source whose adapter is not mounted #38224, chore: version packages (next) #38192).Exit 0, all 68:
node scripts/check-adr-0087-registration.mjs --base origin/main·node scripts/check-adr-0087-registration.mjs --self-test·node scripts/check-changeset-no-major.mjs --base origin/main·node scripts/check-closing-keyword-parity.mjs·node scripts/check-closing-keyword-parity.mjs --self-test·node scripts/check-comment-mask-corpus.mjs·node scripts/check-declaration-mirrors.mjs·node scripts/check-declaration-mirrors.mjs --self-test·node scripts/check-doc-route-spelling.mjs --advisory·node scripts/check-doc-route-spelling.mjs --self-test·node scripts/check-dts-emitted.mjs --self-test·node scripts/check-empty-changeset.mjs --base origin/main·node scripts/check-empty-changeset.mjs --self-test·node scripts/check-self-test-wired.mjs·node scripts/check-self-test-wired.mjs --self-test·node scripts/check-self-test-workflow-commands.mjs·node scripts/check-self-test-workflow-commands.mjs --self-test·node scripts/check-skills-token-ratchet.mjs·node scripts/check-skills-token-ratchet.mjs --self-test·node scripts/check-whole-set-label-write.mjs·node scripts/check-whole-set-label-write.mjs --self-test·node scripts/ci/assert-turbo-remote-cache.mjs --self-test·node scripts/ci/plan-test-core-shards.mjs --self-test·node scripts/ci/prune-turbo-cache.mjs --self-test·node scripts/ci/snapshot-next.mjs --self-test·node scripts/pm/bare-root-worklist.mjs --self-test·node scripts/pm/check-governed-queue-guard.mjs --self-test·node scripts/pm/release-rehearsal-clone.mjs --self-test·node scripts/release-pending-publish.mjs --self-test·--filter @objectstack/lint run check:doc-formula-expressions·--filter @objectstack/spec run check:skill-docs·--filter @objectstack/spec run check:skill-refs·--filter @objectstack/spec run check:skill-served-sections·check:adr-anchors·check:agent-test-spelling·check:bash32-floor·check:changeset-gate-self-tests·check:ci-filter-parity·check:cli-command-ids·check:closed-ceremony-text·check:corpus-claim-drift·check:cross-package-test-inputs·check:doc-authoring·check:driver-memory-census·check:dts-closure·check:entry-guard·check:gitlink-declared·check:lean-entry-closure·check:merge-driver·check:nul-bytes·check:parse-guard·check:pm-dispatch-gates·check:pm-expected-skips·check:pm-governed-merges·check:pm-skill-id-lint·check:pnpm-filter-targets·check:pnpm-flag-spellings·check:published-files·check:ratchet-remedy-authority·check:refd-timer-probe·check:role-word·check:scripts-symbol-anchors·check:skill-compatibility·check:skill-frame-sync·check:skill-identifier-liveness·check:skill-links·check:sourcemap-no-sources-content·check:watch-hint-literalWriter: all
skills/**text was written by the card thread itself, a session atCONTRACT_REVIEW_TIERper the claim (7240213191). Every assistant turn of the session's transcript was served at the tier (210 of 210 when counted against the constant inscripts/pm/dispatch-gates.mjs);verify-review-tier.mjsitself refuses the transcript because the session once ran a read-only sub-agent to read the rulebook, so that count is the thread's reading, not the script's PASS.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgUTzGxLiCQYi8Wvn3K