Contract 2.0 §13 sign-off requires demonstrated tenant isolation. The isolation work in MVP-0.2 is only credible if CI proves it on every change, and the existing Mongo integration tests are currently not run in CI at all.
Run the existing Mongo integration tests in CI: tenant_isolation, tenant_status_middleware, werkbank_api, demo_seed.
Acceptance
The three negative tests exist and fail loudly if isolation regresses.
The four Mongo integration tests run on every CI check job (wired in MVP-4.1) with a Mongo service container.
A cross-tenant leak anywhere in HTTP, MCP or the runner API blocks the deploy.
The results are linked as evidence in the §13 checklist (MVP-5.1).
## Goal
Contract 2.0 §13 sign-off requires demonstrated tenant isolation. The isolation work in MVP-0.2 is only credible if CI proves it on every change, and the existing Mongo integration tests are currently not run in CI at all.
## What to change
- HTTP cross-tenant negative test: tenant B's JWT against tenant A's finding returns 404.
- MCP token cross-tenant negative test.
- Werkbank runner key cross-tenant negative test.
- Run the existing Mongo integration tests in CI: `tenant_isolation`, `tenant_status_middleware`, `werkbank_api`, `demo_seed`.
## Acceptance
- [ ] The three negative tests exist and fail loudly if isolation regresses.
- [ ] The four Mongo integration tests run on every CI check job (wired in MVP-4.1) with a Mongo service container.
- [ ] A cross-tenant leak anywhere in HTTP, MCP or the runner API blocks the deploy.
- [ ] The results are linked as evidence in the §13 checklist (MVP-5.1).
sharang
added this to the Production MVP milestone 2026-09-20 20:17:26 +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 §13 sign-off requires demonstrated tenant isolation. The isolation work in MVP-0.2 is only credible if CI proves it on every change, and the existing Mongo integration tests are currently not run in CI at all.
What to change
tenant_isolation,tenant_status_middleware,werkbank_api,demo_seed.Acceptance