Block Guardrail
Use this skill to block regressions in block assembly behavior.
Quick Start
bash
npm run build node agents/skills/upgrade-block-guardrail/scripts/block-smoke.mjs
What the Smoke Check Verifies
- •
createTokamakL2Blockconstructs a block with expected tx count. - •Header gasLimit is propagated into tx gasLimit.
- •Fixed-vector block hash remains stable.
- •Missing
common.customCryptopath still fails fast.
Workflow
- •Run smoke script before and after changes under
src/block/. - •Treat gasLimit propagation mismatch, block hash drift, or missing-fast-fail behavior as blocking.
- •Run
npm run buildand block merge on failure.
Reporting
Capture:
- •changed files under
src/block/ - •smoke script pass/fail
- •intentional behavior changes and migration notes
Use expected behavior checklist in references/acceptance-checks.md.