Commit dd98cba
The three rows that say `os doctor` could not read
`.objectstack/installed-packages/` — the directory could not be enumerated
(#5412), a file inside it would not parse (#5413), the ledger reader would not
load (#5644) — were all built inside the ADR-0120 D5e unique-scope advisory,
whose entry condition is `postureGatesGlobalUniques(posture)`. That is true only
for `isolated`, so under `single` and `group` `readInstalledPackageEntries()`
was never called and doctor said nothing at all. `OS_TENANCY_POSTURE` unset
resolves to `single`, so the blind posture was the default one.
Per the maintainer's 2026-08-06 ruling (option A), ledger readability is now its
own posture-independent check under the `Installed packages` name, read once per
run, outside the posture gate and outside the config-analysis block. The D5e
block keeps the unique-scope judgment alone and consumes the same reading, so
one bad ledger produces one row under `isolated` too; an incomplete reading
still withholds `✓ Unique scope` there.
Claude-Session: https://claude.ai/code/session_01DWUR56YsttL5sTF72Q75TQ
Co-authored-by: Claude <noreply@anthropic.com>
1 parent d436b17 commit dd98cba
4 files changed
Lines changed: 710 additions & 120 deletions
File tree
- .changeset
- packages/cli/src/commands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments