Skip to content

Commit a7cd7c6

Browse files
committed
test(plugin-security): say why the raw registration door alone pins the unwritable-master resolution (wip)
Claude-Session: https://claude.ai/code/session_017BoLT8Gaa8t9a7AWVH8qZa Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7016ae1 commit a7cd7c6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎packages/plugins/plugin-security/src/controlled-by-parent-unwritable-master-write.test.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
* - every insert, single or batch, whether or not its body names a master;
1515
* - every update whose body carries the reference key, a master or `null`.
1616
*
17+
* Why the raw door alone pins it (ruling 6345869077 item 6): the three doors
18+
* that skip the parse — `defineStack` with `strict: false`, plugin code's raw
19+
* `registerApp` / `registerObject`, and an 18.0.0-era `sys_metadata` row the
20+
* boot registers under `[metadata_spec_invalid]` — all end in the one
21+
* `SchemaRegistry` entry the gate's resolver reads through `ql.getSchema()`,
22+
* so a declaration from any of them reaches the gate in the same form.
23+
*
1724
* One rule for both flags, for a member and for a platform admin alike, on an
1825
* ordinary object and on a `sys_`-named one (which the engine treats
1926
* differently on insert — the rule does not). What stays as it was:

0 commit comments

Comments
 (0)