Skip to content

fix(objectql): deleting a record clears a read-only lookup that points at it - #34952

Merged
objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/issue-34899-set-null-readonly-lookup
Nov 17, 2026
Merged

objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/issue-34899-set-null-readonly-lookup

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread
Fixes #34899
Clause-②: no
Metadata-protocol: none

repo:objectstack#3 · os-support-ai · session_01WGufzgNCAXyGfBQFZBwixH

维护者速读

  • 改了什么:删除一条记录时,引擎会把指向它的 lookup 清空(set_null)。现在即使这个 lookup 是只读(readonly 或 readonlyWhen)也能清空,且不再打印 "DROPPED" 警告。
  • 为什么改:以前只读规则把引擎自己的清空当成调用方伪造的写入并丢掉,删除返回 200,引用行却一直挂着已删除记录的 id(hotcrm 的工时条目因此"永远显示已开票")。
  • 风险与回滚:豁免只覆盖删除流程清空的那一个字段、那一个值,而且只通过引擎内部的私有 Symbol 传递,调用方无法伪造;回滚即 revert 本 PR。已知影响:回收站恢复对只读 lookup 的重新关联会被只读规则剥掉(见 Acceptance notes),需要决定是否另行修复。
  • 先看:packages/objectql/src/engine-update.ts(豁免的构造,约 :282-300)、packages/objectql/src/validation/rule-validator.ts(isReferentialClear 与两处跳过)、packages/objectql/src/engine-cascade-planning.ts(删除流程传入私有选项,约 :1153-1170)。
  • 两分钟验证:pnpm --filter @objectstack/objectql exec vitest run --maxWorkers=2 src/engine-set-null-readonly-lookup-clear.test.ts,预期 13/13 通过。
  • 需要你做的:决定回收站恢复的只读 lookup 重新关联(ADR-0148)是否在本 PR 一并修复,还是另立卡。

What changes

Deleting a record makes the engine clear every optional lookup pointing at it (set_null, the default) with an UPDATE of the holder under the caller's context. The update-side read-only strip runs on !context.isSystem and never read the walk's marker, so on a readonly: true lookup it dropped the clear and logged Field 'billed_on' on 'ro_entry' is read-only: the caller-supplied value was DROPPED and the update is being COMMITTED WITHOUT IT. The delete answered 200 and the holder kept the deleted id. A readonlyWhen-locked lookup failed the same way.

The fix:

  • engine-top-level.ts: a module-private REFERENTIAL_CLEAR_OPTION symbol, the shape of the ADR-0142 D4 WRITE_PRECONDITION_OPTION. It is not re-exported from index.ts or core.ts, and no .d.ts of the built package names it.
  • engine-cascade-planning.ts: the walk passes { object, id, field } of the holder row and lookup on that symbol, next to the unchanged referentialCtx.
  • engine-update.ts: update() turns the option into a ReferentialClearExemption { field, value }. It does this only on the by-id write of the row and object the walk named, with value taken from the entry snapshot. It hands the exemption to the hide-from-hooks pass, the readonlyWhen strips (FK settlement and the main pass), the stored view those read, and the static strip.
  • rule-validator.ts: isReferentialClear(data, name, exemption) is true only for name === field while the key still holds value by Object.is. The static strip keeps that key and logs nothing for it. The readonlyWhen strip does not judge it. Every other key is judged exactly as before.
  • recycle-bin/restore.ts (ADR-0148 D2, claim amendment 6956936802): the restore's re-link of a cleared reference, and that re-link's undo when a restore fails partway, now pass { object, id, field } on the same module-private REFERENTIAL_CLEAR_OPTION. update() builds the same one-key exemption from it, only on the by-id write of the row and object the restore names, at the value the restore writes. So a readonly / readonlyWhen lookup is re-linked under the caller's context instead of stripped. It is not isSystem, and it is not the __referentialFieldClear marker. relinked now counts a re-link only when a read-back of the row after the write shows it holds the id (relinkedValue(...) === undefined). A write that a strip or a hook took the key out of is not counted.

