Repository navigation
refactor(config): deslop config fourth pass - #159588
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. |
|
|
Codex review: blocked before merge. Reviewed September 28, 2026, 8:31 PM ET / September 29, 2026, 00:31 UTC (Revision 32). ClawSweeper reviewWhat this changesThe branch removes redundant configuration and session-storage forwarding and type layers, and consolidates maintenance and receipt handling without an intended user-visible change. Merge readiness⛔ Blocked before merge - 4 items remain Current main still lacks this cleanup. No discrete defect was established in the reviewed high-risk paths, but a complete existing-installation upgrade against the integrated candidate remains unproven. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw loads and writes user configuration, while session storage records conversation identity, transcripts, and recovery state. Doctor, the Gateway, agent tools, and channel delivery consume those results. flowchart LR
A[Authored config] --> B[Config validation and writes]
B --> C[Gateway and Doctor]
D[Existing sessions] --> E[Session storage workers]
C --> E
E --> F[Transcripts and recovery]
F --> G[Agent turns and delivery]
Before merge
Agent review detailsSecurityNone. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one configuration and session-storage owner for each responsibility while preserving existing settings, SecretRefs, and session state through a complete installed update. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR claims behavior-preserving cleanup rather than a new bug. Its reported Doctor failure belongs to a separately owned path. Is this the best way to solve the issue? Yes at the code-structure level: direct owner calls and shared result assembly fit the cleanup. Complete upgrade proof is still needed to establish behavior preservation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 11bbab871ec8. LabelsLabel changes: No label 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 (31 earlier review cycles; latest 8 shown)
|
a60d4a4 to
b772ee2
Compare
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
b772ee2 to
921acf3
Compare
40cfc24 to
b7b221a
Compare
236ebe3 to
8e48552
Compare
b88fa5d to
16e16a4
Compare
4e28aa0 to
926ec0a
Compare
272bef1 to
6da7c45
Compare
6da7c45 to
f45b543
Compare
Take the private result-alias cleanup from b4d93d2 (#159588) without importing unrelated main changes. Keep the canonical input declaration position while preserving the native selector, request fields, and distributive prepared-input union. The emitted runtime is unchanged. Core and worker-owner test types, scoped lint, formatting, and independent review pass; the qualified native runtime proof remains applicable.
* fix(subagents): await native Stop persistence Move native cancellation reads and writes through the existing worker owners while retaining exact run, session, queue and source authority. Join claim publication, terminal settlement and cleanup, preserve earlier completion, and fence uncertain writes without replay. Validated registered Stop with real SQLite, public Gateway create/turn/Stop/describe, native lifecycle and scheduler controls, all changed checks, archive E2E and the full build. * fix(subagents): preserve optional snapshot owner shape * test(subagents): await finite lifecycle settlement * ci: consume canonical UI component type shard Take the exact landed shard repair so the native Stop branch retains all compiler roots under the unchanged budget. No native cancellation source changes. Receiving proof passes 35 routing cases, both UI type graphs, selected changed checks, and independent review. The original 721-root baseline failure remains attributed to main. (cherry picked from commit 52ae7e3) * test(agents): register native cancellation fixtures through real owner Replace resident-only run seeding and no-op persistence with awaited canonical registration. Preserve owner, foreign-run, generation-replacement, and real ACP interrupt assertions. * test(subagents): preserve canonical controller and abort fixtures Keep real controller resolution in tool tests and register the orphaned child through real session and registry persistence. Preserve all original cancellation assertions and isolate the running-child wait transport. * test(agents): match restored requester batch wake messages Update the held model fixture to recognize the batch-scoped completion prompt introduced by #158642. Preserve the two-active, third-queued, ordinary-probe, runtime-budget, and cleanup assertions. Verified on the exact native cancellation CI merge: the original four-case order reproduced three passes and the stale-marker failure, then all four passed with this single-line correction. Owning changed checks and independent review passed. * test(gateway): keep abort append faults connection-local * fix(subagents): retire superseded timing reads without false warnings * fix(subagents): retain finite completion reconciliation work * test(gateway): preserve real descendant abort fixture custody * test(ui): await settled native composer layout Wait for the existing layout-settled contract after viewport changes before measuring native composer footer clearance. ResizeObserver updates transcript width asynchronously while the footer follows its container immediately. Preserve every geometry formula, threshold, and variant order. Validation: six native-plugin UI cases, UI E2E types, scoped lint, formatting, and isolated review passed. Linux baseline passed; candidate remote attempts stopped during source synchronization before test execution. * test(subagents): use real abort persistence and publication barriers * fix(agents): fence collector adoption during cancellation Pending Swarm collectors can receive an aborted Gateway response while Stop is still persisting cancellation. Begin the existing kill claim immediately after native admission drains, then refuse launch adoption while its write is pending. This preserves cancellation publication before provisional-session cleanup and retains the current caller, session, generation, and database authority checks. Cover queued and already-started collectors whose acknowledgment races a pending kill write. Preserve the original three Gateway preaccept Stop cases and their publication, rollback, and timeout assertions. Validation: causal regression RED/GREEN; 273 focused and sibling tests; original 18-file shard with 264 tests; full check-changed including all 26 core test type graphs; independent P2 review with no actionable findings. * test(subagents): join canonical registry completion before assertions Reuse existing finite lifecycle/root-work settlement in collector-yield and completion-before-kill fixtures. Preserve their original assertions, order, and timeouts. Validation: original-order regression diagnosis; twenty standalone and two original 33-file replays passed; unchanged completion siblings reuse the qualified timing shard receipt; owning changed checks and independent component/combined P2 reviews passed. A third stress replay was interrupted by provider shutdown and is not counted as a test result. Current-head hosted CI remains required. * fix(tooling): stop reporting lazy imports as duplicate exports (#160558) Recognize transparent literal dynamic-import forwarders in the shared export-collision guard while preserving member, argument and body restrictions. Both variable and inline forwarding paths use the same predicate; runtime behavior is unchanged. Validation: original guard reproduces nine repository false positives and fails all three new positive fixtures. Candidate passes the repository guard and all 54 fixtures, including six new rejection cases, under a 7 GiB process-tree limit with swap disabled. Script types and formatting pass. Independent and exact-head ClawSweeper reviews identify no actionable findings. (cherry picked from commit f010fc0) * fix(agents): join registry writes before follow-up adoption A child follow-up can reach source replacement while its ended-hook stamp is still in the registry worker. Join the existing write owner before the exact durable comparison, retaining uncertain-write errors and rechecking the selected source and admitted caller after every await. Carry sessions.send session authorization through the same boundary. Cover held real writes, caller retirement, and source replacement. * test(ui): consume canonical composer readiness check Use the exact helper postimage from d64568e (#160266). The canonical committed-size wait supersedes this branch's layout quiet-window variation while preserving every geometry assertion and viewport order. Validation: canonical Linux native-plugin E2E six cases and exact-head CI pass; helper and layout-owner source bindings verified; formatting, diff checks, and independent P0-P2 review pass. Native cancellation production is unchanged. Co-authored-by: Kimi Yu <[email protected]> * test(codex): separate protocol timing from startup cost Keep protocol fixtures on their existing controlled deadline clock and measure unattended denial from the review-required hook to the actual decline. Preserve model, transport, history and approval assertions, the existing bounds, and all production clock and executable-integrity behavior. Validation: identical latency controls change four failures to four passes; the original six-file envelope passes 34 tests, with eight deadline and three no-approval-request siblings. Selected changed checks and independent P0-P2 review pass. The original Unix 120-second stall was not independently reproduced; current-head CI remains required. * refactor(config): align canonical worker result types Take the private result-alias cleanup from b4d93d2 (#159588) without importing unrelated main changes. Keep the canonical input declaration position while preserving the native selector, request fields, and distributive prepared-input union. The emitted runtime is unchanged. Core and worker-owner test types, scoped lint, formatting, and independent review pass; the qualified native runtime proof remains applicable. --------- Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: Kimi Yu <[email protected]>
* refactor(config): deslop config fourth pass * refactor(config): preserve leaf contracts and trim test mocks * refactor(config): finish fourth-pass owner cleanup * refactor(config): remove obsolete transcript line suppression * refactor(config): prune stale transcript line-cap baseline
…aw#160203) * fix(subagents): await native Stop persistence Move native cancellation reads and writes through the existing worker owners while retaining exact run, session, queue and source authority. Join claim publication, terminal settlement and cleanup, preserve earlier completion, and fence uncertain writes without replay. Validated registered Stop with real SQLite, public Gateway create/turn/Stop/describe, native lifecycle and scheduler controls, all changed checks, archive E2E and the full build. * fix(subagents): preserve optional snapshot owner shape * test(subagents): await finite lifecycle settlement * ci: consume canonical UI component type shard Take the exact landed shard repair so the native Stop branch retains all compiler roots under the unchanged budget. No native cancellation source changes. Receiving proof passes 35 routing cases, both UI type graphs, selected changed checks, and independent review. The original 721-root baseline failure remains attributed to main. (cherry picked from commit e7f5a85) * test(agents): register native cancellation fixtures through real owner Replace resident-only run seeding and no-op persistence with awaited canonical registration. Preserve owner, foreign-run, generation-replacement, and real ACP interrupt assertions. * test(subagents): preserve canonical controller and abort fixtures Keep real controller resolution in tool tests and register the orphaned child through real session and registry persistence. Preserve all original cancellation assertions and isolate the running-child wait transport. * test(agents): match restored requester batch wake messages Update the held model fixture to recognize the batch-scoped completion prompt introduced by openclaw#158642. Preserve the two-active, third-queued, ordinary-probe, runtime-budget, and cleanup assertions. Verified on the exact native cancellation CI merge: the original four-case order reproduced three passes and the stale-marker failure, then all four passed with this single-line correction. Owning changed checks and independent review passed. * test(gateway): keep abort append faults connection-local * fix(subagents): retire superseded timing reads without false warnings * fix(subagents): retain finite completion reconciliation work * test(gateway): preserve real descendant abort fixture custody * test(ui): await settled native composer layout Wait for the existing layout-settled contract after viewport changes before measuring native composer footer clearance. ResizeObserver updates transcript width asynchronously while the footer follows its container immediately. Preserve every geometry formula, threshold, and variant order. Validation: six native-plugin UI cases, UI E2E types, scoped lint, formatting, and isolated review passed. Linux baseline passed; candidate remote attempts stopped during source synchronization before test execution. * test(subagents): use real abort persistence and publication barriers * fix(agents): fence collector adoption during cancellation Pending Swarm collectors can receive an aborted Gateway response while Stop is still persisting cancellation. Begin the existing kill claim immediately after native admission drains, then refuse launch adoption while its write is pending. This preserves cancellation publication before provisional-session cleanup and retains the current caller, session, generation, and database authority checks. Cover queued and already-started collectors whose acknowledgment races a pending kill write. Preserve the original three Gateway preaccept Stop cases and their publication, rollback, and timeout assertions. Validation: causal regression RED/GREEN; 273 focused and sibling tests; original 18-file shard with 264 tests; full check-changed including all 26 core test type graphs; independent P2 review with no actionable findings. * test(subagents): join canonical registry completion before assertions Reuse existing finite lifecycle/root-work settlement in collector-yield and completion-before-kill fixtures. Preserve their original assertions, order, and timeouts. Validation: original-order regression diagnosis; twenty standalone and two original 33-file replays passed; unchanged completion siblings reuse the qualified timing shard receipt; owning changed checks and independent component/combined P2 reviews passed. A third stress replay was interrupted by provider shutdown and is not counted as a test result. Current-head hosted CI remains required. * fix(tooling): stop reporting lazy imports as duplicate exports (openclaw#160558) Recognize transparent literal dynamic-import forwarders in the shared export-collision guard while preserving member, argument and body restrictions. Both variable and inline forwarding paths use the same predicate; runtime behavior is unchanged. Validation: original guard reproduces nine repository false positives and fails all three new positive fixtures. Candidate passes the repository guard and all 54 fixtures, including six new rejection cases, under a 7 GiB process-tree limit with swap disabled. Script types and formatting pass. Independent and exact-head ClawSweeper reviews identify no actionable findings. (cherry picked from commit 34f3dab) * fix(agents): join registry writes before follow-up adoption A child follow-up can reach source replacement while its ended-hook stamp is still in the registry worker. Join the existing write owner before the exact durable comparison, retaining uncertain-write errors and rechecking the selected source and admitted caller after every await. Carry sessions.send session authorization through the same boundary. Cover held real writes, caller retirement, and source replacement. * test(ui): consume canonical composer readiness check Use the exact helper postimage from 47c33fe (openclaw#160266). The canonical committed-size wait supersedes this branch's layout quiet-window variation while preserving every geometry assertion and viewport order. Validation: canonical Linux native-plugin E2E six cases and exact-head CI pass; helper and layout-owner source bindings verified; formatting, diff checks, and independent P0-P2 review pass. Native cancellation production is unchanged. Co-authored-by: Kimi Yu <[email protected]> * test(codex): separate protocol timing from startup cost Keep protocol fixtures on their existing controlled deadline clock and measure unattended denial from the review-required hook to the actual decline. Preserve model, transport, history and approval assertions, the existing bounds, and all production clock and executable-integrity behavior. Validation: identical latency controls change four failures to four passes; the original six-file envelope passes 34 tests, with eight deadline and three no-approval-request siblings. Selected changed checks and independent P0-P2 review pass. The original Unix 120-second stall was not independently reproduced; current-head CI remains required. * refactor(config): align canonical worker result types Take the private result-alias cleanup from 886db07 (openclaw#159588) without importing unrelated main changes. Keep the canonical input declaration position while preserving the native selector, request fields, and distributive prepared-input union. The emitted runtime is unchanged. Core and worker-owner test types, scoped lint, formatting, and independent review pass; the qualified native runtime proof remains applicable. --------- Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: Kimi Yu <[email protected]>
What Problem This Solves
Fourth-pass cleanup of redundant forwarding, duplicate type contracts, and repeated result assembly.
User Impact
Preserves config schemas, all keys/defaults, env-reference write-back, Doctor migrations, redaction, SQLite schemas, and persistent semantics. No operator action.
Why This Change Was Made
Measured production diff: 713 added / 1,380 removed = 667 net lines removed. Tests/support: +63/-60; assertion baseline: two entries removed; max-lines baseline: one removed. Below the 1,000-line target after full coverage: all 233 READ rows are retained below. Earlier #158295 and #159054 work was preserved.
Fixes found along the way
Completed the ACP caller cutover to
structuredClone. Merged #159723 owns runner/skipped-suite repairs; merged #160360 owns the shared-include fixture repair, separating deletion-time admission from optimistic publication. No duplicate fixes.Evidence
Head
f45b543a5d8fa2c09d1c8d424c16be69538278cb, tree8fd677c1d72233484118bb42a471f3964f8dc1ef, base1eef6b153bfb02e9ec34bf418b1e3d7042f9c51e. Open and unmerged, without auto-merge. All five commits are patch-identical after the final CI-repair refresh. The earlier conflict inmutate.tspreserves main's new root/include locks and producer-owned environment compensation, then reapplies only shared post-commit error construction. No config behavior or ownership guard was removed.Blacksmith Testbox
tbx_01m3mzk2kva4n2xk2dexp472y9(run 36488047638) verified pre-refresh treebf6ec2b8c239edc144c964f87f724d6921b3828e; the reviewed refactor delta is unchanged. The original PR-exempt planner regression passed (27 s); six mutation, environment-restoration, Gateway-recovery, plugin-update, and Doctor-rollback suites passed (296 s). Config CLI, CLI update, and Gateway root type graphs passed (148 s).node scripts/check-changed.mjs --base origin/main -- src/config/mutate.ts src/config/mutate.include-io.tspassed (1,651 s), including the full selected type graph, unused scans, lint, and guards. The rebase adds no new import boundary; prior boundary proof below remains applicable. The lease is stopped.Fresh full-branch Codex review after the include-write integration is scoped-clean through P2. An earlier exclusion-filter concern was rejected against the complete source: both producer queues filter excluded paths synchronously before combining them, with no intervening await. No accepted actionable findings remain.
Previous exact-head CI 36459534762 was cancelled after the PR-exempt planner case exceeded its 79-job cap (82 planned); its shard passed 172/173 tests. Direct-main repair
df582a4010d5d244ff100b2c8d363ebee43a0fcfis included in this base. The owner closed alternative #160691 as superseded after comparing both plans; this lane retained the narrower main repair and published no competing fix. Earlier planner timeout repairs #160517 and #160531 are also included. CI 36495495376 on the preceding head was cancelled after one inherited Docker-helper shell-text assertion failed (346/347 cases passed). Main repair8799587f34360d9630ed6f49dffc878d3b013e5caligns three stale expectations with the runner and is included in this final refresh. No runtime budget or assertion was changed by this PR. Current-head CI 36499450000 is attached and in progress; earlier cancelled runs are not represented as green.Earlier Blacksmith Testbox integration proof remains applicable to unchanged hunks: run 36456071833, tree
9e5e7326e9a9645f0af4c67240641d160cce4975, passed core types (47 s), config/agent-session/Gateway-method test type graphs (119 s), and two owner/sharing Vitest shards (83 s). Run 36423682791, treefab05c334d4596e35016103bf18cdf51ef1c3d52, passed build (308 s), core types (40 s), four test type graphs (191 s), worker integration (79 s), and archive-worker suites (61 s). Its archive conflict retains main'sOmit<TranscriptArchiveReadPlan, "expectedIdentity">while sharing page options. Those leases are stopped.Retained passing Testbox proof:
f87e5ee2ee55f7ebf4727d3d636bec534547692f: all 483 config files / 6,628 tests, 840 s; two existing file skips and six case skips. Schema snapshots and generated config metadata unchanged. Nine importer shards passed, 211 s; four boundary/normalization shards passed, 24 s, including fs-safe and sibling import boundaries. Build passed, 441 s; ACP 32/32, 44 s; package integrity 58 s; installed CLI/Doctor/SDK consumers 582 s.cada0805044d54ef397d291e041531ca4b68a380: fullcheck-changedpassed, 1,563 s, including 25 test type graphs and all guards. Removed stale suppression/baseline entries without changing limits. Review had no accepted actionable findings.Unresolved evidence and separately owned repairs:
Previous-head CI 36401635461 was cancelled after completion-expiry and pre-bootstrap child-timeout failures; it is not green. Completion expiry is repaired upstream by #160387 plus
659f4b73d8e, whose commit records 20 stable repeats. This lane also reproduced the original failure and passed 20 runs plus boundaries/changed checks on an alternate draft, then discarded that draft after finding the upstream repair; those runs are not presented as identical-source proof for upstream.The original 42-file pre-bootstrap cohort passed a diagnostic replay on the original source/toolchain: 1,449 passed, 23 existing skips, 132.53 s command wall. The child completed its recorded work in 28.7 s under the unchanged 60 s deadline. This is a non-reproduction, not a timeout fix. Windows CIM replay likewise passed 101 tests in 113.81 s without establishing a fix.
The config candidate's
[email protected]updater preserved config/env references and sessions, then failed in Doctor. Separate unmerged #160400 prevents private native-admission receipts from mutating the live index and composes with main's capture-lifetime repair. Its final tree4b5354c3dfe5619652290bbf00c9f440f4b6fe91passed both Doctor regressions, six sibling suites, four import boundaries, full changed checks (1,727.48 s), build (427 s), package creation (83 s), and the full published updater (408 s) on Testbox run 36468964679. Its subsequently discovered trusted-wrapper inventory omission is corrected by listing the new capture resolver; the existing extraction regression and wrapper siblings passed on Testbox. This is separate-product proof, not final-head config proof. An earlier release check exceeded the unpacked-size budget (369.1 MiB / 320 MiB) after integrity passed; downstream smoke in that command did not run. The size check was not rerun or bypassed, and full release validation is not claimed.All execution was remote. Changed-test single-worker wall times (
pnpm test <file> --maxWorkers=1):src/agents/internal-session-effects.test.tssrc/agents/tools/sessions.test.tssrc/config/sessions/delivery-info.test.tssrc/config/sessions/session-accessor.sqlite-entry.env-capture.test.tssrc/gateway/server-restart-sentinel.test.tssrc/gateway/server-runtime-subscriptions.access.test.tssrc/gateway/session-history-worker-runtime.test.tsNo new tests/assertions/boots. Restart-sentinel's 53.39 s covers persisted recovery and runtime delivery. Hosted per-file costs were unavailable; job totals are not substituted.
Complete production-file coverage: 233 READ entries
Baseline:
4ed8936655bd65c87980a94adb5a2e97857d2a9c. Read merged subtree PRs/name-only diffs since September 20 first, then untouched files over 150 lines and the whole subtree. A final census covers every current production file over 200 lines; session-entry admission crossed that threshold during integration and was read with its reply-admission caller. Final-head census: all 230 production files over 200 lines are covered. Rows are sorted by current production LOC; three retained rows now have 200 lines or fewer. All 229 original rows plus four additions retain their reading notes.src/config/io.write-prepare.tssrc/config/mutate.tssrc/config/zod-schema.core.tssrc/config/config-env-vars.tssrc/config/sessions/session-accessor.types.tssrc/config/sessions/types.tssrc/config/zod-schema.agent-runtime.tssrc/config/schema.labels.tssrc/config/sessions/disk-budget.tssrc/config/sessions/session-accessor.sqlite-read.tssrc/config/sessions/combined-store-gateway.tssrc/config/sessions/session-transcript-reconcile.tssrc/config/sessions/session-accessor.sqlite-lifecycle.tssrc/config/sessions/session-accessor.sqlite-entry-cache-publication.tssrc/config/sessions/transcript.tssrc/config/sessions/session-accessor.sqlite-reclamation-worker.tssrc/config/io.snapshot.tssrc/config/io.observe-recovery.tssrc/config/sessions/store-maintenance.tssrc/config/sessions/targets.tssrc/config/sessions/session-accessor.sqlite-transcript-store.tssrc/config/sessions/session-accessor.sqlite-projection.tssrc/config/runtime-snapshot.tssrc/config/sessions/legacy-main-session-migration-operations.tssrc/config/sessions/session-accessor.sqlite-reset-window.tssrc/config/sessions/session-transcript.worker.tssrc/config/sessions/session-accessor.pending-inputs.tssrc/config/sessions/session-accessor.sqlite-transcript-write.tssrc/config/io.write.tssrc/config/sessions/session-accessor.sqlite-archive-read.tssrc/config/sessions/session-entry-read-runtime.tssrc/config/sessions/session-accessor.entry-mutation.tssrc/config/sessions/legacy-main-session-migration.tssrc/config/sessions/session-accessor.sqlite-entry.tsstructuredClone; retained async preparation, native re-admission, publication, and post-write maintenance ordering.src/config/doc-baseline.tssrc/config/sessions/cleanup-service.tssrc/config/includes.tssrc/config/sessions/session-accessor.sqlite-history-query.tssrc/config/sessions/session-accessor.sqlite-reclamation.tssrc/config/sessions/session-transcript-projection-rebuild.tssrc/config/schema.help.runtime.tssrc/config/redact-snapshot.tssrc/config/sessions/session-transcript-worker.types.tssrc/config/channel-compat-normalization.tssrc/config/env-preserve.tssrc/config/sessions/session-accessor.sqlite-entry-store.tssrc/config/validation-plugin-rules.tssrc/config/sessions/session-accessor.sqlite-lifecycle-state.tssrc/config/sessions/session-accessor.sqlite-active-events.tssrc/config/sessions/session-transcript-worker-resources.tssrc/config/sessions/session-accessor.sqlite-archive.worker.tssrc/config/sessions/session-transcript-index.tssrc/config/sessions/session-history-eviction.tssrc/config/sessions/session-accessor.sqlite-pending-inputs.tssrc/config/sessions/session-transcript-worker-runtime.tssrc/config/zod-schema.root-shape.tssrc/config/sessions/session-accessor.sqlite-model-context.tssrc/config/io.write-safety.tssrc/config/sessions/session-cold-storage.tssrc/config/sessions/session-accessor.sqlite-transcript-suffix.tssrc/config/sessions/session-canonical-key.tssrc/config/sessions/session-accessor.sqlite-scope.tssrc/config/io.audit.tssrc/config/sessions/session-cold-storage-worker.tssrc/config/defaults.tssrc/config/sessions/session-history-worker-runtime.tssrc/config/sessions/restart-recovery-state.tssrc/config/sessions/session-accessor.entry.tssrc/config/zod-schema.gateway.tssrc/config/plugin-auto-enable.shared.tssrc/config/sessions/session-accessor.sqlite-parent-session.tssrc/config/sessions/session-accessor.sqlite-exact-read.tssrc/config/io.runtime.tssrc/config/sessions/session-accessor.sqlite-message-cut.tssrc/config/sessions/transcript-tree.tssrc/config/sessions/session-accessor.transcript-turn.tssrc/config/sessions/session-accessor.sqlite-canonical-repair.tssrc/config/schema.tssrc/config/validation-core.tssrc/config/sessions/session-accessor.sqlite-transcript-parent.tssrc/config/sessions/session-accessor.sqlite-entry-read.tssrc/config/sessions/session-accessor.sqlite-maintenance.tssrc/config/sessions/session-accessor.sqlite-node-artifacts.tssrc/config/sessions/session-transcript-reconcile.worker.tssrc/config/sessions/session-accessor.sqlite-active-context.tssrc/config/sessions/session-accessor.sqlite-mutation-worker.runtime.tssrc/config/paths.tssrc/config/sessions/session-accessor.sqlite-lifecycle-artifacts.tssrc/config/sessions/conversation-delivery-store.tssrc/config/validation-plugin-config.tssrc/config/schema.lookup.tssrc/config/sessions/transcript-write-context.tssrc/config/sessions/session-accessor.sqlite-transcript-turn.tssrc/config/channel-config-metadata.tssrc/config/sessions/session-accessor.sqlite-transcript-reports.tssrc/config/sessions/transcript-payload.tssrc/config/mcp-config.tssrc/config/io.context.tssrc/config/sessions/paths.tssrc/config/sessions/session-accessor.sqlite-entry-cache.tssrc/config/sessions/session-sqlite-target.tssrc/config/sessions/conversation-registry.tssrc/config/sessions/session-accessor.sqlite-history-projection.tssrc/config/sessions/session-accessor.sqlite-archive-selection.tssrc/config/sessions/delivery-info.tssrc/config/sessions/session-snapshot-merge.tssrc/config/sessions/session-accessor.sqlite-import-stage.tssrc/config/sessions/session-accessor.sqlite-replacement-projection.tssrc/config/sessions/session-accessor.sqlite-parent-fork.tssrc/config/schema.help.core.tssrc/config/sessions/session-accessor.sqlite-transcript-state.tsentry_valid; not interchangeable. No sound reduction identified.src/config/sessions/session-accessor.sqlite-canonical-inventory.tsInferResult<ReturnType<typeof canonicalRepairQuery>>[number]; SQL and hydration unchanged.src/config/sessions/session-accessor.sqlite-archive.tssrc/config/write-lock.tssrc/config/schema.tiers.tssrc/config/plugin-auto-enable.materialize.tssrc/config/sessions/session-accessor.sqlite-transcript-reports.kernel.tssrc/config/sessions/session-accessor.sqlite-projection-read.tssrc/config/sessions/startup-migration.tssrc/config/sessions/session-entry-navigation.tsSessionManagerCoreand transcript-report projection; opaque links, reset boundaries, bounded first-kept markers, labels, and branch replay are live consumers, not dead generic surface.src/config/schema.help.automation.tssrc/config/sessions/goals-operations.tssrc/config/zod-schema.root-support.tssrc/config/sessions/session-accessor.sqlite-history.tssrc/config/sessions/session-accessor.sqlite-maintenance-kick.tssrc/config/sessions/store-entry-shape.tssrc/config/io.load.tssrc/config/mutate.include-io.tssrc/config/sessions/session-entry-read.worker.tssrc/config/sessions/lifecycle.tssrc/config/sessions/session-accessor.sqlite-deletion.tssrc/config/io.clobber-snapshot.tssrc/config/sessions/session-accessor.sqlite-replacement-worker.tssrc/config/types.discord.tssrc/config/sessions/metadata.tssrc/config/sessions/session-accessor.sqlite-archive-store.tssrc/config/sessions/session-accessor.sqlite-generation-copy.tssrc/config/sessions/session-accessor.sqlite-history-interval.tsparseStoredTranscriptEventhas live history-query callers and is not dead.src/config/sessions/session-accessor.sqlite-worker-request.tssrc/config/codex-plugin-diagnostics.tssrc/config/io.health-state.tssrc/config/io.plugin-metadata.tssrc/config/io.read-helpers.tssrc/config/sessions/session-accessor.tssrc/config/sessions/session-accessor.sqlite-maintenance-store.tssrc/config/sessions/session-transcript-worker-readers.tssrc/config/sessions/session-accessor.reset.tssrc/config/issue-location.tssrc/config/sessions/session-accessor.sqlite-page-reclamation.tssrc/config/sessions/session-accessor.sqlite-transcript-message-append.tssrc/config/sessions/session-suggestion-store.kernel.tssrc/config/sessions/session-accessor.sqlite-creation-worker.tssrc/config/zod-schema.agent-defaults-base.tssrc/config/sessions/store-entry.tssrc/config/sessions/session-accessor.sqlite-conversation.tssrc/config/env-substitution.tssrc/config/sessions/session-delivery-generation.tssrc/config/sessions/session-store-target-inventory.tssrc/config/sessions/session-accessor.sqlite-branches.tssrc/config/sessions/session-accessor.transcript-range.tssrc/config/sessions/session-transcript-reconcile-pool.tssrc/config/sessions/session-canonical-validation.tssrc/config/validation-issues.tssrc/config/sessions/session-accessor.sqlite-archive-session.tssrc/config/config-journal-snapshot.tssrc/config/talk.tssrc/config/sessions/session-sharing-store.async.tssrc/config/docs-config-examples.tssrc/config/sessions/session-accessor.sqlite-import.tssrc/config/types.secrets.tssrc/config/sessions/restart-recovery-receipt.tssrc/config/sessions/session-history-archive-pruning.tssrc/config/sessions/session-accessor.sqlite-entry-availability.tssrc/config/resolution-facts.tssrc/config/sessions/session-accessor.sqlite-transcript-reports.worker.tssrc/config/sessions/skill-prompt-blobs.tssrc/config/utility-model-separation-migration.tssrc/config/schema.help.models.tssrc/config/sessions/session-accessor.sqlite-reset.tssrc/config/sessions/session-accessor.sqlite-maintenance-age.tssrc/config/sessions/session-transcript-search.tssrc/config/sessions/targets-read-availability.tssrc/config/include-write-boundary.tssrc/config/sessions/store-maintenance-operations.tssrc/config/model-provider-config.tssrc/config/sessions/session-accessor.sqlite-archive-store-kernel.tssrc/config/tools-by-sender.tssrc/config/sessions/session-entry-codec.tssrc/config/io.write-topology.tssrc/config/sessions/session-placement-evidence.tssrc/config/schema.help.agents.tssrc/config/sessions/conversation-identity.tssrc/config/channel-alias-migration.tssrc/config/sessions/session-accessor.sqlite-raw-delta-read.tssrc/config/sessions/session-accessor.sqlite-canonical-worker-pool.tssrc/config/schema.hints.tssrc/config/types.openclaw.tssrc/config/validation.tssrc/config/sessions/goals.tssrc/config/sessions/plugin-host-cleanup.tssrc/config/sessions/session-accessor.sqlite-lifecycle-types.tssrc/config/backup-rotation.tssrc/config/io.runtime-write-finalization.tssrc/config/sessions/session-transcript-read-fence.tssrc/config/io.observe.tssrc/config/zod-schema.channel-messaging-common.tssrc/config/group-policy.tssrc/config/merge-patch.tssrc/config/legacy.roster.tssrc/config/sessions/session-accessor.sqlite-archive-artifact.tssrc/config/sessions/session-accessor.sqlite-maintenance-candidates.tssrc/config/sessions/session-accessor.sqlite-recovery.tssrc/config/sessions/session-canonical-validation-readiness.tssrc/config/validation-channel-rules.tssrc/config/sessions/session-accessor.sqlite-entry-admission.tssrc/config/sessions/session-accessor.sqlite-pending-inputs-repair.tssrc/config/sessions/session-transcript-projection-writer.tssrc/config/sessions/session-entry-provenance.tssrc/config/sessions/session-accessor.lifecycle.tssrc/config/sessions/session-accessor.sqlite-contract.tssrc/config/sessions/targets-collision.tssrc/config/sessions/session-accessor.sqlite-branch-summaries.tssrc/config/sessions/session-history-types.tssrc/config/sessions/session-accessor.sqlite-history-navigation.tssrc/config/sessions/session-accessor.sqlite-transcript-stats.tssrc/config/types.telegram.tssrc/config/sessions/session-accessor.sqlite-participant-projection.tssrc/config/sessions/session-accessor.transcript.tssrc/config/sessions/group.tssrc/config/sessions/session-accessor.lifecycle-types.tssrc/config/sessions/session-model-context-projection.tssrc/config/channel-doctor-helpers.tssrc/config/sessions/session-accessor.sqlite-worker-coordination.ts