Commit 28f2e04
`TenancyService.degraded` 的文档注释仍写着「Only reachable for `isolated`
—— `group` is enforced by the open engine」,这是 ADR-0105 D12 修正前那一版的
残留,与同文件 120 行后的实现相反:`isolationActive()` 对 `group` 与
`isolated` 一视同仁地探测 `org-scoping`,`degraded` =
`postureEnforcesWall(requested) && !isolationActive()`。
改写为按实现逐点表述:两种有墙 posture 都会降级,触发条件有两个 —— 企业版
runtime 缺席,或 runtime 已装但用 `supportedPostures` 声明不授权所请求的
posture。同一 interface 上方 `posture` 的注释有同源的 D12 残留(只举
`isolated`、只提「package absent」),一并按同一事实收敛。
纯注释改动,零行为改动,无新增测试面。
Claude-Session: https://claude.ai/code/session_01JwwiU9bjhwy2SWj13ho8uv
Co-authored-by: Claude <noreply@anthropic.com>
1 parent a3a884d commit 28f2e04
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| |||
0 commit comments