us-house-bills: 119th Congress rolling-window bills pack - #12
Open
JSv4 wants to merge 3 commits into
Open
Conversation
…ht, verified AMENDS edges - New base pack us-house-bills: hr namespace (authority_type bill), corpus house-bills-119 with persona/charter/metadata schema, 6-bill live seed, and an on-demand HouseBillSourceProvider (govinfo bulkdata, status-driven version choice). - validate_pack.py: add 'bill' to the authority-type vocabulary (mirrors OpenContracts AUTHORITY_TYPE_BILL from the house-bills core seams). - Continuous content path: Open-Source-Legal/us-house-bill-feed pushes rolling-window payloads to /api/worker-uploads/authority-sections/. Validated: scripts/validate_pack.py OK; canonical load_authority_pack --check and a real install verified against OpenContracts feature/us-house-bills-pack (corpus+persona+namespace+equivalences+22 verified relationships+Fieldset+6 docs; provider discovered via AUTHORITY_PACK_PATHS, locate plan correct).
Live GUI walkthrough found the corpus agent declaring H.R. 41 outside the rolling window while the bill sat in the corpus: 'H.R. 41' is an identifier, not a meaning, so semantic search missed and the silence rule (correctly) refused to invent an answer — from a wrong premise. Rule 2a requires an exact/title lookup before any absence conclusion.
gpt-4.1 read the silence rule and answered 'outside the window' for a bill sitting in the corpus, without one tool call (usage: requests=1, tool_calls=0). The exact-lookup guidance must be a hard precondition, not advice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New base pack for proposed Federal legislation (House side), designed against the OpenContracts house-bills core seams (Open-Source-Legal/OpenContracts#2279).
What's in the pack
hrnamespace (authority_type: bill— a proposed bill is not a statute), keyshr:119-<number>; unqualified grammar keys (hr:1234) fold onto the current congress via equivalence rows (seeded here, continuously upserted by the ingest drain, re-pointed each congress).house-bills-119atPROPOSEDweight: persona (proposed-not-law, rolling-window silence semantics, version naming, AMENDS-walk methodology), charter, metadata schema (13 Fieldset columns), 6-bill live seed built from govinfo bulkdata on 2026-08-26 with verified AMENDS/CITES relationships parsed from GPO'sparsable-citemarkup.providers/house_bill_provider.py— on-demand gap-fill for cited-but-absent bills (frontier/crawl path). Status-driven version choice (BILLSTATUStextVersions, not listing mtime — GPO re-touches old files). Vendored stdlib-only converter at pack root, relative imports per the copy-to-port rule.validate_pack.py:billadded to the authority-type vocabulary (mirror of core'sAUTHORITY_TYPE_BILL).Continuous content
The private
us-house-bill-feedrepo harvests the rolling window (BILLS + BILLSTATUS bulkdata listings,lastModified-driven) and pushes toPOST /api/worker-uploads/authority-sections/under a corpus token.Validation
scripts/validate_pack.py us-house-bills→ OKload_authority_pack --check→ pack valid, 1 corpus convergeshrnamespace corpus-bound, 6 equivalences, 22 relationships allverified=True, Fieldset created, 6 documentsAUTHORITY_PACK_PATHS,can_handleacceptshr:119-41/ refuseshr:41, locate plan correctDepends on OpenContracts PR #2279 (grammar + vocabulary + ingest endpoint).