Why a symbol and not the context marker. The ruling asked whether __referentialFieldClear can be forged before relying on it. Findings:

  • REST and MCP: no. assembleExecutionContext (packages/core/src/security/assemble-execution-context.ts:295-430, closed entryFields) builds the inbound envelope from a closed field set with no __ key.
  • Hook ctx.api writes outside a cleanup dispatch: no. ObjectRepository.update overrides context with the hook's own (packages/objectql/src/engine-object-repository.ts:83-88).
  • Hook writes inside a cleanup dispatch: they inherit the marker by design (packages/objectql/src/engine-middleware-and-context.ts:183-187).
  • Other write paths that can carry a caller-shaped context are not relied on either: the exemption does not read the marker at all.

The exemption therefore keys on neither the marker nor isSystem. It keys on a value only the walk can hold. A caller carrying the marker gets nothing, and a test pins this.

The multi-value branch is covered. On a multiple: true lookup the walk writes the remaining ids, and the exemption is that exact array.

Tests

New file packages/objectql/src/engine-set-null-readonly-lookup-clear.test.ts: real ObjectQL, stub driver, the sibling engine-referential-clear-write-context.test.ts harness plus $in / $contains. It pins:

  • a readonly lookup reads null after its target is deleted, under a user context and under none, with no drop line, and the holder's beforeUpdate sees the null;
  • a readonly multi-value lookup keeps its remaining id ([a, b] becomes [b]);
  • a readonlyWhen: 'true' lookup is cleared;
  • control: a writable lookup is cleared as before;
  • forged: a caller update carrying __referentialFieldClear and its cause through the normal door is still stripped and logged once, still locked by readonlyWhen, and still refused under strictReadonlyWrites (code ERR_READONLY_FIELD_REJECTED, fields ['billed_on'], row unchanged);
  • unit, one key and one value wide: a second readonly key in the same payload is stripped and logged; the cleared key at any other value is stripped (static) or locked (readonlyWhen).

Restore pins, a top-level describe in recycle-bin/restore.test.ts (the restore harness): (1) readonly set_null lookup, delete, restore: the reference holds acc1 again, relinked is 1, and no drop line is logged across the delete and the restore. (2) A holder beforeUpdate that keeps the stamp empty: the row stays null and relinked is 0. (3) A caller update carrying the option's shape through the normal door (a Symbol('objectql.referentialClear') key, a Symbol.for('objectql.referentialClear') key, and __referentialFieldClear on the context) is still stripped and logs one DROPPED line. A JSON transport cannot carry a symbol key at all. Ablations at head a0f8fd1: re-link without the option gives pin 1 red (expected +0 to be 1); counting without the read-back gives pin 2 red (expected 1 to be +0); both restored to HEAD by blob. Suite at 326cea5: objectql 607/607 files, 13672/13672 tests.

Red on main (test commit 4b1c7da, engine unchanged)
× a readonly lookup reads null ... — a user context        AssertionError: the deleted record's id is gone: expected 'r_1' to be null
× a readonly multi-value lookup keeps its remaining ids     AssertionError: expected [ 'r_1', 'r_2' ] to deeply equal [ 'r_2' ]
× a readonlyWhen-locked lookup is cleared too               AssertionError: expected 'r_1' to be null
Tests  8 failed | 5 passed (13)
os-verify-lock: VERDICT command-exit 1

The walk's own write logged, on main: Field 'billed_on' on 'ro_entry' is read-only: the caller-supplied value was DROPPED and the update is being COMMITTED WITHOUT IT ...

Green, package suite, typecheck (head fbe36bf)
src/engine-set-null-readonly-lookup-clear.test.ts   Tests  13 passed (13)   VERDICT command-exit 0
pnpm --filter @objectstack/objectql test            Test Files  607 passed (607) · Tests  13669 passed (13669)   VERDICT command-exit 0
pnpm --filter @objectstack/objectql typecheck       tsc --noEmit clean; check:test-typecheck OK (39 file(s) / 233 error(s) held, unchanged)   VERDICT command-exit 0
Ablations (head fbe36bf, scripts/ablation-replace.mjs, test imports src directly)
  1. rule-validator.ts: return exemption !== undefined became return false && exemption !== undefined. The anchor count went 1 to 0 and the blob changed cb5c7a24af8e to 7c529516591a. Result: 8 failed, 5 passed (the six engine cases and both exemption units). Restore: blob equals HEAD, git diff HEAD empty.
  2. engine-cascade-planning.ts: the walk stops passing the symbol (const clearOptions = { context: referentialCtx };). Mutation landed (d941938d7c4b to e7d59f666fb7). Result: 6 failed, 7 passed (the six engine cases; the units stay green as expected). Restored: blob equals HEAD.

