Objective
Gate Releases on Forward and Backward Migration Safety as a focused, independently reviewable V2 backend work item.
Technical Scope
Test expand/migrate/contract sequencing, old/new application compatibility, rollback limits, backups, and maintenance-window controls.
Security and Architecture Requirements
- The API may index, validate, cache, and relay user-signed intent; it must never become authoritative for protocol settlement, rewards, treasury, or governance.
- Preserve Optimism/EVM semantics and reject Stellar, Soroban, or Freighter runtime dependencies.
- Use Prisma as the canonical persistence layer; do not deepen TypeORM/dual persistence.
- Do not commit secrets, personal data, generated drift, or placeholder production configuration.
Required Tests
- Unit tests for success, boundary, authorization, and failure paths.
- Integration tests against real PostgreSQL/Redis or deterministic service containers where applicable.
- Regression tests for retry, concurrency, replay, restart, and degraded dependencies.
- Run all required lint, typecheck, security, build, migration, and artifact checks.
Acceptance Criteria
Dependencies
- V2-BE-046
- V2-BE-080
- V2-BE-083
Non-Goals
- Signing transactions for users.
- Calculating authoritative verdicts, settlement, rewards, or reputation.
- Restoring legacy dual-persistence architecture.
🏷 Labels
- backend
- security
- complexity-high
- wave-candidate
- devops
Objective
Gate Releases on Forward and Backward Migration Safety as a focused, independently reviewable V2 backend work item.
Technical Scope
Test expand/migrate/contract sequencing, old/new application compatibility, rollback limits, backups, and maintenance-window controls.
Security and Architecture Requirements
Required Tests
Acceptance Criteria
Dependencies
Non-Goals
🏷 Labels