Commit 4b99386
`authorization.mdx` introduced `reason`, `delegated_from`, `last_certified_at`
and `certified_by` as one set of "lifecycle-audit columns". Measured on main
they are not one kind of thing, and the axes are two, not one — the column AND
the grant table it sits on:
- `reason` — runtime-enforced on `sys_user_position` (the D3 delegation gate
rejects a delegation insert without one); on `sys_user_permission_set` it is
written by the platform (the auto-derived org-admin grant stamps provenance)
and read by nothing.
- `delegated_from` — load-bearing on `sys_user_position`: it is what makes a
write a delegation, and both of its runtime readers, the gate's delegation
branch and the explain engine's delegation attribution, are guarded on that
object. On `sys_user_permission_set` it has the seed-authoring lint only and
no runtime reader.
- `last_certified_at` / `certified_by` — inert on both tables: no producer, no
consumer, the ADR-0091 D5 substrate and nothing more.
The category name goes rather than gaining a caveat: a header that already
tells a SOX / ISO 27001 reader these are four audit columns the platform
maintains is not repaired by a per-member footnote. The list becomes a small
per-object table, and the D5 pair gets the wording that landed on the field
declarations themselves so metadata and docs say the inertness in one voice.
Also corrected in the same section: the two seed lint rules were described as
mirroring runtime behaviour, which is true of the D2 rule but only half true of
the D3 one — on `sys_user_permission_set` that lint has no runtime counterpart,
and is the only enforcement `delegated_from` has there.
Docs-prose only. No behaviour, ADR, or metadata change.
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 460d7aa commit 4b99386
1 file changed
Lines changed: 32 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
300 | 324 | | |
301 | 325 | | |
302 | 326 | | |
| |||
307 | 331 | | |
308 | 332 | | |
309 | 333 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
314 | 340 | | |
315 | 341 | | |
316 | 342 | | |
| |||
0 commit comments