Repository navigation
perf(session-readers): reuse captured admission facts - #166503
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: blocked before merge. Reviewed October 7, 2026, 10:25 AM ET / 14:25 UTC (Revision 11). ClawSweeper reviewWhat this changesThe PR preserves reusable session database readers and carries validated SQLite runtime, schema, and physical-source facts into existing workers to reduce repeated database work. Warning SQLite table change This PR modifies persisted SQLite tables in Merge readiness⛔ Blocked before merge - 2 items remain This maintainer-owned optimization remains useful and distinct from the merged prerequisites. The prior custody finding is fixed, and no new actionable defect was found; current-integration qualification remains outstanding. Priority: P2 Review scores
Verification
How this fits togetherSession readers supply stored session metadata and transcript information to Gateway requests. Their lifecycle and validation owners coordinate worker reads, database cleanup, and canonical session certification. flowchart TD
A[Gateway session request] --> B[Session discovery]
B --> C[Existing reader owner]
C --> D[Retain selected readers]
C --> E[Close unowned readers]
A --> F[Captured validation facts]
F --> G[Existing database workers]
G --> H[Validated session results]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +321, Tests +653, Docs +28, Other 0. Total +1002 across 38 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep reader custody and admitted facts with their existing lifecycle owners while demonstrating lower database work without weakening freshness, revocation, or commit settlement. Do we have a high-confidence way to reproduce the issue? Not applicable as a new user-facing bug report. Source and recorded native workloads establish repeated database work, but this review did not execute the current candidate. Is this the best way to solve the issue? Yes: reusing the existing reader, admission, catalog, and reclamation owners is a focused solution that preserves current contracts; the latest integration still needs its recorded qualification results. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b2d6842c547d. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (10 earlier review cycles; latest 8 shown)
|
|
I traced the exact-head custody failure in The post- !resource.nativeSequences.has(lane)as revocation. But that map entry is native reader custody, not authority: successful worker replies can clear it through So the smallest repair looks like: [...retained.values()].some(
- (resource) =>
- resource.revoked || Boolean(resource.closing) || !resource.nativeSequences.has(lane),
+ (resource) => resource.revoked || Boolean(resource.closing),
)I would keep the earlier Authority remains covered by the live candidate-resource registrations ( For validation, I would rerun the original failing Gateway cohorts from jobs 112676315430 / 112676315452 / 112676315265 first, then the focused lane/search and session-create-display-name suites. That proves normal settlement no longer looks revoked without weakening real revocation. Source-reviewed against |
Merge current main while retaining the reader admission optimization. Distinguish successful native-reader settlement from live revocation, and consume candidate release callbacks once when cleanup joins retirement. Keep alias retirement and request-leak assertions intact while allowing lifecycle-owned warmed readers. The new missing-reader regression fails on the original guard; overlapping retirement also reproduces duplicate release. Validation: fresh Codex P2 review is clean; production and all 27 test-type shards pass, Madge reports zero cycles, and worker/import closure checks pass. Focused flow and final integration validation are recorded in PR #166503.
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Merge current main and resolve the runtime-probe overlap with #166265. Keep main's single SQLite version/capability query for unqualified runtimes, and retain process/runtime-bound admission reuse for workers. Publish the inherited fact only after the probe database closes successfully. No public signatures, stored formats, schemas, or environment names change. The combined probe and inherited-fact owner suites pass all 88 cases.
|
@clawsweeper re-review |
…e checks Main moved ordered metadata reads to the projection lane in #166365. Retire that cache before checking for leaked request registrations, preserving all existing response, authority, and no-resource assertions. A diagnostic at the integrated head reproduced the failure and identified only the idle projection reader's physical path and alias. Both corrected files pass all 112 cases locally. Fresh P2 review, targeted types, lint, and formatting pass. Production source is byte-identical to 853cefe.
|
@clawsweeper re-review The requested integrated SQL and SDK evidence is now complete and recorded in the PR body, with exact source pins. The current head is 3500985; its non-test files are byte-identical to the measured and SDK-reviewed 853cefe revision. The current CI failure investigation and one authorized single-job rerun are also documented there. |
|
🦞👀 Re-review progress:
|
Preserve the session-reader optimization while incorporating the existing child-settlement and terminal font fixture repairs. Refresh post-integration types, import-cycle, SDK, and matched SQL evidence before landing.
|
@clawsweeper re-review Current head is 111e464, a clean merge of main ccadf6a incorporating the existing publication-settlement and terminal fixture fixes. Fresh P2 review, all post-integration type lanes, and Madge pass. The PR body preserves earlier evidence at its actual source pins and identifies the current SDK/SQL repeats and exact-head CI still in progress. |
|
🦞👀 Re-review progress:
|
Integrate the existing repair for requester continuation authority and the current worker-owner changes without changing the session-reader PR delta. Refresh post-integration type, cycle, SDK, behavior, and matched SQL evidence before landing.
|
@clawsweeper re-review Current head e137db4 cleanly integrates main 96ccec4, including the published requester sharing-authority repair f6e6805. Fresh P2 review, required post-integration type lanes, and Madge pass. The body records the new exact source pins and identifies the fresh SDK, full SQL comparison, and CI still pending; older evidence remains explicitly historical. |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
* perf(session-readers): reuse captured admission facts * chore(session-readers): shrink assertion safety baseline * refactor(session-readers): keep index collector private * refactor(session-readers): make custody predicates explicit * test(session-readers): retire the current projection cache in lifetime checks Main moved ordered metadata reads to the projection lane in openclaw#166365. Retire that cache before checking for leaked request registrations, preserving all existing response, authority, and no-resource assertions. A diagnostic at the integrated head reproduced the failure and identified only the idle projection reader's physical path and alias. Both corrected files pass all 112 cases locally. Fresh P2 review, targeted types, lint, and formatting pass. Production source is byte-identical to 853cefe.
What Problem This Solves
Temporary session discovery cleanup could close a physical reader already held by the history owner, forcing later admission work. Runtime canonical readiness also reopened a native caller-thread reader, while canonical index inspection repeated catalog queries for every table and index.
Why This Change Was Made
Reuse existing reader custody and admitted facts. The final matched integration reduces warmed-turn SQL from 2,238.8 to 1,634.3 statements (−27.0%), with MAIN unchanged at 28 and no focused-flow median increase. A five-statement connection-phase median increase is traced to unchanged background admission moving across the first-turn boundary; original counts and source attribution are retained below.
Transfer selected readers and lexical aliases through the existing history owner, retaining full retirement on failure, revocation, or deletion. Reuse completed native-runtime and canonical-definition facts through the existing worker launcher, bound to their process/runtime/source identity. Actual databases remain validated.
Carry canonical pending work's original physical source and storage environment into the existing reclamation worker. Keep row rereads, synchronous transactions, FIFO, live transaction/commit guards, and acknowledged publication. Reuse the existing transaction-local catalog reader for index fingerprints while preserving integrity, uniqueness, and atomic repair checks.
This builds on #166054's fact reuse. No new service, persistent cache, schema, durability, retention, or environment setting is introduced. Startup/Doctor retain their native readiness probe at
src/config/sessions/startup-migration.ts.User Impact
Production: +431 / -110 / net +321, 541 changed lines across 20 production files; 38 files total. The validation baseline separately changes +1/-1. Stored formats remain unchanged. The official SDK comparison has no added/removed entrypoints or direct export-signature changes; its reachable declaration changes are described below.
Overlaps: #166054, #166053, the separate restart-preflight prerequisite #166252, sqlopt-schema (#166102 / #166253), sqlopt-envelope, wave-6 entry/auth/binding/worktree/approval (#166050), P7k/P7m, and the locked-writes chain. #162433 is the inactive umbrella design. The discovery cutover is withheld: its separate fixed-store request still grows from 29 to 119 all-thread statements after this prerequisite. Its remaining amplification is maintenance admission and planning; it needs a coherent no-op/read-only maintenance protocol before it can be proposed. Main is integrated by the merge commits documented below.
Evidence
Current landing candidate:
e137db4b08714a19f0ccdb329d2c8b5295bf5b86, merging main96ccec4a1385f1554579d60dc058fb82419dbc79without conflicts. It now incorporates main'sf6e6805b99b7arepair for requester sharing authority, as well as the earlierd641ea18101f8publication-settlement and1d10375ee563bterminal fixture fixes. Fresh full-diff P2 review is scoped-clean. Core production, all 27 core test-type shards, extension production/tests, scripts and all four root test-type shards pass; Madge reports zero cycles. Current-head CI run 37634766972 passed on attempt 1: 97 jobs succeeded, 22 were skipped, and the required CI gate and all applicable Security High checks succeeded. The two requester-flow files and the X publication case pass in their actual test logs. The official local SDK comparison passed in 875.48s: no added/removed entrypoints or direct exported-signature changes; the same 131 reachable-only records and ten declaration deltas remain (digesta18ebce56f38d00aeeaa4a806a43880fc69af35941c649c29bb52de08d483c20). Runtime build graph plus three import-closure files pass (83.57s native); compiled-wrapper inventory passes (41.81s native). The new full 54-workload SQL comparison against this base completed successfully; all raw phase/thread totals conserve exactly. No older benchmark is presented as a measurement of this candidate.Current matched SQL proof: exact
e137db4versus96ccec4, unchanged 39-file workload kit, Linux Node 24.21.0 / SQLite 3.53.4, three runs per side. Warmed all-thread statements/turn are 2,238.8 → 1,634.3 (−27.0%), ranges 2,238.4–2,242.4 → 1,634.0–1,635.8; MAIN stays 28. Whole-workload medians decrease 43,153 → 33,714 all-thread and 4,075 → 3,387 MAIN. Every focused-flow median holds or decreases: fixed-store MAIN/all 29 → 16; search all 248 → 229; role-list all 89 → 75; lifecycle all 67 → 66; canonical cold MAIN 4 → 2/all 664 → 636, warm MAIN 6 → 2/all 24 → 23. Other focused flows hold. All warmed execution/prepare errors are zero; the lifecycle fixture retains exactly two matching database-locked BEGIN refusals per sample on both sides.The original audit retains one phase-median increase:
01.connectall-thread [349, 343, 342] → [348, 348, 348], median 343 → 348, with MAIN 14 unchanged. A separate second-session MAIN raw pair increases 143 → 144, while its median remains 143 and all-thread median decreases 6,992 → 5,498. These counts are neither excluded nor relabeled. Exact SQL fingerprints and captured source stacks identify the increase: the existing plugin-registry inspection path (src/agents/runtime-plugins.ts:262→src/plugins/runtime/load-context.ts:102→src/plugins/bundled-discovery-state.ts:140→src/state/config-machine-state.ts:62) performs one admission group in connect for baseline run 1 and all candidate runs, but in first-turn setup for baseline runs 2–3. The metadata-read sentinel stays exactly 20 executions in every complete workload, with connect/first-turn counts [4/2, 3/3, 3/3] → [4/2, 4/2, 4/2]. Six admission fingerprints contribute +1 each in connect; the removed native runtime probe contributes −1, accounting exactly for +5. The affected fingerprints across connect plus first-turn hold or decrease. This is unchanged background work crossing a phase boundary, not new connect SQL. Original phases/counts remain unchanged; no rerun, subtraction, relabeling, or regression waiver was used. All requested focused-flow medians hold or improve, and the warmed reduction survives the final main integration.The requester continuation failures were inherited. All five
111e464runs and all fiveccadf6abaseline runs ofchat.reset-visible-yield.test.tspassed reset but reproduced the complete-case timeout, stale-authority diagnostic, and secondary teardown ENOENT. Main's repair marks runtime-only lifecycle/observer notifications as unchanged stored facts and retains committed sharing facts independently from a retired display watermark, preserving supersession and revocation checks. Its published commit records five-run requester E2E controls and passing repaired E2E/owner proof. This integration reuses that existing owner repair; it does not weaken authority or change the assertions. Current candidate CI passes both formerly failing requester-flow files: reset and complete cases in job 112838890908, and all five requester-owner E2E cases in job 112838890948 (185.93s native invocation).Historical
111e464/ccadf6aqualification: official SDK comparison passed in 395.87s with zero entrypoint or direct declaration changes, the same 131 reachable-only records and ten declaration changes (digeste7e34488). Its CI run 37625145546 had the two requester-flow failures now repaired on main. All 48 focused/canonical SQL workloads passed and conserved exactly, with no flow-median growth. Search repetition 3 retained raw growth 233 → 235 while the three-run median decreased 233 → 229. The six-run warmed group was interrupted at its runner deadline and remains incomplete; captured partial control-plane run 1 has all-thread growth 48 → 51, explicitly retained alongside the reduced warmed-turn count. That interrupted group is not accepted as complete proof. All of these results keep their actual inputs; the later main integration requires the fresh full comparison above.The fresh publication comparison completed five runs per side on
3500985/fa420c6: baseline had one pass, two 404s and two 503s; the previous PR head had two 404s and three 503s. All ten were valid outcomes with identical fixture bytes. Both failures therefore occur on the base. The fixture's append checkpoint precedes final run metadata writes; those publications can invalidate anonymous-read authorization facts or an in-flight representation. Main's repair waits for the existing session work-admission release before expecting a stable 200, preserving all assertions and refusal checks. The updatedccadf6abaseline passes the real X-to-session-to-anonymous-HTTP flow (1/1, 516.59s including cold build). No diagnostic overlay or speculative production repair was applied. The subsequent111e464CI also passed this X flow (job 112805661272, 20.37s native invocation); the current e137 candidate also passes this flow in job 112838890629 (31.08s native invocation).Earlier integrated proof: previous candidate
3500985339990a33d122019c86efa546a66d0b3b. Main integration853cefe16a42d415e9e7eb45b1a9a90f4b7f11ffincorporatesfa420c6eb2752a78430cef1f2e3bf15cc17d8e9eby merge commit. The only conflict was the runtime probe insrc/infra/node-sqlite.ts: preserve #166265's combined version/capability query, then publish the inherited admission fact after successful close. The earlier main integration and custody repairs are ine8068730d37a8eefa7555a697942463147703475.The initial CI exposed a cleanup race: a successful missing-database reply can clear native-reader custody while discovery awaits cleanup. That does not revoke authority. The repaired guard retains live revoked/closing checks, and candidate cleanup consumes release callbacks once when explicit close overlaps retirement. A deferred-reply regression fails on the original guard; the existing alias test also reproduced duplicate unregister before the second owner fix.
Main's #166365 moved ordered metadata reads into the projection lane. The final test-only commit retires that warmed projection cache before the existing request-leak assertions, correcting the earlier history-lane cleanup. It closes no request-owned registrations and preserves every assertion. Published-head Linux proof passes all 112 cases in the two affected suites (178.10s); the prior CI merge plus only this test patch passes 113 cases (174s). Local focused proof passes 112 cases (433.66s). Completed attribution: five repetitions of each unrepaired suite at
853cefereproduce the same resource assertions (models: 10 failed/13 passed; metadata: 1 failed/88 passed), while five repetitions of each suite at basefa420c6pass all 23 and 89 cases respectively. All 20 retained logs were hash-verified. The runs span Linux Node 24.19 and macOS Node 24.21, each file singly with--maxWorkers=1; total harness wall time is 3,272s, including preparation/cleanup, not CI billable time or a performance comparison. Zero-test setup failures are excluded. No non-test file differs between853cefeand3500985.Fresh full-diff Codex P2 review is scoped-clean on the integrated production revision; a fresh P2 review also clears the final test-only delta. After both main integrations, production types and all 27 test-type shards pass and Madge reports zero cycles. Both conflict-affected SQLite suites pass all 88 tests. On preceding integrated
e806, the five failing-flow suites pass 159 tests (--maxWorkers=1, 1,061.15s harness wall time); five canonical/reader owner suites pass 116 tests (315.53s). Runtime build graph plus three import-closure files pass 14 tests (27.90s); the compiled PR-wrapper inventory case passes (16.28s). Earlier incomplete invocations are not counted as proof.Completed integrated SQL comparison: exact candidate
853cefeversus mainfa420c6, unchanged accepted workload, Node 24.21.0 / SQLite 3.53.4, three repetitions per side. All 54 workloads succeed; raw CSV phase/thread totals conserve exactly. Every focused-flow median holds or decreases. Warmed MAIN is 28 → 28; all-thread is 2,328.3 → 1,822.7 statements/turn (−21.715%), with ranges 2,327.0–2,329.3 → 1,821.6–1,824.1. Whole warmed workload falls 44,646 → 36,626 statements. Fixed-store MAIN/all falls 29 → 16; search all 245 → 226; role-list all 89 → 75; canonical cold MAIN 4 → 2 / all 662 → 636; canonical warm MAIN 6 → 2 / all 24 → 23. Other focused medians hold. Warmed execution/prepare failures are zero. The lifecycle fixture retains the same two database-locked BEGIN refusals per sample on both sides, with zero prepare failures. Connection-phase sample ranges overlap (343–346 → 338–349), while its median decreases 344 → 343; this is not a claim that every raw sample decreases.3500985reuses these measurements because production and workload inputs are byte-identical; it was not separately benchmarked.Completed integrated SDK report: official local comparison
853cefeversusfa420c6finds no added/removed entrypoints and no direct export-signature changes, with 131 reachable-only records. This remains valid for the test-only final commit. Released surface audit againstv2026.10.1-beta.1and stablev2026.9.8covers Plugin SDK exports,api.runtime, and documented SDK subpaths. Changed callback/deferral/reclamation signatures and the removed index-collector export are internal; released SQLite exports retain their signatures. No compatibility record is needed. No modules were extracted; required compiled-wrapper/import-closure proof passes. No new environment names, schema, durability, retention, or permission contracts are introduced.Previous-head CI disposition: run 37605192755 completed attempt 2 with only the inherited terminal type-check root and its aggregate failing. Attempt 1 had two root failures on tested merge
af55a5233de4e565bfbb4be4433bac5bffba3419(main3fc3205a3c5a11fbb3d81160384c11acfaf5f260plus the exact candidate).check-test-types-core-2rejects the extrasignalproperty atui/src/components/terminal/terminal-panel-fonts.test.ts:56. Neither that test nor its boot-session implementation is touched by this PR; both are unchanged on current main, where the exact type graph reproduces the same TS2353 error. Scheduled-main job 112749124678 independently reports the same error. This is inherited, not passing CI.checks-node-changed-1intermittently reports HTTP 404 instead of 200 inx-publication-owner-composition.e2e.test.ts(“commits and anonymously reads maintainer work; denies guest and revoked creation”). Five isolated original-PR repetitions and five merge-base repetitions all pass; the preceding integrated-head CI also passed this case. Source tracing distinguishes unavailable sharing facts (404) from worker custody errors (503); a child-finalization/readiness race is possible but unproven. No matching scheduled-main failure was found. This remains unattributed, not proven inherited or fixed. The single authorized exact-job rerun passed: job 112762776627, 490 seconds total job time; the X file passed in 19.07 seconds. Attempt 2 completed all 115 jobs, with only the inherited terminal type-check root and its aggregate failing and no cancellations. This replay is not proof of a fix. The completed additional five-by-five results and main's subsequent fixture repair are recorded above. The projection-fixture controls are complete. This previous-head admin evidence is not reused for the new candidate, which now includes both main fixes.ClawSweeper completed the e137 exact-head review at 2026-10-07 14:25:16 UTC and found no actionable code or security defect. It requested the refreshed SQL, SDK, and import results; completed results are recorded above. Its generic SQLite banner is addressed by the unchanged stored-format contract below.
The automated SQLite table-change banner does not correspond to a schema change in this diff: no table, column, index definition, trigger, schema version, or stored format changes. Index repair consumes the same canonical fingerprints through the existing catalog reader. The source review also confirms no stored-data model change. Historical published-driver/candidate compatibility proof remains qualified below.
Thanks @hippoley for independently tracing and confirming the distinction between native custody settlement and live revocation.
Historical pre-integration proof follows.
Base:
720e7c90455439808be4794ebbf8efa6d85a71fd; final candidate:efedc3db2f14d5e5cb35cff008a13433f14fecd9. SQL and the original remaining tests ran atee7b2cd51582c706f7407c1538dbb4fca9fb8953; SDK/package/update proof ran atd9979ca83e431585466cc0cbbf207fe25c4aacca. Later changes shrink an assertion baseline, remove only an unused export modifier, rename local bindings, explicitly coerce the existing closing-Promise predicate to Boolean, and pass an explicit empty Node transfer list in a test. Query implementations, workload, test fixtures and assertions are unchanged. The final three owner suites were rerun. This is qualified evidence reuse, not an exact-final-head SQL or package measurement.SQL measurements use the shared unchanged workload/observer on Linux, Node 24.21.0, SQLite 3.53.4. Counts include background, helper and in-memory SQL; prepares and failed executions are separate. Each endpoint below is the median of three runs.
All 42 original focused runs and six additional canonical-readiness runs pass. CSV phase/thread totals conserve exactly, both source trees restore cleanly, and every whole-fixture median decreases. Search ranges are 231–236 before and 236 after: one paired sample rises by five because the same worker transaction falls in setup in the first baseline sample and search in the others. Whole visibility totals are invariant within each side, 4,837 → 3,912; nothing is subtracted. Child-event ranges are 66–67 on both sides, with two pre-existing database-locked BEGIN refusals per sample on each side and zero prepare failures. Other listed successful-statement counts are identical across all three repetitions.
Canonical certification itself falls to zero MAIN statements; the preceding discovery step remains two MAIN statements. Its whole fixture falls 3,953 → 3,251 all-thread statements, with no execution or prepare failures. The original seven measurement families are unchanged; the added canonical fixture tests the actual pending-work producer and certification entry point, preserving stored row bytes.
Static T1: 844 → 844 (reduction 0; official inventory, 45.927s). The native readiness probe remains with startup/Doctor (
session-canonical-validation-readiness.ts:69,87,startup-migration.ts:343, Gateway startup migration and embedded TUI startup). Shared canonical kernels remain required by the released v2026.9.8 synchronousgetSessionEntryandlistSessionEntriescontracts (src/plugin-sdk/session-store-runtime.ts:391,417at that tag); the indirect synchronous commit guard remains insrc/gateway/server-methods/shared-types.ts:477at that tag. Native index repair retains schema admission and explicit repair callers (src/state/openclaw-agent-db-schema.ts:184,src/state/openclaw-state-db-repair.ts:203). No reclassification is added. Runtime statement reductions are separate from this static count.Warmed turns (three complete unchanged workloads per side, ten warmed turns per run): MAIN 31 → 31; workers 2,895.9 → 2,090.3; helpers 39.0 → 31.2; all-thread 2,965.9 → 2,152.5 per turn (−813.4, −27.4%). All-thread ranges are 2,960.1–2,968.9 before and 2,149.5–2,154.9 after. Every whole-workload phase median decreases, and the complete workload falls 54,672 → 41,584 statements. Native execution and prepare failures are zero. This is a matched comparison against the pinned main above; it does not achieve the campaign's under-500 target.
Separate request-census diagnostics retain exact native phase/thread conservation and all unassigned/background SQL. Exact-entry requests stay 43/turn, with their SQL 506.2 → 220.5; target-inventory requests stay 29/turn, with SQL 247 → 73. These requests become cheaper, not fewer. Diagnostic totals are 3,000.5 → 2,161.2 and are not substituted for the unmodified workload measurements. All warmed requests have receive/completion matches; four unchanged unknown-target exchanges occur only during boot.
Instrumented workload elapsed medians are 74.958 → 68.011 seconds. Focused GNU-time maximum RSS is 5,731,236 → 5,807,040 KiB for the cold fixed-store group (including cache preparation), and 1,442,776 → 1,407,552 KiB for the remaining group; these are command maxima, not aggregate service RSS or production latency measurements.
The initial warmed build hit the cloud
/tmpmemory-filesystem quota before any samples. The successful pair uses the lease's existing native workspace, with unchanged source/runtime/harness inputs and no quota increase. All measurement archives are downloaded and hash-verified.pnpm test <exact files> --maxWorkers=1; the close proof selects its required exact case. The native test command took 551.698s.d9979ca83e431585466cc0cbbf207fe25c4aaccaagainst the pinned main base completed in 341.987s: zero added/removed entrypoints, zero direct signature changes, 131 reachable-only export records and 10 distinct reported declaration sections. The released v2026.9.8 Gateway context and this candidate both expose the projection assessionRowProjectionOwner?: objectwith an optional() => Promise<void>initializer; prepared-row methods stay behind the private binding. No public context implementer gains a required pending-result field. The report includes optional reader-retention arguments, the preparation operation literal, internal pending-fact types, and declaration-module closure changes; it is not a zero-diff SDK claim.d9979ca83e431585466cc0cbbf207fe25c4aaccapassed in 522.788s, including artifact integrity checks.d9979ca83e431585466cc0cbbf207fe25c4aaccacandidate package passed in 647.215s. The package embeds that exact commit; the final lint-only commit is qualified separately above.d997check passed every preceding guard, core and 27 test-type shards, and all three dead-export scans, then found three final lint issues (1,927.665s). The two-file correction passes focused lint (51.128s) and all 53 tests across the canonical-admission, history-lane and search-reader suites (313.033s including worker build). One initial focused lint invocation selected the general type config and timed out during declaration preparation; the successful invocation uses the same core lint config ascheck-changed.node scripts/check-changed.mjs --base 720e7c90455439808be4794ebbf8efa6d85a71fd --head efedc3db2f14d5e5cb35cff008a13433f14fecd9passed in 2,223.857s. This includes core and all 27 test-type shards, all three dead-export scans, core/script lint, the worker ratchet, import-cycle and remaining repository guards. Zero new environment names. All task-owned cloud leases are released.