Repository navigation
refactor(state): simplify admission and reader bookkeeping - #168947
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: needs changes before merge. What this changesThis PR consolidates SQLite admission facts and removes duplicate reader, execution, verifier, and profile bookkeeping. Example: A Session Share page encounters an invalid profile integer such as 9223372036854775807.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this PR provides useful, owner-approved state simplification, and no actionable introduced defect was established; current-head CI failures still need attribution before landing. Priority: P3 Before merge
FindingsNone. Agent review detailsHow this fits togetherGateway session and profile operations use SQLite workers; physical database admission supplies reusable schema facts, while request owners authorize writes and committed receipts publish changes. flowchart TD
Gateway[Gateway requests] --> Owners[Session and profile owners]
Owners --> Admission[Physical database admission]
Admission --> Workers[SQLite workers]
Workers --> Databases[Agent and shared databases]
Workers --> Receipts[Commit receipts]
Receipts --> Owners
Technical reviewBest possible solution: Keep one physical-schema owner while preserving current effect authority, physical identity, FIFO ordering, and native write settlement. Do we have a high-confidence way to reproduce the issue? This is an intentional refactor; CI demonstrates failing assertions, but their causal relationship to the introduced changes remains unproven. Is this the best way to solve the issue? Reusing the existing schema owner is consistent with repository policy, and the removed fallback and lifecycle guarantees have explicit owner-approved rationale. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9ec942040e38. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -518, Tests -297. Total -815 across 48 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (11 earlier review cycles; latest 8 shown)
Reviewed October 11, 2026, 7:08 PM ET / 23:08 UTC (Revision 12). |
50e4f11 to
190dda6
Compare
190dda6 to
f16594f
Compare
f06335b to
bec7db7
Compare
|
PR #168947 remains open at Latest CI run The main-only repair is now on main in The lane has the matching logical-agent fix locally in |
bec7db7 to
eaba035
Compare
|
Latest candidate: The conflict keeps main's initial-entry session-ID fallback and the verified canonical logical-agent check from Post-rebase proof: all 23 The previous exact-head CI Coordinator authorized continued conflict-only rebases until this PR lands and explicitly excluded ClawSweeper holds from the campaign's landing gates. No CI reruns, dispatches, or green-only pushes were requested. |
eaba035 to
60b3a7e
Compare
60b3a7e to
91e7270
Compare
1c59f34 to
5424989
Compare
|
Integrated the coordinator-requested main containing build-smoke isolation fix All new local test/build/runtime commands use an allowlisted environment with task-owned HOME, OpenClaw state/config and XDG directories. Frozen install passed. Production types passed; runtime and Madge cycles are both zero. Focused schema-helper, suppression, worker-store and profile tests: 56 passed, 492.82s wrapper. Full changed checks remain in progress. Exact-head hosted run: https://github.com/openclaw/openclaw/actions/runs/38160171364 Fresh independent P2 review returned six suggestions, inspected and declined rather than described as a clean verdict:
These are the campaign's explicit best-effort compromises, not weakened security boundaries. No CI rerun was requested. |
5424989 to
d7ef68a
Compare
|
Replacement head Exact-head run
The aggregate gate failed downstream. Other cancellations remain missing proof, not passes. No workflow/job rerun was requested. This push carries two actual fixture corrections and the named type-gate integration, not a green-only refresh. Both test corrections passed independent P2 reviews without actionable findings. Production and UI component types pass; runtime and Madge cycles are zero. Earlier passing unaffected proof is retained; current-head CI will be tracked separately. |
|
Conflict-only integration after GitHub reported CONFLICTING: head Main independently landed the publication synchronization fix in Isolated proof (task-owned HOME, OpenClaw paths, XDG and temp; no real user state):
Previous focused, full state, type, review and exact-merge proof remains historical evidence for unchanged patches. The earlier d7ef hosted run failed the unchanged SDK ownership test on Bun cache files; its 67 cancelled jobs were not called green. Two isolated remote replays supplied partial coverage, with every failure retained; the final follow-up stopped before tests because its runner did not meet the payload's memory requirement. This replacement run uses the documented |
d7ef68a to
f1eac54
Compare
Exact-head CI attributionHead: The full commit census contains 170 checks: 105 success, 52 skipped, 12 failure and one neutral. The neutral CodeQL check Ten failing root jobs are independently qualified against main. The coordinator explicitly authorized landing with a separate exception for the remaining unreproduced native-placement case. This is not a passing-gate attestation.
Explicitly authorized unreproduced-failure exceptionThe native placement guard comes from existing main code; commit Main comparisons included the full eight-target job and an isolated Node24 predecessor/native sequence. A two-CPU Linux comparison could not allocate a Testbox and timed out in the queue without running tests. The exact CI merge snapshot subsequently passed the native E2E locally. Raw-branch attempts produced different Gateway-close/timeout failures on an older base and are not used to qualify the hosted error. All temporary diagnostic edits were removed. The coordinator authorized an exact-head admin squash with this one failure recorded as unreproduced and likely flaky, distinct from the ten inherited failures. It is not called fixed or proven main-red. Follow-up target: job All task-owned remote leases are stopped; no test/build remains running. The primary branch is clean at the published head. Local replay proof used task-owned HOME, OpenClaw paths, XDG paths and temporary directories. No assertions, retries, skips, timeout limits or suppressions were changed to obtain a pass. |
#168947 removed the admitted-schema-facts lookup from openclaw-state-db-schema-additive.ts in favor of tableHasColumn, while #168199 landed a new ensureAgentDeletionJournalPhaseSchema that still used getAdmittedSqliteSchemaFacts and parseSqliteTableDefinition, leaving main without those imports (tsgo:core TS2304). Use the same direct column check.
…168947) * refactor(state): share admitted schema facts across readers * refactor(state): remove speculative execution bookkeeping * refactor(state): simplify startup and profile publication * refactor(state): finish the incognito guard callback cutover * test(session-share): drop retired scalar error precedence * test(gateway): publish legacy group fixture schema changes * test(sessions): assert settled search indexing after cancellation
openclaw#168947 removed the admitted-schema-facts lookup from openclaw-state-db-schema-additive.ts in favor of tableHasColumn, while openclaw#168199 landed a new ensureAgentDeletionJournalPhaseSchema that still used getAdmittedSqliteSchemaFacts and parseSqliteTableDefinition, leaving main without those imports (tsgo:core TS2304). Use the same direct column check.
What Problem This Solves
Continues the state simplification after #168674: several readers keep their own copy of schema-admission state, and internal execution paths still defend synthetic re-entry, duplicated worker facts, and overlapping owners that normal deployments do not use.
User Impact
Normal state access, incognito sessions, profile backgrounds, startup verification, permissions, and write settlement remain. This changes no config keys, schema versions, persisted formats, retention, or durability policy. Catalog batch failures now fail the page instead of trying every row again. Unsupported same-actor calls from synchronous authorization callbacks no longer promise a special synchronous refusal.
Why This Change Was Made
Reuse the existing physical-database schema owner; keep one verifier consumer and one worker-side conflict check. Preserve current authority, actual physical identity, FIFO, native cleanup and known-commit handling. The second largest-first pass re-evaluated the first pass's KEEP decisions using introducing commits, PRs, actual callers and explicit contracts.
Best-effort tradeoffs accepted
e32e38eee649, feat(state): incognito actor session facts and authority (P2, inactive) #163225; new factory plumbing ind5173ccc77b, feat(sessions): add inactive session actor and scoped receipts #168602): introduced in inactive migration stages without a production re-entry incident. Ordinary callbacks consume supplied facts; recursive same-actor requests may now queue/fail rather than receive a dedicated synchronous error. Live authority, scoped snapshot invalidation and transaction preimage checks remain.d22782a7f09, refactor(state): share the agent database worker lifecycle #153150;70abbe72eff, feat(state): worker-owned incognito session actor (P1, inactive) #163145): the actual work was shared executor ownership and inactive actor support, not cross-wired same-build replies. Host-owned open arguments and lease locators are no longer compared with their echoed copies. Actual worker/operation binding, file identity and effect authority remain.608f1530d23, perf(sqlite): trim reader admission and transaction envelopes #166074;af18444df4a, refactor(placement): move lifecycle and grant preparation to workers #166444;dbdca2b6a47, fix(sessions): keep edits responsive during cleanup validation #141434): opening and the shared schema owner already validate the physical store. Internal reads reuse those facts instead of repeating reader-local callback admission; explicit integrity, authorizer and snapshot boundaries remain.6c84ca10947, perf(state): retain SQLite handles for 30 minutes of inactivity #153601;bc28af41e10, improve: avoid full session scans during Gateway admission #149388): these were synthetic lifecycle cases, not observed native-reader failures. Native cleanup errors still surface; manually reviving a closed DatabaseSync object with spoofed schema facts is unsupported.8a3d30de7d5, fix: prevent large-fleet Gateway startup failures and stalls #151805;1b66d30351da, fix: retain human co-author credit through delegation #157268;e50a9d9ec5ce, perf(skills): project the skill library once per catalog instead of four reads per entry #165106;237563a4869e, improve: reduce data fetched for profile metadata operations #148953): duplicated the admitted schema owner. The common table-column helper now supplies those facts; native inspection remains for unadmitted, authorizer-controlled, generated, virtual or view cases.0eca3d020e1, fix(doctor): prevent slow archive migrations during maintenance #163369;335d435bded, fix(update): keep progress writes from invalidating snapshots #162604): repeated the same physical admission facts. The canonical schema/identity owner and explicit Doctor callbacks still decide validity.9324ed61ca5, refactor: move exec policy writes off the Gateway thread #167115;1d76f57d4be, improve: reduce SQLite work during chat turns #167965;cc75881752c, perf(gateway): avoid chat stalls during WAL maintenance #158570): no asynchronous work can change the checked fact inside those synchronous paths; accepted native work is already settled. Actual current authority and cleanup remain.7abc1b2e4a7, perf(state): reduce host CPU for agent worker writes #158843): the trusted worker owns sequencing; each transaction/commit still invokes current authorization and grants normally.ec9de378182, fix: start Gateway while slow agent database checks finish #150755): the real incident was slow database startup (Hard-coded 30s SQLite startup integrity/snapshot budget kills gateway on slow disks under concurrent multi-agent preflight (no timeout override) #150574), not config mutation inside a preparation callback. Removed callback accumulation through AsyncLocalStorage; explicit migration, config and secret-publication checks remain at their actual boundaries.6584af0ae9a, perf(state): skip full agent scans on clean same-version restarts #153463;147975c6c41, perf(state): defer integrity scans after proven process crashes #164846): one production Gateway start owns the verifier. Duplicate start now fails clearly; shutdown still joins native work and releases checks before normal restart.974443a0a90, fix(update): verify migration preservation against original backups #168321): the same parsed contiguous/source-ordered inputs are already validated at the boundary; no second lookup against the just-created index is needed.7b87a492ab5, refactor: move shared database admission into its worker #146172): the bundled encoder emits this graph. Real shape/type parsing, redaction, typed identities and cycle-safe decoding remain.3ec01cec1b8, fix(sqlite): preserve worker error identity for each caller #146741): exact alias reconstruction was pinned by synthetic wrapper/reload cases, not a user report. Iterative hydration preserves ordinary causes and shared children; a circular local edge may retain its original object.65bc5f6ed94d, refactor(mcp): run OAuth writes and leases in the state worker #148859): all internal call sites construct typed options. User-derived identifiers and numeric bounds, live lease authority and native settlement remain validated.34cb8f754344, refactor: reduce Gateway database work for profile labels and sharing #167520;b137a149b752, improve: reduce database reads when listing shared sessions #151681): performance batching retained a synthetic conversion-error ordering fallback. A failed batch now fails visibly; current identity/role checks and normal cached reads remain.afafe747c340, feat: personalize session backgrounds #168301): the worker already checks the expected asset/preference in its atomic write. The no-store/no-profile early return remains; conflicting uploads may reach image decoding before worker rejection.73039895153, fix: preserve approval and workspace state after lost worker replies #168094): the test revoked a nonexistent fixed ID after unrelated random-ID creation. Production creates random IDs and effects reject absent workspaces. Same-key pending/rollback/unknown-result handling remains.Evidence
Candidate:
f1eac5423f5bdfe6012ab53355c3ed4a2c563cd2, base491dfa6b1597, includes isolation fixaf6153fa71c. GitHub reported a conflict; main independently landed the publication synchronization fix, so its version is retained and that duplicate commit is dropped. All seven remaining patches are identical. Local runtime/build/tests use isolated HOME/OpenClaw/XDG paths. Net removal: 518 production lines, plus 297 test lines. Cancellation, receipt and authority assertions remain. No retries, skips, timeout increases or suppressions. Earlier-head proof below is historical.83b5f5425eab6021ff03104c9de1b4826f0c3d97(182.51s Vitest / 221.34s wrapper); its stalled await remains unresolved. The other five previously failed cases pass on the clean base as well, so their broad-run timeouts are recorded but not called fixed or proven main-red.83b5f5425eab6021ff03104c9de1b4826f0c3d97(248.14s Vitest). No timeout was increased.node scripts/run-vitest.mjs src/state/openclaw-state-db-schema-helpers.test.ts --maxWorkers=1(9.52s Vitest / 14.41s wrapper). The two added in-memory cases consumed about 17ms in the broader owner run; hosted CI timing is pending.83b5f5425eab6021ff03104c9de1b4826f0c3d97and head50e4f11956699e587f94a4639b8ac3ffc403651f: no entrypoints added/removed and all direct export declarations unchanged. It reports 150 reachable fingerprint changes through six internal declaration blocks: removed private class fields/helpers, the private catalog error variant and the internal incognito callback parameters. Those match this cutover; no supported SDK callable or parameter was removed. Base/head renders took 2,657.68s / 2,668.54s on the shared local host. This is prior-head evidence, not a new-head API render.GitHub reported an actual conflict with main's new scoped session actors. The conflict-only rebase preserves main's snapshot invalidation callback and generic execution contract. Its new factory was also cut over from the two removed re-entry callbacks; a local typecheck caught that missed caller before any replacement push. On the corrected rebased tree, all 95 focused tests pass (including the new session-actor suite and 3 suppression tests, 168.41s wrapper), production types and the state/config/infra/Gateway test graphs pass, targeted lint passes, and runtime/Madge cycles remain zero. Fresh independent P2 review of the two-file follow-through is scoped-clean. Other unchanged source proof is reused; hosted CI on the replacement head is the gate.
First hosted attempt (
38123555309, head190dda60bcae6058a30f6fb8d3b8438e61399ac7) failed in two root jobs.checks-node-compact-small-2exposed an obsolete session-share test that demanded the removed scalar replay's exact error order across two deliberately corrupt rows. That 50-line parameterized block is removed; ordinary malformed-data rejection, page isolation and reader-failure coverage remain. The complete session-share file and suppression guard pass (18 tests, 90.41s wrapper), and independent P2 review of the deletion is scoped-clean.checks-node-changed-compact-large-16-2failed before Gateway execution because its nested fixture did not produceworker.pid; the exact case independently reproduces on clean baseline53eb3f4f0c9(174.85s). Its nested report saysCannot find module '/@fs/.../fixture.test.ts', with zero tests collected despite the file existing. This is an inherited nested-Vitest bootstrap failure, not a passing product test. The aggregate CI gate failed downstream; cancelled sibling jobs remain missing proof, not green. No job was rerun.A second actual merge conflict with #168948 required integration of its new role-authority reader. That reader now uses the shared column facts while retaining main's single-statement identity/role snapshot, live authority and absent-admission behavior. Main's new session admission check is retained unchanged. On the second-rebase candidate, 79 focused tests pass: schema facts, profiles, session sharing and suppression (53 tests, 188.41s wrapper), plus role authority (26 tests, 104.09s wrapper). Fresh full-branch independent P2 review is scoped-clean, production/core and state/Gateway test types pass, targeted type-aware lint passes, and runtime/Madge cycles remain zero. Earlier unchanged proof is reused.
Second hosted attempt (
38126523714, headf16594f86dea60b7647d20409944ae25e81b5fb9) passed the formerly failing session-share shard. Its root failure waschecks-node-changed-compact-large-22-1: two session-group legacy-schema fixtures admitted a modern file, then silently removed columns through an untracked SQLite handle. With per-file admission facts, that unsupported outside writer left the fixture stale. The setup now performs its DDL through the tracked owner before close/reopen; every legacy-feature assertion is unchanged. The full file passes all 26 tests (116.86s Vitest), plus 3 suppression tests (143.16s total wrapper), targeted lint and Gateway test types; independent P2 review is scoped-clean. The aggregate gate failed downstream and cancelled siblings are recorded as missing proof. This test-only fix does not restore runtime schema polling or weaken legacy support.Third attempt (
38127541472, headd68a2effd1c4ee38dff4ee389d84f268d8ef1314) failedchecks-node-changed-compact-large-8-3: a test changeduser_versionafter a successful warm listing and expected repeat validation. That synthetic variant originated in the worker-read refactor88004e9cc66(#152691), not a live-upgrade incident. It is removed with the repeated check; missing-table rejection stays. All 18 worker cases, 10 admitted/replacement checks and 3 suppression checks pass (102.73s wrapper); lint/types and independent P2 review pass. Future-schema initial/replacement refusal remains tested. Its aggregate failed downstream and cancelled siblings remain missing proof, not passes.Second-pass coverage ledger
Fourth CI attempt
38128532566failed three catalog-queue model-override cases inchecks-node-changed-compact-large-22-3. All three reproduce on current maine7e3b949ae1: the fixture selected its own default while asserting explicit override fields. Fixed on main in194a08e5963by selecting a distinct default, preserving every assertion. All 14 tests plus 3 suppression tests pass (356.28s wrapper), independent P2 review and direct lint/types pass; the standard lint wrapper's SDK emit hit its existing 300s limit. After integration, 23 focused tests pass (607.75s), production types pass and both cycle counts are zero. Cancelled siblings are not claimed green.The implementation groups re-examined their first-pass inventories largest-first. Explicit schema/upgrade, security, integrity, destructive-effect, ordinary concurrency and write-settlement contracts stay; mere names such as “lifecycle” or “generation” were not sufficient justification. Detailed per-group decisions follow.
agent-creation-claim.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-database-admission-error.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-database-admission.ts— simplified; removal provenance aboveagent-database-path-discovery.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-database-preparation-context.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-database-startup.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-cleanup-admission.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-cleanup.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-cleanup.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-cleanup.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-discovery.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-final-guard.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-journal-authority.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-journal-history.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-journal-recovery.kernel.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-journal-recovery.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-journal-transport.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-journal.read.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-journal.snapshot.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-journal.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-journal.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-recovery.read-contract.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-recovery.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-recovery.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-worker-contract.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion-worker.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-deletion.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-lifecycle-read.kernel.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-provenance.kernel.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-provenance.schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-provenance.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractagent-provenance.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractartifact-preserving-state-reads.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractbackup-run-records.contract.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractbackup-run-records.kernel.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractbackup-run-records.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractclaw-mcp-adoption.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractclaw-package-adoption.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractclaw-package-lifecycle-lease-key.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractclaw-package-lifecycle-lease.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractconfig-machine-state-write.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractconfig-machine-state.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractcreator-namespace-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractgithub-personal-publication-lifecycle.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractgithub-publication-read.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractgithub-publication-receipts.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractgithub-publication-requester.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractgithub-publication-session-lifecycles.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractincognito-session-error.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractlocal-onboarding-state.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractonboarding-recommendations.contract.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractonboarding-recommendations.kernel.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractonboarding-recommendations.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-board-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-canonical-validation-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-canonical-validation-receipt.ts— simplified; removal provenance aboveopenclaw-agent-canonical-validation-schema.ts— simplified; removal provenance aboveopenclaw-agent-context-engine-turn-outbox-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-additive-columns.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-admission.ts— simplified; removal provenance aboveopenclaw-agent-db-contract.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-discovery-paths.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-disposal.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-existing-write.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-identity.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-lease-provenance.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-lease.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-legacy-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-lifecycle.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-maintenance-lease.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-maintenance.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-media-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-metadata-write.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-metadata.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-migration-required.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-path-repair.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-permissions.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-read-error.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-readers.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-readonly-companion.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-readonly-open.ts— simplified; removal provenance aboveopenclaw-agent-db-readonly-scope.ts— simplified; removal provenance aboveopenclaw-agent-db-readonly.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-registry-listing.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-registry.read.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-registry.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-registry.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-resources.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-schema-compatibility.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-schema-helpers.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-schema-read.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-session-migrations.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-session-nodes-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-session-provenance.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-terminal.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-transaction.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-validation-cache.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-validation-facts.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db-write.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db.paths.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-db.wal.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-admission-contract.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-cleanup.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-cleanup.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-close.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-contract.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-domain.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-incognito-absence.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-incognito.ts— simplified; removal provenance aboveopenclaw-agent-execution-incognito-session-actors.ts— same callback cutover after main integration; snapshot, authority and receipt behavior retainedopenclaw-agent-execution-incognito.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-maintenance.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-native.ts— simplified; removal provenance aboveopenclaw-agent-execution-operations.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-owner.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-scope.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-voice-operations.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution-work.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-execution.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-goal-operations-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-legacy-acp-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-message-tool-outcome-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-operation-context.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-participants-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-pending-inputs-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-progress-card-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-schema-inspection-response.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-schema-inspection-worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-schema-inspection.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-schema-inspection.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-session-participants-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-session-sharing-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-session-snapshots-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-session-snapshots-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-session-transcript-archive-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-standing-intents-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-storage-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-transcript-fts-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-transcript-payload-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-worker-store.ts— simplified; removal provenance aboveopenclaw-agent-write-admission-state.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-agent-write-admission.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-preflight-agent-scheduler.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-preflight-cleanup.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-preflight-contexts.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-preflight-state-path.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-preflight-targets.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-preflight.messages.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-preflight.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-preflight.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-schema-contracts.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-verify.impl.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-database-verify.ts— simplified; removal provenance aboveopenclaw-database-verify.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-migration-witness.ts— simplified; removal provenance aboveopenclaw-quarantine-error.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-quarantine-store.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-schema-versions.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-additive-columns.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-admission.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-async-lifecycle.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-audit-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-borrow.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-cache.admission.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-cache.idle.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-cache.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-cache.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-cache.wal.ts— simplified; removal provenance aboveopenclaw-state-db-content-version.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-contract.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-cron-delivery-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-current-reader.ts— simplified; removal provenance aboveopenclaw-state-db-delivery-queue-backfill.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-doctor-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-existing-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-existing-write.ts— simplified; removal provenance aboveopenclaw-state-db-failure.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-fast-path.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-handle.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-initialization.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-integrity-admission.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-legacy-backfills.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-maintenance.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-open.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-operator-approval-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-permissions.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-read-connection.ts— simplified; removal provenance aboveopenclaw-state-db-read-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-readonly-reuse.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-readonly.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-repair.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-schema-additive.ts— simplified; removal provenance aboveopenclaw-state-db-schema-discovery.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-schema-helpers.ts— simplified; removal provenance aboveopenclaw-state-db-schema-migration-required.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-schema-policy.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-schema-repair.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-schema-runtime.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-schema-v12-foldin.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-schema-v13-widerow.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-schema-version.ts— simplified; removal provenance aboveopenclaw-state-db-session-watch-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-snapshot-owner.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-startup-checkpoint.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-table-retirements.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-task-delivery-recovery.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db-transaction.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db.paths.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-db.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-feature-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-acquisition.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-cleanup.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-context.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-error.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-heartbeat-cleanup.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-heartbeat-shared.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-heartbeat.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-heartbeat.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-options.ts— simplified; removal provenance aboveopenclaw-state-lease-process-exit.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-storage.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-store.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-worker-operation.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-worker-owner.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-worker-storage.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease-worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-lease.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-maintenance-context.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-ownership-operations.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-ownership-worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-ownership.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-ownership.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-diagnostics.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-mcp-oauth.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-operation-registry.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-operation.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-registry.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-request.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-scope.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-session-rows.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-stream.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-worker.test-harness.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read-worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read.validation.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-read.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-schema-compatibility.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-schema-inspection.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-schema-preflight.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-schema-publication.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-schema.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-snapshot-sanitizer.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-context.capture.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-context.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-context.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-contract.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-error-identity.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-error.ts— simplified; removal provenance aboveopenclaw-state-worker-lease.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-memory-pressure.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-operation.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-owner.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-registry.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-runtime.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-store.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state-worker-store.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-state.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractopenclaw-update-schema-refusal.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractsecret-state-tables.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractsession-metadata-unavailable-error.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractsession-repository-workspaces.kernel.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractsession-repository-workspaces.publication.ts— simplified; removal provenance abovesession-repository-workspaces.receipts.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractsession-repository-workspaces.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractsession-repository-workspaces.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractsession-repository-workspaces.worker-contract.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractsession-repository-workspaces.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractsession-watch-cursor-provenance.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractstate-domain-publication.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-background-image.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-background.kernel.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-background.store.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-background.ts— simplified; removal provenance aboveuser-background.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-background.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-channel-identities.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-channel-identities.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-channel-identity-operations.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-github-connections.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-model-account-id.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-model-account-operations.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-model-accounts.read.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-model-accounts.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-preferences-publication.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-preferences.store.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-preferences.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-preferences.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-preferences.validation.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-preferences.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profile-catalog-identity.read.ts— simplified; removal provenance aboveuser-profile-display-validation.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profile-email.kernel.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profile-email.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profile-events.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profile-github-identity.ts— simplified; removal provenance aboveuser-profile-identity.read.ts— simplified; removal provenance aboveuser-profile-list.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profile-mutation.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profile-read.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profile-reads.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profile-writes.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profile-writes.worker.ts— simplified; removal provenance aboveuser-profiles-avatar.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profiles-avatar.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profiles-internal.ts— simplified; removal provenance aboveuser-profiles-merge.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profiles-owner-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profiles-owner.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profiles-schema.ts— simplified; removal provenance aboveuser-profiles-tailscale-avatar.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profiles-tailscale-login.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profiles-tailscale-migration.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profiles.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profiles.types.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractuser-profiles.worker.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contractworker-operation-registry.ts— retained; public/persisted, live effect authority, initial integrity, real concurrency or normal dispatch contract