RFC-0002 · Backend and RSI template
The v0.3.0 catalog adds three Python packages for a recursive self-improvement (RSI) workflow. Prompt Studio demonstrates the workflow on a synthetic prompt bundle.
| Plane | Responsibilities |
|---|---|
| Human control | The reference console displays the draft diff, evaluation evidence, task stream and approval bound to a specific preview. |
| Agent control | The host CLI returns versioned JSON envelopes. Scoped tools delegate permitted commands to the same handler. |
| Backend | The host records receipts, fences task writes, runs evaluations and reconciles interrupted writes against the target digest. |
Task Runtime persists task runs, leases and cursor-addressed events. RSI Kernel binds drafts, evaluations, approvals and writeback to revisions. Prompt Studio supplies ontology, evidence, verb and commit adapters for a runnable host.
Deployment boundary
The Single-Node Durable Profile keeps SQLite WAL databases, artifacts and the target workspace on local storage. Processes can resume from committed events after restart. Multi-node HA requires shared persistence, cross-node notifications and verified failover. The example console communicates with the Python host over HTTP and SSE.
Machine discovery
Read the registry, select a backend item, verify its detail digest and compare its package version with the active Python workspace's uv.lock. Follow the item's docs, api.contractRef and example entry inside the same snapshot.