You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4ca358d
Browse filesBrowse the repository at this point in the historyBrowse files
feat(plugin-auth): a membership that ends takes the session's claim on that organization with it — re-pointed if the user belongs elsewhere, revoked if not (#15879)
* wip(qa): #15784 membership-removal census probe (temporary, removed before review)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* feat(plugin-auth): revoke or re-point a session whose membership ended (#15784)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* test(plugin-auth,dogfood): pin the membership-ended session trigger; regenerate i18n bundles (#15784)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(plugin-auth,docs): strip tracker ids from runtime prose, make the test double judgeable, re-derive the two censuses (#15784)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(platform-objects): regenerate the i18n source-hash companions for the widened revoke_reason description (#15784)
The three translated locales' *.source-hashes.generated.ts files were left stale
by the field-description change: the hashes are keyed on the source strings, so
check:i18n read all three bundle sets as DRIFTED. Regenerated with the whole
pass (pnpm i18n:extract), which emits both families together.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: content/docs/permissions/system-context.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ that silently does not happen.
97
97
| 8 |`explain()` may target a principal other than the caller | plugin-security | Get: no `manage_users` / delegated-admin check |`security-plugin.ts:3857`|
98
98
| 9 | Anonymous-deny treats the caller as authenticated | core | Get: passes the 401 seam with no `userId`|`anonymous-deny.ts:154`|
| 12 | Per-request performance timings disclosed | observability | Get: timing headers a normal caller cannot pull |`perf-timing.ts:474`|
102
102
| 13 | Permission-set **overlay discard** skips the tenant-admin assertion | plugin-security | Get: an overlay can be discarded with no authenticated tenant administrator |`permission-set-overlay-discard.ts:142`|
103
103
| 14 | MCP stdio bridge skips the object API-exposure gate | mcp | Get: the bridge reaches objects whose `apiEnabled` / `apiMethods` would refuse an external caller |`stdio-data-bridge.ts:250`|
Copy file name to clipboardExpand all lines: content/docs/permissions/tenant-audit-census.mdx
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ are reported as `undecidable` rather than assumed either way.
98
98
99
99
The same holds twice over for the context. An options argument spelled as a
100
100
literal can be read; one spelled `options`, `{ ...opts }`, or handed through a
101
-
forwarding shim cannot, and **67 of the 219 sites are spelled that way**. A
101
+
forwarding shim cannot, and **67 of the 221 sites are spelled that way**. A
102
102
context resolved from an inline literal or a local `const` can be tested for
103
103
`isSystem`; one arriving from a helper call cannot.
104
104
@@ -147,10 +147,10 @@ reproduce them. Where it disagrees, it disagrees on the page:
147
147
148
148
| carried figure | where it survives | this census |
149
149
| :--- | :--- | ---: |
150
-
| 175 write call sites | quoted in the merged changeset |**219**|
150
+
| 175 write call sites | quoted in the merged changeset |**221**|
151
151
| 24 carrying no tenant context | quoted in the merged changeset |**9** provable and tenancy-enabled; **32** more whose options argument is unreadable |
152
-
| 127 of 175 statically decidable, 48 runtime-parameter-name sites | restated on the `isSystem`-scoping card |**147 of 219** decidable, **72** undecidable |
153
-
| 135 (77%) silenced by the `isSystem` guard before the posture gate | the lost issue body — **no surviving corroboration**|**not reproduced**: 101 decidably elevated, 0 decidably not, 101 undecidable |
152
+
| 127 of 175 statically decidable, 48 runtime-parameter-name sites | restated on the `isSystem`-scoping card |**147 of 221** decidable, **74** undecidable |
153
+
| 135 (77%) silenced by the `isSystem` guard before the posture gate | the lost issue body — **no surviving corroboration**|**not reproduced**: 103 decidably elevated, 0 decidably not, 101 undecidable |
154
154
| 141 and 132, two independent re-derivations | the card that filed this work | — |
155
155
156
156
**The differences are not reconciled, and deliberately so.** The old census's
@@ -167,11 +167,11 @@ would report a smaller number and would not say so.
167
167
168
168
The fourth row is the one worth flagging to anyone citing it. **The 135 / 77%
169
169
figure has no surviving corroboration anywhere in the tree.** This census reads
170
-
101 of 219 (46%) as decidably elevated, with 101 more whose elevation is a
170
+
103 of 221 (47%) as decidably elevated, with 101 more whose elevation is a
171
171
run-time fact — so the claim is neither confirmed nor refuted, and the honest
172
172
answer is that a static reading cannot settle it.
173
173
174
-
⇒ **Cite `9 / 219`, and say what it is**: the sites whose options argument was
174
+
⇒ **Cite `9 / 221`, and say what it is**: the sites whose options argument was
175
175
READ and holds no tenant context, against a decidably tenancy-enabled object.
176
176
That is the control's provable yield surface. ⛔ Do not cite it as "the sites
177
177
without tenant context" — **32 further sites** have an options argument this
@@ -183,31 +183,31 @@ cannot read, and they are neither in nor out.
183
183
184
184
| what | count |
185
185
| :--- | ---: |
186
-
| write call sites on the application surface |**219**|
186
+
| write call sites on the application surface |**221**|
187
187
| …whose object name is statically decidable | 147 |
188
-
| …whose object name is chosen at run time |72|
188
+
| …whose object name is chosen at run time |74|
189
189
| …against an object with tenancy ENABLED | 147 |
190
190
| …against an object that declares tenancy off | 0 |
191
-
| threading a tenant context |135|
191
+
| threading a tenant context |137|
192
192
| PROVABLY carrying none (options read, no context key) |**17**|
193
193
| …of those, against a decidably tenancy-enabled object |**9**|
194
194
| options argument UNREADABLE — may or may not carry one | 67 |
195
195
| …of those, against a decidably tenancy-enabled object | 32 |
196
-
| threading a decidably ELEVATED (`isSystem`) context |101|
196
+
| threading a decidably ELEVATED (`isSystem`) context |103|
197
197
| threading a context that is decidably NOT elevated | 0 |
198
198
| threading a context whose elevation is a run-time fact | 101 |
199
199
200
200
| how the instrument reached the site | count |
201
201
| :--- | ---: |
202
-
| receiver carried a readable engine type |174|
202
+
| receiver carried a readable engine type |176|
203
203
| receiver erased, placed by the object NAME | 19 |
204
204
| receiver erased, placed by an `object: string` PARAMETER | 15 |
205
205
| receiver erased, placed by an `UNTYPED_RECEIVERS` row | 11 |
206
206
207
207
| object name spelled inline | 108 |
208
208
| object name spelled through a `const`| 39 |
209
209
| object name is an `object: string` parameter | 19 |
210
-
| object name is some other run-time expression |53|
210
+
| object name is some other run-time expression |55|
211
211
212
212
The corpus walked is every tracked non-test source under `packages/services/`
213
213
and `packages/plugins/`; calls to a same-named method on something that is not
@@ -224,13 +224,13 @@ holds still. They are required to be HERE and to say WHEN they were true;
224
224
their values are not compared. The reasoning, and the measurement behind it,
0 commit comments