Skip to content

docs(skills): objectstack-data teaches that os validate and os build refuse seed records a validation rule refuses - #37228

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-37158-skills-seed-validation
Nov 25, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-37158-skills-seed-validation

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Fixes #37158

Clause-②: no
Metadata-protocol: none
Skills-docs: this PR is the skills-docs half (skills/objectstack-data/references/seeds.md); PR #37156 shipped the behaviour and named this card

维护者速读

What changes

skills/objectstack-data/references/seeds.md taught the opposite of what PR #37156 ships ("os validate does not run them on seed rows"). Now:

  • The validation-rule passage. os validate / os build exit 1 (--json too) on each record a rule refuses, naming its location (data[0].records[1]), object, index and rule. Only text, number, boolean and single-select literals (or a field absent or null with no default) decide a rule; anything else it reads (a date, JSON, multi-valued, reference or CEL value, '', a formula or roll-up field), a beforeInsert hook on the object or an update set leaves it counted, never refused: the load judges it, and os verify fails on each dropped row. The parent-roll-up sentence that follows still holds (a reference hop is counted, not refused).
  • The externalId passage. A blank key field fails os validate / os build as well as being refused at load.
  • Same-file cuts pay the bytes: seeds.md 1895 / 1898 tokens; no ceiling raised, the ratchet script not in the diff. One @objectstack/skills patch changeset.

Every sentence was measured against the merged code (packages/lint/src/seed-row-refusals.ts judgeSeedRowRefusals / fieldKnown / LITERAL_FIELD_TYPES; packages/cli/src/commands/validate.ts, compile.ts, verify.ts).

Deviation: build tier

