Contract 2.0 §9.3 defines the tenant ladder (active → restricted → halted → archived). The scheduler honours it; the webhook server, the MCP server and the Werkbank runner API do not, so a halted or archived tenant can still push work into the platform.
What to change
The webhook server checks the ladder before accepting a delivery.
The MCP server checks the ladder on every call (with MVP-1.12).
The runner API checks the ladder before handing out or accepting jobs.
Keep the scheduler behaviour as the reference implementation and share one helper.
Acceptance
Restricted / halted / archived tenants are rejected on the webhook, MCP and runner paths, each with a test.
The rejection status matches the contract (402/403/410 as applicable) and is handled by the dashboard (MVP-1.10).
A stage script exercises the ladder on webhook and MCP.
## Goal
Contract 2.0 §9.3 defines the tenant ladder (active → restricted → halted → archived). The scheduler honours it; the webhook server, the MCP server and the Werkbank runner API do not, so a halted or archived tenant can still push work into the platform.
## What to change
- The webhook server checks the ladder before accepting a delivery.
- The MCP server checks the ladder on every call (with MVP-1.12).
- The runner API checks the ladder before handing out or accepting jobs.
- Keep the scheduler behaviour as the reference implementation and share one helper.
## Acceptance
- [ ] Restricted / halted / archived tenants are rejected on the webhook, MCP and runner paths, each with a test.
- [ ] The rejection status matches the contract (402/403/410 as applicable) and is handled by the dashboard (MVP-1.10).
- [ ] A stage script exercises the ladder on webhook and MCP.
sharang
added this to the Production MVP milestone 2026-09-20 20:17:20 +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
Contract 2.0 §9.3 defines the tenant ladder (active → restricted → halted → archived). The scheduler honours it; the webhook server, the MCP server and the Werkbank runner API do not, so a halted or archived tenant can still push work into the platform.
What to change
Acceptance