Repository navigation
Commit 8a44f0c
committed
fix(create-spec): correct the stateful impact claim, add Phase 10a re-run
Three corrections found by re-checking claims I had asserted rather than
verified.
1. stateful is NOT read on the subscription path either.
check_stateful.sh told the reader a stateful: 0 write "goes to a
single provider instead of all of them". For a SUBSCRIBE-tagged
method that is wrong, and wrong the same way the hanging_api claim
was: GetStateful is unreachable from the subscription path. It
appears in rpcsmartrouter_server.go, recovery_probe.go,
unified_relay_state_machine.go and common.go -- and in neither
subscription manager, exactly like GetRelayTimeout.
But it does not follow that the flag is inert there, which is where
this differs from hanging_api. ApiHasStatefulCategory
(base_chain_parser.go:549, reached via rpcsmartrouter_server.go:456)
looks the method up by NAME, independent of transport, and the
cross-validation policy guard uses it to reject an enabled per-method
CV policy on a write. So the write list still FAILs on subscription
methods rather than short-circuiting them the way
check_hanging_api.sh rule 1 does -- hanging_api has no equivalent
name-keyed reader, stateful does.
The message and header now say precisely which effects are unary-only
and which are not.
2. Phase 10a: re-run the offline gates after the fixer.
Gate 9 runs in Phase 6, before Phase 10. The only post-fix validation
was `jq .`, so any defect the FIXER introduces shipped unguarded --
and the fixer is the step most likely to introduce these, because it
applies field-level instructions without surrounding context.
check_hanging_api.sh rule 3 is the clearest case: told only "a
hanging API needs a timeout_ms", the natural response is a flat
30000, which on a CU-1000 method shortens the relay budget instead of
lengthening it. That is the mistake made by hand while writing
MAG-3389, and the guard against it could not fire where it mattered.
Phase 10a re-runs check_method_schema, check_hanging_api,
check_stateful and check_unused_fields, all offline and sub-second.
It also finally wires check_disabled_count.sh (PR #133), which was
left unwired for precisely this timing reason.
3. "Every FAIL is a genuine defect" was overstated.
monad and optimism carry eth_sendTransaction at enabled: false, so
those 2 of the 29 rows are latent, not live. Corrected to 27 live and
2 latent -- the same distinction that applies to a disabled method
anywhere.
Also: a rest collection with no collection_data.type could not match a
verb-keyed curated entry and skipped both lists in silence. Every rest
collection in the catalogue currently has one; if that ever stops being
true it now emits an INFO row instead of passing quietly.
All 16 suites pass.1 parent b3497d7 commit 8a44f0c
3 files changed
Lines changed: 48 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
550 | 570 | | |
551 | 571 | | |
552 | 572 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
15 | 29 | | |
16 | 30 | | |
17 | 31 | | |
| |||
151 | 165 | | |
152 | 166 | | |
153 | 167 | | |
154 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
155 | 178 | | |
156 | 179 | | |
157 | 180 | | |
158 | 181 | | |
159 | | - | |
| 182 | + | |
160 | 183 | | |
161 | 184 | | |
162 | 185 | | |
| |||
0 commit comments