The first build of this PR ran partly at a lower model tier (a model fallback in the zone's container; skills/** mandates CONTRACT_REVIEW_TIER for the build). By the seat's ruling, an at-tier contract review checking every changed sentence stands in for it; the S1 fix round ran at tier in a cloud session.

Review history

  • At-tier contract review 7153723218 at dfeb033ce7: PASS with S1 (should-fix: the "cannot decide" gloss was narrower than fieldKnown).
  • S1 fix at 756c7b6b; at-tier delta 7162891419 PASS (S1: closed; supersedes 7158223195, which carried two Security-touching: lines).
  • main merged twice for landing (K, then the shared-budget leg); delta 7163409127 PASS at 350e2601, and delta 7164141203 on the current head (cb7b4938) confirms the reviewed paths byte-identical.

Tests

Text only. Eval cases hooks-security-seeds-datasources.json ids 14, 32 and 34 still hold against the edited text (read by the reviewer). Check-runs on the head: Test Core, TypeScript Type Check, Lint & Repo Gates success.


🤖 Generated with Claude Code

https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr

…refuse seed records a validation rule refuses

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: dfeb033ce7bf3729a939f7a764fd45d68ce7f913
Local-runs: none
Scope: skills/objectstack-data/references/seeds.md + none
Security-touching: no
Rule-change-verified: none

Inputs: card #37158 (body and all four comments, the os-dev-report 7153424667 included), this PR's body, file list and net diff against main at the head, and the 44 check-runs on the head. The merged code of PR #37156 was read in the live tree (commit 29f1280d, an ancestor of this head's base), never reviewed. No implementing file is in the diff, so Scope: names none.

① Derived judgments

  • Accept set: nothing moves — right. The diff is two text files. No schema, export, validator, CLI or loader byte changes; the narrowing these sentences describe shipped in PR feat(cli,lint)!: os validate and os build refuse seed records the seed load would drop #37156 under its own declaration.
  • Published surface: the text of one @objectstack/skills reference changes — right as declared. One heading is renamed (Columns the app owns after the first load — columns.FIELD.applyOn loses "after the first load"). No anchor or by-name reference to it exists at this head: the only seeds.md#… link in the tree is #import-modes (skills/objectstack-platform/SKILL.md:379, heading untouched), and packages/spec/scripts/skill-served-sections.json serves Seed best practices (untouched). No link breaks.
  • Metadata-protocol: none — right. Nothing an author can write is added, narrowed or given a new meaning by this diff.

② Semver level

  • '@objectstack/skills': patch — right. The package exists (packages/skills/package.json), the diff publishes skill text only, and kind none takes patch.
  • Clause-②: no is line-initial on both the PR body and the changeset body, and matches the diff (no accept-set arm).
  • The changeset body's clauses agree with the code read for ④. It carries the same shortened gloss S1 names; changeset prose is outside ④ and is not graded here, but a fix of S1 should keep the two saying the same thing.

③ Boundary flags

  • open_questions: empty in the report. Nothing to answer.
  • Deviation 1 (four gates not measured locally: check:skill-examples, check:doc-formula-expressions, check:dual-build-cjs-loads, check:lean-entry-closure): answered by the head's check-runs. All 44 are completed, each success or skipped, none failed, none pending — Lint & Repo Gates, TypeScript Type Check and its lanes (Type Check · consumer gates included), Build Core, Test Core, Check Changeset and Governed Surface Queue Guard all success. Accepted.
  • Deviation 2 (no local test owed): agreed, the diff has no package under test.
  • out_of_scope_findings (content/docs/data-modeling/seed-data.mdx stays true): confirmed at the head — the state-machine warning sentence and the insert / replace refusal sentence are both still what the code does. No docs change owed.
  • File surface: the claim named the validation-rule passage and one changeset; the diff also edits other lines of the same file to stay at its token ceiling (1898 / 1898). Same claimed path; each cut is judged in ④.
  • Build tier: the dispatch states the build ran partly below tier. Every changed sentence was read here at tier, not a sample; ④ lists them all.
  • Author: the PR's user.login is objectstack-fleet[bot]; no other author to name.
  • SQL push-down: no code in the diff; nothing to check.
  • Security-touching: no, by the brief's rule: no changed line teaches permission, sharing, credential, token or authentication behaviour. The sys_organization / multi-tenancy note in the first hunk is unchanged context; the CEL paragraph is a rewording whose teaching (new Date() ships the author's clock) is unchanged and is not a security rule.
  • For the seat, outside this diff (read, not reviewed): on a --json run neither command emits the not-judged count — the dim line is printed only without --json (packages/cli/src/commands/validate.ts:1252, compile.ts:1367). So "counted" is invisible to a --json caller. A note or a card is the seat's call; it is not a finding on this head.
  • The PR body tells the maintainer the PR needs their approval or merge. Which tier arm applies is the guard's reading of this record, not this record's; the seat reconciles that sentence.

④ Design judgment

skills/objectstack-data/references/seeds.md, every changed sentence, against packages/lint/src/seed-row-refusals.ts, packages/cli/src/commands/validate.ts (step 3d-quater, lines 1217-1257), compile.ts (step 4a-0-bis, lines 1342-1372; os build is Build extends Compile) and verify.ts (hardFailures) with packages/verify/src/seed-outcome.ts.

The two teaching passages

  1. Line 138, "Seed rows obey the object's validation rules (all but state_machine); a refused row never lands." Unchanged, and still what the check does: judgeSeedRowRefusals filters r.type !== 'state_machine' and calls the evaluator with skipStateMachine: true. Holds.
  2. Lines 139-141, "os validate / os build exit 1 (--json too) on each record a rule refuses, naming its location (data[0].records[1]), object, index and rule." Holds on all four points. Exit: both doors call this.exit(1) on a non-empty refusals, after emitJson when flags.json is set, and neither block sits under a flag. Names: each refusal carries location (built as the dataset location plus .records[r]; datasetsOf yields data[i]), object, recordIndex and validationRule, and the text line prints location, index, object and rule name. Rule set: only active, error-severity rules whose events include insert are judged, which is the set that can refuse a write.
  3. Lines 141-144, "A rule the record's literals cannot decide (it reads a reference, default, formula or roll-up; the object has a beforeInsert hook; an update set) is counted, never refused: the load judges it, and os verify fails on each dropped row." Each named case is right: a reference hop and a reference field (rule-reads, field-value), an absent or null value the load fills from a default (loadFillsBlank), formula / summary fields (COMPUTED_FIELD_TYPES), a declared beforeInsert hook on the object or on * (hook), and mode: 'update' (update-mode). Each is counted in notJudged and never pushed to refusals. os verify still fails on a dropped row: seed.hardFailures counts every rejected record. But the gloss is narrower than the code — S1 below.
  4. Lines 144-147, the parent roll-up sentence ("A rule reading" became "One reading"). Holds, and sits correctly after the counted clause: record.invoice.amount_paid is a relationship traversal, predicateReads returns null, the pair is counted and left to the load, so "children must fit in record order" remains the author's rule. Eval id 32 is accepted against exactly this and still holds (roll-up never stored, only state_machine skipped, os verify fails on a dropped row — all three still in the file).
  5. Lines 100-104, the blank key: "…fails os validate / os build and is refused at load in every mode: the result names the object, record index, field and fix, and the other records still load." Holds. isBlankKeyValue is no value, null or '' with no trim (so "whitespace is a value" stays true); the check runs before the rules and in every mode, update included; the message is the loader's own sentence, which names object, index, field and the fix. The two cases the walk leaves to the load (a key field holding an expression, the organization column) are not blank literals, so the sentence does not overclaim. Eval id 34 still holds.

S1 (should-fix) — the "cannot decide" gloss leaves out the present values of a non-literal type, so the sentence reads as promising a refusal the commands do not give. fieldKnown judges a pair only when every field the rule reads is one of text-like, select / radio, number / currency / percent, boolean / toggle and holds a value of that JavaScript type (LITERAL_FIELD_TYPES). A present date or datetime value, a JSON or multi-valued field, a CEL value, an empty string, a platform-injected column and a json_schema rule are all counted, never refused. PR #37156's own changeset names them ("a present value of a non-literal type such as date or datetime"). An author reads end_date: '2026-03-01' as a literal, so for the commonest cross-field rule there is — one date against another — lines 139-144 say os validate exits 1 and it does not: the row is dropped at load. The PR body sets this bar itself ("it must not promise a refusal for an undecidable pair"). The fix is small: either name the judged set positively (text, number, boolean and single-select values decide a rule; anything else is counted) or add the date case and mark the list as examples. The file has 2 bytes of headroom, so it needs a paying cut. Not a must-fix: the general clause is true as written, the load still refuses the row, and the same sentence sends the reader to os verify.

The pay-down cuts (each: is it still said?)

  1. Lines 3-4, the defineDataset note without "ADR-0021" and "which is the": meaning intact; eval id 4's must_not_contain: defineDataset( still taught.
  2. The removed opening sentence (an *.object.ts usually pairs with a *.seed.ts) and the removed // src/data/index.ts comment: the file kinds are still named in skills/objectstack-data/SKILL.md § Verify your work; nothing in packages/cli/src keys on the .seed.ts name, and no eval asserts either. See N2.
  3. Quick-start records without color, the contact record without first_name: example data only; the keyed fields and the lookup-by-natural-key the examples exist for remain.
  4. Table rows: externalId loses "required in every record" — said in full at lines 100-104; "(see below)" to "(below)" is wording.
  5. Line 77, the heading: see ①, no inbound link.
  6. Lines 119-121, "(e.g. a system user)" removed: the rule (rely on the id fallback only for records you did not seed) is intact.
  7. Lines 151-154, the CEL paragraph: same teaching, shorter. See N3.
  8. Lines 182-184, "run them before trusting the load" removed: the instruction to run os validate / os build before reporting done stands in SKILL.md § Verify your work, and the sentence that these commands refuse a malformed value first stays. Eval id 14 (well-formed fictional values, no masked phone, no N/A, no downgrade to text) still holds against lines 181-189.

Nits

  • N1 (nit) — line 143, "an update set" is a noun phrase after two clauses; "the set is update" would parse. "Set" for a dataset is the file's own word (lines 48-49).
  • N2 (nit) — where seed files sit (src/data/) is no longer said anywhere in the bundle; it was an example path, not a rule. Accepted deviation.
  • N3 (nit) — line 152, "The only correct way to author … values: …" is a fragment. Meaning intact.

Beyond S1, tried to break it and could not: no changed sentence claims a refusal for a reference hop, a roll-up, a default, a formula, a hooked object or an update set; none claims state_machine rules are judged; none says the count appears under --json; no eval in skills/objectstack-data/evals/ asserts a removed sentence (ids 4, 14, 30, 32, 34 read in full).

S1 is open on this head. Its fix moves a reviewed file and earns a delta review.

Implemented-by: claude/issue-37158-skills-seed-validation
Reviewed-by: session_01QSeKYpzkic2ATLVEewyrmg

VERDICT: PASS


Generated by Claude Code

…cord's validation rule

Text, number, boolean and single-select literals decide a rule; a date,
JSON, multi-valued, reference or CEL value is counted, never refused.
Paid by cutting restatement in the same file.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 756c7b6bd6816d2ca3b433a0630b557f372b341a
Local-runs: none
Scope: skills/objectstack-data/references/seeds.md + none
Security-touching: no
Rule-change-verified: none

Delta over record 7153723218 (head dfeb033c). Judged: the one commit since that head (756c7b6b, two files, 9 lines in, 9 out), the fix-round os-dev-report 7157496545 on card #37158, and the 44 check-runs on this head. Everything record 7153723218 judged and this commit does not touch stands as judged there. The cited code is unchanged on main since that record (no commit touches packages/lint/src/seed-row-refusals.ts, the three CLI commands or packages/verify/src/seed-outcome.ts).

