07 · Roadmap

F0 → F5

Six phases. Each has a single owner, a small set of exit criteria, and a deliberate ordering — F2 unblocks F3 which unblocks F4. Skipping is not an option.

F0
Hotfix · today
Stop the bleeding. De-dupe task_queue_sales backlog. Fix the 2 COLD playbooks with empty Trigger/Approval. Document what’s live (this site).
owner: Farid · exit: dedupe job runs nightly · docs published
F1
Idempotency + SSOT cleanup
Enforce composite key on task_queue_sales inserts. Audit all 16 playbooks: Status field reflects reality, Enabled flag matches cron presence in n8n.
owner: Farid · exit: zero new duplicates 7d · SSOT matches prod
F2
Secrets + Observability
Move ClawBot password into Secrets Manager. Add CloudWatch metrics, OTel traces, structured logs. Stand up a Grafana / CloudWatch dashboard for queue depth, send rate, guardrail intercepts.
owner: Farid · exit: rotation works via Secrets Manager · dashboard live
F3
Compute + Transport
Containerize FastAPI worker. Stand up ECS Fargate behind ALB with HTTPS. Run dual (VPS + Fargate) for one week with shadow writes. Cut over n8n callers one playbook at a time.
owner: Farid + Rafael · exit: 100% traffic on Fargate · VPS read-only
F4
Scheduling + Retries
Replace n8n cron with EventBridge rules. Add SQS + DLQ between scheduler and worker. n8n stays only for non-ClawBot workflows.
owner: Farid · exit: all 16 schedules on EventBridge · DLQ alarms wired
F5
Hardening + Decommission
Multi-AZ verified. Autoscaling tuned. Runbooks complete. On-call rotation live. Decommission 187.77.29.73. Final post-mortem.
owner: Farid · exit: VPS destroyed · runbook drill passed
Dependencies

What blocks what

Hard blockers

Sequencing constraints

F2 → F3 · can’t cutover compute without observability to measure the cutover.

F3 → F4 · EventBridge → ECS only makes sense after ECS exists.

F1 → F5 · idempotency must land before decommissioning the VPS audit trail.

External deps

Not in our control

HubSpot API stability for /pipeline/list — any v3 deprecation forces a worker rebuild.

Airtable rate limits for high-volume inserts during dedupe + audit. Worth pre-warming the throughput conversation.

n8n Cloud uptime during F4 cutover — schedule the migration off-hours.