Skip to content

Greenfield Audit Closeout (ss-i1dy, 2026-12-01)

This note records the closeout summary, live-catalog reconciliation, keep rationales, and owner-approved exceptions for epic ss-i1dy.

Note: No R2 generation digests appear in this file so generation_retention.py does not unintentionally pin older generations.

1. Keep Rationale: Four 0-Row bill-family Placeholder Tables

Tables: bill_summaries, diff_summaries, financial_changes, section_classifications.

Disposition: Keep registered with explicit empty semantics (do not delete without a coordinated bill-family live migration).

  1. Governed by Owner Decision 34 (docs/decisions/fork-delivery-decisions-2026-09-22.md):
  2. bill_summaries, diff_summaries, and section_classifications are populated only by optional language-model passes that remain disabled by owner decision (unbounded model spend and misclassified appropriations prompts).
  3. financial_changes stays empty by design (pair_amounts=False in spicy-docs; amount figures live in section_diff_items.financial_from_amounts and section_diff_items.financial_to_amounts).
  4. Still live in publication.v2.json (bill-family): Verified 2026-12-01 against https://data.spicygov.ai/publication.v2.json (0 rows across all four tables in bill-family). Deleting their definitions in spicy-regs without republishing bill-family would break R2/ODCS/data-dictionary parity.
  5. Already excluded from default MCP clutter (Owner choice 2026-11-05): DEFAULT_DISCOVERY_EXCLUDED_TABLES in src/spicy_regs/mcp_server.py omits all four tables from default list_sources() results and default unavailable previews/counts, while src/spicy_regs/table_metadata.json and src/spicy_regs/table_joins.py carry kind = "empty" and data_dictionary/descriptions.yaml states Decision 34 in each table's coverage prose, keeping explicit list_sources(subject="views") / describe_table(...) access intact.

2. Reconciliation: Remaining Non-Live Descriptors (table_metadata.json / mcp_server.py)

Verified 2026-12-01 against https://data.spicygov.ai/publication.v2.json and https://data.spicygov.ai/materialized/rulemaking/latest.json:

  • Published via publication.v2.json: 319 tables across 112 families (including the four 0-row bill-family tables above).
  • Published via materialized/rulemaking/latest.json: 8 rulemaking snapshot tables (rule_targets, proceedings, regulatory_agenda_items, agenda_item_proceedings, comment_periods, rulemaking_lifecycles, lifecycle_events, agency_lifecycle_stats).
  • Served via attachment sidecar host (ATTACHMENT_TABLES): 2 tables (comment_attachments, comment_attachment_coverage).
  • Metadata-only derived views (excluded from mcp_server.TABLES): 5 tables (etl_receipts, fec_filing_report_measures, fec_filing_text, fec_legal_citations, fec_legal_subjects), served on demand through receipt/relationship views rather than base Parquet listings.
  • Remaining unpublished base schemas in mcp_server.TABLES (4 total): court_opinion_texts, ecfr_snapshots, ecfr_snapshot_sections, and federal_register_issues.
  • Keep rationale: All four are active code-backed transform/contract definitions retained for initial or optional backfill rather than dead stubs, and all four are guarded by managed_only in src/spicy_regs/mcp_server.py so cold MCP server startup performs zero speculative R2 404 probes (and zero stale managed_only names sit outside TABLES).

3. Concise Greenfield-Audit Closeout Summary & Approved Exceptions

Across ss-i1dy (merged PRs #180–#188 plus closed child tickets including ss-664h, ss-h1b9, ss-ijt2, and ss-v5my), catalog and workspace debt was retired:

  • Deleted dead weight: 61 superseded vendored wheels (#180), legacy monolithic PLAN.md bloat (#181), unused/orphaned code across 24 files (#183), the retired query-server per-row read_receipt_fields lookup (#184 alongside spicygov#29), retired docs/research history while preserving retained evidence pins (#186), and the six sampled retained-* families unpublished via unpublish-families (#185, #187).
  • Repaired operational gates: fixed committee_reports pending warnings, nightly freshness runbook/timeout bounds, hourly explorer-metadata scheduling, dictionary selection retries (#182), and ledger pins (#188).

Owner-Approved Exceptions Carried Forward

  1. Four 0-row bill-family tables (Owner Decision 34, 2026-11-05 discovery exclusion): kept registered and hidden from default MCP list_sources() via DEFAULT_DISCOVERY_EXCLUDED_TABLES.
  2. Four pre-publication base schemas (court_opinion_texts, ecfr_snapshots, ecfr_snapshot_sections, federal_register_issues): kept registered behind managed_only in src/spicy_regs/mcp_server.py until populated (zero cold 404 probes).
  3. Ongoing legacy receipt retirement (ss-vse3) and source-value dispositions (ss-qm55): tracked independently (docs/source-value-dispositions-2026-11-27.md); no unrequested schema migrations performed under ss-i1dy.