HUE-008 — Implement schema migrations and append-only semantic event journal
Canonical source:
docs/roadmap/issues.json·HUE-008Specification status:
TBI· Readiness:agent:blocked
Provide transactional canonical storage and resumable semantic event history.
- Implement schema/version migration framework
- Append events atomically with state transitions
- Expose cursor-based subscription/replay
Acceptance criteria
Section titled “Acceptance criteria”- Interrupted transaction does not expose partial state
- Cursor resumes without loss/duplication
- Backup occurs before destructive migration
- Tests cover sequence and concurrency
Dependencies
Section titled “Dependencies”HUE-003HUE-007
Non-goals
Section titled “Non-goals”- None beyond the documented scope.
Product contract
Section titled “Product contract”- Follow the milestone and repository product contract.
Implementation handoff requirements
Section titled “Implementation handoff requirements”- Preserve the documented security, project, memory and event boundaries.
- Add or update automated tests for every observable acceptance criterion.
- Provide real verification output; do not rely on a worker/agent self-report.
- Update only the exact documentation sections whose status changed.
- Include screenshots or a recording for user-interface changes.
- Include migration, rollback and recovery notes for data/state changes.
- Link the pull request to this issue with
Closes #<issue-number>.