Commit f0d544c
docs(spec): mark feature-absent security props EXPERIMENTAL — Policy, SharingRule, flow runAs (ADR-0049) (#1902)
Completes the pre-MVP "stop the spec from promising what it doesn't enforce"
sweep of the #1878 P0 cluster. These three name security boundaries but have no
runtime enforcement and the underlying feature does not exist yet, so per
ADR-0049 they are explicitly marked `[EXPERIMENTAL — not enforced]` rather than
left silently dead. No behaviour change; enforcement is deferred to M2.
- PolicySchema (#1882): not registered, no consumer; better-auth runs hardcoded
defaults. Schema-level warning + name field annotated.
- SharingRuleSchema (#1887): live engine uses a divergent `sys_sharing_rule`
model; spec CEL `condition` is never compiled. Schema-level warning.
- flow `runAs` (#1888): service-automation engine ignores it (no identity
switch). Field annotated.
Refs #1878 #1882 #1887 #1888
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent fa152c9 commit f0d544c
3 files changed
Lines changed: 23 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
251 | 255 | | |
252 | 256 | | |
253 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
49 | 58 | | |
50 | 59 | | |
51 | | - | |
| 60 | + | |
52 | 61 | | |
53 | 62 | | |
54 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
96 | 104 | | |
97 | 105 | | |
98 | 106 | | |
| |||
0 commit comments