Migration Guide
From V1 Logs to the V2 Governed Loop
Incremental, non-breaking migration. Each phase is independently deployable — run V1 and V2 side by side until you're ready to cut over.
MIGRATION GUIDE
6 Phases. Under a Week.
Incremental migration — each phase is independently deployable. Run V1 and V2 side by side.
Swap your custom task/state tables with V2 Task + TaskAttempt entities. Lease-based ownership replaces manual locking. Heartbeat keeps the lease alive.
// BEFORE: Custom task table + manual state machine
await db.query(`
INSERT INTO agent_tasks (id, kind, status, locked_by, locked_at)
VALUES ($1, $2, 'pending', NULL, NULL)
`, [taskId, 'compliance_review']);
// Manual lock with race condition risk
await db.query(`
UPDATE agent_tasks SET locked_by = $1, locked_at = NOW()
WHERE id = $2 AND locked_by IS NULL
`, [agentId, taskId]);Migration Result — Series B Fintech
From V1 logs to V2 governed loop in under a week.
42 custom tables
0
State tables eliminated
3s processing lag
180ms
Document processing latency
No explainability
Full ExplainBundle
Per-decision audit trail
~2 weeks
4 days
Total migration time
Ship Smarter Agents. Start in 60 Seconds.
Persistent memory. Isolated state. Verifiable reasoning. Through standard SQL.