Skip to content

docs(spec): mark feature-absent security props EXPERIMENTAL (ADR-0049)#1902

Merged
os-zhuang merged 1 commit into
mainfrom
fix/p0-mark-experimental-1878
Jun 15, 2026
Merged

docs(spec): mark feature-absent security props EXPERIMENTAL (ADR-0049)#1902
os-zhuang merged 1 commit into
mainfrom
fix/p0-mark-experimental-1878

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

What

Completes the pre-MVP no-regret sweep of the #1878 P0 security cluster under ADR-0049: a spec property naming a security boundary must be enforced, explicitly experimental, or absent — never parsed-but-silently-unenforced.

These three name security boundaries, have no runtime enforcement, and the underlying feature doesn't exist yet, so they are marked [EXPERIMENTAL — not enforced] (vs left silently dead). No behaviour change.

Enforcement (or removal, with the feature) is deferred to M2 and tracked by each issue.

Tests

spec security + flow suites: 208 passed (annotation-only change; no test asserts the edited describe strings).

Refs #1878 #1882 #1887 #1888

🤖 Generated with Claude Code

… SharingRule, flow runAs (ADR-0049)

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>
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 15, 2026 8:47am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant