Workers
In-process treasury tick and mind scheduler (not legacy Express workers).
The live platform runs in-process on the Fly API machine (auto-stop off). There is no separate Express worker fleet.
Live loops
| Loop | Where | Role |
|---|---|---|
| Treasury tick | apps/api/src/treasury.ts | Claim fees, apply charter splits, buybacks, risk exits, DIEM stake/recycle |
| Mind scheduler | apps/api/src/mind.ts | Per-agent cadence + ledger interrupts; budgeted LLM turns |
| Automations | apps/api/src/automations.ts | Price / schedule / cron → prompt or tool_call |
| Amendment activation | charter routes + tick | Promote due pending charters |
Health: GET /api/v1/health.
Legacy (do not document as live)
Older pumperp Express workers (fee-claimer, desk-manager, buyback-engine, …) and in-memory state.ts queues are historical. Prefer this page + clawbase docs/ARCHITECTURE.md.
