Skip to content

Restore official bill analysis and align verified SEC, wealth and travel scoring - #20

Draft
OpenSourcePatents wants to merge 51 commits into
mainfrom
overhaul/source-review-2026-11-16
Draft

OpenSourcePatents wants to merge 51 commits into
mainfrom
overhaul/source-review-2026-11-16

Conversation

@OpenSourcePatents

@OpenSourcePatents OpenSourcePatents commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Draft — bounded finance reconciliation complete, readiness blocked by unclassified live BILLSTATUS metadata drift. Both exact-head hosted jobs pass and main remains at the bounded target. The final live source artifact has metadata/status SHA-256 c77b53e303d9f8a6db3c18eeb62f68ee4eab1cafd3c16f1e63d4c3848edd2ca9, while the committed snapshot records 2bd4f6aa1f59a09c4f2013c06c658c3b6eff90a5516a13e2f7d08a89cdd99a03. Text corpus, catalog, coverage counts and 17,194 comparisons match, but the retained artifact contains no raw metadata to classify the change. No further target update is being attempted; recommend a coordinated review window with retained raw source metadata. Earlier readiness statements apply only to their earlier head/base pairs.

Result

Restore the existing reviewed official bill engine and member-data safeguards, then reconcile the substantive finance commit without importing unsupported SEC attribution or legacy derived scores. Campaign receipts/PAC funds remain separate from personal wealth. SEC scoring and flags require verified member identity, matching CIK, ordered available HTTPS receipts and successful retrieval; staff travel remains raw and unscored.

Exact reviewed snapshot

  • Head: e21b8a936433ab018c8ef8ebca449fe72d6f85a6.
  • Base / merge base: 1f757a012d0831f97f5e56dbea68b5f76999ffd3.
  • Tree: 048cc9e3f3cd7b5baa3d62c499b9b2054b199fb3.
  • Previous reviewed head: b0faa5a150e97733ddce4dc3201ce115717521d2.
  • Rollback: b9e5ac11ed0a3bae72353735c234b6fd5a19a3a7 on backup/pre-overhaul-2026-11-16.
  • API where we are at, what we need to do! #3 unchanged and draft at eead076ec527c71c2a1f5343636a543e5c9ee6fc; API README remains Charlie's follow-up.

Bounded finance reconciliation

Independently parsed the entire Git delta: 541 JSON files, including every one of 539 details, roster and stats. No FEC values or vote/trade/travel/bill/donor arrays changed. Upstream changed six scores, five trade flags and aggregate signals 879 → 753; these derived values were not imported.

Finance source run contains 299 alias-search HTTP 500s plus eight filing-query HTTP 500s. The reviewed classification is:

  • 247 incomplete member attempts: preserve previous paired CIK/count and last-good retrieval time; advance only the attempt timestamp.
  • 14 complete candidate/count retrievals: update raw paired observations, without granting verified identity.
  • 278 complete searches without an attributed candidate count.
  • Ten successful count responses following incomplete alias searches remain in raw provenance only.

Literal roster/detail observations and relevant log lines are preserved, including six roster CIK removals absent from details and failed retrievals against replacement CIKs. No failed zero or retained count is promoted as fresh data. All reviewed non-SEC inputs and identity/evidence fields remain unchanged. The pinned reconciliation replays with zero byte changes; regeneration through existing gates leaves all 539 scores and flags unchanged. Eligible SEC total remains zero; raw candidate total is separately 879, with 24 stale and 223 unavailable member observations.

The review-only transfer verified exact data/evidence trees and pinned main/review refs before a normal push. It records the main parent without accepting unsupported data. Temporary transport files are absent from the final tree.

Preserved scope

Official GovInfo legislative prose, source/version hashes and passage evidence remain intact: 24 partitions, 20,197 metadata identities, 23,598 text versions, 20,082 full-text identities, 19,951 active bill rows and 17,194 verified comparisons. Buchanan HR139/S29 retains 306 shared words. Burchett HR11128 now has verified FTC enforcement wording shared with three bills; HR11129 has no qualifying match. Shared wording does not establish policy equivalence or wrongdoing.

