Skip to content

Remove V1 Upgrade Collections Brain Dump

Created: 2026-05-19 13:34 UTC

Notes

The current upgrade API/CLI/worker path stores equivalent state in the in-memory AnuvaRepository that can be persisted via a different durable store in the future. Remove the V1 upgrade collections.

Context Diagram

flowchart LR
  api["Upgrade API path"] --> repo["In-memory AnuvaRepository"]
  cli["Upgrade CLI path"] --> repo
  worker["Upgrade worker path"] --> repo
  repo --> futureStore["Future durable repository store"]

  v1Collections["Payload V1 upgrade collections"]:::remove
  api -. no longer persists to .-> v1Collections
  cli -. no longer persists to .-> v1Collections
  worker -. no longer persists to .-> v1Collections

  classDef remove fill:#f7d7d7,stroke:#a33,color:#111