Acceptance notes

  • ADR-0148 restore (fixed here, route A, claim amendment 6956936802). Without the restore half, a readonly lookup's clear now landed, but the restore's caller-context re-link was stripped. The field stayed null, a DROPPED line was logged, and restore() still counted it in relinked. The re-link and its undo now ride the engine's private channel, and relinked counts only re-links that landed. The undo leg carries the channel too. It is not pinned separately, because no harness drives a restore that fails after a re-link outside a transaction; it is the same call shape as the pinned forward write.
  • Rows that already hold a deleted record's id keep it. The changeset says so.

Verification

Local gates (head fbe36bf)

node scripts/pm/dispatch-gates.mjs --commands (no paths; change set from merge base d576509, 7 paths) derived 71 commands. All 71 ran on fbe36bf. Each exit code was captured before any pipe.

  • 69 answered exit 0.
  • 2 answered exit 3 (PREREQUISITE NOT MET), read as NOT MEASURED:
    • node scripts/check-plugin-teardown-shape.mjs --self-test: checker health only. Its pinned fixture commit is unreachable on this shallow checkout.
    • pnpm check:dual-build-cjs-loads: its self-test passed (93 cases). The scan needs every package's dist/, and only the objectql closure was built. CI runs it.
  • --ran reconciliation: 71 derived famil(ies) accounted for — 69 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3).
  • No exported symbol was renamed or removed, so check-platform-checklist --changed-from does not apply. The built dist/*.d.ts names neither ReferentialClearExemption nor the symbol, so the public surface is byte-unchanged.
  • Full dogfood: n/a. The title carries no ! and there is no (narrowing) arm. test:repo was not run locally (CI Test Core).

Overlap: node scripts/pm/overlap-check.mjs --branch=claude/issue-34899-set-null-readonly-lookup, VERDICT clean exit 0 against origin/main d576509 and #34817, #34811, #34752, #34709. The first run was red on #34709, an import-line conflict in engine-update.ts. It was cleared by importing the symbol on its own line.


Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01WGufzgNCAXyGfBQFZBwixH

… the read-only strips

The delete walk hands update() the holder row and lookup it clears on a
module-private symbol option; update() exempts exactly that key, at the
value the walk wrote, from the static readonly strip, the readonlyWhen
strip and the hide-from-hooks pass. The operation-private context marker
grants nothing, and isSystem is not granted.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgNCAXyGfBQFZBwixH
Keeps the shared engine-top-level import list untouched, which an open
sibling PR also edits.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgNCAXyGfBQFZBwixH
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 17, 2026
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/objectql, touching 14 documentable anchor(s).

3 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/kernel/contracts/data-engine.mdx (via stripReadonlyFields (symbol, a top-level function))
  • content/docs/protocol/objectql/security.mdx (via stripReadonlyFields (symbol, a top-level function))
  • content/docs/protocol/objectql/state-machine.mdx (via stripReadonlyFields (symbol, a top-level function))
What this run could not see
  • 2 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 21 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json c81f498b5f0614157864d9586da718dbe02121b1 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from c3361a40bd7911a8e2730cc7a14eaf3a1c313f88 — the merge of head 326cea5a8064f490096a8217c6574e213130a15f into base c81f498b5f0614157864d9586da718dbe02121b1, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin c3361a40bd7911a8e2730cc7a14eaf3a1c313f88 && git checkout c3361a40bd7911a8e2730cc7a14eaf3a1c313f88
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin c81f498b5f0614157864d9586da718dbe02121b1 326cea5a8064f490096a8217c6574e213130a15f && git checkout -B drift-repro c81f498b5f0614157864d9586da718dbe02121b1 && git merge --no-ff 326cea5a8064f490096a8217c6574e213130a15f

node scripts/docs-audit/affected-docs.mjs --json c81f498b5f0614157864d9586da718dbe02121b1

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs c81f498b5f0614157864d9586da718dbe02121b1 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgQsdnyS4QdR8stjDa

L1 review (L1-d) · 2026-11-17T18:19Z

L1: ACCEPT
Head-sha: fbe36bf78c0e957370d3213af3bceaf8bc1d93eb

Read against claim 6954800432 and os-dev report 6956449432 on #34899.

  • Size: merge base d576509c, 7 files, +427/-15.
  • Not governed: check-governed-merges --branch pr-34952 reports 0 of 7 paths on the register and 442 lines.
  • CI at this head: 37 success, 18 skipped, 1 in progress, 0 failed.
  • Claim surface: all 7 files are inside the claim. The three engine*.ts files are the update assembly that hands the exemption to the strips, which the claim allows. The test file is new and card-named.

What holds

  • Closing keyword. Fixes #34899 is right. The card's done-when holds: the clear lands on a readonly lookup, on a readonlyWhen-locked lookup and on a multiple: true lookup (the remaining ids), and no drop line is logged for it.
  • The channel cannot be forged.
    • The exemption keys on a module-private Symbol('objectql.referentialClear'), the same shape as WRITE_PRECONDITION_OPTION. It is exported only through engine-top-level.ts's internal export list, not from index.ts/core.ts. I checked by grep that only engine-cascade-planning.ts and engine-update.ts read it.
    • It deliberately does not read the __referentialFieldClear context marker, which a hook's ctx.api write inherits during the cleanup dispatch. The body's reasoning on this is right.
    • isSystem is not granted.
  • It is narrow on three sides.
    • update() builds the exemption only on the by-id write whose object and id match what the walk named.
    • It covers only that one field.
    • It holds only while the key is still Object.is the value the write received.
    • So a beforeUpdate hook that rewrites the key falls back to hookWrittenKeys, and any other read-only key in the payload is judged as before. The unit cases pin both edges.
  • Every reader agrees. The exemption reaches the hide-from-hooks pass, both readonlyWhen passes (the FK settlement and the main one), the stored view they read, and the static strip. So the hook sees the null it is about to store, and no strip disagrees with another.
  • The forged path is pinned. A caller update that carries the marker and its cause is still stripped and logged once, still locked by readonlyWhen, and still refused under strictReadonlyWrites with ERR_READONLY_FIELD_REJECTED.
  • Red on main and ablations.
    • On main, 8 of 13 fail with the card's exact symptom.
    • With isReferentialClear forced false, the same 8 go red.
    • With the walk not passing the symbol, the 6 engine cases go red and the units stay green.
    • Both restores were checked by blob.
  • Changeset. It is a patch on @objectstack/objectql. Clause-②: no and Metadata-protocol: none match the claim (no public type moves, and the body checked the built .d.ts). It says plainly that rows already holding a deleted id are not rewritten.

Must-fix

None.

Should-fix

  • S1 (escalated to the seat): ADR-0148 restore of a readonly lookup. The body measured this, and the claim fenced restore as "read, not changed". Before this PR, the clear never landed, so a restore found the id in place and the row ended up linked. That was by accident, but the end state was right. After this PR, the clear lands, and recycle-bin/restore.ts:701's re-link (caller context) is stripped by the same static rule. The row stays null, a DROPPED line is logged, and restore() still reports it in relinked.
    • So landing this alone moves restore from "right by accident" to "wrong, with a false count".
    • My recommendation: give the re-link the same symbol channel in this PR, if the seat amends the claim to add recycle-bin/restore.ts plus a pin. Otherwise, file a follow-up card and land the two together.
    • Either way, this is the seat's ruling, not a reason to hold this head.

Notes

  • N1: The card asked about readonly. The PR also exempts a readonlyWhen lock for the same clear. That matches the card's "readonly or not" done-when and the body states it. A state lock guarding a reference to a row that no longer exists has nothing left to guard.
  • N2: Locally, check:dual-build-cjs-loads and the teardown-shape self-test are NOT MEASURED (exit 3). CI covers them.

Landing: not governed. Area o3-G lands it once CI is fully green on this exact head and the seat has ruled on S1. A later push owes a delta read.

…d counts only landed re-links

The re-link and its undo ride the engine's module-private referential
channel, so update() leaves exactly that key on that row to the engine;
relinked is read back from the store.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgNCAXyGfBQFZBwixH
@github-actions github-actions Bot added size/l and removed size/m labels Nov 17, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgQsdnyS4QdR8stjDa

L1 review (L1-d) · 2026-11-17T19:08Z

L1: ACCEPT
Head-sha: 326cea5a8064f490096a8217c6574e213130a15f

This is a delta read from my ACCEPT at fbe36bf7 (6956937328). It covers the S1 fix round (seat route A, claim amendment 6956936802) and report 6957995897.

  • The delta: two commits, a0f8fd1c and 326cea5a, with 6 files and +117/-19. The PR is now 9 files and 550 lines.
  • Not governed: 0 of 9 paths on the register.
  • CI at this head: 38 success, 18 skipped, 1 in progress, 0 failed.
  • Claim surface: recycle-bin/restore.ts is the amended path, and restore.test.ts sits beside it. Every other delta file was already claimed.

What holds

  • S1 is closed.
    • The restore's re-link at restore.ts:~711 now passes { object, id, field } on the same module-private REFERENTIAL_CLEAR_OPTION.
    • update() builds the one-key exemption only for that row and object, at the value the re-link writes.
    • It does not use isSystem or the context marker. The re-link still runs under the caller's writeContext, so every other key and every other gate is judged as before.
  • The undo. The undo (previous ?? null) carries the same channel. Without it, a restore that failed after a re-link, outside a transaction, would leave the re-linked id on a read-only lookup.
  • The relinked count.
    • It now counts only a re-link that a read-back shows the row holds. The read-back uses the same driver.find shape and options the pre-read uses (inside the transaction when there is one) and the same relinkedValue predicate.
    • So a write that a strip or a hook took the key out of no longer reports a link the row does not hold.
    • The cost is one extra by-id read per re-linked reference, which is negligible on a restore.
  • Pins in restore.test.ts:
    • a read-only stamp the delete cleared is re-linked, counted once, with no drop line;
    • a hook that keeps it empty means it is not counted (relinked 0, row null);
    • a caller update carrying a look-alike of the option's shape through the normal door is still stripped and logged once.
  • Ablations: two, red in the expected direction and restored. The objectql suite is 13,672 of 13,672.
  • Changeset. The new paragraph matches the diff. It is still a patch, and Clause-②: no holds: relinked keeps its type and now tells the truth.

Must-fix

None.

Should-fix

None.

Notes

  • N1: The undo leg has no pin of its own. It is the same option on the same writer, and the inverse write of a pinned path, so I'm not asking for one here.
  • N2: The re-link exemption lets a restore write back only the id the delete walk itself recorded in clearedReferences, onto the row and field the walk cleared. That is ADR-0148 D2's intent, not a new caller write.

Landing: not governed. Area o3-G lands it once CI is fully green on this exact head. A later push owes a delta read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgNCAXyGfBQFZBwixH

Landing · 2026-11-17T19:10Z

Probe Reading
L1 ACCEPT 6956937328 (L1-d) at fbe36bf78 with S1 (restore re-link); S1 fixed under claim amendment 6956936802 (seat route A); delta ACCEPT 6958092846 at 326cea5a8064f490096a8217c6574e213130a15f, no must-fix or should-fix, N1 (undo leg unpinned) a note
Governed check-governed-merges.mjs --pr 34952: NOT governed, 550 lines ≤ 3000; Clause-②: no, Metadata-protocol: none
CI at head 57 check runs success or skipped at 326cea5a8
K behind main PRBASE = main's tip when CI ran at 18:25Z, fff0ad0c1, which is still origin/main: K = 0
Overlap overlap-check.mjs: VERDICT clean exit 0

Ready + auto-merge into the queue. Area o3-G (repo:objectstack#3) watches it to MERGED and closes out #34899.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 17, 2026 19:10
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 0465f4a Nov 17, 2026
58 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-34899-set-null-readonly-lookup branch November 17, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete: the set_null walk's clear of a readonly lookup is stripped by the read-only rule, so rows keep the deleted record's id

2 participants