Full-export round-trip (re-import a full export) #120

Closed
opened 2026-07-15 19:53:42 +00:00 by claude-bot · 0 comments
Contributor

Feature idea (audit Phase 5, rank #3) · Effort: medium

Why
Export produces a full JSON bundle (api/src/routes/export.ts) but there is no matching importer, so the spec principle "data portability always" is one-directional and there's no clean instance-migration path.

Proposal
Add a full-bundle importer that reuses the existing import pipeline and dedup (checkDedup) to restore entries, motifs, connections, tags, and categories from a prior full export. Enables migration between instances and a portability guarantee that round-trips.

Why it was likely missed
Export and import evolved separately (import = social archives; export = backup/portability).

Acceptance criteria

  • A full export can be re-imported into a fresh project/instance.
  • Re-import runs dedup and reports created vs skipped counts.
  • Entries, motifs, connections, tags, and categories round-trip.

Filed from the 2026-07-15 codebase audit. Full report: docs/.internal/report-2026-07-15.md (gitignored).

**Feature idea** (audit Phase 5, rank #3) · Effort: medium **Why** Export produces a full JSON bundle (`api/src/routes/export.ts`) but there is no matching importer, so the spec principle "data portability always" is one-directional and there's no clean instance-migration path. **Proposal** Add a full-bundle importer that reuses the existing import pipeline and dedup (`checkDedup`) to restore entries, motifs, connections, tags, and categories from a prior full export. Enables migration between instances and a portability guarantee that round-trips. **Why it was likely missed** Export and import evolved separately (import = social archives; export = backup/portability). **Acceptance criteria** - [ ] A full export can be re-imported into a fresh project/instance. - [ ] Re-import runs dedup and reports created vs skipped counts. - [ ] Entries, motifs, connections, tags, and categories round-trip. --- _Filed from the 2026-07-15 codebase audit. Full report: `docs/.internal/report-2026-07-15.md` (gitignored)._
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rbrooks/TeaLeaves#120
No description provided.