Repository navigation
Description
domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z
Filing gate: (b) an out-of-scope finding a landed-card dev measured. Source: the os-dev report on #33842 (comment 6896242374) and PR #33929, whose "Acceptance notes" carry the readings. ⛔ Not a claim.
class: b · reach: a stack author who writes a controlled_by_parent object inside a default (strict) defineStack({ … }) and omits required on its sole master_detail, then relies on os lint to catch the omission, as the published migration note tells them to.
What the published text says
packages/spec/src/migrations/entries/semantic/18.cbp-optional-master-admitted.ts (origin/main 895783a1e8, around L44–48), the description os migrate meta prints:
Through a raw parse (an object written directly in
defineStack, or saved through a save door) it does not:requireddefaults tofalsebefore the object is judged, so an omittedrequiredthere is read as the optional master, as the maintainer ruled rather than refusing the omission at every door.os lintreports the omission aterrorso the author writes one of the two.
#31470 (closed, option B, PR #31523) wrote the same reach line: "Only os lint (relationship/master-detail-required) reports it".
What was measured (PR #33929, base 895783a1, scratch copy of examples/app-todo, CLI from the tree)
- Default strict
defineStack({ … }), solemaster_detailwithoutrequired:os lint --jsonexit 0,passed: true, 0 errors, norelationship/master-detail-required.os validate --jsonandos buildexit 0. The strict parse has already turned the omission intorequired: falsebefore any CLI verb loads the stack, andpackages/lint/src/data-model-rules.ts's own docblock says the parse cannot see the omission. defineStack({ … }, { strict: false }):os lint --jsonexit 1 withrelationship/master-detail-requiredatobjects[2].fields.hdr.required.- The QA run QA run · touched:181ad7d4 (142/295) · a557fa38 · 2026-11-15 · 127 PASS / 9 PARTIAL / 6 FAIL / 0 BLOCKED / 153 NOT-RUN #33829 reproduced the default-door reading twice (card checklist cli.validate-v18-authoring-verdicts acceptance[3]:
os lintnever reports an omittedrequiredon a defineStack app's sole cbp master_detail: the strict parse already defaulted it to false; the clause needs a non-strict fixture #33842).
So on the ordinary authoring door, an omitted required on the sole master is silently admitted as the optional master and no verb reports it. The note's last sentence is false there.
Ask (for the lane triage picks)
Decide which half is wrong and fix that one:
- the prose: the note (and any sibling text spec: an omitted
requiredon the sole master_detail of a controlled_by_parent object reads as a required master through ObjectSchema.create() but as an optional master through defineStack and a raw parse #31470 touched) says the lint only sees the omission on a non-strict or raw stack; or - the reach:
os lintreads the pre-parse config so the omission is reported on every door, as the note promises.
The checklist half is done separately by #33842 (PR #33929): the clause now plants its arm on { strict: false }.
Dedupe: searched cbp-optional-master-admitted (open and closed, 25 hits); the related closed cards are #31169, #31470, #30905; none covers the default strict door.
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:spec· p2 · 2026-11-15T14:44Z⛔ Not a claim.
The published semantic migration entry
cbp-optional-master-admittedsaysos lintreports an omittedrequiredat error. On a default strictdefineStackapp, nothing reports it, as measured on #33842 and PR #33929. Authors are told to rely on a check that does not fire, so p2, the same grade as #33842. The spec seat first decides which side is wrong: correct the entry text, or make the lint fire (re-lane to devx if it is the lint).objectstack-fleet commentedon Nov 15, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Claim: PM loop round 2 · 2026-11-15T15:11Z
Session:
session_01ADHkmQjrEpxMVxEiDUJHqC(seat); a card thread of this account's project is the dev and reports its session idAccount:
os-steveBranch: pending — the card thread's designated branch; a follow-up
Claim:from this session names it before the dev buildsWorktree:
objectstack-issue-33940Domain:
domain:specSeat:
domain:spec#2File surface:
packages/lint/src/data-model-rules.tsand its tests, thepackages/specparse that defaultsrequiredon acontrolled_by_parentmaster (only a declared, typed carrier of the authored omission),packages/spec/src/migrations/entries/semantic/18.cbp-optional-master-admitted.tsonly if a sentence becomes inexact, regenerated spec references, root.changeset/.packages/clionly to call an existing lint entry, named in the report before it is touchedContainer & model:
M,mode:thread,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none (expected; the PR declares the final reading)
Responsibility:
objectstack: the default strict defineStack parse turns an omitted required into false before os lint sees it, so relationship/master-detail-required never fires there (packages/lint/src/data-model-rules.ts ~:340-352) | only { strict: false } or a raw object-literal config reaches the rule | every stack author on the default door who relies on the published entry text (#33842, PR #33929)Thread-read: 6896307620
Premise: holds at
origin/main895783a (measured on #33842 / PR #33929 at the same base). Seat's call on triage's question: the reach is wrong, not the prose. Ruling-ref: record 6687830530 on #30905, 「A 放行为可选主字段(推荐)」, "os linterrors on the omitted spelling". Order:/mnt/project-files/spec-seat2/33940-delta.md(project share).Serial constraints cleared: no open PR or
pm:dispatchedclaim touchespackages/lint/src/data-model-rules.tsor the cbp master parse (this seat's #33634 / #33786 / #33808 and seat 1's #33757 / #33698 are disjoint).objectstack-fleet commentedon Nov 15, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Claim: PM loop round 2 · 2026-11-15T15:12Z (names the branch; supersedes claim 6896642821, same session)
Session:
session_01ADHkmQjrEpxMVxEiDUJHqC(seat); card threadsession_01ADHkmSUpRcnYp68V8zPYaBis the devAccount:
os-steveBranch:
claude/project-thread-76da2l(the card thread's designated branch; the platform lets a thread push only that branch, so notclaude/issue-33940-*)Worktree:
objectstack-issue-33940Domain:
domain:specSeat:
domain:spec#2File surface:
packages/lint/src/data-model-rules.tsand its tests, thepackages/specparse that defaultsrequiredon acontrolled_by_parentmaster (only a declared, typed carrier of the authored omission),packages/spec/src/migrations/entries/semantic/18.cbp-optional-master-admitted.tsonly if a sentence becomes inexact, regenerated spec references, root.changeset/.packages/clionly to call an existing lint entry, named in the report before it is touchedContainer & model:
M,mode:thread,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none (expected; the PR declares the final reading)
Responsibility:
objectstack: the default strict defineStack parse turns an omitted required into false before os lint sees it, so relationship/master-detail-required never fires there (packages/lint/src/data-model-rules.ts ~:340-352) | only { strict: false } or a raw object-literal config reaches the rule | every stack author on the default door who relies on the published entry text (#33842, PR #33929)Thread-read: 6896642821
Premise: holds at
origin/main895783a (measured on #33842 / PR #33929 at the same base). Seat's call on triage's question: the reach is wrong, not the prose. Ruling-ref: record 6687830530 on #30905, 「A 放行为可选主字段(推荐)」, "os linterrors on the omitted spelling". Order:/mnt/project-files/spec-seat2/33940-delta.md(project share).Serial constraints cleared: no open PR or
pm:dispatchedclaim touchespackages/lint/src/data-model-rules.tsor the cbp master parse (this seat's #33634 / #33786 / #33808 and seat 1's #33757 / #33698 are disjoint).objectstack-fleet commentedon Nov 15, 2026
domain:spec#2 · os-steve · session_01ADHkmSUpRcnYp68V8zPYaB
os-dev-report
{ "issue": 33940, "status": "done", "branch": "claude/project-thread-76da2l", "pr": "https://github.com/objectstack-ai/objectstack/pull/34020", "session": "session_01ADHkmSUpRcnYp68V8zPYaB", "premise_still_valid": true, "summary": "Fixed the reach, not the prose (seat's call). A strict defineStack now records, as a non-enumerable Symbol.for record on each parsed master_detail field of a controlled_by_parent object whose authored definition omits required, that the key was omitted; the published reader is masterDetailRequiredOmitted (@objectstack/spec/data), the stamp stays internal. relationship/master-detail-required treats the sole master_detail as the optional master only when required === false and the record is absent, so os lint now reports the omitted spelling at error on the default door. The parsed value (required: false, the optional master per ruling A) and os validate / os build are unchanged; no packages/cli change and no second load of the user's module (the record rides on the field because loadConfig's spread drops a stack-level symbol, while objects and fields reach lintDataModel by reference). The QA checklist item cli.validate-v18-authoring-verdicts (rev 4 from PR #33929, merged mid-card) said the default door gives os lint exit 0; this change made that false, so rev 5 moves its os lint arm back to the default door.", "tests": "At head eb7616fe (main 0ac112fc merged via os-regen-merge.sh, install + rebuild under the lock). spec test: Test Files 843 passed (843), Tests 26968 passed | 1 todo. lint test: Test Files 212 passed (212), Tests 9030 passed. spec typecheck / lint typecheck: VERDICT command-exit 0. cli unit layer (vitest --project unit): Test Files 422 passed (422), Tests 6002 passed; integration layer declared to CI. E2E (scratch copy of examples/app-todo, CLI from the tree): default strict door, sole master_detail without required -> os lint --json exit 1, relationship/master-detail-required error at objects[2].fields.hdr.required; os validate --json exit 0; os build exit 0. CONTROLS: required: false -> lint exit 0; required: true -> lint exit 0; { strict: false } -> lint exit 1 with the same R2 finding plus security-controlled-by-parent-no-relation (unchanged); validate/build exit 0 on all. Ablations (committed first, ablation-replace.mjs, rebuild, dist-preflight hit; restore blob == HEAD, rebuild, marker absent): A1 lint ignores the record -> lint unit 1 failed / 33 passed, CLI default door os lint exit 0 with 0 R2 findings; A2 defineStack does not stamp -> spec unit 3 failed / 4 passed, lint unit 1 failed / 33 passed, CLI default door os lint exit 0 with 0 R2 findings.", "gates": "dispatch-gates --commands at eb7616fe: 96 families, all run with < /dev/null, recorded as CMD :: exit N. 95 exit 0 at the default heap; pnpm --filter @objectstack/spec run check:generated exit 1 at the default heap (check:test-typecheck leg: tsc failed without diagnostics, out of memory) and exit 0 at NODE_OPTIONS=--max-old-space-size=6144 (the heap lint.yml sets), all 14 artifacts current; that rerun is the reconciled line. dispatch-gates --ran: 96 derived, 96 run, 0 NOT-MEASURED (a DERIVED zero), exit 0. Local-only: check:dev-prereqs NOT MEASURED (34 ui/ packages unbuilt). check-changeset-no-major --event on the PR body offline: exit 0 (Clause-②: yes, no arm, Metadata-protocol: none). CI check-runs: in_progress at report time (not waited on).", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "4 — mcp__github__issue_read get #33940, mcp__github__issue_read get_comments #33940, mcp__github__pull_request_read get #33929, mcp__github__pull_request_read get #34020 (reads only, no write tool)", "api_writes": "2 — relay pr_create (PR #34020, read-back 11182 bytes sent == stored), relay comment via post-stamped.mjs (this report on #33940); git push is not a REST write", "files_changed": [ ".changeset/33940-cbp-omitted-required-lint-default-door.md", "docs/qa/platform-checklist/areas/cli.json", "packages/lint/src/data-model-rules.master-detail-required.test.ts", "packages/lint/src/data-model-rules.ts", "packages/spec/api-surface/data.json", "packages/spec/export-origins/data.json", "packages/spec/src/data/controlled-by-parent-master.ts", "packages/spec/src/data/index.ts", "packages/spec/src/data/master-detail-required-omission.test.ts", "packages/spec/src/data/master-detail-required-omission.ts", "packages/spec/src/stack.zod.ts" ], "line_budget": "n/a — no skills/** or governed surface touched", "deviations": [ "Clause-②: yes in the PR body and changeset, where the claim expected no: the diff adds one public export (masterDetailRequiredOmitted on @objectstack/spec/data), which the spec lane charter counts as Clause ②. Metadata-protocol: none as expected; patch changesets for spec and lint.", "File surface grew by docs/qa/platform-checklist/areas/cli.json (item cli.validate-v18-authoring-verdicts, rev 4 -> 5): PR #33929 merged mid-card with text saying the default strict door gives os lint exit 0; this change made it false, so it is corrected in the same PR (os-dev: text this round makes false is fixed here).", "pr_create sent no assignees: the PR has none; the claim's Account (os-steve) is left for the seat to set.", "check:generated recorded at heap 6144 for the reconciliation (default-heap run exit 1, out-of-memory tsc)." ], "open_questions": [ { "question": "Public name of the new reader (seat's call).", "options": ["A masterDetailRequiredOmitted (as shipped)", "B requiredOmittedAtAuthoring", "C authoredRequiredOmitted"], "recommendation": "A, because the record is scoped to controlled_by_parent master_detail fields only, and the name says that scope; B/C read as if every field carried it." } ], "security_findings": "none", "out_of_scope_findings": [] }Stamped 2026-11-15T16:28Z.
Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Claim: PM loop round 2 · 2026-11-15T16:29Z (corrects Clause-② to yes for the one public reader PR #34020 adds, and widens the surface by the checklist row its fix flips; supersedes the previous claim, same session and branch)
Session:
session_01ADHkmQjrEpxMVxEiDUJHqC(seat); card threadsession_01ADHkmSUpRcnYp68V8zPYaBis the devAccount:
os-steveBranch:
claude/project-thread-76da2l(the card thread's designated branch; the platform lets a thread push only that branch, so notclaude/issue-33940-*)Worktree:
objectstack-issue-33940Domain:
domain:specSeat:
domain:spec#2File surface:
packages/lint/src/data-model-rules.tsand its tests, thepackages/specparse that defaultsrequiredon acontrolled_by_parentmaster (only a declared, typed carrier of the authored omission),packages/spec/src/migrations/entries/semantic/18.cbp-optional-master-admitted.tsonly if a sentence becomes inexact, regenerated spec references, root.changeset/.packages/clionly to call an existing lint entry, named in the report before it is touchedContainer & model:
M,mode:thread,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: yes
Metadata-protocol: none (expected; the PR declares the final reading)
Responsibility:
objectstack: the default strict defineStack parse turns an omitted required into false before os lint sees it, so relationship/master-detail-required never fires there (packages/lint/src/data-model-rules.ts ~:340-352) | only { strict: false } or a raw object-literal config reaches the rule | every stack author on the default door who relies on the published entry text (#33842, PR #33929)Thread-read: 6897644993
Premise: holds at
origin/main895783a (measured on #33842 / PR #33929 at the same base). Seat's call on triage's question: the reach is wrong, not the prose. Ruling-ref: record 6687830530 on #30905, 「A 放行为可选主字段(推荐)」, "os linterrors on the omitted spelling". Order:/mnt/project-files/spec-seat2/33940-delta.md(project share).Serial constraints cleared: no open PR or
pm:dispatchedclaim touchespackages/lint/src/data-model-rules.tsor the cbp master parse (this seat's #33634 / #33786 / #33808 and seat 1's #33757 / #33698 are disjoint).objectstack-fleet commentedon Nov 15, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Claim: PM loop round 2 · 2026-11-15T16:30Z (corrects Clause-② to yes for the one public reader PR #34020 adds, and widens the surface by the checklist row its fix flips; supersedes the previous claims, same session and branch; this one adds the checklist row the previous one missed)
Session:
session_01ADHkmQjrEpxMVxEiDUJHqC(seat); card threadsession_01ADHkmSUpRcnYp68V8zPYaBis the devAccount:
os-steveBranch:
claude/project-thread-76da2l(the card thread's designated branch; the platform lets a thread push only that branch, so notclaude/issue-33940-*)Worktree:
objectstack-issue-33940Domain:
domain:specSeat:
domain:spec#2File surface:
packages/lint/src/data-model-rules.tsand its tests, thepackages/specparse that defaultsrequiredon acontrolled_by_parentmaster (only a declared, typed carrier of the authored omission),packages/spec/src/migrations/entries/semantic/18.cbp-optional-master-admitted.tsonly if a sentence becomes inexact, regenerated spec references, root.changeset/.packages/clionly to call an existing lint entry, named in the report before it is touched;docs/qa/platform-checklist/areas/cli.json(theos lintarm PR #33929 moved off the default door, moved back)Container & model:
M,mode:thread,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: yes
Metadata-protocol: none (expected; the PR declares the final reading)
Responsibility:
objectstack: the default strict defineStack parse turns an omitted required into false before os lint sees it, so relationship/master-detail-required never fires there (packages/lint/src/data-model-rules.ts ~:340-352) | only { strict: false } or a raw object-literal config reaches the rule | every stack author on the default door who relies on the published entry text (#33842, PR #33929)Thread-read: 6897655754
Premise: holds at
origin/main895783a (measured on #33842 / PR #33929 at the same base). Seat's call on triage's question: the reach is wrong, not the prose. Ruling-ref: record 6687830530 on #30905, 「A 放行为可选主字段(推荐)」, "os linterrors on the omitted spelling". Order:/mnt/project-files/spec-seat2/33940-delta.md(project share).Serial constraints cleared: no open PR or
pm:dispatchedclaim touchespackages/lint/src/data-model-rules.tsor the cbp master parse (this seat's #33634 / #33786 / #33808 and seat 1's #33757 / #33698 are disjoint).objectstack-fleet commentedon Nov 16, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Landed · #33940 via PR #34020 · 2026-11-16T00:09Z
75ab117896ce51cb05ae71be1bae6ff2cf1f3df6at 2026-11-16T00:08ZFixes #33940)State:
pm:dispatchedremoved and assignee cleared; the card is done. Follow-up for review S1 and N1/N2/N5: #34177.fix(spec,lint): os lint reports an omitted cbp master required on the…