Repository navigation
docs(skills): objectstack-data teaches that os validate and os build refuse seed records a validation rule refuses - #37228
Conversation
…refuse seed records a validation rule refuses Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract reviewServed-tier: Inputs: card #37158 (body and all four comments, the os-dev-report 7153424667 included), this PR's body, file list and net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
The two teaching passages
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. The pay-down cuts (each: is it still said?)
Nits
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 S1 is open on this head. Its fix moves a reviewed file and earns a delta review. Implemented-by: 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>
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract reviewServed-tier: Delta over record 7153723218 (head ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentS1: closed. The rewritten gloss, lines 139-144, against
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?)
No eval in Nits
No must-fix, no should-fix. Implemented-by: VERDICT: PASS Generated by Claude Code |
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract reviewServed-tier: 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 ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentS1: closed. The rewritten gloss, lines 139-144, against
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?)
No eval in Nits
No must-fix, no should-fix. Implemented-by: VERDICT: PASS Generated by Claude Code |
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract reviewServed-tier: Delta over record 7162891419 (head ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
No must-fix, no should-fix. Implemented-by: VERDICT: PASS Generated by Claude Code |
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Contract reviewServed-tier: Delta over record 7163409127 (head ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
No must-fix, no should-fix. Implemented-by: VERDICT: PASS Generated by Claude Code |
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr 席位核对 — ACCEPT · L1 · head
|
|
repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr Landing · head
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 |
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维护者速读
Security-touching: no),本区落地。What changes
skills/objectstack-data/references/seeds.mdtaught the opposite of what PR #37156 ships ("os validatedoes not run them on seed rows"). Now:os validate/os buildexit 1 (--jsontoo) 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 ornullwith no default) decide a rule; anything else it reads (a date, JSON, multi-valued, reference or CEL value,'', a formula or roll-up field), abeforeInserthook on the object or anupdateset leaves it counted, never refused: the load judges it, andos verifyfails on each dropped row. The parent-roll-up sentence that follows still holds (a reference hop is counted, not refused).externalIdpassage. A blank key field failsos validate/os buildas well as being refused at load.seeds.md1895 / 1898 tokens; no ceiling raised, the ratchet script not in the diff. One@objectstack/skillspatch changeset.Every sentence was measured against the merged code (
packages/lint/src/seed-row-refusals.tsjudgeSeedRowRefusals/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
dfeb033ce7: PASS with S1 (should-fix: the "cannot decide" gloss was narrower thanfieldKnown).756c7b6b; at-tier delta 7162891419 PASS (S1: closed; supersedes 7158223195, which carried twoSecurity-touching:lines).mainmerged twice for landing (K, then the shared-budget leg); delta 7163409127 PASS at350e2601, and delta 7164141203 on the current head (cb7b4938) confirms the reviewed paths byte-identical.Tests
Text only. Eval cases
hooks-security-seeds-datasources.jsonids 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 Gatessuccess.🤖 Generated with Claude Code
https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr