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 788d6e2
Browse filesBrowse the repository at this point in the historyBrowse files
docs(tenant-audit-census): count the grant name backfill's two engine writes
Regenerated with tenant-audit-census --write; the page's prose figures
follow (233 to 235 write call sites, 78 to 80 undecidable, 123 to 124
decidably elevated, 102 to 103 elevation undecidable).
Claude-Session: https://claude.ai/code/session_01WMQprn46CND82KmY8sZWBu
Co-authored-by: Claude <noreply@anthropic.com>
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
@@ -122,7 +122,7 @@ are reported as `undecidable` rather than assumed either way.
122
122
123
123
The same holds twice over for the context. An options argument spelled as a
124
124
literal can be read; one spelled `options`, `{ ...opts }`, or handed through a
125
-
forwarding shim cannot, and **54 of the 233 sites are spelled that way**. A
125
+
forwarding shim cannot, and **54 of the 235 sites are spelled that way**. A
126
126
context resolved from an inline literal or a local `const` can be tested for
127
127
`isSystem`; one arriving from a helper call cannot.
128
128
@@ -187,10 +187,10 @@ reproduce them. Where it disagrees, it disagrees on the page:
187
187
188
188
| carried figure | where it survives | this census |
189
189
| :--- | :--- | ---: |
190
-
| 175 write call sites | quoted in the merged changeset |**233**|
190
+
| 175 write call sites | quoted in the merged changeset |**235**|
191
191
| 24 carrying no tenant context | quoted in the merged changeset |**2** provable and tenancy-enabled; **31** more whose options argument is unreadable |
192
-
| 127 of 175 statically decidable, 48 runtime-parameter-name sites | restated on the `isSystem`-scoping card |**155 of 233** decidable, **78** undecidable |
193
-
| 135 (77%) silenced by the `isSystem` guard before the posture gate | the lost issue body — **no surviving corroboration**|**not reproduced**: 123 decidably elevated, 0 decidably not, 102 undecidable |
192
+
| 127 of 175 statically decidable, 48 runtime-parameter-name sites | restated on the `isSystem`-scoping card |**155 of 235** decidable, **80** undecidable |
193
+
| 135 (77%) silenced by the `isSystem` guard before the posture gate | the lost issue body — **no surviving corroboration**|**not reproduced**: 124 decidably elevated, 0 decidably not, 103 undecidable |
194
194
| 141 and 132, two independent re-derivations | the card that filed this work | — |
195
195
196
196
**The differences are not reconciled, and deliberately so.** The old census's
@@ -207,11 +207,11 @@ would report a smaller number and would not say so.
207
207
208
208
The fourth row is the one worth flagging to anyone citing it. **The 135 / 77%
209
209
figure has no surviving corroboration anywhere in the tree.** This census reads
210
-
123 of 233 (53%) as decidably elevated, with 102 more whose elevation is a
210
+
124 of 235 (53%) as decidably elevated, with 103 more whose elevation is a
211
211
run-time fact — so the claim is neither confirmed nor refuted, and the honest
212
212
answer is that a static reading cannot settle it.
213
213
214
-
⇒ **Cite `2 / 233`, and say what it is**: the sites whose options argument was
214
+
⇒ **Cite `2 / 235`, and say what it is**: the sites whose options argument was
215
215
READ and holds no tenant context, against a decidably tenancy-enabled object.
216
216
That is the control's provable yield surface. ⛔ Do not cite it as "the sites
217
217
without tenant context" — **31 further sites** have an options argument this
@@ -223,31 +223,31 @@ cannot read, and they are neither in nor out.
223
223
224
224
| what | count |
225
225
| :--- | ---: |
226
-
| write call sites on the application surface |**233**|
226
+
| write call sites on the application surface |**235**|
227
227
| …whose object name is statically decidable | 155 |
228
-
| …whose object name is chosen at run time |78|
228
+
| …whose object name is chosen at run time |80|
229
229
| …against an object with tenancy ENABLED | 154 |
230
230
| …against an object that declares tenancy off | 1 |
231
-
| threading a tenant context |171|
231
+
| threading a tenant context |173|
232
232
| PROVABLY carrying none (options read, no context key) |**8**|
233
233
| …of those, against a decidably tenancy-enabled object |**2**|
234
234
| options argument UNREADABLE — may or may not carry one | 54 |
235
235
| …of those, against a decidably tenancy-enabled object | 31 |
236
-
| threading a decidably ELEVATED (`isSystem`) context |123|
236
+
| threading a decidably ELEVATED (`isSystem`) context |124|
237
237
| threading a context that is decidably NOT elevated | 0 |
238
-
| threading a context whose elevation is a run-time fact |102|
238
+
| threading a context whose elevation is a run-time fact |103|
239
239
240
240
| how the instrument reached the site | count |
241
241
| :--- | ---: |
242
-
| receiver carried a readable engine type |185|
242
+
| receiver carried a readable engine type |187|
243
243
| receiver erased, placed by the object NAME | 28 |
244
244
| receiver erased, placed by an `object: string` PARAMETER | 15 |
245
245
| receiver erased, placed by an `UNTYPED_RECEIVERS` row | 5 |
246
246
247
247
| object name spelled inline | 104 |
248
248
| object name spelled through a `const`| 51 |
249
249
| object name is an `object: string` parameter | 19 |
250
-
| object name is some other run-time expression |59|
250
+
| object name is some other run-time expression |61|
251
251
252
252
### Subtractions the census could NOT defend — enforced
253
253
@@ -297,12 +297,12 @@ holds still. They are required to be HERE and to say WHEN they were true;
297
297
their values are not compared. The reasoning, and the measurement behind it,
298
298
are in `scripts/check-tenant-audit-census.mjs`.
299
299
300
-
Measured on 2026-10-07 at `e1171ca48`.
300
+
Measured on 2026-10-08 at `6eabe4b41`.
301
301
302
302
| corpus scale (not enforced) | count |
303
303
| :--- | ---: |
304
-
| tracked non-test sources scanned |612|
305
-
| engine-shaped types recognised |70|
304
+
| tracked non-test sources scanned |614|
305
+
| engine-shaped types recognised |71|
306
306
| declared objects in the registry | 116 |
307
307
| same-named calls subtracted as non-engine | 160 |
0 commit comments