Repository navigation
docs(skills): the objectstack-platform entry file becomes a router - #38434
Conversation
skills/objectstack-platform/SKILL.md goes 24,659 -> 8,985 bytes (421 -> 106 lines): four first checks, five run-time traps, the gate-bound enumerations (defineStack keys, the requires: provider table, Seed Data) and a routing table. The rest moved into references/bootstrap.md and references/operations.md or was cut as a restatement; the skill directory is 107,525 -> 105,481 bytes. Four ratchet rows follow their measurements; the sum of all ceilings goes 200510 -> 199999. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kaby17PRNj45xGyDc
…-lqv7wj No file under skills/ changes in the merged range (ff69bca..f42bcc1); the merge brings the gate scripts the derived gate list reads up to main. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kaby17PRNj45xGyDc
…m entry The hierarchy-security fallback (a boot warning, scopes owner-only) and the dev-only account creation of demoStaff pass os validate and degrade at run time, so they stay inline; both are paid for inside the entry (the pinyin-search row folds into the plugin- row, three shorter phrasings). The entry is 8,991 bytes, 105 lines; the bootstrap reference drops the clause the entry now states. Ratchet rows re-pinned: entry 2241, bootstrap 4389; the sum of all ceilings goes 200510 -> 199985. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kaby17PRNj45xGyDc
…-lqv7wj No file under skills/ changes in the merged range (f42bcc1..3579cf1). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kaby17PRNj45xGyDc
…driver package again The parity round read a miss on the deployment-plan eval case: the answer described the SQL driver without naming @objectstack/driver-sql, the literal the entry's driver table carried before the split. Trap 1 names it again. Nothing else in the entry is cut to pay for it (the owning seat's choice): the entry is 9,027 bytes, 27 over the 9,000-byte target. Ratchet row re-pinned at the measurement, 2241 -> 2250; the sum of all ceilings is 199994, under main's 200510. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kaby17PRNj45xGyDc
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kaby17PRNj45xGyDc Contract-review-claim: session_01FEkQ5kaby17PRNj45xGyDc · head 9129aa7 · 2026-11-29T02:08Z |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kaby17PRNj45xGyDc Final green head · 2026-11-29T02:10Z Head-sha:
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb 席位核对L1 (thread L1-a, area o5-ai) · read 2026-11-29T02:12Z · Head-sha: This is the first L1 record on this PR, a full review. The prose move, the ratchet rows and the eval reading are accepted as they stand. One residual the body names has no carrier, and the body understates it. Checklist (l1-face
My readings, at this head
Must-fix (body only)
Accepted (no action):
After the fix: a delta L1 on the body (the head does not move). |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb 席位核对L1 (thread L1-a, area o5-ai) · read 2026-11-29T02:18Z · Head-sha: This is a delta from my REWORK 7249291602 on this same head. The head did not move, and only the body changed.
Everything accepted in 7249291602 stands. Owed before landing: the fable contract review on this head. Then the seat does the Tier H hand-off. |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kaby17PRNj45xGyDc Contract reviewServed-tier: ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentJudged against the 23 cases of
S1 (should-fix) — the third rule under the N1 (nit) — the same block says every other service plugin is opt-in "except the host defaults N2 (nit) — the routing row for N3 (nit) — the entry no longer spells
Tried and did not break: a literal of the eval set lost from the bundle (none); a heading the hosted door serves (none in this skill); a duplicate heading inside one file (none); a moved link left pointing at the old directory depth (none; link gate green); a trap cut from the bundle rather than moved (none). No must-fix. One should-fix open on this head: S1. Nits N1, N2, N3. Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kaby17PRNj45xGyDc The filled brief handed to the isolated contract-review-tier sub-agent for record 7249357427 (posted beside it for the seat to read before adoption). After it started, the reviewer was told one input changed: the PR body bullet on skill-map-guards.ts now names carrier #38451. Contract review brief — PR #38434 @
|
…yin-search locale condition The AI-door rule under the requires: table had lost its condition: only a run_action call on an action declaring ai.requiresConfirmation: true is refused 428 without a confirmation service. The host-default sentence now says pinyin-search mounts for a zh-* locale. Both are paid inside the entry (9,027 -> 9,025 bytes); the ratchet row stays 2250, at the measure. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kaby17PRNj45xGyDc
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kaby17PRNj45xGyDc Contract-review-claim: session_01FEkQ5kaby17PRNj45xGyDc · head cb8b7cd · 2026-11-29T02:33Z |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kaby17PRNj45xGyDc Contract reviewServed-tier: ① Derived judgments
② Semver levelUnchanged: ③ Boundary flags
④ Design judgment
S1: closed The rule now reads "with none, N1: closed The sentence gives N2 and N3 of the first record are unchanged: N2 an accepted deviation, N3 carried by card #38451. The cuts were read against the reading of "no trap is removed" the first record accepted (silent facts stay inline): none of the four is a silent fact, and each trap, rule and gate-bound enumeration of the entry is otherwise word for word as on
No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kaby17PRNj45xGyDc Final green head · 2026-11-29T02:50Z Head-sha:
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb 席位核对L1 (thread L1-a, area o5-ai) · read 2026-11-29T02:51Z · Head-sha: This is a delta from my ACCEPT 7249351088 at
Owed: nothing from L1. Contract PASS and L1 ACCEPT sit on the same head, so the seat does the Tier H hand-off. |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5mzSTSPADAvwapnhxr 维护者速读
席位意见:同意合并,25 B 建议接受(留着它第 6 题才稳;改成删别处会动到坑或闸绑定的列表)。第 20 题本身有缺陷(禁止的字面正是标准答案要写的),已立 #38458 修评测,不影响本 PR。 席位核对 — ACCEPT · repo:objectstack#5 · Head-sha
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5mzSTSPADAvwapnhxr Approval requested (Tier H,
|
Requested by Leehom · project thread
Part of #34770
Clause-②: no
Metadata-protocol: none
Part of, not the closing form: the catalog-size line of the card's Done-when is not met by this PR (PR 1 of the per-skill split in claim 7247529795).Eval parity is settled by ruling record 7249189592 (see Eval parity under Tests): the three cases that read as misses on single runs, cases 6, 11 and 20, flip on
main's own text too and do not block.维护者速读
Rulings this executes
skills/(a split needs new ratchet rows, which that ruling left to a human): text moved only into files that already have a row.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. On PR docs(skills): the objectstack-platform entry file becomes a router #38434, case 6 (driver-sql: main 3/5, head 5/5) and case 11 (new similar: main 4/5, head 3/5) pass the parity gate on this ruling. ... A case that fails on every run of head while main passes is still a regression."What changes
The entry file becomes a router.
skills/objectstack-platform/SKILL.md: 24,659 → 9,025 bytes, 421 → 105 lines, 6,158 → 2,250 tokens. Frontmatter (description, triggers) is byte-identical. It now holds:## First checks: version, read what exists, read the contract (references/_index.md),os validate.## Traps, five, each one passingos validateand failing at run time: no driver inplugins:; an installed package is customized from its paired.custompackage; who owns the HTTP server and thatprefixdoes not move auth;manifest.engines.protocol;manifest.namespace.defineStack()key list (check-skill-top-level-keys), therequires:provider table with three rules, and## Seed Datawith thedemoStafftrap (both Leg 2 ofcheck-skill-identifier-liveness).## Where to go: one row per task, naming the file to open.Where each old section went.
references/bootstrap.md§ Strict Validation, verbatimreferences/operations.md, above Verify your workreferences/bootstrap.md§ Manifest; the annotated example is cut (see Acceptance notes)references/bootstrap.md§ Customizing an installed packagereferences/bootstrap.md§ App or platformreferences/bootstrap.md, under Scaffolding Commandreferences/bootstrap.md§ Project Structure Conventions; the naming table is cut to a pointer at objectstack-datareferences/operations.mdreferences/operations.md; the usage snippet is cutreferences/bootstrap.md§ Runtime Boot Sequence, verbatimrequires:references/bootstrap.md§requires:in detailonEnablereferences/bootstrap.md, verbatimreferences/bootstrap.md§ Demo accountsTwo restatements cut inside the skill to pay for the move: in
references/plugin-development.md, thePlugininterface block and the hook example with its event list are one pointer each torules/plugin-lifecycle.mdandreferences/plugin-hooks.md, which carry the same text.Sizes (bytes · lines · ratchet tokens):
ff69bcab)cb8b7cd1)SKILL.md(entry)references/bootstrap.mdreferences/operations.mdreferences/plugin-development.mdskills/objectstack-platform/**(9 files)SKILL.mdtogetherskills/tree (115 files)evals/Budget reading: entry 9,025 B, over 9,000 B by 25 B. 9,000 B is the top of the card's Scope line ("Budget 6–9 KB, hard cap 500 lines", the maintainer-approved filing); the overrun is the
@objectstack/driver-sqlliteral the case-6 behaviour depends on, kept inline on the seat's choice (B) of 2026-11-29, and is for the approver to accept or refuse. No ratchet ceiling rises for it. The 500-line cap holds (105 lines). The row is unchanged at 2,250 tokens (8,998 priced bytes), still at the measure.Contract review fix (review record 7249357427, S1 and N1), paid inside the entry, 9,027 → 9,025 B: the AI-door rule names the gated call again (
run_actionon an action declaringai.requiresConfirmation: trueis what is refused 428 with no confirmation service), and the host-default sentence sayspinyin-searchmounts for azh-*locale ini18n.The skill directory falls 2,064 bytes. The cut is small beside the move because three of the entry's enumerations are gate-bound and stay (see Acceptance notes).
Ratchet rows (
scripts/check-skills-token-ratchet.mjs), each pinned AT its measurement, zero headroom: entry 6158 → 2250 (−3908),references/bootstrap.md1340 → 4389 (+3049),references/operations.md3389 → 4019 (+630),references/plugin-development.md3127 → 2840 (−287). The four rows sum 14,014 → 13,498; the sum of all ceilings goes 200,510 → 199,994, so both conditions of fork 4 = A hold.Tests
Eval parity
Judged by ruling record 7249189592, quoted under Rulings: a case that 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
mainpasses is a regression. No case fails on every run of the head whilemainpasses.Skill evals, both arms, one command line for every round (
skill-evals --skills objectstack-platform --repeats 1 --model sonnet --effort medium --concurrency 4; servedclaude-sonnet-5-5, CLI 2.1.332, subscription login). 23 cases inevals/config-plugins-ops.json, untouched.ff69bcab9129aa7d9129aa7dcb8b7cd1cb8b7cd1Cases 2, 5 and 9 fail on
mainand on the head alike (case 2 missesdestroy; case 5 carriesos rollback; case 9 missesqueues:andassignmentRules:). The two cases that read as misses on single runs, each read five times on each tree (--casewith--repeats 5; for themainside the four skill files were checked out fromff69bcabover the worktree for the run, then restored):main's skill files989821ef; on9129aa7dit passed its own reading and the rounddriver-sql9129aa7dnew similarBoth flip on both trees. In every reading of either case the answer gives the right course; what comes and goes is one literal.
Case 20 (must
storageandsettingsbe listed inrequires:) is the third of the kind. Onmain's skill files it passed the before round and 2 of 4 turns of the five-repeat round; on this branch it read 3/5 on9129aa7dand, oncb8b7cd1, failed the round and passed 1 of 3 further readings. Each failing answer says no, they are always-on, and then shows the forbidden literalrequires: ['storage', 'settings']as what to add under--preset minimal, which is what the case's own expected answer says to do there. The sentence it reads ("every boot mounts them, and only--preset minimaldrops them") is the same text on every head.Six cases changed verdict at least once across the five single-repeat rounds on this branch: 2, 6, 9, 11, 19, 20.
ff69bcab(before)74592fbd989821ef9129aa7dcb8b7cd1Round totals, with-skill:
ff69bcab20/23,74592fbd19/23,989821ef18/23,9129aa7d20/23,cb8b7cd119/23; no-skill 0/23 in every round.Round records and what each with-skill turn read
operations.md8, one each ofbootstrap.md,plugin-development.md,plugin-hooks.md,plugin-lifecycle.md,service-registry.md).74592fbd: 46/46 turns, 2.9 min. 13 of 23 with-skill turns read a reference file (operations.md6,bootstrap.md5,_index.md2).989821efand9129aa7d: 46/46 turns, 3 min each. Round oncb8b7cd1: 46/46 turns, 2.8 min; cases 17 and 23, whose sentences the last commit shortened or extended, pass.9129aa7d: with-skill 95/115, no-skill 0/115; cases 2, 5 and 9 at 0/5, case 11 at 3/5, case 19 at 4/5, case 20 at 3/5, every other case 5/5. Onmain's skill files it was stopped at 206 of 230 turns when the ruling arrived; in the turns that ran, cases 2, 5 and 9 were at 0/5, case 6 at 3/5, case 11 at 4/5, case 20 at 2/4, every other case passing.must_containliteral of the 23 cases that the skill's files carried before is still carried after (77 literals checked; 0 lost). Two left the entry for a reference:os lint(case 5),manager: '(case 8).Other tests
pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts(the suite that names the ratchet script), oncb8b7cd1:Test Files 1 passed (1),Tests 21 passed (21), under the verify lock (VERDICT command-exit 0). No ablation: the diff changes prose and one ledger, no tested behaviour.Acceptance notes
Decided here (small, no shipped behaviour), each open to reversal in review:
requires:provider table and## Seed Dataare restated contract lists, but the gates that keep them true bind to the entry file by path and heading. Moving them behind a pointer needs gate edits outside this claim's file surface, so they stay inline in compact form (the UI router kept its bound enumerations the same way). This is why the directory falls 2.1 KB and not more.triggerswithoutjob, the confirmation service,hierarchy-securitywithout its provider (a boot warning, scopes fall back to owner-only),demoStaff(a seed cannot create a person; onlyos devcreates the accounts), and thedata:*hook that never fires (in the routing row). One link away, each refused loudly when hit:automationmissing whileplugins:lists a connector (boot fails), a query capability the Memory or MongoDB driver refuses, the unknownrequirestoken (refused bydefineStack), route-literal names and the legacy double-underscore prefix (refused byos validate/defineStack).references/bootstrap.md§ App or platform.kernel/manifest.zod.ts; the barrel example inreferences/bootstrap.mdgainedenginesso one checked example still shows it.@objectstack/driver-sqlagain (36 bytes), the seat's choice after the case-6 miss; the entry is 25 bytes over the card's 9 KB budget line for it (see Budget reading).requires: [...](the key list above it namesrequires), the@objectstack/corehome ofCAPABILITY_PROVIDERS(the name stays), and "to your Cloud environment" in the routing row, now "to Cloud" (references/operations.mdnames the environment).Noted, not changed (outside this claim's file surface):
packages/spec/scripts/lib/skill-map-guards.ts: theobjectstack-platformrows ofTRANSITIVE_ALLOWLISTgo stale, not only their comment. The list's header says a row means the SKILL.md teaches that schema, and the rows are "kept iff" the entry names one of the module's exported names; at this head three rows lose the only export the entry named (data/field.zod.tsFieldSchema,security/rls.zod.tsRLS,data/object.zod.tsObjectSchema), anddata/hook.zod.tswas already unmatched on main.check:skill-refsstays green because it does not ask reachability. Carrier: skills: objectstack-platform reference index keeps schema pointers its router entry no longer teaches (TRANSITIVE_ALLOWLIST rows) #38451 (drop or re-justify the rows and regeneratereferences/_index.mdafter this PR merges).overlap-checkreads it as merging cleanly.Verification
Read first, by risk:
skills/objectstack-platform/SKILL.md, the whole file: is anything a model needs before opening a second file missing? The risk hunks are## Trapsand the three rule bullets under the provider table.skills/objectstack-platform/references/bootstrap.md§requires:in detail and § Manifest: these were rewritten as the complement of the entry, not moved verbatim.scripts/check-skills-token-ratchet.mjs: the fourobjectstack-platformrows.Two-minute check:
node scripts/check-skills-token-ratchet.mjsprintsratcheted (authored) 199994 / 199994 (+0)and everyobjectstack-platformrow at(+0);wc -c skills/objectstack-platform/SKILL.mdprints 9025.Gates, local (each exit code captured before any pipe). The whole derived list ran on
989821ef;cb8b7cd1differs from it by five sentences of the entry, one ratchet row with its comments and one number in the changeset, so only the families that read those were run again on it.On `cb8b7cd1`: the families the last two commits reach, all exit 0
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) 199994 / 199994 (+0)).pnpm check:skill-top-level-keys:skills/objectstack-platform/SKILL.md:44 enumerates all 56 authorable top-level keys of ObjectStackDefinitionSchema.pnpm check:skill-identifier-liveness:Leg 1: 544 citation(s) over 76 published file(s) ...; Leg 2: 11 registered exhaustive section(s), 0 ledgered gap(s).pnpm check:skill-links:285 relative link(s) in 76 published skill file(s) resolve; 157 fragment(s) name a real heading under GitHub's slug rule.pnpm --filter @objectstack/spec run check:skill-docs:Skill docs in sync.check:skill-refs:10 generated files in sync with packages/spec.pnpm --filter @objectstack/spec run check:skill-examples:351 prose examples type-check across 3 surface(s).pnpm check:nul-bytes:no raw ASCII control bytes.pnpm check:role-word: exit 0.node scripts/pm/overlap-check.mjs --branch=claude/project-thread-lqv7wj:VERDICT clean exit 0before the push.On `989821ef`: derived families, 70 derived, 69 run green, 1 NOT MEASURED
✓ dispatch-gates --ran: 70 derived famil(ies) accounted for — 69 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).pnpm check:dual-build-cjs-loads, exit 3,PREREQUISITE NOT MET. It reads every package's builtdist/, and this container holds only two packages' build closures. The diff touches no package source; CI's run is the reading.check:role-word,check:doc-authoring,check:published-files,check:scaffold-emission-policy,check:skill-compatibility,check:corpus-claim-drift, the changeset gates,check:pm-dispatch-gates(fast tier, 2459 cases).check:doc-anchors(1175 internal #fragment link(s) across 367 source file(s) all resolve to a real heading),check:skill-served-sections(the hosted door serves no section of this skill),check:published-readme-links,node scripts/check-platform-checklist.mjs --changed-from origin/main(0 anchored files in the change set — nothing judged.).check:published-readme-exports: NOT MEASURED, exit 3, the same missing-build prerequisite; not derived for this diff.CI on
cb8b7cd1, read while it ran: 17 check-runs success, 16 skipped by the path filter, 10 in progress, none failing; the seat reads its conclusion. On9129aa7dit ended 32 success and 20 skipped, none failing. The earlier run on989821ef(46210313609) was cancelled when9129aa7dwas pushed; its two aggregate jobs readfailureonly because four lanes concludedcancelled(no lane failed).Generated by Claude Code