C2 round 1 fixes: the scope no longer under-approximates code root runs
Astra round 1, five P1s, one cause. Each has a fixture proof through the real scanner that fails on the previous cut (TestCensusScopeRound1): 1. references outside a dispatcher's verb switch (and its default case) are kept under a sentinel label: main's ScrubEnvironment, systemVerb; 2. every init and every package-level var with an initializer in the root binary's packages is a seed, library calls and function values included; 3. the graph is built for linux/amd64 and linux/arm64 and joined; 4. a declaration's envelope digest includes its file's import bindings; 5. a reached type reaches all of its methods, not an allowlist. Base regenerated: 3402 units, 1783 frozen, 122 envelopes (was 2269, 749, 106); seal c3bc74f0. Rows still byte for byte from the archive. AGENTS.md says what is in scope now, the console included while the claim wrapper's ServeHTTP reaches it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 files changed,
+2,485
−199
AGENTS.md+33 −27internal/provision/census_scope_fixture_test.go+81 −6internal/provision/census_scope_test.go+74 −65internal/provision/plan14_root_reads_test.go+16 −3internal/provision/testdata/census-base.tsv+2,281 −98
CI cancelled — superseded by a newer push — run details
AGENTS.mdLoading diff…
internal/provision/census_scope_fixture_test.goLoading diff…
internal/provision/census_scope_test.goLoading diff…
internal/provision/plan14_root_reads_test.goLoading diff…
internal/provision/testdata/census-base.tsvLoading diff…