Skip to content

audit seal: publish refuses a sealed object that has neither a tenant_id field nor a chainField #34352

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jVPGBoi3MCGoKbW1Hv

Filing gate: ① split out by the seat's ruling on #34164 / PR #34351. That PR adds lifecycle.seal.chainField (default tenant_id) and refuses at publish a chainField that names a missing field. This card is the other half, which the PR does not build because it narrows authoring. ⛔ Not a claim; it stays unclaimed during the wind-down.

维护者速读

  • 是什么: 一个开启了审计封存(lifecycle.seal)的对象,如果既没有 tenant_id 字段、也没有指定 chainField,现在能正常发布,但运行时封存器会报错并且不封存这个对象的任何记录。
  • 建议: 在发布时就拒绝这种对象,让错误在作者写元数据时出现,而不是在运行时悄悄不封存。
  • 注意: 这是一处收窄(今天能发布的元数据以后会被拒绝),需要按收窄来声明。

What happens

At origin/main, packages/plugins/plugin-audit/src/audit-seal/sealer.ts plans() reports such an object at error and skips it:

AuditSealer: '' declares lifecycle.seal but cannot be sealed: it declares no 'tenant_id' field, so its rows cannot be chained per organization. Its rows are NOT being sealed — no checkpoint covers them, so a change made outside the platform would not show.

After PR #34351, the same holds when the object names no chainField and its default, tenant_id, is not a field of the object.

Rule

Publish refuses an object whose lifecycle.seal names no chainField while the object has no tenant_id field, with the same refusal shape PR #34351 uses for a chainField that names a missing field. Fields the registry injects count, as they do for chainField.

Done when

