Skip to content

Curate USAspending DoD obligations geography - #165

Merged
MaxGhenis merged 1 commit into
codex/thesis-ledger-factsfrom
fix/usaspending-us-geography
Aug 13, 2026
Merged

Curate USAspending DoD obligations geography#165
MaxGhenis merged 1 commit into
codex/thesis-ledger-factsfrom
fix/usaspending-us-geography

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Summary

  • declare U.S. country geography on the usaspending.dod.prime_award_obligations Thesis docket seed, matching the existing ACTC and child-SPM pair concepts
  • deterministically regenerate the Chronicle catalog so the existing UUID moves from the null-geography placeholder to the U.S. country identity
  • append the required retire/succeeds events without rewriting the registry or changing any other catalog row

Why

Thesis PR #180 requires country: "US" to reproduce the conditional-pair registration context. Chronicle's catalog placeholder predated that country declaration, so Thesis containment could not find a geography-compatible row.

Validation

  • uv run --locked python scripts/build_series_catalog.py --check
  • deterministic byte-idempotent regeneration (catalog SHA-256 3a572f62d15b09e8c5e9a7e2c9d0ad0bd6111a54182fd552ef4fdd2f0cd89b3f)
  • append-only registry validation against codex/thesis-ledger-facts (250 events)
  • uv run --locked ruff check tests/test_build_series_catalog.py
  • uv run --locked pytest (938 passed, 16 skipped, 5 xfailed)

@MaxGhenis
MaxGhenis marked this pull request as draft August 13, 2026 10:23
@MaxGhenis
MaxGhenis marked this pull request as ready for review August 13, 2026 15:29
@MaxGhenis
MaxGhenis merged commit 44270c8 into codex/thesis-ledger-facts Aug 13, 2026
8 checks passed
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