Skip to content

storage: retire remaining legacy writer exports - #1749

Merged
likun666661 merged 2 commits into
apache:mainfrom
likun666661:agent/retire-remaining-legacy-writers
Aug 1, 2026
Merged

likun666661 merged 2 commits into
apache:mainfrom
likun666661:agent/retire-remaining-legacy-writers

Conversation

@likun666661

Copy link
Copy Markdown
Member

Part of #1649.

Summary

  • remove the retired Plan, Task Ledger, Deep Research, Plan Reminder, Telemetry, and full legacy Session constructors from the production @maka/storage root
  • replace the interaction-store package export with a canonical-only facade so callers cannot open the legacy file-backed reader or writer
  • isolate remaining file writers behind an explicitly named test-support subpath for migration and compatibility fixtures
  • move Desktop readiness and IPC coverage to the canonical SQLite usage and plan stores
  • use canonical SQLite interaction persistence in Runtime Host coordinator tests

Invariants

  • production package entrypoints expose canonical SQLite factories but no migrated structured-file writer constructors
  • no production source imports a legacy test-support subpath
  • legacy decoders and file implementations remain available for idempotent import and compatibility coverage
  • StoredMessage transcript bodies remain the intentional append-only JSONL exception; this change does not alter transcript semantics
  • automation remains configuration-root state and is outside this operational-state cleanup

Verification

  • npm run build:test
  • npm run typecheck
  • npm run lint
  • npm run format:check
  • full @maka/storage suite: 921 passed, 1 skipped
  • affected Storage, Runtime, Runtime Host, and Desktop tests: 58 passed
  • actual Node package import check for root, interaction-store, and legacy-storage-test-support public surfaces

@likun666661
likun666661 force-pushed the agent/retire-remaining-legacy-writers branch 2 times, most recently from 38a907d to 7b32ed0 Compare August 1, 2026 08:28
@likun666661
likun666661 force-pushed the agent/retire-remaining-legacy-writers branch from 7b32ed0 to 57aa98e Compare August 1, 2026 08:36
@likun666661
likun666661 marked this pull request as ready for review August 1, 2026 08:43
@likun666661
likun666661 merged commit 285d97d into apache:main Aug 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant