Skip to content

docs(witness): correct scoped-gate host-invariance overclaim (#128) - #225

Merged
avrabe merged 1 commit into
mainfrom
fix/witness-baseline-host-note
Aug 7, 2026
Merged

docs(witness): correct scoped-gate host-invariance overclaim (#128)#225
avrabe merged 1 commit into
mainfrom
fix/witness-baseline-host-note

Conversation

@avrabe

@avrabe avrabe commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Follow-up to the v0.10.0 witness-gate scoping. A local macOS run showed the scoped count is 3 (not the linux-CI 5) — verify-core's own branches lay out differently per target. The gate is still correct (macOS 3 <= baseline 5 passes; no false red), but my comment claimed host-invariance it doesn't have. Corrects the comment + makes the improvement notice CI-host-aware so nobody lowers the committed baseline from a non-CI count. Gate assertion logic is byte-unchanged — comments + one notice string only.

🤖 Generated with Claude Code

The scoped count is far more stable than the whole-wasm total but NOT perfectly
host-invariant: measured 5 on linux CI (varint 3 + mod.rs:455 2) vs 3 on macoOS
local (mod.rs:455 is fully covered there). The prior comment claimed "stable
across host", which a local macOS run disproves.

Clarify that the baseline is calibrated on the CI host (linux, authoritative);
lower counts elsewhere PASS (3 <= 5) so no local override is ever needed to go
green; the SRC_BASELINE_GAP knob is for CI re-calibration, NOT for silencing a
red locally — a host yielding MORE than baseline is a real finding. Make the
improvement notice CI-host-aware so nobody lowers the committed baseline from a
non-CI count. Gate assertion logic byte-unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aR3Md1h46K9wAUWMQiESH
@avrabe
avrabe merged commit 4bab59e into main Aug 7, 2026
9 checks passed
@avrabe
avrabe deleted the fix/witness-baseline-host-note branch August 7, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant