Commit cd8febb
refactor(storage): remove branch-added database migration machinery
Fresh V2 stores are created at their final schema; nothing on disk
predates this branch, so every migrate-old-to-new path the branch added
was dead weight and the source of live failures: the unbounded
observation-projection retry spin, 30s migration-txn aborts under the
150K-chunk vector rewrite, and a format-revision skew that silently
disabled retention.
Removed: the observation projection V1-to-V4 migration, its silent
full-rebuild fallback and the worker's advance pass (creation now
installs the final V4 shape and any other shape is refused typed with a
fresh-start remedy); the legacy inline-vector payload migration and its
rebuild receipts (stores are born row-per-vector; the liveness
inventory read path survives); the legacy memory cutover drains, V1
feedback-history repair and backfill pipeline plus their scheduler
drains and the memory-cutover CLI verb (the archive-merge half stays -
branch retirement still preserves memory through it); session-temporal
repair; the transcript-facts drain driver; Ladder B stepwise
convergence. Fresh-store schema verified byte-identical to all live
stores minus the empty migration ledger. memory_status loses
legacy_backfill_complete, which could never complete again.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent c722c4b commit cd8febb
85 files changed
Lines changed: 312 additions & 15693 deletions
File tree
- crates
- tracedecay-dashboard-api/src
- tracedecay-global-db/src
- observation_projection
- observation
- schema_contract
- tracedecay-migrate/src
- consolidate
- sqlite
- tests
- tracedecay-runtime-core/src
- db
- connection
- memory_v2
- backfill
- schema
- writers
- memory
- store/memory
- tracedecay-semantic/src
- tracedecay-store/src
- memory
- compatibility
- curation
- tracedecay-usecases/src
- memory
- semantic_runtime
- store
- dashboard
- src
- contracts
- workspaces/knowledge
- stories/fixtures
- src
- commands
- daemon
- git_watch
- session_temporal_refresh_scheduler
- tests
- doctor
- heal
- tracedecay
- tests
- fixtures/storage_runtime_evidence
- memory_suite
- session_suite/observation_projection
- storage_suite
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | 279 | | |
281 | 280 | | |
282 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 85 | | |
95 | 86 | | |
96 | 87 | | |
| |||
115 | 106 | | |
116 | 107 | | |
117 | 108 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
0 commit comments