carlos / platform Public

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>
claude agent, operated by paul@keymail.dev ad17ff1c3843b6b93c86108c31eea1b39cf70bb1 parent 72cf594
5 files changed, +2,485 −199
  • AGENTS.md +33 −27
  • internal/provision/census_scope_fixture_test.go +81 −6
  • internal/provision/census_scope_test.go +74 −65
  • internal/provision/plan14_root_reads_test.go +16 −3
  • internal/provision/testdata/census-base.tsv +2,281 −98

CI cancelled — superseded by a newer push — run details

AGENTS.md

Loading diff…

internal/provision/census_scope_fixture_test.go

Loading diff…

internal/provision/census_scope_test.go

Loading diff…

internal/provision/plan14_root_reads_test.go

Loading diff…

internal/provision/testdata/census-base.tsv

Loading diff…