Skip to content

ci: align the zero-leak check to the charter symbol set#449

Open
mfw78 wants to merge 1 commit into
feat/m2-body-versions-handshakefrom
feat/m2-zero-leak-check-align
Open

ci: align the zero-leak check to the charter symbol set#449
mfw78 wants to merge 1 commit into
feat/m2-body-versions-handshakefrom
feat/m2-zero-leak-check-align

Conversation

@mfw78

@mfw78 mfw78 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

What

Narrows the venue-agnostic CI scan from a broad venue-vocabulary regex to the curated charter symbol set (nexum:intent|value-flow|VenueAdapter|synthesize_venue|nexum:adapter|PoolRouter), scopes it to crates/nexum-runtime/src, and documents the zero-leak charter in the crate's top-level rustdoc.

Why

The old regex over-matched (Cow, intentional, etc. needed manual carve-outs) and scanned the whole crate directory instead of just sources. A curated symbol set tied to the actual forbidden names keeps the scan precise and stops opaque extension payloads from false-flagging, per the M2 zero-leak invariant.

Closes #384

Testing

  • ./scripts/check-venue-agnostic.sh passes locally against the current tree.

AI Assistance

Implemented with Claude Code assistance.

Scan the runtime sources for the charter set only (nexum:intent,
value-flow, VenueAdapter, synthesize_venue, nexum:adapter, PoolRouter),
dropping the loose word-shape sweep that false-flagged the opaque
extension-map fixtures; keep the crate-graph and WIT-leaf checks, and
state the invariant in the nexum-runtime crate charter. The CI job
stays advisory until the physical repo cut.
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