1.1 KiB
1.1 KiB
AI Growth Analyst Implementation Tasks
- G1: Add approved spec, ADR, OpenAPI resources, event catalog, report schema, and reversible migration.
- G2: Add pure tested daily aggregation, event effect, similarity, 90-day forecast, residual ranges, backtest confidence, risk, and peer-suppression logic.
- G3: Add PostgreSQL report repository, fingerprint/idempotency, Redis hot cache/locks/budgets, and Tehran-day limits.
- G4: Add bounded worker state machine and sanitized
GrowthAnalyticsToolsboundary. - G5: Add AvalAI Responses client, strict tool/final schemas, output validation, retry/timeout, usage metadata, and deterministic Persian fallbacks.
- G6: Add authenticated create/latest/get/SSE handlers with terminal ownership, CSRF, idempotency, replay, and
429refresh semantics. - G7: Wire configuration/composition roots, feature flag, local environment templates, retention cleanup, safe logs, and operational documentation.
- G8: Run unit/integration/contract/security/race/vet/build verification and real local PostgreSQL/Redis/API smoke without sending an AvalAI request unless a user-provided key is configured.