Skip to content

docs(skills): the objectstack-project entry file becomes a router - #38868

Merged
os-zhuang merged 6 commits into
mainfrom
claude/project-thread-96llpb
Dec 1, 2026
Merged

os-zhuang merged 6 commits into
mainfrom
claude/project-thread-96llpb

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Steve · 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. This is PR 7 of the per-skill split, under claim 7280537583 and its amendments 7280758590, 7288186602, 7296541080 and 7298747104.

维护者速读

  • 用户能看到什么变化:用户无感。发给 AI 的「项目流程」技能说明(一个应用项目怎么立需求、怎么测、怎么给客户写变更说明、怎么升级平台),入口文件从约 12 KB 缩到 9 KB。七个小节和标题都没变:开工前三问、各阶段写什么、四项检查与平台已经替你查了什么、平台缺陷怎么处理、给客户的变更说明、升级平台与客户已有数据、各类改动去哪份技能查;每一节变短了。
  • 为什么做:这是「技能目录瘦身」的第十份(界面、数据、自动化、平台、跨大版本升级、多语言翻译、表达式与公式、接口设计、查询九份已完成)。入口文件每次都整份装进 AI 的上下文,越长越贵,也越容易漏读。
  • 出错会怎样:只动教 AI 的文字,没有产品行为变化;风险是 AI 少读一段后答错。评测已在定稿上整轮跑完(十道题,每题三遍,改动前后同一时段各一轮):改动后三十次对二十七次,改动前也是三十次对二十七次,没有哪道题在改动后三遍全错。过程中评测四次显示删多了,四次都把那段内容补回入口,并在入口内另删等量文字抵账。发现问题可以直接撤回这次合并,不涉及任何数据。
  • 要你做什么:无。席位核对与合约审查都通过后,才会按治理规则请审批人批准。

Rulings this executes

  • Card Scope (decision record on the card, S3 = A): the entry file holds first checks, at most about 8 traps and a routing list; 6–9 KB, hard cap 500 lines; restated option lists and tables go behind a pointer; no trap is removed until a publish-time check covers it or it stays inline.
  • 7128031203 fork 4 = A: ratchet rows are pinned at the measurement with zero headroom, and the sum of ceilings does not rise. Here one row falls, no row rises and none is added.
  • 7168461386 = A: text an eval shows the entry lost goes back into the entry, paid inside the entry. Used four times, once after each of the first four after-rounds (see Eval parity).
  • Ruling record 7249189592, the parity rule: 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 a regression. Read below on full rounds of both trees in one window: no case fails on every run of the head.
  • Seat rulings on this PR's two questions (the seat's resume order in this card thread, 2026-12-01, after the local round's report): the budget question is A, the entry stands at 9,000 B as delivered, with each cut named beside what answers it and "cut, with no other home" said plainly where that is the case; the case 8 question is A, the entry is left as is and the conditional mentions are recorded as measured (Eval parity).
  • Seat order for this PR (claim amendment 7298747104, PR 7 = objectstack-project): the PR 4 and PR 5 shape. This skill has no hand-written rules or reference file (its one reference, the platform catalog, is generated), so text is cut behind a pointer, not moved; no new file under skills/ (a new file needs a new ratchet row, which stays with a human).

Review round

The contract review of 06f27f0f (record 7304362531, verdict PASS) left one should-fix open and two nits; commit d4b240c0 takes the should-fix and one nit.

  • S1, fixed. The entry named stack.rows as the call that tests who sees which records and no longer said the read is made as a user. Verified in the code first: rows in packages/verify/src/handle.ts takes its caller from as and otherwise uses the system context, so a visibility test written without it reads every row past sharing and row-level security, and passes or fails for the wrong reason. That is accepted input answering wrong, the class this entry keeps inline. The paragraph now reads "stack.rows with as: without it the read is the system's". Paid inside the entry with wording that carries no fact ("what the bump may have settled" in the sweep step, "too", "are in", and "Relief for customers" became "Customer relief"); the file is 9,000 bytes before and after, so the ratchet row and its comment do not move. The changeset sentence that left "rows reads as a user" to the README is corrected: the entry keeps it inline.
  • N2, taken in the lists. main's stage table said a product's design note "always answers" installed data and upgrade steps. The table below and the changeset now list that line among the cuts (the two are starred items of the design list, and the breaking-change and backfill rules require both).
  • N1, not taken. The pointer for the full check lists stays the bare page URL: a fragment costs bytes that would have to come out of kept text, and the api, formula and query entries point at their pages the same way. The lists sit under the page's "Build & Validate" and "Quality" headings.

What changes

The entry file becomes a router. skills/objectstack-project/SKILL.md: 11,987 → 9,000 bytes, 214 → 184 lines, 2,990 → 2,244 tokens. Frontmatter (description, tags, compatibility) is byte-identical. The title and all seven section headings are byte-identical too, so no anchor leaves the file and "§0, question 3" still names the same place. It holds:

  • One line under the title: where the installed @objectstack/cli differs from the compatibility line, the installed command is right. This is the one new sentence; the frontmatter says the check lists are that version's, and the lists are now mostly behind a pointer.
  • ## 0, the three questions asked before any work: app or platform (three answers, as a list instead of a table), own use or product (recorded as one line in the project's AGENTS.md; an own-use app is not asked for a requirement record, a design note or a changeset), and whether the platform already ships it (the generated catalog; the PLATFORM-CANDIDATE marker).
  • ## 1, four stages as a list: requirement, design, build, acceptance.
  • ## 2, the four checks in one command line; that only errors fail validate and lint, with the two warnings that pass; what os validate, os lint and os verify each check, in three bullets, with the published CLI page for the full lists; the rule against hand-writing a platform check and the PLATFORM-GAP / RETIRED markers; what the app tests with bootStack, with the handle call for each kind of fact and one type-shaped example.
  • ## 3, the five platform-gap rules.
  • ## 4, the customer changeset, the breaking-change statement and the release steps.
  • ## 5, the four bump steps, and the rules for data already installed (the schema-change pointer, and the backfill script's five rules).
  • ## 6, nine routing rows, as a list.

No text moved. What left the entry was cut, each behind what now answers it; the changeset lists the cuts.

Old entry section Now
Opening sentence (the domain skills teach metadata; this one teaches how a change moves) Cut: the frontmatter description says both. The version line takes its place.
§0 question 1, a three-row table Three list items with the same three answers. Cut: two examples ("how a case is routed", "labels are translated") and the qualifier "and the app pays for it".
§0 questions 2 and 3; the MCP line Kept. Question 3's last sentence is shorter: a defect is different, never worked around (§3).
§1 stage table, nine rows Four list items. The rows that only named a later section (Test, Release, Upgrade) are cut; "one issue, one PR" and the user-docs row are folded into Build and Acceptance. Cut, with no other home: the product column's line that the design note "always answers" installed data and upgrade steps (the two are starred items of the design list; §4 and §5 require both on a breaking change).
§1 design checklist The same seven items, inline in the Design item.
§1 requirement-file template Cut, with no other home: a five-line file template. The entry keeps that a customer-visible feature also gets a file in docs/requirements/.
§2 opening paragraph "Run all four before calling a change done, and in CI", the warning sentence with both examples, and the set-up sentence (vitest, a test script, @objectstack/verify). Cut: "an older scaffold may lack the pnpm test step".
§2 table "What the platform checks" Three bullets and the published page https://objectstack.ai/docs/deployment/cli for the full lists. os validate keeps its rule families in one sentence; cut to the page: the kinds of reference, dataset members, package docs, the capability-provider check. os lint keeps the shared author-time rules and its style families; cut to the page: --i18n-strict. os verify keeps the round-trip and --rls; cut to the page: the six other opt-in proofs. The pnpm typecheck row said only what the name says. The table's heading dated the lists "at 18.x" while the frontmatter says 19.x; the heading is gone.
§2 os verify is not one of the four Kept, as the end of the os verify bullet. Cut: "or as a CI step", and the note that npx os explain lists only the rules that carry an explanation.
§2 what the app tests, the example, the handle sentence Kept. The paragraph now names the call for each kind of fact (stack.hooks.run, stack.flows.run, stack.actions.run, stack.rows), and keeps inline that stack.rows reads as a user only with as. Cut to the README that @objectstack/verify ships, which the entry names: the automation boot option (a flow run without the service is refused loudly). Cut: the pointer to the scaffold's starter test (see Acceptance notes) and the LiteKernel sentence (the routing list sends a plugin's tests to objectstack-platform).
§2 the hand-written-check rule and the gap markers Kept, one paragraph.
§3 Platform gaps All five rules kept. Cut: "a workaround outlives the fix" and the stale-bot note.
§4 Describing a change for customers Kept. Cut: the changesets set-up command, "no issue numbers, no internal names" (the same bullet says the note is in the administrator's words), the examples of a breaking change, "the notes customers read", and the objectstack-platform pointer after os package publish (the routing list has it).
§5 Bump All four steps kept. The sweep step names the three things to sweep and the section that says what to do with each.
§5 Data already installed The schema bullet keeps renamedFrom, os migrate plan then os migrate apply, and --allow-destructive for a drop, and points to objectstack-data rules/field-types.md § Changing a field that has data for which change takes which. The backfill rules are kept, all five. Cut: "so it works on any installed metadata", and the line that the release note names the script (§4's breaking-change bullet orders the steps, a backfill first).
§6 routing table, twelve rows Nine list rows. Cut: objectstack-upgrade (the frontmatter description and bump step 2 name it), and objectstack-ask and objectui (answering from the app's records and rendering in React are not changes to the metadata project; each skill is still found by its own description).

Sizes (bytes · lines · ratchet tokens):

before (main at 5bd786e4, the branch point) after (head d4b240c0)
SKILL.md (entry) 11,987 · 214 · 2,990 9,000 · 184 · 2,244
skills/objectstack-project/** (4 files) 38,199 35,212
all 14 SKILL.md together 143,430 · 2,494 140,443 · 2,464
whole skills/ tree (115 files) 1,184,461 1,181,474
ratchet: authored tokens = sum of all ceilings 187,449 186,703
ratchet: bundle total, tokens 293,321 292,575

The main column is measured from main's files and its own ratchet table (61 rows), except the bundle total, which is the head's reading plus the 746 tokens this entry lost. The head column is measured from the head's tree; the review round changed no size (the entry is 9,000 bytes on both 06f27f0f and d4b240c0).

Budget reading: the entry is 9,000 B, on the card's 6–9 KB line, and 184 lines against the 500-line cap. The whole catalog is 2,987 bytes smaller, all of it cut. The cut is smaller than the other entries' because nearly all of this file is process teaching that no contract, rules file or check holds (see the budget note in Acceptance notes).

Ratchet row (scripts/check-skills-token-ratchet.mjs), pinned AT its measurement, zero headroom. One row moves, down:

  • skills/objectstack-project/SKILL.md 2990 → 2244 (−746): ceil((9000 − 27) / 4) = ceil(8973 / 4) = 2244. Why: the entry became a router.

The sum of all ceilings goes 187,449 → 186,703 (−746). No row rises and none is added.

Tests

Eval parity

Command, every full round: pnpm --filter @objectstack/scenarios skill-evals --skills objectstack-project --repeats 3 --concurrency 4 --max-utilization 0.99, with the model and effort flags PR 3's rounds used; CLI 2.1.333, subscription login. 10 behaviour cases in evals/project-process.json on both arms and 14 trigger cases in evals/triggers.json, both files untouched: 102 turns a round.

The reading the rule is judged on: one full round on each tree, the same day (2026-12-01): main's entry at 04:34Z, the pushed head at 08:18Z.

case subject main's entry, at 7d6742ae (with-skill · no-skill) head d4b240c0 (with-skill · no-skill)
1 a platform defect behind a wrong dashboard total, due Friday 3/3 · 0/3 3/3 · 0/3
2 asked to hand-write a reference-integrity test 3/3 · 0/3 3/3 · 0/3
3 a test for a discount ceiling with manager approval 1/3 · 0/3 1/3 · 0/3
4 removing a field from a product customers installed 2/3 · 0/3 3/3 · 0/3
5 a platform bump within a major 3/3 · 0/3 3/3 · 0/3
6 a one-person app renaming a label 3/3 · 0/3 3/3 · 0/3
7 an attachments table the platform ships 3/3 · 0/3 3/3 · 0/3
8 a business-hours calendar the platform ships 3/3 · 0/3 2/3 · 0/3
9 an audit trail the platform ships 3/3 · 0/3 3/3 · 0/3
10 a to-do list the platform ships 3/3 · 0/3 3/3 · 0/3
all 27/30 · 0/30 27/30 · 0/30
triggers loaded when it should · left alone when it should not 24/24 · 0/18 24/24 · 1/18

Both rounds ran 102 of 102 turns (4.8 and 5.0 minutes). The head's round ran on the pushed head after the review fix. main's entry is byte-identical at 7d6742ae, at the branch point 5bd786e4 and on main today, so its round was not repeated.

Reading under the parity rule: no regression. No case fails on every run of the head. The cases below 3 of 3:

  • Case 3, 1 of 3 on both trees. Unstable on both trees. The project directory of the case is empty, so most answers decline to write the test and describe it; the case passes only when the description happens to name both @objectstack/verify and hooks.run. A separate six-run reading of this case alone on main's text passed 0 of 6 (each run missed hooks.run), so main is 1 of 9 over all runs.
  • Case 4, main 2 of 3, head 3 of 3. main's failing answer missed os migrate.
  • Case 8, head 2 of 3, main 3 of 3. The failing answer uses the platform's calendar objects and working-hours functions, as the case asks, and then offers, if something were missing from the platform calendar, to build that part marked PLATFORM-CANDIDATE; the case forbids that literal. The rule the answer quotes is byte-identical on both trees. Across all six after-rounds this happened on 5 of 18 runs, on main on 0 of 3. No fact is lost, so nothing goes back into the entry (the seat's ruling A on this question); the literal is the eval seat's (Acceptance notes).
  • Triggers. Triggers 7, 8, 9, 12, 13 and 14 (which should not load this skill) load it on every run of both trees, with this bundle the only one installed in the turn; the one exception is one run of trigger 13 on the head, which left it alone. The frontmatter that decides loading is byte-identical on both trees.

Earlier rounds, kept as the record of how the text got here. Every round ran 102 of 102 turns; the no-skill arm was 0 of 30 in every round.

reading tree with-skill with-skill cases below 3 of 3
before round main at 7d6742ae 27/30 case 3, 1 of 3 (missed hooks.run); case 4, 2 of 3 (missed os migrate)
after round 1 local c48f0b10 (dab69a78 on this branch), the first router commit 25/30 case 2, 2 of 3 (missed lint); case 3, 0 of 3; case 8, 2 of 3
after round 2 local 3410efb1 (f40780d5) 24/30 case 2, 1 of 3 (missed lint); case 3, 1 of 3; case 8, 1 of 3
after round 3 local acf9240f (6ebcaaff) 25/30 case 3, 0 of 3; case 4, 2 of 3 (missed REST); case 6, 2 of 3 (missed validate)
after round 4 local 4c448d41 (9474093d) 25/30 case 3, 2 of 3; case 4, 0 of 3 (missed os migrate); case 5, 2 of 3
after round 5 local 12819c3d (06f27f0f, the head before the review round) 27/30 case 3, 2 of 3; case 4, 2 of 3 (one answer spelled the graded literal "Changeset"); case 8, 2 of 3
after round 6, the review round d4b240c0, the head 27/30 case 3, 1 of 3; case 8, 2 of 3

Three six-run readings of case 3 alone were taken between rounds 3 and 4, 12 turns each: the working text before the handle calls were placed beside the facts, 0 of 6; the text that became 9474093d, 1 of 6; main's text, 0 of 6.

The restorations (ruling 7168461386). Each put text of main's entry back and paid for it inside the entry.

  1. After round 1, case 3 failed all three runs and case 2 lost lint once. Back: os lint as its own bullet, and a sentence naming stack.hooks.run and stack.flows.run. Paid: the design list is shorter, "or as a CI step" and the objectui routing row are cut.
  2. After round 2, case 2 passed 1 of 3. main's answers reach validate --strict and lint --strict through the sentence that names label case and an unresolved navigation target as warnings that pass; the first cut had dropped the two examples as examples. An unresolved page, report or dashboard target is a warning (rule nav-target-unresolved), so this is a fact that passes the check and fails later. Back: the two examples, and "author-time" on the os lint line. Paid: the sweep step's last parenthetical and the objectstack-platform pointer after os package publish. Case 2 has read 3 of 3 in every round since.
  3. After round 3, case 3 failed all three runs again. The answers named @objectstack/verify on 5 of 9 runs where main's text names it on every run: main's set-up sentence (add vitest, a test script and @objectstack/verify where missing) had been cut as a convention. Back: that sentence; and the handle calls moved from a sentence after the example to the facts each one tests. Paid: "no issue numbers, no internal names", and --allow-destructive (moved behind the objectstack-data pointer).
  4. After round 4, case 4 failed all three runs: with --allow-destructive for a drop behind the pointer, no answer named os migrate for the column. Back: the flag, beside the drop. Paid: a --help parenthetical on the version line (new text of this PR, never on main).

Quota readings (the login's seven-day window, status allowed_warning, reset 2026-12-06 14:00 UTC; guard --max-utilization 0.99 by the maintainer's choice recorded in claim amendments 7296541080 and 7298747104, never raised). Before round 0.59; after round 1 0.60; round 2 0.61; round 3 0.61 → 0.62; the three case-3 readings 0.62; round 4 0.62 → 0.63; round 5 0.63; round 6 0.72 (another PR of this split ran its rounds in between). No round was stopped by the guard.

One check that calls no model, beside the rounds: of the 27 must_contain literals of the 10 cases, main's entry carries 18 and the head's entry the same 18 (unchanged by the review round); the other 9 are in the generated platform catalog, which this PR does not touch. Of the 24 must_not_contain literals, main's entry carries six and the head's five (REQ- left with the requirement-file template).

Other tests

On the head d4b240c0, under the verify lock (VERDICT command-exit 0):

  • pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts scripts/skill-map-guards.test.ts (the suite that names the ratchet script and this skill, and the skill-map guards): Test Files 2 passed (2), Tests 57 passed (57).
  • pnpm --filter create-objectstack exec vitest run --maxWorkers=2 src/created-summary.test.ts (the scaffold summary that sends a new project to this skill): Test Files 1 passed (1), Tests 12 passed (12).

No ablation: the diff changes prose and one ledger row, no tested behaviour.

Acceptance notes

Held by another file, recorded here as it stands:

  • The seven numbered headings are kept byte-identical, and ## 6 stays last. The scaffold's AGENTS.md template tells a new project that this skill's "last section names the skill for each kind of metadata"; eval expected outputs cite "§0" by number.
  • The link to references/platform-catalog.md is kept. The catalog is generated; this PR does not touch it.

Decided here (small, no shipped behaviour), each open to reversal in review:

  • "No trap is removed unless a publish-time check covers it or it stays inline" was read as: a fact that passes every check and goes wrong later stays inline. Inline: every ⛔ of main's entry, the two warnings that pass, --rls proves consistency and not intent, a Studio change never ships, the unblock rule, manifest.version by hand, the --copy re-sync, and the backfill-before-removal rules. The changeset lists them.
  • The budget against this file's content: ruled A by the seat. Nearly all of this entry is process teaching with no other home: there is no contract, rules file or check that holds "what to write at each stage" or "what a backfill script must do". With every unique rule and convention kept, the smallest text measured 9.9 KB. Reaching the 9 KB line took cutting small conventions and examples (the requirement-file template, the stale-bot note, "no issue numbers, no internal names", two routing rows and others); the table above and the changeset name each, and say "with no other home" where nothing else holds it. The two ways not taken: keeping them at about 9.6 to 9.9 KB, over the line (the platform entry stands at 9,025 B and the automation entry at 10,703 B), or a new hand-written reference file, which needs a new ratchet row and so a human.
  • The routing list lost two rows that route outside the metadata project (objectstack-ask, objectui). They paid for restored text. If review wants them back, they cost 63 and 44 bytes.
  • The os validate bullet summarises flow trigger readiness, undeclared flow cycles, sharing and row-level-security enforceability and seed rows against state machines as "flows, sharing rules and seed rows that cannot work as declared". The published page holds each by name.
  • The handle calls are named beside the facts they test. main's entry listed them in one sentence after the example. The mapping (a rule's numbers through hooks.run, a flow or an action through flows.run or actions.run, who sees which records through rows) is the one the package's README shows.
  • Word-level tightenings that drop no fact are not itemised in the changeset (for example "the notes customers read" after CHANGELOG.md, "one-line" before the RETIRED marker, "what the bump may have settled" in the sweep step).
  • Four lines in the summary above, not six: the standing order for this card thread asks for six, and the agent file that binds the dev fixes four named lines and wins on conflict.
  • Footer form: this body ends with the single block AGENTS.md prescribes for a PR body.

Noted, not changed:

  • main's entry names the scaffold's starter test note.test.ts; the template's file is starter.test.ts (packages/create-objectstack/src/templates/blank/). The cut removes the stale name with the pointer. Carrier: none.
  • main's entry dates its check table "at 18.x" under a frontmatter that says 19.x. The heading left with the table. Carrier: none.
  • Three eval cases grade a literal that a correct answer can miss or carry: cases 2, 3 and 4 run in an empty project directory, where most answers decline to write code and describe the work, and pass only when the description names every graded literal in its exact casing; case 8 forbids PLATFORM-CANDIDATE and so fails an answer that uses the platform's objects and mentions the marker as a conditional offer. The parity rule treats the cases as fixed, so this PR does not touch them. Carrier: none; noted for whoever owns the case file.
  • Six trigger cases that should not load this skill load it on every run of both trees. Carrier: none; the eval seat's reading.
  • The branch was restarted from main at 5bd786e4 after PR 6 of this split merged, and the five commits of the local round were cherry-picked onto it by the seat, cleanly. The workspace was reinstalled and rebuilt and every gate below ran on the result. main is three commits further on (6d163f41); the gate derivation reports no STALE TREE for them, and none touches a file of this PR, so they are not merged in.
  • Two open PRs share a file with this one and merge cleanly with it (overlap-check, exit 0): chore: version packages (next) #38857, the release PR that restamps every entry's version line (the stamp line is the same length and is not priced by the ratchet), and docs(knowledge): the docs and the AI skill state the document unit (documentBy) and the held knowledge service #38855, a wording change to the AI skill that moves a different ratchet row.

Verification

Read first, by risk:

  1. skills/objectstack-project/SKILL.md, the whole file: is anything a model needs to run a project missing, and is every kept sentence true on its own? The risk hunks are ## 2 (three bullets replace the check table; the paragraph before the example now carries the handle calls) and ## 1 (four list items replace a nine-row table).
  2. .changeset/34770-project-skill-router.md: the "what left, and what answers it now" list is the record of the cuts.
  3. scripts/check-skills-token-ratchet.mjs: the objectstack-project row and its comment.

Two-minute check: node scripts/check-skills-token-ratchet.mjs prints ratcheted (authored) 186703 / 186703 (+0) and skills/objectstack-project/SKILL.md 2244 / 2244 (+0); wc -c skills/objectstack-project/SKILL.md prints 9000.

Gates, local, each exit code captured before any pipe. The whole derived list ran again on the pushed head d4b240c0 (tree d499e661); the workspace build is the one made on 06f27f0f, and the review commit changes no package.

Derived families on head `d4b240c0`: 69 derived, 69 run green, 0 NOT MEASURED
  • Reconciliation: ✓ dispatch-gates --ran: 69 derived famil(ies) accounted for — 69 run, 0 NOT-MEASURED (a DERIVED zero — all 69 recorded an exit code and none of them is 3). No STALE TREE warning on this head.
  • 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) 186703 / 186703 (+0), bundle total 292575); its --self-test: 111 cases pass.
  • pnpm check:dual-build-cjs-loads: 127 published require entry point(s) across 75 package(s) load; 2594 emitted CommonJS file(s) parse. It reads every package's built dist/; pnpm build --concurrency=2 ran on the branch under the verify lock before the first push (VERDICT command-exit 0, 124 successful, 124 total).
  • pnpm check:dts-closure: 124 built package(s) swept - 326/326 declared declaration file(s) present.
  • pnpm check:skill-links: 286 relative link(s) in 76 published skill file(s) resolve; 161 fragment(s) name a real heading under GitHub's slug rule.
  • pnpm check:skill-identifier-liveness: Leg 1: 494 citation(s) over 76 published file(s) ...; Leg 2: 11 registered exhaustive section(s), 0 ledgered gap(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:cross-package-test-inputs, 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 (574 s on a shared box).
  • The remaining derived commands, each exit 0: the other --self-test runs and the whole-tree families the list names on every card.
Outside the derived list, run because they read these paths: all exit 0
  • pnpm --filter @objectstack/spec run check:skill-refs, check:skill-served-sections, check:skill-examples (341 prose examples type-check across 3 surface(s)), check:generated (the last two under the verify lock).
  • pnpm check:doc-anchors (1190 internal #fragment link(s) across 368 source file(s) all resolve), check:skill-top-level-keys, check:changeset-fixed, check:engine-double-contract, check:i18n-stale-fill, check:published-readme-exports, node scripts/check-published-list-mirrors.mjs, node scripts/check-dts-references.mjs --self-test.
  • node scripts/check-platform-checklist.mjs --changed-from origin/main: 0 anchored files in the change set — nothing judged.
  • Local-only families: pnpm check:dev-prereqs, pnpm check:skill-frame-freshness: exit 0.
  • A control-byte scan of the three changed files: no hit.
  • node scripts/pm/overlap-check.mjs before the push: VERDICT clean exit 0 against origin/main and the two open PRs that share a file.

Not run locally, CI's: test:repo, the type-check lanes, the build job's own steps and the dogfood jobs, as the derivation lists them.


Generated by Claude Code

The entry goes from 11,987 to 8,998 bytes (214 lines to 182) and keeps its
numbered sections under the same headings. This skill has no hand-written
reference file, so nothing moved: the per-command check lists, the rest of
the bootStack handle and the schema-change table are cut behind a pointer
(the published CLI page, the README the verify package ships, the data
skill's field-types rule), in-entry restatements are cut once, and the
changeset lists the conventions and examples that left with no other home.
Frontmatter is byte-identical.

The ratchet row follows the file down, pinned at the measurement:
2990 -> 2243. No row rises and none is added.

Claude-Session: https://claude.ai/code/session_01ADHkmSM46qymk97AyqPzoS
Co-authored-by: Claude <noreply@anthropic.com>
The after round on the first cut read the bootStack case at 0 of 3 where
main's text reads 1 of 3: every answer described the test without naming
`stack.hooks.run`, which main's prose names beside `stack.flows.run`. The
entry now says what each of the two does, and `os lint` has its own bullet
again. Paid inside the entry: the design list is shorter, "or as a CI step"
and the objectui routing row are cut; the changeset lists each.

The file is 9000 bytes, 184 lines; the ratchet row is re-pinned at the
measurement, 2244.

Claude-Session: https://claude.ai/code/session_01ADHkmSM46qymk97AyqPzoS
Co-authored-by: Claude <noreply@anthropic.com>
The second after round read the "write a reference test" case at 1 of 3
where main's text reads 3 of 3. Main's answers reach `validate --strict`
and `lint --strict` through the sentence that names label case and an
unresolved navigation target as warnings that pass; the first cut had
dropped those two examples as examples. An unresolved page, report or
dashboard target is a warning (`nav-target-unresolved`), so the example is
a fact that passes the check and fails later: it is back, with "author-time"
on the `os lint` line. Paid inside the entry by two restatements: the
sweep step's last parenthetical (the catalog question says it) and the
objectstack-platform pointer after `os package publish` (the routing list
says it).

The file is 8999 bytes, 184 lines; the ratchet row is re-pinned at the
measurement, 2243.

Claude-Session: https://claude.ai/code/session_01ADHkmSM46qymk97AyqPzoS
Co-authored-by: Claude <noreply@anthropic.com>
The third after round read the bootStack case at 0 of 3. Two things were
behind it. Main's set-up sentence (add vitest, a `test` script and
`@objectstack/verify` where missing) was cut as a convention, and without
it the answers named the package on 5 of 9 runs where main's text names it
on every run: it is back. And the handle calls sat in a sentence after the
code block; they now sit beside the facts each one tests (`stack.hooks.run`
for a rule's numbers, `stack.flows.run` and `stack.actions.run` for a flow
or an action, `stack.rows` for who sees which records).

Paid inside the entry: `--allow-destructive` is behind the objectstack-data
pointer the same bullet names, and "no issue numbers, no internal names" is
said by "in their words" in the same bullet.

The file is 8995 bytes, 183 lines; the ratchet row is re-pinned at the
measurement, 2242.

Claude-Session: https://claude.ai/code/session_01ADHkmSM46qymk97AyqPzoS
Co-authored-by: Claude <noreply@anthropic.com>
… drop

The fourth after round read the "remove a field from a product" case at
0 of 3 where main's text reads 2 of 3: with `--allow-destructive` for a
drop moved behind the objectstack-data pointer, no answer named
`os migrate` for the column. The cue is back in the entry. Paid inside
the entry: the `--help` parenthetical on the version line.

The file is 9000 bytes, 184 lines; the ratchet row is re-pinned at the
measurement, 2244.

Claude-Session: https://claude.ai/code/session_01ADHkmSM46qymk97AyqPzoS
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 1, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 06f27f0f35b259c6e52ffd491b554c201ef3d132
Local-runs: none
Scope: skills/objectstack-project/SKILL.md + scripts/check-skills-token-ratchet.mjs
Security-touching: yes
Rule-change-verified: none

Read for this record: card #34770 (body; of its 70 comments, read in full: the rulings 7128031203, 7168461386, 7176941587 and 7249189592, the claim 7280537583 with amendments 7296541080 and 7298747104, and the dev report 7304210403; the other comments, which concern the earlier PRs of the split, were listed by author and opening line and not read through), PR #38868 (body, file list, net diff of 3 files against main at 94d552cb; merge base 5bd786e4, and main has not touched the three paths since), and the check-runs on the head. Cited code was read on main with git show, nothing was built or run.

① Derived judgments

  • Accept-set and public surface: none changes. The diff is one skill entry file (prose), one CEILINGS row with its comment, and one changeset. No schema, no CLI, no runtime code. Right.
  • Frontmatter: lines 1 to 19 of the entry are byte-identical on main and on the head (name, description, compatibility, version stamp, tags). Right.
  • Anchors: the title and the seven numbered section headings are byte-identical; the only heading-shaped line that left is the # REQ-NNNN line inside the removed fenced template, which was never an anchor. references/platform-catalog.md and both eval files are untouched. Right.
  • Ratchet, read from both trees' tables: 61 rows on each; the one differing row is skills/objectstack-project/SKILL.md 2990 to 2244; the sums are 187,449 and 186,703, a fall of 746. No row rises, none is added. The file is 9,000 bytes on the head; the stamp line is 27 bytes; ceil(8973 / 4) = 2244, so the row is pinned at the measurement with zero headroom, and ceil(11960 / 4) = 2990 matches the old row. The comment's figures and its formula line are right on this head. Right, and inside ruling 7128031203 fork 4 (one row down is not a raise and needs no further ruling).
  • Size line: 9,000 B is on the card's 6 to 9 KB line; 184 lines against the 500-line cap. Right.

② Semver level

Clause-②: no — holds. The changeset names @objectstack/skills at patch, which is what a prose-only change to a published skill file publishes; Metadata-protocol: none holds. The changeset's list of cuts was checked item by item against the diff and against the pointer targets on main: the CLI page (content/docs/deployment/cli.mdx) carries the reference kinds, dataset members, package docs, the capability-provider check, --i18n-strict, the six other opt-in proofs of os verify and the advisory reading of the capability findings; objectstack-data rules/field-types.md has the section "Changing a field that has data" with the table of which change applies on boot and which takes renamedFrom or os migrate; the template's starter file is starter.test.ts. One sentence of the list is loose, and it is the subject of S1: the changeset says "that rows reads as a user" is in the package README, while the README says the default rows runs as the system principal and reads as a user only when the call passes as.

③ Boundary flags

  • Dev report 7304210403 carries one open question, the request for this review; this record answers it.
  • Deviations named there: authoring in a subagent at the mandated tier (the seat's ruling, not a contract matter); the eval round ran on local commit 12819c3d and not on the pushed head (accepted: the skill directory and the runner are stated byte-identical, and main's entry is unchanged since the round); main two commits ahead with no file of this PR touched (confirmed: no diff on the three paths between the merge base and main); four summary lines, the unpushed local branch, test:repo left to CI. None needs escalation.
  • Out-of-scope notes in the report (eval literals that fail correct answers, six trigger cases that load the skill on both trees): the eval seat's, carrier none; not judged here.
  • The seat's two rulings in the PR body (budget A, case 8 A) are taken as given; the budget ruling's own condition, that every cut is listed beside what answers it, is met except for N2 below.
  • SQL push-down: not applicable, the diff holds no query code.
  • Security: yes. Changed hunks teach security behaviour: the os verify --rls bullet (a user who cannot read a record cannot write it; --rls proves consistency and not intent), the os validate bullet's sharing-rule family (reworded from "sharing and row-level security enforceability"), the paragraph that names stack.rows for who sees which records, the example's signIn and signUp comments, the design item's "access" (was "who may read and edit them"), and the routing rows for permissions and auth (table to list). Unchanged but present: no hand-rolled permission check in section 3, and the backfill rule that the password or token comes from the environment or a prompt and never an argument.

④ Design judgment

skills/objectstack-project/SKILL.md

(1) Remaining sentences, checked on main: the scaffold's CI runs pnpm validate, pnpm lint, pnpm typecheck, pnpm test and no os verify (packages/create-objectstack/src/templates/blank/.github/workflows/ci.yml); --strict exists on both os validate and os lint and makes warnings fail; nav-target-unresolved is a registered rule; bootStack, signIn, signUp, hooks.run, flows.run, actions.run, seed and rows are the handle the @objectstack/verify README documents, and signUp is a plain member; os migrate plan, os migrate apply and --allow-destructive are as the data rules file says; skills@1.7.2 is the pinned sync version in create-objectstack; os package publish defaults its version to the artifact's manifest.version. The new sentence under the title is an instruction, and a sound one for a file whose lists are a version's. No false sentence found.

(2) Removed text, pointer by pointer. The three pointer targets exist on main and say what the entry leaves to them (see ②). The removed automation boot option is not a trap: flows.run on a stack with no automation service refuses loudly (SERVICE_NOT_REGISTERED, packages/verify/src/handle.ts). The schema-change table is behind a named section with the commands kept inline. One removal is of the class the card's Scope keeps inline:

S1 (should-fix) — the entry now names stack.rows as the call that tests "who sees which records as this business intends" and no longer says the read is made as a user. On main the handle sentence said "stack.rows (read as a user)". In the code, rows(object, where, opts) takes the caller from opts.as and otherwise uses the system context (packages/verify/src/handle.ts, the rows method: opts?.as ? await contextFor(opts.as) : SYSTEM_CONTEXT), and the README says the same ("the default rows ... run as the system principal"). A visibility test written from the entry as stack.rows('crm_deal') is accepted, reads every row past sharing and row-level security, and so passes or fails for a reason that has nothing to do with who may see the record. That is an input accepted and then answering wrong, left behind a pointer, against the card's "no trap is removed until a publish-time check covers it or it stays inline" and against the PR's own reading of that line. The entry's example shows as only on hooks.run. Fix: say at stack.rows that the read passes as (for example "stack.rows with as: without it the read is the system's"), paid inside the entry; and correct the changeset sentence in the same stroke. The 18 graded literals are not touched by such a fix.

N1 (nit) — the pointer for the full check lists is the bare page https://objectstack.ai/docs/deployment/cli, which is 4,644 lines on main; the lists sit under its "Build & Validate" and "Quality" headings. A fragment or the heading names would let a reader land on them. Same form as the pointers already merged in the api, formula and query entries.

N2 (nit) — main's stage table had, in the product column of Design, "The note always answers installed data and upgrade steps". The head folds the two starred items into the design list, and the word "always" is gone; neither the PR body's table nor the changeset lists this. Sections 4 and 5 still force both answers on a breaking change, so no rule is lost in effect; the list of cuts is short by one line.

(3) "Cut, with no other home": the requirement-file template, the locale-or-device clause, the stale-bot note, the older-scaffold note, the os explain caveat, "or as a CI step", the changesets set-up command, the AGENTS.md mention for a Studio change, the four kinds of example, "and the app pays for it", "a workaround outlives the fix", "works on any installed metadata". Each is a convention, an example or a reason; none is an input that passes a check and answers wrong later. --i18n-strict (behind the CLI page) was weighed for the same class: a missing non-source translation is reported by os lint without the flag and the entry keeps the rule that only errors fail, so it is covered. Safe to drop.

(4) The four restored facts are present with the right text: os lint as its own bullet with "author-time"; the two warnings that pass (label case, an unresolved navigation target) with --strict; the set-up sentence (vitest, a test script, @objectstack/verify) and the handle calls beside the facts they test; --allow-destructive beside the drop. Static count over evals/project-process.json (untouched): 27 must_contain literals; main's entry carries 18 and the head's the same 18; the other 9 are in the generated catalog on both trees. None lost. Of the 24 must_not_contain literals main's entry carries 6 and the head's 5 (REQ- left with the template).

Eval parity under ruling 7249189592, as the PR body records it: 27 of 30 on both trees in one window, no case failing every run of the head; the head text of the round equals this head's bytes by the dev's statement. Not re-run here.

scripts/check-skills-token-ratchet.mjs (implementing file): the row and its comment agree with the entry and with the tables, sentence by sentence (see ①). The comment's "No row rises and no row is added" is true on this head.

(8) Check-runs on the head, read 2026-12-01: 44 runs. Completed success, 20: Auto Label, Build Core, Check Changeset, Check PR Size, Dogfood Regression Gate, Governed Surface Queue Guard, Lint (CI, release and engine gates; ESLint; docs and code guards; repo and tooling gates; scoped tooling self-tests), Live E2E UI, PR-body guards, Plan Test Core shards, Test Core (3/12), Test UI, Type Check (debt ledger; source gates; workspace), filter. Completed skipped, 18 (opt-in, queue and UI lanes). In progress, 6: Lint · PM dispatch-gates, Lint · scoped · query-options erasure, Lint · scoped · slot lookup & corpus, Test Core (1/12), Test Core (2/12), Type Check · consumer gates. No failure. The six pending runs are the seat's to read before it acts on this record.

Open on this head: S1. N1 and N2 are left to the dev's choice with the S1 delta, or as accepted deviations.

Implemented-by: claude/project-thread-96llpb
Reviewed-by: session_01ADHkmSAjFEZHRpRq3WCj6z

VERDICT: PASS

…with `as`

Contract review of 06f27f0, should-fix S1: the entry named `stack.rows`
as the call that tests who sees which records and no longer said the read
is made as a user. `rows` takes its caller from `as` and otherwise reads as
the system, past sharing and row-level security, so a visibility test
written without it passes or fails for the wrong reason. The entry says so
at `stack.rows`; the changeset no longer leaves that to the README.

Paid inside the entry with wording that carries no fact; the file stays
9000 bytes and the ratchet row does not move. Nit N2: the changeset now
lists the design note's "always answers" line among the cuts.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB
L1-b, the seat's L1 thread · 2026-12-01T07:44Z · first review

席位核对

ACCEPT @ 06f27f0. Part of #34770 is right: the card's catalog-size line is not met by this PR alone. Draft, 3 files:

  • the entry,
  • the changeset,
  • the one ratchet row.

① What stays the same, and what changes.

  • Unchanged:
    • The frontmatter is byte-identical to the branch point 5bd786e4.
    • So is every # and ## heading. The only heading-shaped line that left is # REQ-NNNN <title> inside the cut requirement-file template's code block.
    • ## 6 is still last, which the scaffold's AGENTS.md template relies on.
    • No file under skills/ other than SKILL.md changes, and references/platform-catalog.md keeps its link.
  • Size: 9,000 B and 184 lines.
  • Ratchet: the row goes 2990 → 2244, which is ceil(8973 / 4). No row rises and none is added.

② The new and reworded sentences are true at this head. I read each one against the code.

  • The bootStack handles.
    • stack.hooks.run is one real write as a user, stack.flows.run and stack.actions.run exist, and so do stack.rows and stack.seed. All of these are in packages/verify/README.md.
    • The README also carries the { automation: true } boot option that the changeset sends there.
  • Warnings. An unresolved navigation target is a warning (nav-target-unresolved, severity: 'warning' in validate-nav-target-refs.ts), so it passes without --strict.
  • Pointers and names.
    • objectstack-data rules/field-types.md has ## Changing a field that has data.
    • The published page content/docs/deployment/cli.mdx exists.
    • The scaffold's starter test is starter.test.ts, so the old entry's note.test.ts was stale, as the body notes.
  • The changeset. I read it sentence by sentence against the diff. Each cut it lists is a cut in the file, and each one it calls "kept" is still there.

③ Measured in a scratchpad worktree at this head.

  • Gates:
    • check-skills-token-ratchet ✓;
    • check-skill-links ✓ (286, 161 fragments);
    • check-skill-identifier-liveness OK;
    • check:skill-docs, check:skill-served-sections, check:skill-refs and check:doc-anchors all 0;
    • check:skill-examples 0 (341 examples);
    • the spec platform-catalog and skill-map-guards tests 57/57;
    • create-objectstack created-summary 12/12.
  • Eval literals (no model).
    • must_contain: 27 in all. main's entry carries 18 and this head's carries the same 18, none lost. The other 9 are all in the generated catalog.
    • must_not_contain: 24 in all. main's entry carries 6 and the head's 5, the one leaving being case 6's REQ-. None is gained.
    • This matches the body.
  • Ablation A: the base ratchet row goes red (2244 / 2990 (-746)).

④ Two things nothing gates. Neither is a must-fix, because both were already true on main.

  • The entry's ts block is not a marked example, so check:skill-examples does not type-check it. My ablation B (stack.hooks.exec in place of stack.hooks.run) stayed at exit 0. The handles in it hold today only because I read them against the README.
  • No gate pins the section headings. Ablation C (renaming ## 6) left links, served sections, the spec guards and the scaffold summary test all green. The byte-identity holds because I measured it, not because a check enforces it.
  • If the seat wants either pinned, that is a separate card.

⑤ Eval parity: the card thread measured it, I did not.

  • Its figures, from one window: 27/30 on both trees.
  • They meet 7249189592. No case fails all three runs at the head.
  • Case 8 (head 2/3, main 3/3) fails on the forbidden PLATFORM-CANDIDATE literal used as a conditional offer. The rule text behind it is byte-identical on both trees.
  • The round ran on local 12819c3d. The body states the skill directory and runner are byte-identical to this head. My literal check above agrees with the entry's content.
  • The seat ruled A on the budget question.

⑥ Face.

  • l1-face is clean except CI, which is still running: 26 success, 2 pending and 0 failed when read. The floor checks are green.
  • The dogfood battery is not owed.
  • main is two commits ahead and neither touches these files.

Not covered by this ACCEPT:

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB
L1-b, the seat's L1 thread · 2026-12-01T08:28Z · delta review (06f27f0 → d4b240c)

席位核对

ACCEPT @ d4b240c. This covers what changed since my ACCEPT 7304429043 at 06f27f0f: the one commit d4b240c0, with 2 files (the entry and the changeset). It contains no merge.

① S1 of contract review 7304362531 is true to the code.

  • The new text says stack.rows reads as a user only with as, and that without it the read is the system's.
  • The code agrees. packages/verify/src/handle.ts: rows() takes opts?.as ? await contextFor(opts.as) : SYSTEM_CONTEXT. The handle's own doc says "System-scoped by default (every row); pass as to read as a caller, under that caller's object grants and RLS".
  • The changeset matches. It drops "that rows reads as a user" from the README-pointer bullet and keeps the fact inline instead. The N2 addition to the cut list ("always answers" installed data and upgrade steps) matches the design item, where both are starred.

② The paying cuts drop no fact:

  • "fails warnings too" → "fails warnings";
  • "and each option are in" → "each option:";
  • "Relief for customers" → "Customer relief";
  • the sweep step loses its "what the bump may have settled" lead-in, and its three items and section pointers stay.

③ Measured in a scratchpad worktree at this head.

  • Size: the entry is still 9,000 B and 184 lines. The ratchet row 2244 is unchanged, and scripts/ is untouched.
  • Unchanged from the base: the frontmatter is byte-identical to 5bd786e4, and every heading too (the only # line gone is the cut template's # REQ-NNNN). ## 6 is still last.
  • Gates:
    • check-skills-token-ratchet ✓;
    • check-skill-links ✓ (286, 161 fragments);
    • check-skill-identifier-liveness OK;
    • check:skill-docs, check:skill-served-sections, check:skill-refs and check:doc-anchors all 0;
    • check:skill-examples 0 (341);
    • spec guards 57/57;
    • create-objectstack created-summary 12/12.
  • Ablation A: the base ratchet row goes red (2244 / 2990 (-746)).
  • Eval literals are the same as at 06f27f0f:
    • must_contain is 18 of 27 in the entry, on both main and the head, with none lost; the other 9 are in the catalog;
    • must_not_contain is 5 of 24 in the head's entry (6 in main's), with only case 6's REQ- leaving and none gained.

④ Eval parity: the card thread measured it, I did not. Its figures are 27/30 at this head against main's 27/30, which meets 7249189592.

Still as in 7304429043: the entry's ts block is unmarked, and no gate pins the headings. Both were already so on main.

Not covered by this ACCEPT: CI at this head, the L2 contract re-review and the governed approval (Tier H), which are the seat's.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d4b240c007793424bbf5741ad5503117169cf445
Local-runs: none
Scope: skills/objectstack-project/SKILL.md + scripts/check-skills-token-ratchet.mjs
Security-touching: yes
Rule-change-verified: none

Delta review of record 7304362531 (head 06f27f0f). Read for this record: the diff 06f27f0f..d4b240c0 (one commit, two files: the entry and the changeset; no merge of main), the delta report 7305292150 on card #34770, the PR body now live, and the check-runs on the new head. Cited code was read on main with git show; nothing was built or run.

① Derived judgments

  • Accept-set and public surface: unchanged by the delta. Five prose hunks in the entry and two sentences in the changeset. Right.
  • Frontmatter, title and the seven section headings: no hunk touches them. Right.
  • Ratchet: scripts/check-skills-token-ratchet.mjs is byte-identical on both heads. The entry is 9,000 bytes and 184 lines on the new head, so ceil(8973 / 4) = 2244 still equals the row, zero headroom; the comment's figures still hold; the sum of ceilings stays 186,703. Right.

② Semver level

Clause-②: no — holds. Still @objectstack/skills at patch for prose. The corrected changeset sentence is true: it no longer leaves the rows fact to the README, and says the entry keeps inline that stack.rows reads as a user only when the call passes as, the read otherwise being the system's, past sharing and row-level security. The added entry under "Cut with no other home" is true: main's product column of the Design row said the note "always answers" installed data and upgrade steps; the head keeps both as starred items of the design list, and sections 4 and 5 require both on a breaking change. The PR body's table carries the same line.

③ Boundary flags

  • Delta report 7305292150, open questions: the request for this review (answered here), and the PR body to be sent by the seat (the live body now carries the review round and the round-6 column). Nothing to escalate.
  • N1 of 7304362531 (a fragment on the CLI page pointer) is not taken; the dev's reason is the byte cost against kept text. Left as an accepted deviation.
  • SQL push-down: not applicable.
  • Security: yes. The delta's main hunk teaches who a read runs as (stack.rows with as, the system otherwise) beside --rls; the rest of the reasoning of 7304362531 stands.

④ Design judgment

skills/objectstack-project/SKILL.md

(1) The new sentence, "stack.rows with as: without it the read is the system's", against the code: rows(object, where, opts) in packages/verify/src/handle.ts resolves opts?.as ? await contextFor(opts.as) : SYSTEM_CONTEXT, and the @objectstack/verify README says as is a token from signIn or signUp and that the default rows runs as the system principal. The sentence is true, sits at the call it qualifies, and the example above it already shows the as option's shape.

finding S1 of 7304362531: closed

(2) The four rewordings that pay for it, each read for a lost fact: "fails warnings too" to "fails warnings" (the sentence before still says errors fail); "are in the package's README" to a colon form; "Relief for customers" to "Customer relief"; the sweep step loses "what the bump may have settled" (step 4 still names the three things to sweep with their sections, and the section each names says when one is settled). None drops a fact an author needs. The 18 graded must_contain literals the entry carried are all still present (27 in the cases, 18 in the entry, 9 in the generated catalog).

(3) Changeset: see ②. True on this head.

(4) Ratchet: see ①. Exact, zero headroom.

(5) Eval under ruling 7249189592, as report 7305292150 and the PR body record it: one after round on d4b240c0, with-skill 27 of 30 against main's 27 of 30 in the deciding round. Case 3 is 1 of 3 on both trees (unstable on both); case 8 is 2 of 3 on the head (a conditional mention of a forbidden marker, the rule text identical on both trees, left by the seat's ruling A); case 4 is 3 of 3 on the head against 2 of 3. No case fails on every run of the head while main passes, so the rule reads no regression. Not re-run here.

No must-fix, no should-fix.

(6) Check-runs on d4b240c0, read 2026-12-01: 49 runs. Completed success, 25: Auto Label, Build Core, Check Changeset, Check PR Size, Dogfood Regression Gate, Governed Surface Queue Guard, Lint (CI, release and engine gates; ESLint; docs and code guards; repo and tooling gates; scoped query-options erasure; scoped slot lookup and corpus; scoped tooling self-tests), Live E2E UI, PR-body guards (two runs), Plan Test Core shards, Test Core (3/12), Test UI, Type Check (consumer gates; debt ledger; source gates; workspace), TypeScript Type Check, filter. Completed skipped, 20. In progress, 4: a second Check Changeset run, Lint · PM dispatch-gates, Test Core (1/12), Test Core (2/12). No failure. The four pending runs are the seat's to read before it acts on this record. The PR is still a draft.

Implemented-by: claude/project-thread-96llpb
Reviewed-by: session_01ADHkmSAjFEZHRpRq3WCj6z

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

维护者速读

  • 用户能看到什么变化: 只改技能文字。objectstack-project 技能的入口从 11,987 字节削到 9,000 字节,改成「路由」:只留作者做决定要用的规则和陷阱,其余指向 CLI 发布页、@objectstack/verify 的 README 和 data 技能的字段类型规则。没有新文件,frontmatter、标题和七个小节标题都不变。
  • 为什么做: 卡 skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770 第 7 个 PR(技能瘦身,一次一个技能)。评测同窗:main 27/30,这个 head 27/30,没有「main 过、本 head 每遍都挂」的题。剪掉的几条小约定(需求文件模板、stale-bot 说明等)在 changeset 和正文里逐条列出,写明从哪里还能找到或「没有别处」。
  • 出错会怎样: 不改代码行为,最坏是 AI 搭项目时少了某条提示。撤销合并即可恢复。
  • 要你做什么: 动了 skills/**,属于受管路径,按 Tier H 需要你批准。不走低风险技能通道:有安全相关句子(--rls、共享规则、按用户身份读记录),还改了 scripts/ 的 ratchet 行。批准后由席位落地。

Seat opinion: land as is.

席位核对

ACCEPT at head d4b240c007793424bbf5741ad5503117169cf445 · Tier H (governed skills/**; low-risk skills arm refused: security-touching text, scripts/ path) · Part of #34770

  1. Shape: three files: skills/objectstack-project/SKILL.md cut to a router (11,987 → 9,000 bytes, 214 → 184 lines, 2244 tokens), its CEILINGS row lowered 2990 → 2244 with zero headroom (sum 187,449 → 186,703, no row rises), and .changeset/34770-project-skill-router.md (@objectstack/skills patch). No hand-written reference file; nothing moved in.
  2. Premise: every sentence left is true on main, every pointer target exists and says what the entry leaves to it, and each "Cut, with no other home" item is safe to drop (L2 7304362531). The one accepted-then-wrong case the first cut left behind a pointer is back inline: stack.rows reads as the system unless it is given as (L2 delta 7305379222, closing that record's finding S1).
  3. Gates: on this head 31 success, 20 skipped, 0 failed; mergeable clean. The dev's dispatch-gates run: 69/69, 0 NOT-MEASURED.
  4. Eval parity (ruling 7249189592), read by the seat: with-skill main 27/30 → head 27/30; no case fails every run of the head while main passes. Case 8 mentions a forbidden literal conditionally on some runs (rule text equal on both trees; seat ruling A, recorded in the body). Four earlier after rounds each exposed one lost fact, restored inside the entry under ruling 7168461386.
  5. Accepted deviations: N1 (the full check-list pointer is the bare CLI page URL, same form as the merged api, formula and query entries). The budget ruling (deliver 9,000 B and list every cut) is the seat's, recorded in the body. Out of scope: the entry's ts example blocks are not type-checked and the headings have no gate (both as on main), noted by L1-b and left uncarded under the no-new-cards order.
  6. Landing: L1-b delta ACCEPT 7305377315 and L2 delta PASS 7305379222 on this head (earlier: L1-b 7304429043, L2 7304362531). Lands after os-zhuang approves.

ACCEPT → comment 7305377315 · Contract review → comment 7305379222

@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 1, 2026
@objectstack-fleet
objectstack-fleet Bot requested a review from os-zhuang December 1, 2026 08:34
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

security added: the contract reviews on this pull read Security-touching: yes (--rls, sharing rules, who sees which records through stack.rows), as on PR 5 #38802 and PR 6 #38821.

@os-zhuang
os-zhuang marked this pull request as ready for review December 1, 2026 08:34
@os-zhuang
os-zhuang added this pull request to the merge queue Dec 1, 2026
Merged via the queue into main with commit 2af3d78 Dec 1, 2026
65 of 66 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-96llpb branch December 1, 2026 08:55
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Merged; pm:awaiting-merge removed. #34770 stays open for split PR 8 (objectstack-ai).

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 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.

3 participants