Wealth, donor and ALEC components remain zero without reweighting or changing nominal maxima. Separate campaign finance/salary facts, reviewed travel costs and staff attribution, explicit source coverage and the existing appearance are preserved. Failed vote counters/attempts remain idempotently reconciled without advancing last-good vote freshness.

Validation

Exact-head nonpublishing release checks: lint/build, 29 regressions, delegates, audit, two identical regenerations of 549 documents, actual desktop/mobile rendering, strict API parity and official-source audit. Local lint/build, regressions, audit, generation and parity also pass.

The immutable API harness checks 539 members / 3,234 components / all flags, 56 shared cases, 50 calls across 12 routes and 33 legacy serialized raw responses. All 17 reference blobs retain exact Git SHA and SHA-256 pins. API's existing checks apply to its unchanged head. No production API or Neon access.

Existing workflow protection and separate gap

Static inspection confirms that the candidate collector rejects partial alias resolution, preserves stale pairs, gates identity/evidence and fails incomplete SEC runs. This prevents the legacy unsupported-scoring/green-success behavior. The finance workflow is still not atomic or fail-closed: continue-on-error allows Save before the final failure-report step, and Save rebases/pushes modified files. Even a total outage can leave detail writes before aborting. A separately approved change should stage and audit a complete snapshot before a pinned, serialized publication step. This reconciliation does not disable or reconfigure main workflows.

Manual review packet

Distinct finance-revision PDF: all 76 source/code/workflow/docs paths. Complete ZIP: all 637 changed paths, including all 561 generated paths, source evidence, path index and reconstruction proof. Complete three-dot diff SHA-256:
f3ac33054174e08db4ed08ad78381b92cdee86ade1fc9e93474a3b5188eecb9b.
Applying it to the merge base reconstructs the exact head tree.

Coverage gaps remain explicit: 539 stored vote refreshes failed, 231 scanned trade placeholders and 596 unknown-cost trips. A further material main push ends this bounded reconciliation and requires a coordinated review window. Charlie reviews manually; API must not merge before CongressWatch. No approving review, merge, auto-merge, deployment, main push, production write or source access-control bypass.

Tracking: #21 wealth, #22 SEC attribution, #23 bill similarity.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
congresswatch Ignored Ignored Preview Nov 24, 2026 5:20pm UTC

Request Review

codex and others added 9 commits November 23, 2026 19:23
Transfer the exact cold-restored Git bundle without credentials in the executor. Pins both existing review head and main, verifies every part and the complete bundle, and uses a normal fast-forward push only to overhaul/source-review-2026-11-16. Vercel skips this review branch. No deployment, main push, or OSP-API write.
Recovered commit: e6200eb
Exact tested tree: c164710
No main update, merge approval, deployment, or API repository write.
@OpenSourcePatents OpenSourcePatents changed the title Draft: backend/data integrity overhaul with quarantined SEC and bill analysis Restore official bill analysis and correct SEC, wealth and travel attribution Nov 24, 2026
@OpenSourcePatents OpenSourcePatents changed the title Restore official bill analysis and correct SEC, wealth and travel attribution Restore official bill analysis and align verified SEC, wealth and travel scoring Nov 24, 2026
@OpenSourcePatents
OpenSourcePatents marked this pull request as ready for review November 24, 2026 02:51
@OpenSourcePatents
OpenSourcePatents marked this pull request as draft November 24, 2026 12:06
@OpenSourcePatents
OpenSourcePatents marked this pull request as ready for review November 24, 2026 12:51
@OpenSourcePatents
OpenSourcePatents marked this pull request as draft November 24, 2026 17:04

This branch was successfully deployed

1 active (outdated) deployment
Preview — cd73a42e Deployed Nov 18, 2026 by vercel[bot]
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.

2 participants