① Derived judgments

  • Accept set: nothing moves — right. Text only, as before.
  • Published surface: no heading is touched by this commit; the one inbound anchor (seeds.md#import-modes) still resolves. Right.
  • Metadata-protocol: none — still right.

② Semver level

  • '@objectstack/skills': patch and both declaration lines are untouched. Right.
  • The changeset body now carries the same two sentences as the file, in its own wording (an empty string spelled out, "update dataset"). The two agree with each other and with the code.

③ Boundary flags

  • open_questions: empty in the fix-round report.
  • Its deviation (edited in the container's own checkout of the card branch, no separate worktree; a single-agent cloud container): a process note for the seat, no effect on the diff. The push was plain: dfeb033c is an ancestor of this head.
  • The fix was written by another session than the first round (session_01QSeKYkpft1pGsKsE6d4mKS, per the report) on the same branch; Implemented-by: keeps the branch.
  • Check-runs on this head: all 44 completed, each success or skipped, none failed, none pending — Lint & Repo Gates, TypeScript Type Check and its lanes, Build Core, Test Core, Check Changeset, Governed Surface Queue Guard all success. The report did not read CI; this does.
  • Token ceiling: the file is 7579 bytes at this head (read from the git object), under the unchanged 1898 ceiling; the ratchet script is not in the diff.
  • Security-touching: no: the commit removes two code comments, trims two clauses and rewrites the validation-rule gloss. No changed line teaches permission, sharing, credential, token or authentication behaviour.
  • SQL push-down: no code in the diff.

④ Design judgment

S1: closed.

The rewritten gloss, lines 139-144, against fieldKnown, LITERAL_FIELD_TYPES, COMPUTED_FIELD_TYPES, loadFillsBlank, rewrittenAtLoad and ruleReads in packages/lint/src/seed-row-refusals.ts:

  1. "Only text, number, boolean and single-select literals (or a field absent or null with no default) decide a rule." Holds. A present value is known only for the string types (text, textarea, email, url, phone, markdown, html, richtext), select / radio without multiple, number / currency / percent, and boolean / toggle, and only when it has that JavaScript type. An absent or null value is known exactly when loadFillsBlank is false, which is what "with no default" says; that clause is needed, since without it the sentence would understate what the commands refuse.
  2. "Anything else it reads (a date, JSON, multi-valued, reference or CEL value, '', a formula or roll-up field), …" Each named case is counted and never refused: date / datetime and json are not literal types, multiple: true returns unknown, a reference field or a hop through one is unknown, an expression envelope is rewrittenAtLoad, '' is unknown, formula / summary are computed types. The date case that S1 turned on is now named first. "Anything else" also covers a root other than record and a json_schema rule, which ruleReads answers with null.
  3. "… a beforeInsert hook on the object or an update set leaves it counted, never refused: the load judges it, and os verify fails on each dropped row." Holds, unchanged in substance from the first record's item 3. N1 is resolved by the rewrite: the phrase now sits in a noun list.

The sentence no longer reads as promising a refusal for a date-against-date rule, and it states the judged set positively, which is the first of the two fixes the earlier record offered.

The four cuts that paid for it (each: is it still said?)

  1. The two quick-start comments ("Reference data — every environment", "Demo data — dev/test only"): the env row gives the all-environments default and the second example still reads env: ['dev', 'test']. Eval id 4 still holds.
  2. The object row loses "hand-written only in a runtime save (below)": the paragraph under the table still opens "A seed saved at runtime names its object itself." Eval id 35 still holds.
  3. The externalId paragraph loses "name when the seed names none": the externalId row still gives the default 'name'. See N5.

No eval in skills/objectstack-data/evals/ asserts a cut string (grep at this head).

Nits

  • N4 (nit) — the new sentence names the judged set by kind of value; the code keys on field type. A number in a rating, slider or progress field, a string in a code, color, password or time field, a platform-injected column and an autonumber field are counted too, and an absent field bound to a picklist is treated as default-filled. Rare shapes in a validation rule, the catch-all "Anything else it reads" is true of each at the type level, and the miss is in the safe direction (the load judges, os verify fails). Accepted deviation; the full type list does not fit the ceiling.
  • N5 (nit) — that a seed naming no externalId is keyed on name is now carried by the table default alone. The blank-key refusal's own sentence says it at os validate / os build, so the trap is loud at author time. Accepted deviation.
  • N2 and N3 of record 7153723218 are untouched and stay accepted.

No must-fix, no should-fix.

Implemented-by: claude/issue-37158-skills-seed-validation
Reviewed-by: session_01QSeKYpzkic2ATLVEewyrmg

VERDICT: PASS


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 756c7b6bd6816d2ca3b433a0630b557f372b341a
Local-runs: none
Scope: skills/objectstack-data/references/seeds.md + none
Security-touching: no
Rule-change-verified: none

Supersedes record 7158223195 for this same head: that record carried a bullet in ③ that led with the security key, which the register's reader counts as a second declaration and so cannot read. The judgments are identical; only that bullet's opening words changed.

Delta over record 7153723218 (head dfeb033c). Judged: the one commit since that head (756c7b6b, two files, 9 lines in, 9 out), the fix-round os-dev-report 7157496545 on card #37158, and the 44 check-runs on this head. Everything record 7153723218 judged and this commit does not touch stands as judged there. The cited code is unchanged on main since that record (no commit touches packages/lint/src/seed-row-refusals.ts, the three CLI commands or packages/verify/src/seed-outcome.ts).

① Derived judgments

  • Accept set: nothing moves — right. Text only, as before.
  • Published surface: no heading is touched by this commit; the one inbound anchor (seeds.md#import-modes) still resolves. Right.
  • Metadata-protocol: none — still right.

② Semver level

  • '@objectstack/skills': patch and both declaration lines are untouched. Right.
  • The changeset body now carries the same two sentences as the file, in its own wording (an empty string spelled out, "update dataset"). The two agree with each other and with the code.

③ Boundary flags

  • open_questions: empty in the fix-round report.
  • Its deviation (edited in the container's own checkout of the card branch, no separate worktree; a single-agent cloud container): a process note for the seat, no effect on the diff. The push was plain: dfeb033c is an ancestor of this head.
  • The fix was written by another session than the first round (session_01QSeKYkpft1pGsKsE6d4mKS, per the report) on the same branch; Implemented-by: keeps the branch.
  • Check-runs on this head: all 44 completed, each success or skipped, none failed, none pending — Lint & Repo Gates, TypeScript Type Check and its lanes, Build Core, Test Core, Check Changeset, Governed Surface Queue Guard all success. The report did not read CI; this does.
  • Token ceiling: the file is 7579 bytes at this head (read from the git object), under the unchanged 1898 ceiling; the ratchet script is not in the diff.
  • Security line: no stands. The commit removes two code comments, trims two clauses and rewrites the validation-rule gloss. No changed line teaches permission, sharing, credential, token or authentication behaviour.
  • SQL push-down: no code in the diff.

④ Design judgment

S1: closed.

The rewritten gloss, lines 139-144, against fieldKnown, LITERAL_FIELD_TYPES, COMPUTED_FIELD_TYPES, loadFillsBlank, rewrittenAtLoad and ruleReads in packages/lint/src/seed-row-refusals.ts:

  1. "Only text, number, boolean and single-select literals (or a field absent or null with no default) decide a rule." Holds. A present value is known only for the string types (text, textarea, email, url, phone, markdown, html, richtext), select / radio without multiple, number / currency / percent, and boolean / toggle, and only when it has that JavaScript type. An absent or null value is known exactly when loadFillsBlank is false, which is what "with no default" says; that clause is needed, since without it the sentence would understate what the commands refuse.
  2. "Anything else it reads (a date, JSON, multi-valued, reference or CEL value, '', a formula or roll-up field), …" Each named case is counted and never refused: date / datetime and json are not literal types, multiple: true returns unknown, a reference field or a hop through one is unknown, an expression envelope is rewrittenAtLoad, '' is unknown, formula / summary are computed types. The date case that S1 turned on is now named first. "Anything else" also covers a root other than record and a json_schema rule, which ruleReads answers with null.
  3. "… a beforeInsert hook on the object or an update set leaves it counted, never refused: the load judges it, and os verify fails on each dropped row." Holds, unchanged in substance from the first record's item 3. N1 is resolved by the rewrite: the phrase now sits in a noun list.

The sentence no longer reads as promising a refusal for a date-against-date rule, and it states the judged set positively, which is the first of the two fixes the earlier record offered.

The four cuts that paid for it (each: is it still said?)

  1. The two quick-start comments ("Reference data — every environment", "Demo data — dev/test only"): the env row gives the all-environments default and the second example still reads env: ['dev', 'test']. Eval id 4 still holds.
  2. The object row loses "hand-written only in a runtime save (below)": the paragraph under the table still opens "A seed saved at runtime names its object itself." Eval id 35 still holds.
  3. The externalId paragraph loses "name when the seed names none": the externalId row still gives the default 'name'. See N5.

No eval in skills/objectstack-data/evals/ asserts a cut string (grep at this head).

Nits

  • N4 (nit) — the new sentence names the judged set by kind of value; the code keys on field type. A number in a rating, slider or progress field, a string in a code, color, password or time field, a platform-injected column and an autonumber field are counted too, and an absent field bound to a picklist is treated as default-filled. Rare shapes in a validation rule, the catch-all "Anything else it reads" is true of each at the type level, and the miss is in the safe direction (the load judges, os verify fails). Accepted deviation; the full type list does not fit the ceiling.
  • N5 (nit) — that a seed naming no externalId is keyed on name is now carried by the table default alone. The blank-key refusal's own sentence says it at os validate / os build, so the trap is loud at author time. Accepted deviation.
  • N2 and N3 of record 7153723218 are untouched and stay accepted.

No must-fix, no should-fix.

Implemented-by: claude/issue-37158-skills-seed-validation
Reviewed-by: session_01QSeKYpzkic2ATLVEewyrmg

VERDICT: PASS


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 350e260171826219b5f9fd1a616224d414df31d4
Local-runs: none
Scope: skills/objectstack-data/references/seeds.md + none
Security-touching: no
Rule-change-verified: none

Delta over record 7162891419 (head 756c7b6b). The head moved by one commit: a merge of main (parents 756c7b6b and 1d20c45c, the tip of main when read). Judged: that the reviewed paths are unchanged, what main brought, and the check-runs on this head as far as they have run. Every judgment of record 7162891419, and of 7153723218 where that record left it standing, carries over unchanged.

① Derived judgments

  • The two reviewed paths are byte-identical between 756c7b6b and this head: skills/objectstack-data/references/seeds.md is blob 2b9a7289 at both, .changeset/37158-skills-seed-rows-refused-at-validate.md is blob e0acb062 at both.
  • The merge adds nothing of its own: this head against its main parent is exactly the PR's two files (35 lines in, 26 out), the same net diff as before.
  • Accept set, published surface and the metadata-protocol kind: as judged, nothing moves.

② Semver level

  • The changeset is the same blob: '@objectstack/skills': patch, both declaration lines as judged. Right.

③ Boundary flags

  • What main brought, against what this PR teaches: nothing. Between 756c7b6b and this head no file under skills/ differs at all, so no eval, no sibling reference and no inbound anchor moved. The code the sentences were judged against is also unchanged: packages/lint/src/seed-row-refusals.ts, packages/cli/src/commands/validate.ts, compile.ts, build.ts, verify.ts, packages/cli/src/utils/bundle-seed-files.ts, packages/verify/src/seed-outcome.ts and packages/metadata-protocol/src/seed-loader.ts. So are scripts/check-skills-token-ratchet.mjs and packages/spec/scripts/skill-served-sections.json.
  • Check-runs on this head, read while the run was still going: 39 listed, 8 success (Governed Surface Queue Guard, Lint · PM dispatch-gates, Dogfood Regression Gate, Test UI, PR-body guards, Check PR Size, Auto Label, filter), 16 skipped, 15 in progress (Build Core, the Type Check and Lint lanes, Check Changeset, Live E2E UI, Plan Test Core shards), none failed. This record therefore does not establish that the head is green; that reading is the landing seat's, on the completed runs.
  • Security line: no stands. The merge changes no line of the reviewed files.
  • SQL push-down: no code in the PR's diff.
  • No open question, no new dev flag: the merge commit carries no report.

④ Design judgment

skills/objectstack-data/references/seeds.md is the blob record 7162891419 judged sentence by sentence, and every file it was judged against is unchanged at this head, so each of those judgments holds here as written. S1 stays closed. N2 to N5 stay accepted deviations.

No must-fix, no should-fix.

Implemented-by: claude/issue-37158-skills-seed-validation
Reviewed-by: session_01QSeKYpzkic2ATLVEewyrmg

VERDICT: PASS


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: cb7b49380bd47323408a7b89fe88c5120d50db5c
Local-runs: none
Scope: skills/objectstack-data/references/seeds.md + none
Security-touching: no
Rule-change-verified: none

Delta over record 7163409127 (head 350e2601). The head moved by one commit: a second merge of main (parents 350e2601 and 4fb03ebb, the tip of main when read). Judged: that the reviewed paths are unchanged, what main brought, and the check-runs on this head as far as they have run. Every judgment of records 7163409127, 7162891419 and, where left standing, 7153723218 carries over unchanged.

① Derived judgments

  • The two reviewed paths are byte-identical between 350e2601 and this head: skills/objectstack-data/references/seeds.md is blob 2b9a7289 at both, .changeset/37158-skills-seed-rows-refused-at-validate.md is blob e0acb062 at both.
  • The merge adds nothing of its own: this head against its main parent is exactly the PR's two files (35 lines in, 26 out), the same net diff as before.
  • Accept set, published surface and the metadata-protocol kind: as judged, nothing moves.

② Semver level

  • The changeset is the same blob: '@objectstack/skills': patch, both declaration lines as judged. Right.

③ Boundary flags

  • What main brought under skills/: one file, skills/objectstack-ui/SKILL.md (PR feat(spec,console): ask_ai action type — focus the in-app assistant on a record #37215, commit b7dee0e7): an ask_ai row in the action-type table and "Every type but script and ask_ai requires target". It teaches nothing about seeds, validation rules, os validate, os build or os verify, and no file under skills/objectstack-data/ differs between the two heads, so no eval, sibling reference or inbound anchor of this PR's file moved.
  • The ratchet: scripts/check-skills-token-ratchet.mjs is the same blob at both heads (51ab647a), so PR feat(spec,console): ask_ai action type — focus the in-app assistant on a record #37215 changed no ceiling row. This PR's file is priced under its own row, skills/objectstack-data/references/seeds.md at 1898, untouched; the file is 7579 bytes at this head, as at the last two. PR feat(spec,console): ask_ai action type — focus the in-app assistant on a record #37215 spends from a different row (skills/objectstack-ui/SKILL.md, 8937 to 9075 bytes). Whether any total the script sums over both files still holds at this head is the ratchet's own answer in Lint · repo & tooling gates or its sibling lanes, which had not finished when read.
  • The code the sentences were judged against is unchanged between the two heads: packages/lint/src/seed-row-refusals.ts, packages/cli/src/commands/validate.ts, compile.ts, build.ts, verify.ts, packages/cli/src/utils/bundle-seed-files.ts, packages/verify/src/seed-outcome.ts, packages/metadata-protocol/src/seed-loader.ts, and packages/spec/scripts/skill-served-sections.json.
  • Check-runs on this head, read about a minute into the run: 39 listed, 5 success (Governed Surface Queue Guard, Dogfood Regression Gate, PR-body guards, Check PR Size, filter), 16 skipped, 18 in progress (Build Core, every Type Check and Lint lane, Check Changeset, Live E2E UI, Test UI, Plan Test Core shards, Auto Label), none failed. This record therefore does not establish that the head is green; that reading is the landing seat's, on the completed runs.
  • Security line: no stands. The merge changes no line of the reviewed files.
  • SQL push-down: no code in the PR's diff.
  • No open question, no new dev flag: the merge commit carries no report.

④ Design judgment

skills/objectstack-data/references/seeds.md is the blob record 7162891419 judged sentence by sentence, and every file it was judged against is unchanged at this head, so each of those judgments holds here as written. S1 stays closed. N2 to N5 stay accepted deviations.

No must-fix, no should-fix.

Implemented-by: claude/issue-37158-skills-seed-validation
Reviewed-by: session_01QSeKYpzkic2ATLVEewyrmg

VERDICT: PASS


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

席位核对 — ACCEPT · L1 · head cb7b49380bd47323408a7b89fe88c5120d50db5c · 2026-11-25T13:59Z

Zone a4-A, card #37158 (release-coupled with #37156). Read from the PR's diff, the records and the check-runs.

  1. Shape. 2 files: skills/objectstack-data/references/seeds.md (validate/build refuse a seed record a rule refuses; only text / number / boolean / single-select literals decide a rule, anything else counted; blank key refused) and one @objectstack/skills patch changeset. 1895 / 1898 tokens; no ceiling raised.
  2. Reviews (all at tier). 7153723218 PASS with S1 → fix → 7162891419 PASS (S1: closed) → merge-only deltas 7163409127 and 7164141203 on the merged heads. Security-touching: no.
  3. Deviation recorded. The first build ran partly below tier; per the seat's ruling the at-tier review read every changed sentence; stated in the PR body.
  4. Gates. Test Core, TypeScript Type Check, Lint & Repo Gates success on this head; none failed.
  5. Landing. Tier S (low-risk skills arm); landing-k OK (K = 1). The zone lands it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Landing · head cb7b49380bd47323408a7b89fe88c5120d50db5c · 2026-11-25T14:00Z

Probe Reading
check-governed-merges --pr 37228 Tier S — low-risk skills arm; record on this head (7164141203) reads Security-touching: no
landing-k --pr 37228 OK — K = 1, no shared book moved

State: L1 ACCEPT on this head (just above); every check-run green or expected skip. Ready and auto-merge in this stroke. On MERGED, #37158 closes by Fixes; release-coupled with #37156.

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 size/s 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.

skills: os validate / os build now refuse seed rows their own validation rules refuse (follow-up of #35653)

2 participants