Activity

  1. added
    enhancement
    pm:queue
    domain:server
    on Nov 16, 2026
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5nNrLRm8ssuwWcBVcw

    Label tidy · #34352 · 2026-11-16T10:36Z

    lease:A2 was the retired area lease of domain:server#5 (signed off, brief 6912561028). This card is unclaimed in pm:queue (p3), so no area holds it; the stale lease comes off. No other change.

  3. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5nNrLRm8ssuwWcBVcw

    Scope addition · #34352 · default chain column held to the named rule · area o1-A · 2026-11-16T13:29Z

    From review#1's L2 6917789374 on PR #34351 (S5). That PR refuses a NAMED lifecycle.seal.chainField that is not a field, whose value is not text on every store, that is id / created_at, or that valueFields also lists. When no chainField is named, the default tenant_id is judged by none of these. This card's written rule covers only the first case. The PR's ADR-0154 note and changeset name this card as the carrier of the whole default-column half, so the rule widens to match:

    • Rule (widened): publish refuses an object whose lifecycle.seal names no chainField when its default chain column tenant_id (declared or injected) would be refused as a named chainField. That covers three cases: it is not a field of the object (the original case), its type is not text on every store (the class refuseUnknownSealChainField now refuses, cross-checked with AUDIT_SEAL_TYPE_RULES), or it is listed in valueFields. The same refusal shape and path applies, reusing PR feat(spec, plugin-audit): a sealed object names its chain column with lifecycle.seal.chainField #34351's predicates rather than a copied list.
    • Done when (added): authoring pins for the two new default cases, refused, and the sealer keeps its runtime report for definitions that skip the parse. Round-3 dev report 6917027196 noted the non-text case as found and not filed; it is filed here.
    • The narrowing declaration stands as written: (narrowing) arm, BREAKING banner, one ADR-0087 marker, dogfood battery.
  4. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server · pm:queue; rationale: area:data · Feature (publish refuses a sealed object with neither tenant_id nor a chainField) · fleet-sourced → p3 as set; it goes on the weekly Feature list.

  5. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Claim: PM loop · 2026-11-20T16:04Z
    Session: session_01L9qibwJEh7hMPPvagWM1g7
    Account: os-tesla
    Branch: claude/issue-34352-seal-default-chain-column
    Worktree: objectstack-issue-34352
    Domain: domain:server
    Seat: repo:objectstack#7
    Area: d7-B
    File surface: packages/spec/src/data/object.zod.ts (the lifecycle.seal chain-column refinement, refuseUnknownSealChainField or one sibling that reuses its predicates); a new spec test named for 34352; the one out-of-surface fixture PR #34351's dev reports named (6911927317 / 6917027196); packages/plugins/plugin-audit/src/audit-seal/sealer.ts comment lines only if a comment there becomes false (the runtime report stays); content/docs/data-modeling/objects.mdx § Sealed audit objects; generated spec baselines the gates derive; one changeset. Stop and report before touching anything else, in particular docs/adr/** or skills/**.
    Container & model: M, mode:subagent, model: default, effort: high
    Clause-②: no (narrowing)
    Metadata-protocol: none (to be measured by the dev)
    Responsibility: objectstack platform: an object whose lifecycle.seal names no chainField is refused at parse when its default chain column tenant_id would be refused as a named chainField | none | none
    Thread-read: 6917812639
    Premise: holds (origin/main: refuseUnknownSealChainField returns early when chainField is not a string, so the default tenant_id is judged by none of its four rules; sealer.ts plans() still reports such an object at error and seals none of its rows)
    Pre-claim lane: repo:objectstack seat 7, area d7-B (the plugin-audit seal is in this area's brief); seat ruling 2026-11-20T16:02Z names #34352 as next
    Pre-claim deps: PR #34351 merged 9e6fee1 (2026-11-16)
    Prior rulings read: the card body; the scope addition 6917812639, which widens the rule to the three default cases (not a field, not text on every store, listed in valueFields) using #34351's predicates and not a copied list; seat ruling 6912069272 on #34164. The narrowing record is owed in full: ! title, a (narrowing) arm, a BREAKING banner, one ADR-0087 marker, and the dogfood battery. It also needs CONTRACT_REVIEW_TIER L2 (a packages/spec/src/** face), maintainer approval per #35610, and the seat lands it.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 20, 2026
  7. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Claim amendment and progress · 2026-11-20T16:15Z · blocked on a permission decision, claim held

    Progress. The implementation and pins are written but not committed. They are saved at /mnt/project-files/objectstack-seat7/34352-wip.patch in the project files, based on d280de9f60, 5 files, +284 / −66.

    Measured (dev).

    • The registry injects organization_id, never tenant_id, so every sealed object that names no chainField and declares no tenant_id is refused.
    • No shipped example, template, create-objectstack scaffold or hotcrm object declares lifecycle.seal.
    • The parse refuses on os validate, os build and the metadata save door.
    • A stored definition still loads at boot, with diagnostics ("Registered anyway"), and the sealer reports it as before.
    • Metadata-protocol: narrowed, so @objectstack/spec takes a minor bump.

    File surface, extended (PM ruling):

    • packages/spec/src/data/object-lifecycle-seal-chain-field-34164.test.ts: its line-60 pin asserts the behaviour this card reverses.
    • skills/objectstack-data/rules/lifecycle.md (lines 159–162) and skills/objectstack-data/evals/objects-fields-relationships.json (the one sentence). Both teach that an object with no tenant_id "parses but is not sealed". This is the dev's option A: the contract and its teaching land in one commit, about 4 lines. The PR becomes governed, which the narrowing's maintainer approval already covers. The skills before/after readings are owed.
    • The ADR-0154 note of 2026-11-16 names this card as the carrier of the default half and is not made false. docs/adr/** stays off the surface.

    Clause-② stays no (narrowing). Metadata-protocol is corrected to narrowed.

  8. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7
    os-dev-report

    {
     "issue": 34352,
     "status": "done",
     "branch": "claude/issue-34352-seal-default-chain-column",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/35916",
     "head": "2cd55da5948dfe031efcb97e130af8fd6c1a6ff1",
     "session": "session_01L9qibwJEh7hMPPvagWM1g7",
     "premise_still_valid": true,
     "summary": "A lifecycle.seal that names no chainField now has its default chain column tenant_id judged by the same rules as a named chainField. The judgement is one helper, sealChainColumnFaults in object.zod.ts, built on PR #34351's predicates (resolveInjectedSystemColumns, injectedSystemColumnDefs, nonTextChainColumnType, isSealLeafOrderColumn, the valueFields check). It refuses the object at ['lifecycle','seal'] when tenant_id (a) is not a field of the object, (b) is not one text on every store, or (c) is listed in valueFields. Named-chainField messages are byte-identical to main. Measured: the registry injects organization_id and never tenant_id, so the message points at organization_id where the registry injects it and at a declared column where the object opts out of the tenant column. The sealer keeps its runtime report; one false comment there was corrected. Also updated: the named fixture object-lifecycle-seal.test.ts, the 34164 inverse pin, objects.mdx, the chainField describe and regenerated reference doc, the skills lifecycle.md sentence and the eval case 16 sentence (per amendment 7044528745), the changeset, and an ADR-0087 semantic entry.",
     "tests": "spec on 2cd55da594 (merged main), under os-verify-lock: typecheck exit 0; Test Files 867 passed (867); Tests 27815 passed, 1 todo; VERDICT command-exit 0. plugin-audit on 1ce3bc8342 after the closure build: typecheck exit 0; Test Files 103 passed (103); Tests 1729 passed; VERDICT command-exit 0. spec src/migrations after gen:migration-registry: 5 files, 198 passed. check:generated: 1 of 14 stale (references), --fix, then 14 up to date. New 34352 file: 17 tests (9 refusal pins over cases a/b/c, 5 controls, 2 door pins, plus the a-case opt-out pins). Narrowing size: the base copies of the two old seal test files fail 18 tests under the rule, all case (a). Ablations via ablation-replace.mjs on committed head 1ce3bc8342, anchor 'for (const fault of faults) {' (default branch only, 1 hit), each restored to HEAD blob 45cacf85f6f5 with git diff HEAD empty: not-a-field dropped gives 5 failed; non-text dropped gives 6 failed; value-field dropped gives 1 failed. Controls stayed green in every leg.",
     "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 2cd55da594: 132 derived, 131 exit 0, 1 exit 3 NOT MEASURED (check:dual-build-cjs-loads: a whole-workspace dist is needed, CI runs it). --ran: 132 derived, 131 run, 1 NOT-MEASURED, 0 UNRUN, exit 0. check-adr-0087-registration exit 0 (registered seal-default-chain-column-refused, new here). check-skills-token-ratchet exit 0. check-closing-keyword-parity --body: exit 2, binding only Fixes #34352. overlap-check at 2cd55da594: VERDICT clean exit 0 against origin/main 2f314ee6b9 and PRs #35910 and #35673. CI check-runs on 2cd55da594 at report time: 20 in_progress, 5 skipped (opt-in and queue), 0 failed; not awaited.",
     "dogfood_battery": "2cd55da594 · os-verify-lock: VERDICT command-exit 0 (held 35m08s) · Test Files 482 passed | 3 skipped (485) · Tests 4098 passed | 68 skipped (4166) · no failures",
     "line_budget": "14 files vs merge base f44758b21: +352 -76. Source: object.zod.ts +126/-61; sealer.ts +2/-2 (comment); migration entry +29. Tests: new 34352 file +144, the two fixtures +12/-3. Docs: objects.mdx +10/-4, reference +1/-1. Skills: lifecycle.md +4/-4 (199 to 199 lines, 7721 to 7722 bytes, 1931 to 1931 tokens, ceiling 1931), eval JSON +1/-1 (438 to 438 lines). Package: SKILL.md total 4943 to 4943 lines; skills/** 22762 to 22762 lines. Changeset +22.",
     "files_changed": [
      ".changeset/34352-seal-default-chain-column.md",
      "content/docs/data-modeling/objects.mdx",
      "content/docs/references/data/object.mdx",
      "packages/plugins/plugin-audit/src/audit-seal/sealer.ts",
      "packages/spec/src/data/object-lifecycle-seal-chain-field-34164.test.ts",
      "packages/spec/src/data/object-lifecycle-seal-default-chain-column-34352.test.ts",
      "packages/spec/src/data/object-lifecycle-seal.test.ts",
      "packages/spec/src/data/object.zod.ts",
      "packages/spec/src/migrations/entries/semantic/18.seal-default-chain-column-refused.ts",
      "skills/objectstack-data/evals/objects-fields-relationships.json",
      "skills/objectstack-data/rules/lifecycle.md"
     ],
     "deviations": [
      "packages/spec/src/migrations/entries/semantic/18.seal-default-chain-column-refused.ts is outside the claim's file surface, and it was added. check-adr-0087-registration refuses not-required (no-migration-prescription) on a changeset that declares Metadata-protocol: narrowed and prescribes a registered semantic entry. The dispatch requires that gate green, so the narrowing record required this file. The seat should ratify it or rule otherwise.",
      "The first round's git commit was refused by the permission classifier and reported then. After the maintainer's authorization, every commit and push in this round went through with no refusal.",
      "PR body line 1 is the project-attribution HTML comment the dispatch supplied, kept verbatim (os-dev exception for harness attribution lines). The relay read-back reports the body stored byte-identical (8723 bytes).",
      "I merged origin/main (f44758b21) into the branch before the gate union and the dogfood battery, then refreshed install and builds. The full spec suite reran on the merged head. plugin-audit was not rerun, because main moved nothing in it.",
      "PR assignee os-tesla rides pr_create (the claim's Account). No labels were sent: a changeset exists, so skip-changeset does not apply."
     ],
     "mcp_calls": "0",
     "api_writes": "2 — relay pr_create (fleet-write run 44796994736, PR #35916) and this post-stamped comment on #34352. git push is not counted.",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: seat (repo:objectstack#7) · the publish promotion does not re-parse a stored draft, so a sealed-object draft saved before this lands is promoted unjudged; this holds for every ObjectSchema refinement · noted, not filed"
     ]
    }
  9. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Claim amendment 2 · 2026-11-20T18:56Z · PR #35916 (dev report 7048006771)

    • File surface, extended (ratified): packages/spec/src/migrations/entries/semantic/18.seal-default-chain-column-refused.ts. The changeset declares Metadata-protocol: narrowed. Against that, check-adr-0087-registration refuses the not-required (no-migration-prescription) marker, and the gate's only remedy is a registered semantic entry. The narrowing record therefore needs this file, and the gate is green with it.
    • Landing tier, measured: check-governed-merges.mjs --pr 35916 gives GOVERNED, 2 of 11 paths (the skills/** widening of amendment 7044528745), tier H. Narrowing plus governed means: the PR stays a draft, the CONTRACT_REVIEW_TIER L2 on the final head, then a hand-off to the seat for maintainer approval. The seat lands it.
  10. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Claim amendment 3 · 2026-11-20T19:01Z · PR #35916 (L1 REWORK 7048125406)

    • File surface, extended (PM ruling on L1 item 2): docs/adr/0154-audit-ledger-tamper-evidence-sealer-signed-checkpoints-amendments-verify.md, as one add-only dated line in its 2026-11-16 note. Today the note ends, in the present tense, "The default tenant_id, when chainField is absent, is not judged at authoring; that half is audit seal: publish refuses a sealed object that has neither a tenant_id field nor a chainField #34352". After this PR that sentence is false. I chose this over filing a follow-up because the PR is already governed and Tier H, so the ADR and the rule it records land together, with no window where main contradicts itself. The existing sentence stays as written. The dated line says the default is now judged at authoring, by the same rules, at ['lifecycle','seal'] (audit seal: publish refuses a sealed object that has neither a tenant_id field nor a chainField #34352).
    • L1 item 1 (the changeset gives run-time history per case, and the semantic entry's acceptanceCriteria is scoped to case (a)) is in this round as prose. It needs no surface change.
    • These go to the dev as one patch round together with the CONTRACT_REVIEW_TIER L2 findings, which are running on this head now.
  11. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Claim amendment 4 · 2026-11-20T19:02Z · supersedes the ADR line of amendment 3

    • Withdrawn: amendment 3 added docs/adr/0154-…md to the file surface. It is struck. Seat 7 has ruled under the execution-duties skill: this PR does not edit the ADR-0154 note.
    • Instead: in the same round that feat(spec)!: refuse a sealed object whose default chain column tenant_id cannot chain its rows #35916 merges, the 2026-11-16 note of ADR-0154 is carried as a row on the open "ADR revisions, week of …" card. If no such card is open, next week's card is opened. The row records:
    • The PR body gains one line saying the ADR-0154 note is carried to the weekly ADR revisions card.
    • L1 item 1, the changeset runtime history for cases (b) and (c) plus the scoped acceptanceCriteria, stays in this round as written in amendment 3.
  12. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7
    os-dev-report

    {
     "issue": 34352,
     "status": "done",
     "round": "patch round 1 (L1 7048125406, L2 7048183393 S1/S2, amendments 3 and 4)",
     "branch": "claude/issue-34352-seal-default-chain-column",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/35916",
     "head": "3d46045838",
     "session": "session_01L9qibwJEh7hMPPvagWM1g7",
     "premise_still_valid": true,
     "summary": "L1 item 1 / L2 N2: the changeset now gives the run-time history for each case. (a) A missing tenant_id: reported at error, nothing sealed. (b) A non-text tenant_id: sealed into the deployment chain with no report. (c) tenant_id in valueFields: sealed per organization, with the committed value carried in clear as the chain. The fix line adds that on a (b) or (c) object with checkpoints the fix re-seals the last sealed window and os audit verify reports listed_twice. The semantic entry's reason now covers all three cases, and its acceptanceCriteria claims verify ok only for case (a); for (b) and (c) it names listed_twice and the --org late/unsealed reading. L2 S1: ObjectSchema.create() and defineStack() (strict by default) are named in the changeset and in the entry's surface, with two pins (create throws the located issue; defineStack throws STACK_SCHEMA_INVALID carrying the located issue at objects.0.lifecycle.seal). L2 S2, measured: a tenant_id contributed only by objectExtensions IS refused. ObjectStackDefinitionSchema.safeParse({objects:[sealed], objectExtensions:[{extend, fields:{tenant_id: text}}]}) fails at objects.0.lifecycle.seal, and defineStack throws. That class is disclosed in the sealChainColumnFaults docblock, the changeset and the entry, behaviour unchanged, with a pin. That the sealer would seal the folded object is read from plans() (registry fields), not measured. PR body: added the ADR-0154 note line (carried to the weekly ADR revisions card at merge, per amendment 4), the round-1 changes, the S2 disclosure, the two doors, and N1 and N3 as accepted deviations. docs/adr/** is untouched; S3 and S4 were not acted on.",
     "tests": "Head 3d46045838, under os-verify-lock: the three seal spec files plus src/migrations, Test Files 8 passed (8), Tests 263 passed, VERDICT command-exit 0. The 34352 file now has 20 tests (3 new door pins). spec build, then check:generated (all 14 up to date), then spec typecheck: VERDICT command-exit 0. Ablation: none. No code arm was added; the source changes are a docblock and the semantic entry's strings. Dogfood not re-run: no non-prose source line moved (docblock, entry prose, changeset, test-only pins), so the 2cd55da594 battery stands (482 files and 4098 tests passed, 0 failed).",
     "gates": "check-adr-0087-registration exit 0 (registered seal-default-chain-column-refused); check-changeset-no-major exit 0; check-empty-changeset exit 0. dispatch-gates --commands --repo objectstack-ai/objectstack at 3d46045838, after rebuilding the dogfood and client-react closures: 132 derived, 131 exit 0, 1 exit 3 NOT MEASURED (check:dual-build-cjs-loads needs a whole-workspace dist). --ran: 132 derived, 131 run, 1 NOT-MEASURED, 0 UNRUN, exit 0. overlap-check at 3d46045838: VERDICT clean exit 0 against origin/main 4609c48962 and 5 PR heads (#35925, #35923, #35921, #35910, #35673). CI on 3d46045838: not awaited.",
     "dogfood_battery": "not owed this round: no non-prose source line moved. Last battery: 2cd55da594, VERDICT command-exit 0, Test Files 482 passed | 3 skipped (485), Tests 4098 passed | 68 skipped (4166)",
     "line_budget": "round 1: 4 files. Changeset rewritten (+14/-8 net in the BREAKING section); semantic entry reason, surface and acceptanceCriteria +12/-4; object.zod.ts docblock +8 (comment only); 34352 test file +30 (3 pins and a helper).",
     "files_changed": [
      ".changeset/34352-seal-default-chain-column.md",
      "packages/spec/src/data/object.zod.ts",
      "packages/spec/src/data/object-lifecycle-seal-default-chain-column-34352.test.ts",
      "packages/spec/src/migrations/entries/semantic/18.seal-default-chain-column-refused.ts"
     ],
     "deviations": [
      "The relay's issue_patch on a PR body requires a signature, so the PR body now ends with a signed trailer line (os-dev: allowed when the order requires it; the relay refused the body without it in a dry run, and nothing was sent until it was added). Read-back: 12070 bytes sent, 12070 stored, identical.",
      "The round-0 worktree had been removed after the PR opened, so I recreated it from origin's branch at 2cd55da594 and reinstalled. I rebuilt the dogfood and client-react closures so the gate union could measure the dist-reading gates.",
      "No commit or push was refused this round."
     ],
     "mcp_calls": "0",
     "api_writes": "2: relay issue_patch on PR #35916's body (fleet-write run 44806334429) and this post-stamped comment on #34352. git push is not counted.",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": []
    }
  13. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7
    os-dev-report

    {
     "issue": 34352,
     "status": "done",
     "round": "patch round 2 (delta L2 M1 7049260981, N4; delta L1 ACCEPT 7049243849)",
     "branch": "claude/issue-34352-seal-default-chain-column",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/35916",
     "head": "7829c5079f",
     "session": "session_01L9qibwJEh7hMPPvagWM1g7",
     "premise_still_valid": true,
     "summary": "M1: the changeset fix line and the semantic entry's acceptanceCriteria and reason now limit re-seal, listed_twice and --org late/unsealed to a fix that changes a row's chain value (case (b), or naming a different chainField). Both say that removing tenant_id from valueFields keeps every chain, re-seals nothing and verifies ok, because each earlier checkpoint is checked against its own signed columns. This is measured, not read from the code: a new pin in plugin-audit audit-seal-chain-field-34164.test.ts seals r1 and r2 with valueFields ['payload','tenant_id'], drops tenant_id from valueFields and seals r3. The checkpoints are org:org_a r1, r2, r3, with no re-seal, and verifyAuditLedger reports no faults and ok true, both whole and scoped to org_a. N4 is taken: (b) now reads 'some or all of its rows (every row whose value the driver returns as a non-string)' in the changeset and the entry. The rule is unchanged and docs/adr is untouched. The PR body round-1 bullet that carried the old claim is corrected, and the round-2 readings are added (relay issue_patch).",
     "tests": "plugin-audit closure build plus audit-seal-chain-field-34164.test.ts under os-verify-lock: Test Files 1 passed, Tests 53 passed (52 before plus the new pin), VERDICT command-exit 0. spec build, check:generated (all 14 up to date), spec typecheck, src/migrations plus the 34352 file (Test Files 6 passed, Tests 218 passed) and plugin-audit typecheck, chained in one lock call: VERDICT command-exit 0. Ablation: none. No code arm was added; the new pin is test-only.",
     "gates": "check-adr-0087-registration exit 0; check-changeset-no-major exit 0; check-empty-changeset exit 0. dispatch-gates --commands at 7829c5079f, after rebuilding the dogfood and client-react closures: 132 derived, 131 exit 0, 1 exit 3 NOT MEASURED (check:dual-build-cjs-loads needs a whole-workspace dist). --ran: 132 derived, 131 run, 1 NOT-MEASURED, 0 UNRUN, exit 0. overlap-check at 7829c5079f: VERDICT clean exit 0 against origin/main 17ed9e7bfd and 5 PR heads. CI not awaited.",
     "dogfood_battery": "Not owed this round. No non-prose source line moved: the changeset and migration-entry strings changed, and the new pin is test-only. The last battery is on 2cd55da594: VERDICT command-exit 0, Test Files 482 passed | 3 skipped (485), Tests 4098 passed | 68 skipped (4166).",
     "line_budget": "Round 2: 3 files, +53 -10. Changeset +2/-2 (the fix line and (b)); semantic entry +11/-8; plugin-audit audit-seal-chain-field-34164.test.ts +40 (one pin).",
     "files_changed": [
      ".changeset/34352-seal-default-chain-column.md",
      "packages/plugins/plugin-audit/src/audit-seal/audit-seal-chain-field-34164.test.ts",
      "packages/spec/src/migrations/entries/semantic/18.seal-default-chain-column-refused.ts"
     ],
     "deviations": [
      "The new pin goes into packages/plugins/plugin-audit/src/audit-seal/audit-seal-chain-field-34164.test.ts. That file is outside the claim surface, and the patch-round order named it as the place for the pin.",
      "The PR body was patched through relay issue_patch (13727 bytes sent and stored, identical). The round-1 bullet that stated the superseded re-seal claim is corrected, and the round-2 readings are added. The signed trailer stays the last non-empty line.",
      "I recreated the worktree from origin's branch at 3d46045838 for this round and removed it after pushing; it was clean.",
      "No commit or push was refused."
     ],
     "mcp_calls": "0",
     "api_writes": "2: relay issue_patch on PR #35916's body and this post-stamped comment on #34352. git push is not counted.",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": []
    }
  14. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Claim amendment 5 · 2026-11-20T20:52Z · PR #35916

    • Surface extension, ratified by seat 7. Patch round 2 added a test-only pin to packages/plugins/plugin-audit/src/audit-seal/audit-seal-chain-field-34164.test.ts, which is outside the claim's file surface. The pin measures case (c)'s fix: removing tenant_id from valueFields keeps every chain, re-seals nothing, and os audit verify stays ok. L1 accepted it on the merits in delta-2 ACCEPT 7050277161, and L2 in the Fable delta-2 PASS 7050272428. The seat ratified it at 2026-11-20T20:50Z.
    • Head: a merge-forward of main to 31c51ed94a for a fresh CI run. The records carry by patch-id; see the Regen-provenance: line on the PR.
  15. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibwJEh7hMPPvagWM1g7

    Close-out · 2026-11-20T22:39Z · #34352 done by PR #35916

    PR #35916 merged at 2026-11-20T22:38Z as 42b4d09dc77e3df71bd7b57268f9329103c03e0b. The maintainer approved it and placed it in the queue (Tier H: governed and narrowing).

    What landed. When lifecycle.seal has no chainField, ObjectSchema now refuses the default chain column tenant_id at ['lifecycle','seal'] in three cases:

    • (a) it is not a field the object declares;
    • (b) it is not one text on every store;
    • (c) it is a valueFields member.

    Messages for a named chainField are byte-identical to before. The change is minor, !, Clause-②: no (narrowing) and Metadata-protocol: narrowed, with the semantic entry 18.seal-default-chain-column-refused. Skills objectstack-data lifecycle rules and evals are updated.

    Review trail

    • L1: REWORK 7048125406; delta ACCEPT 7049243849, withdrawn by 7049280422; delta-2 ACCEPT 7050277161.
    • L2 (Fable, CONTRACT_REVIEW_TIER): PASS with S1–S4, 7048183393; delta FAIL M1, 7049260981; delta-2 PASS, 7050272428.
    • Carried to the merged head by patch-id in 7050333142.
    • Seat record 7050949739.

    Rulings this card carried

    Carries

    pm:dispatched removed. The card closes by the merge.

  16. removed
    pm:dispatched
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:datadomain:serverenhancementpriority:p3

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions