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 362f6c4
Browse filesBrowse the repository at this point in the historyBrowse files
docs(census): re-derive the tenant-audit census after the SMS seed's write site retired
node scripts/tenant-audit-census.mjs --write regenerated the census tables
(232 write call sites, one fewer: the retired seedPhoneSmsTemplates insert),
and the page's hand-written figures follow the census.
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 232 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 |**232**|
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 |**154 of 232** decidable, **78** undecidable |
193
+
| 135 (77%) silenced by the `isSystem` guard before the posture gate | the lost issue body — **no surviving corroboration**|**not reproduced**: 122 decidably elevated, 0 decidably not, 102 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
@@ -201,17 +201,17 @@ at any commit.
201
201
202
202
Two structural facts do plausibly widen this reading against any hand or regex
203
203
one, and both are counted in the generated tables below: the 48 sites reached
204
-
through an erased (`any`) receiver, and the 51 that name their object through a
204
+
through an erased (`any`) receiver, and the 50 that name their object through a
205
205
`const` rather than inline. An instrument that read either the way a person does
206
206
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
+
122 of 232 (53%) as decidably elevated, with 102 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 / 232`, 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,29 +223,29 @@ 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**|
227
-
| …whose object name is statically decidable |155|
226
+
| write call sites on the application surface |**232**|
227
+
| …whose object name is statically decidable |154|
228
228
| …whose object name is chosen at run time | 78 |
229
-
| …against an object with tenancy ENABLED |154|
229
+
| …against an object with tenancy ENABLED |153|
230
230
| …against an object that declares tenancy off | 1 |
231
-
| threading a tenant context |171|
231
+
| threading a tenant context |170|
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 |122|
237
237
| threading a context that is decidably NOT elevated | 0 |
238
238
| threading a context whose elevation is a run-time fact | 102 |
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 |184|
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
-
| object name spelled through a `const`|51|
248
+
| object name spelled through a `const`|50|
249
249
| object name is an `object: string` parameter | 19 |
250
250
| object name is some other run-time expression | 59 |
251
251
@@ -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-07 at `a93579f45`.
301
301
302
302
| corpus scale (not enforced) | count |
303
303
| :--- | ---: |
304
304
| tracked non-test sources scanned | 612 |
305
-
| engine-shaped types recognised |70|
305
+
| engine-shaped types recognised |69|
306
306
| declared objects in the registry | 116 |
307
307
| same-named calls subtracted as non-engine | 160 |
0 commit comments