You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lint: a declared transferBehavior: 'cascade' that can never be offered parses silently (parent without Change Owner, extension-added field, child API exposure without update) #36714
area:datadomain:specDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestfindingRecorded observation — held, not dispatchable until the findings triage round grades itpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Filed by seat 2 from the reviews of PR #36525 (#35315): L1 finding 6 and contract review S2 (7102103286). Not claimed.
Suggested-grade: p2
Suggested-domain: domain:spec
What
The runtime is safe, because transferCascadeRelations re-judges every relationship and never offers an ineligible one. But in three places the author gets no refusal at author time, so the declaration is inert (ADR-0049 declared but not enforced):
cascade on a reference to a non-sys_ parent that does not offer Change Owner (ownership: 'org' | 'none', managedBy, or userActions.transfer off). This is cross-object, so it belongs in lint or the stack level, not field parse.
A field added through ObjectExtensionSchema.fields or fieldPatches to an object that does not offer Change Owner. The object-level refusal refuseIneligibleTransferCascades runs only on ObjectSchema.
A child whose declared API exposure does not serve update (change-record-owner.ts, the exposure filter in transferCascadeRelations).
Ask
Add one @objectstack/lint (or defineStack) rule that refuses or warns on each case, naming what to change. The ruling (7000907189 point 4) allows "parse or lint". Land after #36525.
Triage: lands in area:data · domain:spec · priority:p2 · Feature · pm:queue. Linked under topic #36238.
Rationale: three shapes of transferBehavior: 'cascade' can never be offered, yet parse without a refusal: a parent without Change Owner, a field added through an extension or patch, and a child exposure without update. The runtime re-judges each relationship, so nothing wrong happens; the declaration is simply inert, which ADR-0049 forbids ("declared but not enforced"). The author gets no signal at authoring time, so this is p2. Seat grade p2 kept.
Claim: area o5-D round 1 · 2026-11-25T23:40Z · area:data p2 (the maintainer, verbatim, 2026-11-25T23:33Z in this seat's project: 「开一个专区 ,接 data 的 p1 p2」)
Area: o5-D
Session: session_01Utp6CbdHk3orAeensH6EzS
Account: os-bill
Branch: claude/issue-36714-transfer-cascade-lint
Worktree: objectstack-issue-36714
Domain: domain:spec (fix lands in packages/lint)
Seat: repo:objectstack#5
File surface: packages/lint/src/** (one new rule file + its test named for the card, registration in index.ts / rule-explanations.ts), the lint rule docs page under content/docs/** if lint rules are documented there, root .changeset/. ⛔ packages/spec/src/** schema changes and packages/core/** runtime changes. Stop on breach and explain in the report.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier: "no path-derived mandate"), effort: high
Clause-②: no
Metadata-protocol: narrowed (if the rule refuses; none if it only warns — the dev measures on the diff and states which)
Responsibility: n/a — not a defect card (ADR-0049 declared-but-not-enforced finding; runtime already safe)
Thread-read: 7102255110
Premise: holds at origin/main98bda0a — PR #36525 merged (61722e9); refuseIneligibleTransferCascades lives in packages/spec/src/data/object.zod.ts:3968 and runs only on ObjectSchema (called at :5391); git grep transferBehavior -- packages/lint/src has no rule, only two pin counts in validate-predicate-path-refs.test.ts.
Pre-claim lane: packages/lint/** → spec-lane tooling; kept in this lane per area-lease 留道 (fix is clear: the card names one rule).
Pre-claim deps: "Land after #36525" — merged. Hot files: open PRs #37354 and #37366 touch packages/lint/src/index.ts / rule-explanations.ts; overlap-check before each push decides order.
Prior rulings read: check-prior-rulings --card 36714 --paths packages/lint/src/** → 344 ADR candidates, 0 ruling comments on the card; binding: ruling 7000907189 point 4 ("parse or lint"), quoted by the card; ADR-0049 (declared ⇒ enforced).
Serial constraints cleared: open-PR file scan of 36 open PRs: #37354, #37366 (lint registration files) only.
Scope: the card's three cases, one rule. Fixes #36714.
Claim amendment to comment 7177897953 (area o5-D) · 2026-11-26T01:46Z
Clause-②: no (narrowing)
Metadata-protocol: narrowed
Why: the rule refuses at error, so the claim's Clause-②: no owes the (narrowing) arm beside Metadata-protocol: narrowed (Check Changeset reads the two together). Owes a contract-review-tier L2 before the queue, and the dogfood battery on the final head.
File surface (adds): packages/core/src/security/second-object-read-exposure.pin.test.ts — one CALLERS row (not-a-served-read, test-only) for the new lint caller of referenceTargetOf; no runtime code under packages/core/**.
Skills-docs: follow-up #35769 (row 7178935378).
{
"head": "df622665",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37382",
"dogfood_battery": "df622665 · os-verify-lock: VERDICT command-exit 0 (held 1999s) · Test Files 487 passed, 3 skipped (490) · Tests 4128 passed, 68 skipped (4196) · no failures. Command: pnpm --filter @objectstack/dogfood test under the lock after building @objectstack/dogfood^..., no OS_TEST_SHARD, no path.",
"gates": "CI check-runs at df622665: Lint & Repo Gates success; TypeScript Type Check success; Test Core success; Build Core success; Governed Surface Queue Guard success; Type Check UI success; Test UI success; Build & E2E UI success; Live E2E UI success; Dogfood Regression Gate success; Check Changeset success; Lint UI skipped (no UI path). 0 check-runs at this head concluded other than success, skipped or neutral. Local at df622665: check-adr-0087-registration exit 0 [BREAKING+clause-2-narrowing+metadata-protocol-narrowed]; check-changeset-no-major exit 0 (LEVEL AXIS green on the PR body); check:doc-authoring exit 0; lint vitest (card test, rule-explanations, rule-id-barrel-exports, authoring-rule-wiring, authoring-rule-input-tier) 5 files, 100 tests passed.",
"root_causes_and_fixes": [
"Check Changeset at 3e1fa4a6: the clause line 'Clause-2: no' had no (narrowing) arm, so the level axis read it beside Metadata-protocol: narrowed as a contradiction. Fixed to 'Clause-2: no (narrowing)' in the changeset (8737482b) and in the PR body (relay issue_patch).",
"TypeScript Type Check and Test UI at 3e1fa4a6: the runs were cancelled when my push of 8737482b superseded them, and the aggregators read the lanes as cancelled. No code cause; both are green since.",
"Test Core (9/10) at 8737482b: core's repo pin second-object-read-exposure.pin.test.ts did not classify the new lint caller of referenceTargetOf. Fixed in ffd2cb6d by adding one CALLERS row, kind not-a-served-read.",
"L1 REWORK 7180284087: S1 added the **BREAKING** banner to the changeset. S2 cites the publish-gate crossing as follow-up #37397 in the changeset and in code comments beside surfaceReason and the os explain scope paragraph (df622665)."
],
"deviations": "(1) The claim's 'Clause-2: no' became 'no (narrowing)', as the gate requires. (2) One test-only pin row was added under packages/core; no runtime change. (3) A data-only ADR-0087 ledger entry was added under packages/spec/src/migrations; no schema change. (4) S2: #37397 is not cited inside the surfaceReason string or the os explain text. Both are string literals under packages/, which check:doc-authoring (cross-package prose-id leg, empty baseline) and rule-explanations.test.ts refuse to carry a tracker number, so the citation sits in the code comment next to each. (5) Recorded in claim amendment 7180121254. No main merge after the PR opened.",
"line_budget": "682 added / 4 deleted, 13 files, under the 3000 human-merge threshold",
"files_changed": ".changeset/transfer-cascade-lint.md, content/docs/api/data-api.mdx, content/docs/deployment/cli.mdx, content/docs/deployment/validating-metadata.mdx, content/docs/getting-started/build-with-claude-code.mdx, content/docs/ui/react-pages.mdx, packages/core/src/security/second-object-read-exposure.pin.test.ts, packages/lint/src/authoring-rules.ts, packages/lint/src/index.ts, packages/lint/src/rule-explanations.ts, packages/lint/src/validate-transfer-cascades-36714.test.ts, packages/lint/src/validate-transfer-cascades.ts, packages/spec/src/migrations/entries/semantic/18.transfer-cascade-never-offered-refused.ts",
"security_findings": "none"
}
ACCEPT → PR #37382 comment 7181123147 (L1, head df622665dbdf34a43b0790ac4887404f7281a802, 2026-11-26T02:48Z); contract review PASS 7181096465 at the same head; dogfood battery at that head in os-dev-report 7181027705.
area:datadomain:specDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestfindingRecorded observation — held, not dispatchable until the findings triage round grades itpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 23, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
area:data·domain:spec·priority:p2· Feature ·pm:queue. Linked under topic #36238.Rationale: three shapes of
transferBehavior: 'cascade'can never be offered, yet parse without a refusal: a parent without Change Owner, a field added through an extension or patch, and a child exposure without update. The runtime re-judges each relationship, so nothing wrong happens; the declaration is simply inert, which ADR-0049 forbids ("declared but not enforced"). The author gets no signal at authoring time, so this is p2. Seat grade p2 kept.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim: area o5-D round 1 · 2026-11-25T23:40Z · area:data p2 (the maintainer, verbatim, 2026-11-25T23:33Z in this seat's project: 「开一个专区 ,接 data 的 p1 p2」)
Area: o5-D
Session:
session_01Utp6CbdHk3orAeensH6EzSAccount:
os-billBranch:
claude/issue-36714-transfer-cascade-lintWorktree:
objectstack-issue-36714Domain:
domain:spec(fix lands inpackages/lint)Seat:
repo:objectstack#5File surface:
packages/lint/src/**(one new rule file + its test named for the card, registration inindex.ts/rule-explanations.ts), the lint rule docs page undercontent/docs/**if lint rules are documented there, root.changeset/. ⛔packages/spec/src/**schema changes andpackages/core/**runtime changes. Stop on breach and explain in the report.Container & model:
M,mode:subagent,model: default(dispatch-gates --tier: "no path-derived mandate"),effort: highClause-②: no
Metadata-protocol: narrowed (if the rule refuses;
noneif it only warns — the dev measures on the diff and states which)Responsibility: n/a — not a defect card (ADR-0049 declared-but-not-enforced finding; runtime already safe)
Thread-read: 7102255110
Premise: holds at
origin/main98bda0a — PR #36525 merged (61722e9);refuseIneligibleTransferCascadeslives inpackages/spec/src/data/object.zod.ts:3968and runs only onObjectSchema(called at :5391);git grep transferBehavior -- packages/lint/srchas no rule, only two pin counts invalidate-predicate-path-refs.test.ts.Pre-claim lane:
packages/lint/**→ spec-lane tooling; kept in this lane per area-lease 留道 (fix is clear: the card names one rule).Pre-claim deps: "Land after #36525" — merged. Hot files: open PRs #37354 and #37366 touch
packages/lint/src/index.ts/rule-explanations.ts; overlap-check before each push decides order.Prior rulings read: check-prior-rulings --card 36714 --paths packages/lint/src/** → 344 ADR candidates, 0 ruling comments on the card; binding: ruling 7000907189 point 4 ("parse or lint"), quoted by the card; ADR-0049 (declared ⇒ enforced).
Serial constraints cleared: open-PR file scan of 36 open PRs: #37354, #37366 (lint registration files) only.
Scope: the card's three cases, one rule.
Fixes #36714.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
os-dev-report
{ "gates": "head 3e1fa4a6 (PR #37382). Local: dispatch-gates --ran 117 derived, 113 run all exit 0, 4 NOT-MEASURED (check:type-check-debt local 300s timeout; check-plugin-teardown-shape --self-test shallow checkout; spec check:skill-examples client SDK dist unbuilt; check:dual-build-cjs-loads workspace dist unbuilt), 0 UNRUN. lint test 236/236 files, 9648 tests pass; lint typecheck exit 0; spec test 894 files pass (1 skipped); cli migrate-meta-engine-guidance 3/3. check:dev-prereqs (local-only, outside derivation) exit 1: 104/110 packages unbuilt in this container. CI check-runs: in_progress at report time.", "line_budget": "669 added / 4 deleted, 12 files, under the 3000 human-merge threshold", "deviations": "File surface widened by one data file: packages/spec/src/migrations/entries/semantic/18.transfer-cascade-never-offered-refused.ts, the ADR-0087 ledger entry check:adr-0087-registration requires for Metadata-protocol: narrowed (no schema or runtime change). Four content/docs CLI transcripts moved author-time rules 79 to 80 (check:docs-transcript-drift). Rule is CLI_ONLY with a surfaceReason, not on the runtime publish gate.", "files_changed": ".changeset/transfer-cascade-lint.md, content/docs/api/data-api.mdx, content/docs/deployment/cli.mdx, content/docs/deployment/validating-metadata.mdx, content/docs/getting-started/build-with-claude-code.mdx, content/docs/ui/react-pages.mdx, packages/lint/src/authoring-rules.ts, packages/lint/src/index.ts, packages/lint/src/rule-explanations.ts, packages/lint/src/validate-transfer-cascades-36714.test.ts, packages/lint/src/validate-transfer-cascades.ts, packages/spec/src/migrations/entries/semantic/18.transfer-cascade-never-offered-refused.ts" }objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim amendment to comment 7177897953 (area o5-D) · 2026-11-26T01:46Z
Clause-②: no (narrowing)
Metadata-protocol: narrowed
Why: the rule refuses at error, so the claim's
Clause-②: noowes the(narrowing)arm besideMetadata-protocol: narrowed(Check Changeset reads the two together). Owes a contract-review-tier L2 before the queue, and the dogfood battery on the final head.File surface (adds):
packages/core/src/security/second-object-read-exposure.pin.test.ts— oneCALLERSrow (not-a-served-read, test-only) for the new lint caller ofreferenceTargetOf; no runtime code underpackages/core/**.Skills-docs: follow-up #35769 (row 7178935378).
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
os-dev-report
{ "head": "df622665", "pr": "https://github.com/objectstack-ai/objectstack/pull/37382", "dogfood_battery": "df622665 · os-verify-lock: VERDICT command-exit 0 (held 1999s) · Test Files 487 passed, 3 skipped (490) · Tests 4128 passed, 68 skipped (4196) · no failures. Command: pnpm --filter @objectstack/dogfood test under the lock after building @objectstack/dogfood^..., no OS_TEST_SHARD, no path.", "gates": "CI check-runs at df622665: Lint & Repo Gates success; TypeScript Type Check success; Test Core success; Build Core success; Governed Surface Queue Guard success; Type Check UI success; Test UI success; Build & E2E UI success; Live E2E UI success; Dogfood Regression Gate success; Check Changeset success; Lint UI skipped (no UI path). 0 check-runs at this head concluded other than success, skipped or neutral. Local at df622665: check-adr-0087-registration exit 0 [BREAKING+clause-2-narrowing+metadata-protocol-narrowed]; check-changeset-no-major exit 0 (LEVEL AXIS green on the PR body); check:doc-authoring exit 0; lint vitest (card test, rule-explanations, rule-id-barrel-exports, authoring-rule-wiring, authoring-rule-input-tier) 5 files, 100 tests passed.", "root_causes_and_fixes": [ "Check Changeset at 3e1fa4a6: the clause line 'Clause-2: no' had no (narrowing) arm, so the level axis read it beside Metadata-protocol: narrowed as a contradiction. Fixed to 'Clause-2: no (narrowing)' in the changeset (8737482b) and in the PR body (relay issue_patch).", "TypeScript Type Check and Test UI at 3e1fa4a6: the runs were cancelled when my push of 8737482b superseded them, and the aggregators read the lanes as cancelled. No code cause; both are green since.", "Test Core (9/10) at 8737482b: core's repo pin second-object-read-exposure.pin.test.ts did not classify the new lint caller of referenceTargetOf. Fixed in ffd2cb6d by adding one CALLERS row, kind not-a-served-read.", "L1 REWORK 7180284087: S1 added the **BREAKING** banner to the changeset. S2 cites the publish-gate crossing as follow-up #37397 in the changeset and in code comments beside surfaceReason and the os explain scope paragraph (df622665)." ], "deviations": "(1) The claim's 'Clause-2: no' became 'no (narrowing)', as the gate requires. (2) One test-only pin row was added under packages/core; no runtime change. (3) A data-only ADR-0087 ledger entry was added under packages/spec/src/migrations; no schema change. (4) S2: #37397 is not cited inside the surfaceReason string or the os explain text. Both are string literals under packages/, which check:doc-authoring (cross-package prose-id leg, empty baseline) and rule-explanations.test.ts refuse to carry a tracker number, so the citation sits in the code comment next to each. (5) Recorded in claim amendment 7180121254. No main merge after the PR opened.", "line_budget": "682 added / 4 deleted, 13 files, under the 3000 human-merge threshold", "files_changed": ".changeset/transfer-cascade-lint.md, content/docs/api/data-api.mdx, content/docs/deployment/cli.mdx, content/docs/deployment/validating-metadata.mdx, content/docs/getting-started/build-with-claude-code.mdx, content/docs/ui/react-pages.mdx, packages/core/src/security/second-object-read-exposure.pin.test.ts, packages/lint/src/authoring-rules.ts, packages/lint/src/index.ts, packages/lint/src/rule-explanations.ts, packages/lint/src/validate-transfer-cascades-36714.test.ts, packages/lint/src/validate-transfer-cascades.ts, packages/spec/src/migrations/entries/semantic/18.transfer-cascade-never-offered-refused.ts", "security_findings": "none" }objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
ACCEPT → PR #37382 comment 7181123147 (L1, head
df622665dbdf34a43b0790ac4887404f7281a802, 2026-11-26T02:48Z); contract review PASS 7181096465 at the same head; dogfood battery at that head in os-dev-report 7181027705.