The §4.1 lifecycle endpoints in handlers/platform.rs accept calls but largely do not take effect: provisioning does not persist identity, suspend/reactivate/terminate are cosmetic, export is not a real data export, and delete does not purge. Without these, a tenant cannot be offboarded and GDPR erasure cannot be evidenced.
What to change
provision stores the slug and name.
suspend / reactivate / terminate take effect; terminate schedules erasure.
export = a streamed ZIP including blobs, SBOMs and evidence packs.
DELETE data requires confirm == slug, purges MCP tokens, blobs and clones, and is audited (MVP-1.6).
Acceptance
After provisioning, the tenant slug and name appear in the agent's own records and in the dashboard identity (MVP-1.10).
Suspend blocks writes, reactivate restores them, terminate schedules erasure — each covered by a test.
export streams a ZIP that actually contains blobs, SBOMs and evidence packs, verified by a stage script.
DELETE data without the exact slug is refused; with it, MCP tokens, blobs and clones are gone and an audit event is recorded.
Retention/cleanup of the underlying files is wired to MVP-4.3.
## Goal
The §4.1 lifecycle endpoints in `handlers/platform.rs` accept calls but largely do not take effect: provisioning does not persist identity, suspend/reactivate/terminate are cosmetic, export is not a real data export, and delete does not purge. Without these, a tenant cannot be offboarded and GDPR erasure cannot be evidenced.
## What to change
- `provision` stores the slug and name.
- suspend / reactivate / terminate take effect; terminate schedules erasure.
- `export` = a streamed ZIP including blobs, SBOMs and evidence packs.
- `DELETE data` requires `confirm == slug`, purges MCP tokens, blobs and clones, and is audited (MVP-1.6).
## Acceptance
- [ ] After provisioning, the tenant slug and name appear in the agent's own records and in the dashboard identity (MVP-1.10).
- [ ] Suspend blocks writes, reactivate restores them, terminate schedules erasure — each covered by a test.
- [ ] `export` streams a ZIP that actually contains blobs, SBOMs and evidence packs, verified by a stage script.
- [ ] `DELETE data` without the exact slug is refused; with it, MCP tokens, blobs and clones are gone and an audit event is recorded.
- [ ] Retention/cleanup of the underlying files is wired to MVP-4.3.
sharang
added this to the Production MVP milestone 2026-09-20 20:17:21 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Goal
The §4.1 lifecycle endpoints in
handlers/platform.rsaccept calls but largely do not take effect: provisioning does not persist identity, suspend/reactivate/terminate are cosmetic, export is not a real data export, and delete does not purge. Without these, a tenant cannot be offboarded and GDPR erasure cannot be evidenced.What to change
provisionstores the slug and name.export= a streamed ZIP including blobs, SBOMs and evidence packs.DELETE datarequiresconfirm == slug, purges MCP tokens, blobs and clones, and is audited (MVP-1.6).Acceptance
exportstreams a ZIP that actually contains blobs, SBOMs and evidence packs, verified by a stage script.DELETE datawithout the exact slug is refused; with it, MCP tokens, blobs and clones are gone and an audit event is recorded.