Repository navigation
Commit fc38b08
committed
test(auth): hold the ObjectQL double contracts in the agreement pin's fake
Two shrink-only ratchets judged the new fake and were right about both.
`check:objectql-double-limit` read the `find` double as limit-blind: it
answered every matching row while `bootstrapPlatformAdmin` really does pass a
bound (1 for the permission-set probe, 50 for the user and grant reads). The
bound is now applied AFTER the filter, by presence, the shape the gate
prescribes.
`check:engine-double-contract` flagged the double's `update()` as a fake write
verb looser than `ObjectQL.update`. The verb is DELETED rather than pinned:
its only caller is the `resync` branch, which this pin never asks for, so it
was dead surface. Its absence also short-circuits `claimSeedOwnership` at that
function's own `typeof ql.update !== 'function'` guard, one step earlier than
the registry guard it used to stop at. Neither ratchet's baseline was touched.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0157mMVAq9fjGe2kaSD2aJC81 parent fe92c3a commit fc38b08
1 file changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
87 | 98 | | |
88 | 99 | | |
89 | 100 | | |
| |||
96 | 107 | | |
97 | 108 | | |
98 | 109 | | |
99 | | - | |
| 110 | + | |
100 | 111 | | |
101 | 112 | | |
102 | 113 | | |
103 | 114 | | |
104 | 115 | | |
| 116 | + | |
105 | 117 | | |
106 | 118 | | |
107 | 119 | | |
108 | 120 | | |
109 | 121 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 122 | | |
115 | 123 | | |
116 | 124 | | |
| |||
0 commit comments