Objective
Build Projection-Only Claim Search as a focused, independently reviewable V2 backend work item.
Technical Scope
Implement bounded search and filters entirely from read models without querying contracts per request or mutating protocol state.
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
Non-Goals
- Signing transactions for users.
- Calculating authoritative verdicts, settlement, rewards, or reputation.
- Restoring legacy dual-persistence architecture.
🏷 Labels
- backend
- security
- complexity-medium
- wave-candidate
- architecture
Objective
Build Projection-Only Claim Search as a focused, independently reviewable V2 backend work item.
Technical Scope
Implement bounded search and filters entirely from read models without querying contracts per request or mutating protocol state.
Security and Architecture Requirements
Required Tests
Acceptance Criteria
Dependencies
Non-Goals
🏷 Labels