Commit 47820e8
jess is flashing gust_kernel.wasm with an integrator-ASSERTED
`--shadow-stack-size 4096` on the Renode-M3 / STM32F100 rung (gale#65). This
test is the layer-2 cross-check on that live budget: scry PROVES gust_kernel's
worst-case shadow-stack depth is Bytes(16) (sp_global=0, no recursion, 6
reachable), so the proven depth clears the flashed 4096 with a 256x margin —
the asserted budget is SOUND, not an under-reservation. layer-2 would
auto-derive 16 B (ProvenStackDepth), 256x tighter than 4096 and 65536x under
the 1 MiB declared-page default.
Previously only the asserted 4096 was on record; gust_kernel's PROVEN depth
was unmeasured. `layer2_gust_kernel_proven_depth_clears_flashed_budget_383`
(synth-cli main.rs cfg(test)) extends the msgq end-to-end pattern to the
fixture jess actually flies, asserting proven<=flashed so a scry bump that
raised the proven depth above the budget reddens CI before silicon, not after.
Frozen-safe: scry stays a DEV-dep under cfg(test); production bytes unchanged.
Roadmap VCR-MEM-001 records the proven-vs-asserted finding.
Verification: `cargo test -p synth-cli --bin synth layer2_` -> 2/2 pass; fmt +
clippy -D warnings clean; rivet check zero non-xref errors.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 3a6321e commit 47820e8
2 files changed
Lines changed: 87 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
1103 | 1113 | | |
1104 | 1114 | | |
1105 | 1115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4214 | 4214 | | |
4215 | 4215 | | |
4216 | 4216 | | |
| 4217 | + | |
| 4218 | + | |
| 4219 | + | |
| 4220 | + | |
| 4221 | + | |
| 4222 | + | |
| 4223 | + | |
| 4224 | + | |
| 4225 | + | |
| 4226 | + | |
| 4227 | + | |
| 4228 | + | |
| 4229 | + | |
| 4230 | + | |
| 4231 | + | |
| 4232 | + | |
| 4233 | + | |
| 4234 | + | |
| 4235 | + | |
| 4236 | + | |
| 4237 | + | |
| 4238 | + | |
| 4239 | + | |
| 4240 | + | |
| 4241 | + | |
| 4242 | + | |
| 4243 | + | |
| 4244 | + | |
| 4245 | + | |
| 4246 | + | |
| 4247 | + | |
| 4248 | + | |
| 4249 | + | |
| 4250 | + | |
| 4251 | + | |
| 4252 | + | |
| 4253 | + | |
| 4254 | + | |
| 4255 | + | |
| 4256 | + | |
| 4257 | + | |
| 4258 | + | |
| 4259 | + | |
| 4260 | + | |
| 4261 | + | |
| 4262 | + | |
| 4263 | + | |
| 4264 | + | |
| 4265 | + | |
| 4266 | + | |
| 4267 | + | |
| 4268 | + | |
| 4269 | + | |
| 4270 | + | |
| 4271 | + | |
| 4272 | + | |
| 4273 | + | |
| 4274 | + | |
| 4275 | + | |
| 4276 | + | |
| 4277 | + | |
| 4278 | + | |
| 4279 | + | |
| 4280 | + | |
| 4281 | + | |
| 4282 | + | |
| 4283 | + | |
| 4284 | + | |
| 4285 | + | |
| 4286 | + | |
| 4287 | + | |
| 4288 | + | |
| 4289 | + | |
| 4290 | + | |
| 4291 | + | |
| 4292 | + | |
| 4293 | + | |
4217 | 4294 | | |
4218 | 4295 | | |
4219 | 4296 | | |
| |||
0 commit comments