CI only: external audit cleanup (cross-crate)
Draft
BA
5d ago+1405+1405+0123456789012345678901234567890123456789-788-788-012345678901234567890123456789
CI-only draft for a worker's Windows proof. Not for merging; the change reaches main through the gated push.
Summary by cubic
CI-only cleanup that consolidates duplicated helpers and fences test-only code behind a new test-support feature. No production behavior changes; the change reaches main through the gated push. Also fixes an oversight so staging inspections stay fail-closed: the test-support marker is read from ck-basal's checked strings table instead of a second read, and strings/nm failures are isolated per binary, so a later failed read cannot mask an earlier fail-open check.
Refactors
- Moved hex, poison-tolerant locking, position conversion, refusal text, settlement, and clock helpers into
basal_proto::util. - Dropped the unused
agent_ownedargument fromconfigure_flowacross all call sites. - Split oversized functions in
driver.rs,manifest.rs, andops.rswithout changing behavior.
Migration
- Mock hosts, fake catalogs,
StaticResolver,ManualClock,FakeSelector, and the module harness now requirecfg(test)or the owning crate'stest-supportfeature. - Aliased dev-dependencies keep package-qualified feature flags working under
cargo test. - Production staging now rejects binaries carrying the
BASAL_TEST_SUPPORT_ENABLEDmarker.