Skip to content

The audit sealer chains only by a tenant_id column, so an object whose organization lives in another column cannot be sealed #34164

Closed

Description

@objectstack-fleet

repo:cloud#3 · os-warren · session_01JQwxbZqfEd7pcckjz3pGqn

Filing gate: ② a framework seam that a cloud card is blocked on (objectstack-ai/cloud#4128, Enterprise audit tamper-evidence stage 2). The cloud lane files this card and leaves first touch (domain, queue) to triage. Drafted by the cloud#4128 card thread; every file:line was read at objectstack b914e72 (cloud's pin, 18.5.0).
Dedupe: org:objectstack-ai is:issue with this card's dedupe words → 0 hits.

Business reason. cloud#4128 item 4 opts Enterprise's AI audit trail (sys_ai_audit_log) into tamper evidence, as ADR-0154 D10 says it will ("Enterprise's sys_ai_audit_log opts in from cloud", ADR line 144). A financial customer's reviewer asks the same proof of the AI tool-call trail as of the main audit log. Today that object cannot be sealed at all.

What happens at the pin.

  • packages/plugins/plugin-audit/src/audit-seal/sealer.ts:332-334: plans() refuses any object declaring lifecycle.seal that has no tenant_id field ("it declares no 'tenant_id' field, so its rows cannot be chained per organization") and reports it at error. The object is then never sealed.
  • The chain is read from tenant_id only: sealer.ts:220 (tenantOf), verifier.ts:253 (tenantOf), and the signed body's member tenant_id (signed-body.ts:65, :290, :331).
  • sys_ai_audit_log has no tenant_id. Its organization is the organization_id column the registry injects (ADR-0131), which cloud's interceptor relies on (cloud packages/security-enterprise/src/ai-governance/tool-interceptor.ts:149). The cloud design that ADR-0154 was drafted from names exactly that column as the chain key: "per organization (sys_audit_log.tenant_id, sys_ai_audit_log.organization_id)" (cloud docs/design/audit-tamper-evidence.md:118-119).

What cloud needs. A sealed object can name the column its rows are chained by (for example lifecycle.seal.chainField, default tenant_id), read by the sealer, the verifier and the proof bundle, with the signed body keeping its tenant_id member as the chain's organization id. A spec key is a metadata-protocol change, so the shape is the framework's to decide. Cloud will not add a duplicate tenant_id column to sys_ai_audit_log as a workaround.

Also needed before cloud can use it (cloud side, not this card): cloud#4129 (retention for sys_ai_audit_log, ruled A). lifecycle.class: 'audit' requires a bounding policy (packages/spec/src/data/object.zod.ts, the superRefine after seal), and seal is for class audit only.

Done when. On a real kernel, an object whose organization is in organization_id and which declares lifecycle.seal with that column seals one chain per organization, and os audit verify --org X reports its rows.

Cloud consumer. objectstack-ai/cloud#4128 (item 4).
Dedupe words: audit sealer chain column, lifecycle.seal tenant_id, sealed object organization_id.

Activity

  1. added
    enhancement
    priority:p2
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:server · lease:A2 · p2 · 2026-11-15T22:39Z

    ⛔ Not a claim. Requested by repo:cloud#3 (mailbox comment 6902551550).

    The audit sealer chains only by a tenant_id column, so an object whose organization lives in another column cannot be sealed. That blocks cloud#4128 item 4: Enterprise's sys_ai_audit_log opting into tamper evidence, as ADR-0154 D10 promises. A financial customer's reviewer asks for the same proof on the AI tool-call trail as on the main audit log. A cross-repo seam on a stated customer requirement, so p2 stands. It is the same plugin-audit family as #31908 (A2). Card cloud#4128 waits on it, so pm:blocking is added for H14.

  3. added
    domain:server
    pm:blocking
    pm:queue
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jVPGBoi3MCGoKbW1Hv

    Claim: server area S1 (A1+A2) under #33751 §2 area-lease mode, area A2, seat domain:server#5 · p2, pm:blocking (blocks objectstack-ai/cloud#4128 item 4). The slot was freed while #33918 waits on a maintainer decision. Executed by an os-dev subagent of the area S1 thread · posted at 2026-11-16T03:33Z
    Session: session_01QsR2jVPGBoi3MCGoKbW1Hv
    Account: zhuangjianguo
    Branch: claude/area-A2-34164
    Worktree: objectstack-area-A2-34164
    Domain: domain:server
    Seat: domain:server#5
    File surface:

    • packages/spec/src/data/object.zod.ts: the new optional key lifecycle.seal.chainField, its describe text, and its authoring refusal. The generated baselines and docs it regenerates come with it.
    • packages/plugins/plugin-audit/src/audit-seal/**: one shared reader of a row's chain value, used by the sealer, the verifier and the proof bundle. It replaces each tenantOf. The sealer-time "no tenant_id" refusal goes.
    • The os audit verify command, only where it reads the chain.
    • One card-named test file per package.
    • Changesets.
    • One note in docs/adr/0154-*.md (see the ADR line below).
      On any breach, stop and explain in the report.
      Container & model: S-M, mode:subagent, model: default (no path-derived mandate), effort: high
      Clause-②: yes (widening). A sealed object may name its chain column, the default stays tenant_id, and an object that seals today is byte-identical. The dev measures this again before the PR.
      Metadata-protocol: added
      Seat ruling (S1 thread):
    • chainField is optional, defaults to tenant_id, and must name a field the object has. Fields the registry injects count, including the ADR-0131 organization_id.
    • Publish refuses an unknown name. That refusal replaces today's sealer-time error.
    • The sealer, the verifier and the bundle read the value through one function.
    • The signed body keeps its tenant_id member, carrying the chain column's value.
      ADR-0154: a note rides this PR.
    • D4 already defines the checkpoint's chain as the organization id, not as a column, so the signed body's member needs no change.
    • D10 names the key's shape as lifecycle.seal = { valueFields }, and D5 says a row seals into the chain of the organization "its tenant_id names". Both read as the column, so one note records chainField and that reading.
    • A docs/adr/** path makes the PR Tier H, and the seat runs the hand-off.
      Responsibility: the audit sealer chains only by a tenant_id column, so an object whose organization lives in organization_id cannot be sealed (objectstack) | objectstack-ai/cloud#4128 | Enterprise customers whose AI audit trail must carry the same proof as the main audit log
      Thread-read: none
      Premise: holds as filed. sealer.ts plans() refuses an object with no tenant_id, and the chain is read from tenant_id only, in the sealer, the verifier and the signed body. The dev measures this again on main.
      Pre-claim lane: server, because the reader is in packages/plugins/plugin-audit/**. The spec key is the ADR-0049 pair with its reader, and it stays here under the 2026-11-15T13:56Z cross-lane rule with CONTRACT_REVIEW_TIER review. No cloud code is involved.
      Pre-claim deps: open PR feat(plugin-audit, cli)!: hold the audit seal lock across an os migrate audit-* --apply run, and skip a sealer pass while it is held (P4b3) #33675 (another seat's) touches audit-seal/sealer.ts, index.ts and the seal test kit. Merge-tree runs against it and against test(cli): os audit verify boots a stack that declares queues and assignment rules #34220 and origin/main before the push. On a conflict the area tells the seat before pushing.
      Prior rulings read: the seat's shape ruling on the S1 thread; ADR-0154 D4, D5 and D10; ADR-0131 (the injected organization_id); ADR-0049 (the key lands with its reader).
      Serial constraints cleared: Auth: the environment-access refusal carries the host's reason, and the cloud sign-in page names the organization (client_name) on an OAuth hand-off #34168 / data: the duplicate refusal reaches the writer's locale only on the /data door — the action door and updateMany answer the English developer sentence #33790 / One-step invitation acceptance: the invitation mail carries a proof only the mailbox receives, and the accept page creates the account, verifies the address and accepts in one step #34257 (this area, other files)
  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 16, 2026
  6. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jVPGBoi3MCGoKbW1Hv
    os-dev-report

    {
      "issue": 34164,
      "status": "done",
      "branch": "claude/area-A2-34164",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34351",
      "head": "d919486fbe2c04d70213ba0b96febe86f0aabeb0",
      "session": "session_01QsR2jVPGBoi3MCGoKbW1Hv",
      "premise_still_valid": true,
      "summary": "Premise measured on main 43dd5656e: sealer.ts plans() refused an object with no tenant_id, and the chain was read from tenant_id only (sealer tenantOf, verifier tenantOf). lifecycle.seal gains an optional chainField. The spec refuses a NAMED column the object lacks at lifecycle.seal.chainField, counting declared fields and the columns resolveInjectedSystemColumns injects (organization_id unless the object opts out of the tenant column). plugin-audit has one reader, chainValueOf (with sealChainFieldOf), in audit-seal/canonical.ts. It replaces both tenantOf, and the sealer, the live check and the proof bundle's unsealed entries go through it. The signed body keeps tenant_id, carrying the chain value. ADR-0154 gains one appended note (D10 key, D5 reading). os audit verify needed no source change.",
      "tests": "All on head d919486fb, under os-verify-lock, VERDICT command-exit 0. plugin-audit card file 7/7. spec card file plus object-lifecycle-seal.test.ts: 28/28. cli card file (--project integration, spawns the real os audit verify --org): 4/4. spec suite: 845 files, 27033 passed, 1 todo; spec typecheck 0; check:generated: all 14 artifacts up to date. cli --project unit: 423 files, 6017 passed; cli typecheck 0. plugin-audit suite: 98 files, 1578 passed, and typecheck 0, both on c1cad5350, since the later main merge touched no plugin-audit file. Byte-identity golden digests were taken by running the same leg against the base sealer (43dd5656e) with seed, clock, lock, seed handles and signer fixed. Ablations used scripts/ablation-replace.mjs; each landed (anchor 1 to 0, blob changed) and was restored to HEAD's blob with git diff HEAD empty. (1) chainValueOf reads tenant_id: live leg 3 failed, 'expected 1 to be 2'. (2) The same through the CLI: plugin-audit rebuilt, ablation-dist-preflight hit dist/index.js and dist/index.mjs, cli card 4 failed. Restore leg: rebuilt, marker absent from 6 files, tree clean, 4/4 passed. (3) tenant_id dropped from the column set: both byte-identity tests failed. (4) The refuseUnknownSealChainField call deleted: 5 refusal tests failed. (5) The sealer chain-column check made dead: the skipped-parse test failed, 'expected 1 to be +0'.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack derived 123 families at d919486fb. Each ran once on that head. 122 exited 0. check:type-check-debt ran under the lock and exited 0. --ran: 123 derived, 123 run, 0 NOT-MEASURED, 0 UNRUN. pnpm lint exited 0. PR-body gates on the exact body: check-changeset-no-major 0, check-adr-0087-registration 0, check-closing-keyword-parity 0, check-partof-closing-keyword 0. CI check-runs: in_progress at report time (not awaited). merge-tree, driver-free bare clone, head against #33675 972c3ec26: exit 0; against #34220 746ae96fc (merged): exit 0; against origin/main: exit 0. GitHub mergeable true, mergeable_state blocked (draft).",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "line_budget": "11 files, +733 -17. Source: spec object.zod.ts +54; plugin-audit canonical.ts +26, sealer.ts +17/-11, verifier.ts +5/-3, signed-body.ts +6/-1. Tests: +584 in 3 card-named files. ADR note +18, changeset +20, regenerated reference doc +3/-2.",
      "files_changed": [
        ".changeset/34164-seal-chain-field.md",
        "content/docs/references/data/object.mdx",
        "docs/adr/0154-audit-ledger-tamper-evidence-sealer-signed-checkpoints-amendments-verify.md",
        "packages/cli/src/commands/audit/verify.chain-field-34164.integration.test.ts",
        "packages/plugins/plugin-audit/src/audit-seal/audit-seal-chain-field-34164.test.ts",
        "packages/plugins/plugin-audit/src/audit-seal/canonical.ts",
        "packages/plugins/plugin-audit/src/audit-seal/sealer.ts",
        "packages/plugins/plugin-audit/src/audit-seal/signed-body.ts",
        "packages/plugins/plugin-audit/src/audit-seal/verifier.ts",
        "packages/spec/src/data/object-lifecycle-seal-chain-field-34164.test.ts",
        "packages/spec/src/data/object.zod.ts"
      ],
      "deviations": [
        "Ruling 'the authoring refusal replaces the sealer-time no-tenant_id error' is only half done. Authoring refuses only a NAMED chainField. An object that names none and has no tenant_id still parses, and the sealer still reports it at error, reworded for the chain column. Refusing it at parse would be a narrowing ('Metadata-protocol: narrowed', '(narrowing)'), not the claim's widening, and would red packages/spec/src/data/object-lifecycle-seal.test.ts, which is outside the surface. The check also stays for definitions that skip the parse (raw registerObject, stored rows, manifests); without it those would seal every row into the deployment chain. See open_questions.",
        "The claim's Clause-② line is copied without its trailing instruction sentence ('The dev measures this again before the PR.').",
        "Changeset level is minor for @objectstack/spec and @objectstack/plugin-audit, because Metadata-protocol: added requires minor (AGENTS.md Post-Task step 3). common.txt says patch.",
        "Import cycle: object.zod.ts now imports resolveInjectedSystemColumns from injected-system-columns.ts, which imports object.zod. The calls are function-only, at parse time. Measured: the CJS and ESM spec builds both load and refuse.",
        "The first two git push attempts were refused by the session's action classifier. Push succeeded after the merge-tree probes. No workaround was used."
      ],
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (fleet-write run 43835148666, PR #34351) and this post-stamped issue comment on #34164. git push is not counted.",
      "open_questions": [
        {
          "question": "Should authoring also refuse a seal that names no chainField on an object without tenant_id, which is the case the sealer-time error still covers?",
          "options": [
            "A (as shipped): refuse only a named chainField; the default case parses and the sealer reports it at error. Real need: measured git grep at d919486fb, no producer declares seal without tenant_id (only test fixtures; cloud's sys_ai_audit_log will name chainField), so A protects no one and B breaks no one. Long-term soundness: a runtime-only report on a declaration that can never seal is the declared-not-enforced shape ADR-0049 forbids. Preventing AI mistakes: an AI that writes seal on an object without tenant_id passes authoring and learns only from an hourly error log. Startup scope: ships nothing extra.",
            "B: also refuse the default case, at lifecycle.seal. Real need: same zero producers. Long-term soundness: contract-first, loud at authoring (Prime Directive 12); the sealer check stays only for definitions that skip the parse. Preventing AI mistakes: stronger, since the trap closes at authoring. Startup scope: no new gate, it tightens an existing refusal. Cost: re-declare as Metadata-protocol narrowed, Clause-② yes (narrowing) (BREAKING, ADR-0087 disposition, dogfood battery), about 10 source lines, a one-line tenant_id in object-lifecycle-seal.test.ts's fixture (outside this claim's surface) and one sentence in the ADR note."
          ],
          "recommendation": "B on the long-term and AI-mistake axes, with the real-need axis showing it breaks no producer. It needs the seat to re-declare as a narrowing and to widen the surface to the one fixture line, so this PR ships A and B waits on the seat's word, here or as a follow-up."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat (domain:server#5) · Skills-docs follow-up owed: skills/objectstack-data/rules/lifecycle.md § Sealing teaches the chain as tenant_id only (true for the default). content/docs/data-modeling/objects.mdx § Sealed audit objects is the same. Both are outside this claim's surface.",
        "carrier: seat · not ruled: a chainField that is also a valueFields entry is accepted. The chain value is then committed in the leaf and in clear in the signed body. A behaviour choice for the loose-ends list."
      ]
    }
  7. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Release: claim 6906547049 (session session_01QsR2jVPGBoi3MCGoKbW1Hv, area S1 of domain:server#5, account zhuangjianguo) is withdrawn by takeover, cross-account. Who: the maintainer (Leehom). Words: 「接手 前任。#28677 (comment) 的未完成任务」. Where: the project seat thread of repo:objectstack#1 (seat post #34366). The predecessor signed off at brief 6912561028; the last pushed head is claude/area-A2-34164@d919486fbe2c04d70213ba0b96febe86f0aabeb0 (hand-off 6912069272 on PR #34351: code complete for the seat's shape ruling; round 2 (wording, docs) not started; Tier H by its ADR-0154 note).

    Claim: repo:objectstack#1 area o1-A takeover · p2, pm:blocking (blocks objectstack-ai/cloud#4128 item 4) · executed by os-dev subagents of the area o1-A thread · posted at 2026-11-16T09:51Z
    Session: session_01FEkQ5nNrLRm8ssuwWcBVcw
    Account: os-project-manager
    Branch: claude/area-A2-34164
    Worktree: objectstack-area-A2-34164
    Domain: domain:server
    Seat: repo:objectstack#1
    File surface: unchanged from claim 6906547049 (the files of PR #34351). On any breach, stop and explain in the report.
    Container & model: S-M, mode:subagent, model: default (fix rounds; the contract faces get their CONTRACT_REVIEW_TIER L2 separately), effort: high
    Clause-②: yes (widening). A sealed object may name its chain column with lifecycle.seal.chainField; the default stays tenant_id, and an object that seals today is byte-identical.
    Metadata-protocol: added
    Responsibility: the audit sealer chains only by a tenant_id column, so an object whose organization lives in organization_id cannot be sealed (objectstack) | objectstack-ai/cloud#4128 | Enterprise customers whose AI audit trail must carry the same proof as the main audit log
    Thread-read: 6911927317
    Premise: holds (the narrowing half, an object with neither tenant_id nor a chainField, is #34352 by the seat's 09:00Z ruling recorded in hand-off 6912069272)
    Pre-claim lane: repo:objectstack (server face, with the spec key kept here under the cross-lane keep rule and one ADR-0154 note), because the reader is in packages/plugins/plugin-audit/**; no cloud code.
    Pre-claim deps: none blocking; PR #33675 (another seat) touches audit-seal/sealer.ts, so merge-tree runs against it before each push.
    Prior rulings read: the predecessor seat's shape ruling recorded in claim 6906547049; ADR-0154 D4, D5, D10; ADR-0131; ADR-0049. skills/** stays out of this implementation PR (the dispatch rule keeps it to a domain:skills card), so its Skills-docs line names a follow-up card.
    Serial constraints cleared: #33675 (merge-tree before push); #34352 (the narrowing half, unclaimed)
    Resume-from: claude/area-A2-34164@d919486fbe2c04d70213ba0b96febe86f0aabeb0

  8. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim amendment · #34164 · round 2 surface · 2026-11-16T09:55Z

    Round 2 on PR #34351 (hand-off 6912069272), within claim 6913075855:

    • Added: content/docs/data-modeling/objects.mdx (§ Sealed audit objects, which still says tenant_id keys each chain), and the PR body and .changeset/34164-seal-chain-field.md wording.
    • Wording is option A as shipped (dev report 6911927317): authoring refuses only a NAMED chainField the object lacks; an object with neither tenant_id nor a chainField still parses and the sealer reports it. The narrowing half is audit seal: publish refuses a sealed object that has neither a tenant_id field nor a chainField #34352, unclaimed.
    • Kept out: skills/** (the dispatch rule keeps it off an implementation card). skills/objectstack-data/rules/lifecycle.md § Sealing and the stale verifier claim in skills/objectstack-data/evals/objects-fields-relationships.json go to a domain:skills follow-up card the area files; the PR's Skills-docs: line names it before ACCEPT.
    • Loose ends the body records, not built here: a chainField also listed in valueFields is accepted (the chain value is then committed in the leaf and in clear in the signed body); a platform-global deployment that withholds organization_id.
  9. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 34164,
      "status": "done",
      "branch": "claude/area-A2-34164",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34351",
      "head": "ebd7fbd78affdb93461d489821ff39ba2e50bead",
      "session": "session_01FEkQ5nNrLRm8ssuwWcBVcw",
      "premise_still_valid": true,
      "summary": "Round 2 (wording and docs) on PR #34351, resumed from d919486fb with no merge of main (no conflict, no red). content/docs/data-modeling/objects.mdx § Sealed audit objects now teaches lifecycle.seal.chainField as the code on the branch ships it: optional, default tenant_id; a named column must be declared or injected (organization_id counts unless systemFields: false, systemFields.tenant: false or tenancy.enabled: false), else refused at lifecycle.seal.chainField; an object with neither tenant_id nor chainField still parses and the sealer reports it at error and does not seal it; a chainField organization_id object a deployment declares platform-global is reported the same way; an empty chain value joins the no-organization rows; os audit verify --org reads the same column. The changeset states option A and names the narrowing card #34352 with no closing verb, and its Skills-docs line reads 'Skills-docs: follow-up #33773'. content/docs/deployment/cli.mdx was read: its os audit verify section never says the chain is keyed by tenant_id (its only tenant_id is the bundle's clear-column list for sys_audit_log), so it is left unchanged. The new PR body (option A, the #34352 carrier, both loose ends, Skills-docs follow-up #33773, round-2 readings, line 1 attribution comment kept, signed trailer last) is prepared and gated but NOT written to the PR: see deviations.",
      "tests": "No package source moved in round 2 (diff d919486fb..ebd7fbd78: the changeset +2/-2 and objects.mdx +17/-2), so no package suite was re-run; round 1's readings on d919486fb stand. No ablation: docs and changeset only.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack over the two round-2 paths, at ebd7fbd7: 55 families. Final exit codes: 55 of 55 exit 0. Four first answered exit 3 (check:doc-formula-expressions, check:doc-security-posture, check:skill-examples: PREREQUISITE NOT MET) or exit 1 (check:docs-transcript-drift: ERR_MODULE_NOT_FOUND for metadata-core under packages/lint), all because the lint and client-react closures were unbuilt; after pnpm --filter '@objectstack/lint...' build and '@objectstack/client-react...' build (os-verify-lock VERDICT command-exit 0 each) all four exited 0. --ran with exit codes recorded: 55 derived, 55 run, 0 NOT-MEASURED (a derived zero), 0 UNRUN. Control-byte scan of the three edited texts: no hit. PR-body gates on the exact new body: check-partof-closing-keyword exit 0; check-closing-keyword-parity --body exit 2 listing only Fixes #34164 (2 of 3 parsers; no other number bound); check-closing-target-claim exit 0 with an UNDETERMINED warning (see out_of_scope_findings). CI on ebd7fbd78: 68 check-runs, 58 success, 10 skipped, 0 failed; required contexts: Lint & Repo Gates success, TypeScript Type Check success, Test Core success (8/8 shards success), Build Core success, Governed Surface Queue Guard success, Lint UI skipped, Type Check UI success, Test UI success (16/16), Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success (shards skipped on the PR run).",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "line_budget": "Round 2: 2 files, +19 -4 (changeset +2/-2, objects.mdx +17/-2). Whole PR vs origin/main: 12 files, +750 -19. skills/** untouched.",
      "files_changed": [".changeset/34164-seal-chain-field.md", "content/docs/data-modeling/objects.mdx"],
      "deviations": [
        "PR body not written. The dispatch order asked for an issue_patch through fleet-write/dispatch.mjs; .claude/agents/os-dev.md says a dev writes the PR body only at pr_create, never PATCHes it, and the seat writes a changed body (seat-post-protocol.md), and that the contract wins on conflict. The exact body is ready for the seat at the scratchpad path issue-34164/pr-body-new.md (11.5 KB; line 1 the attribution comment, last non-empty line the signed trailer), gated as listed under gates.",
        "Gates were derived for the two round-2 paths, not from the merge base (which re-derives the whole PR's 123 families). Declared narrowing, per the order; round 1 ran the 123 on d919486fb.",
        "dispatch-gates warned STALE TREE: the worktree's merge base is 12 commits behind origin/main 2c96e0df, and scripts/check-skills-token-ratchet.mjs and scripts/pm/label-write.mjs changed in that range. Neither is a family these paths derive; main was not merged, per the order.",
        "Commits carry the model-free trailer pair AGENTS.md prescribes, not the harness reminder's model-named Co-Authored-By line."
      ],
      "mcp_calls": "0",
      "api_writes": "1 — this post-stamped issue comment on #34164. git push (two pushes, d919486f..5d76f1e9..ebd7fbd7) is not counted.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat · check-closing-target-claim on PR #34351 reports #34164 UNDETERMINED: its newest Claim: comment has no parseable Branch: line by that gate's reader, although claim 6913075855 carries 'Branch: claude/area-A2-34164'. The claim opens with a signature line, then a Release: paragraph, then Claim:. Exit 0, advisory; noted, not filed."
      ]
    }
  10. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
     "issue": 34164,
     "status": "done",
     "branch": "claude/area-A2-34164",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34351",
     "session": "session_01FEkQ5nNrLRm8ssuwWcBVcw",
     "premise_still_valid": true,
     "summary": "Round 3 (L2 record 6914221841). S1: a NAMED lifecycle.seal.chainField is refused at lifecycle.seal.chainField when its column's value is not one text on every store (NUMERIC/BOOLEAN/CALENDAR_DATE/INSTANT/STRUCTURED_JSON value classes plus isMultiValueField; an injected column judged by injectedSystemColumnDefs, so updated_at is refused) and when it is id or created_at, through isSealLeafOrderColumn, now shared with the valueFields refusal. S2: a chainField also in valueFields is refused. S3: measured on the in-memory store (re-seal of the last sealed window under the new chain, listed_twice; --org reads earlier rows late, unsealed; both not ok) and recorded in the ADR note, objects.mdx and the changeset as 'fixed once the object has checkpoints'. S4 and N1 done in the ADR note; N2/N3 listed as not taken. Every added refusal needs the new key, which is an unknown key on main, so nothing that parses on main is refused: Clause-② yes (widening) and Metadata-protocol added hold. CI reds on 470a621d (check:docs; a multiselect fixture whose option value was itself refused) are fixed on d1d44a36.",
     "tests": "On 55812f71 under os-verify-lock VERDICT command-exit 0: plugin-audit Test Files 98 passed (98), Tests 1623 passed; spec Test Files 936 passed (936), Tests 28607 passed, 1 todo; both typecheck exit 0. Card files: spec 25/25, plugin-audit 52/52 (single files, unlocked, declared). check:generated: 1 of 14 stale (content/docs/references/**), --fix, then all 14 up to date. Ablations via ablation-replace.mjs, each restored to HEAD blob with git diff HEAD empty: non-text refusal dead gives spec 9 failed, plugin-audit 24 failed; leaf-order branch dead gives spec 3 failed; valueFields overlap dead gives spec 2 failed.",
     "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack over the 7 round-3 paths: 120 derived; 117 exit 0 (changeset gates re-run after the last changeset commit, exit 0); 3 exit 3 PREREQUISITE NOT MET, NOT MEASURED locally (check:skill-examples, check:i18n, check:dual-build-cjs-loads: unbuilt client/CLI/whole-workspace dist, lock never acquired for the build); --ran with exit codes: 120 derived, 117 run, 3 NOT-MEASURED, 0 UNRUN. CI: d1d44a36 58 success, 10 skipped, 0 failed; 55812f71 at report: Lint & Repo Gates, Type Check source gates, Check Changeset, Governed Surface Queue Guard, Dogfood Regression Gate, Live E2E UI success, Test Core/Build Core/Type Check workspace/Test UI in_progress, 0 failed. PR-body guards on the new body file: partof exit 0, parity --body exit 2 (only the card's own line), closing-target-claim exit 0 with one UNDETERMINED (newest Claim comment has no Branch line).",
     "dogfood_battery": "n/a — no ! in the PR title and Clause-② carries the (widening) arm",
     "mcp_calls": "0",
     "api_writes": "1 — POST issues/34164/comments (this os-dev-report, via post-stamped.mjs)",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: #34352 · a definition that skips the parse with a non-text chain column (or non-text tenant_id, as on main) still seals rows into the deployment chain; the sealer has no chain-column type check · noted, not filed",
      "carrier: seat · check-closing-target-claim reads claim amendment 6913162434 as the newest Claim and finds no Branch line (UNDETERMINED) · noted, not filed"
     ]
    }
  11. removed
    pm:dispatched
    pm:blocking
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain:serverenhancementpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions