Commit 7c71ea6
fix(rest): withdraw the single-kernel boot refusal (B′)
Decision 1 narrows to A alone, per the maintainer ruling of 2026-09-04
recorded on the card; the measurement B′ was asking for moves to #15163.
`RestApiPlugin` no longer refuses to start when a wall-enforcing tenancy
posture is configured on a deployment with no `kernel-manager` service.
`packages/rest/src/rest-api-plugin.ts` is now byte-identical to `main`.
Why the refusal goes, from the CI triage on this branch: the only
registrar of a `kernel-manager` service in this repository was B′'s own
narrowness control test, so the refusal fired on every real walled
composition the open core can build — the `os serve` process under an
`isolated` posture, the ADR-0105 `bootStack multiTenant` harness, and
seven dogfood suites — for `group` as well as `isolated`. Its premise
was also false wherever it fired: a wall-enforcing effective posture
requires `org-scoping`, which is exactly what keeps the platform's
`organization_id` row policies standing (ADR-0105 D3), so the Layer 0
row wall the message claimed was unenforced was in fact standing in
every case the refusal could reach.
Decision 1 A (a registered-but-failed `tenancy` service answers 503 in
`computeExecCtx`) and decision 2 B (an active ADR-0069 auth gate whose
session re-read fails answers 503) are untouched — both stand exactly
as ruled on 2026-09-02.
- delete the boot-refusal block and its two now-unused imports
(`effectiveTenancyPosture`, `postureEnforcesWall`);
`isServiceNotRegisteredError` stays, used by the pre-existing
objectql provider one layer down
- delete `rest-api-plugin-tenancy-posture-boot-refusal.test.ts` — every
one of its 2 refusal tests and 4 narrowness controls measures a
behaviour that no longer exists
- re-aim the phase-1 pin file's header: the ruling it records is now
A alone, the dangling pointer to the deleted file is replaced by the
withdrawal note, and §3's "the provider wiring still measures 200"
reading is restated as CORRECT and PINNED — it is #15163's subject,
not a regression introduced here
- drop the B′ paragraphs from the changeset; the 503 rows stay
⛔ Not done, deliberately: B′ is not replaced by a warning, a softer
refusal, an env escape hatch, or a narrowed condition. The ruling moved
the question to a measurement card; the code now says nothing about
single-kernel posture at boot.
Part of #13906
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 9de1b0e commit 7c71ea6
4 files changed
Lines changed: 32 additions & 407 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 32 | | |
40 | 33 | | |
41 | 34 | | |
42 | 35 | | |
43 | 36 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
Lines changed: 26 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
42 | 58 | | |
43 | 59 | | |
44 | 60 | | |
| |||
Lines changed: 0 additions & 300 deletions
This file was deleted.
0 commit comments