AGENTS.md
Purpose and guardrails
Flock Congress is an independent, source-linked record of public legislative actions. Git records our evidence; lawmakers do not use this repository, and its commits do not establish who wrote legislation. Scope the initial watch to the FY2027 defense technology and intelligence-sharing tracks named in the README. Track public acts in an official capacity only. Do not collect private contact details, speculate about motives, impersonate lawmakers, or infer authorship from sponsorship, a vote, or a Git commit.
Start on a clean machine
Prerequisites: Git and Python 3.9 or newer. No package install, API key, GitHub CLI, database, or account-specific configuration is needed to build the static site. Use any working directory; cloning inside Activate is optional, never required.
git clone https://github.com/angry-citizens-brigade/flock_congress.git
cd flock_congress
python3 scripts/build_site.py
python3 -m unittest discover -s tests -v
python3 -m http.server 8000 --bind 127.0.0.1 --directory dist
On Windows, use py -3 if python3 is unavailable. Open http://127.0.0.1:8000/ and check that the two tracks, source links, and the methodology are visible. The script writes dist/, which is generated output and should not be committed.
While GitHub visibility is private, the clone requires an account explicitly granted access; knowing the URL is not enough. Once an authorized maintainer deliberately makes it public, cloning will not need a GitHub login.
Deploy or recover
Build from a known commit SHA, run the tests and open the local preview. Deploy only the generated dist/ directory to an approved static host. It needs no server process, browser secrets or writable database. Use an access-controlled host or deployment while the repo is private; an unlisted URL is not access control. Do not turn on public deployment or flip repository visibility without the owner or authorized successor's decision. Before public launch, review the complete Git history, including commit author and committer emails, along with any existing GitHub Actions logs and artifacts, before publishing. Remove sensitive material from the intended public distribution and do not assume deleting it from the current checkout removes it from history. No public host, schedule, or domain is required to recover the archive.
If the original maintainer is unavailable, an authorized successor can take a fresh copy, test the same commands, and use a host under their own account. A second authorized maintainer or a protected offline backup is a separate continuity decision; this file grants neither access nor ownership. Do not put credentials, tokens, private alerts, personal account details, or unpublished notes in the repository. Neo4j and scheduled watches are optional integrations and are not prerequisites for this build. Do not claim a fresh installation inherits them.
Provenance: how people and provisions are tracked
- A legislative event must carry its event date (or an explicit unknown), the actor and chamber when known, the action type, the bill/amendment or vote ID, the exact draft and provision location, and a primary-source permalink. Store the date we observed it separately. Mark time zones only where actually known.
- Keep official text snapshots or stable official document IDs. Record the source URL, publication date when known, retrieval date, and content hash when saving a snapshot. Keep exact quotes and interpretations separate; link the before and after when claiming a change.
- Compare wording, authority, recipients, limits, and oversight across vehicles. Preserve stable policy IDs through section-number changes; label possible matches as candidates until reviewed. An absent section in one vehicle is not proof it vanished everywhere.
- Use distinct labels for proposed, requested, signed, incorporated in one chamber, passed, and enacted. Record amendment and procedural votes distinctly. Mark private drafting authorship unknown unless public records support a stronger claim.
- Count one action per actor and event, regardless of how many provisions it affects. Heatmaps show documented action dates, not commit dates or evidence of inactivity. Keep coverage checks separate from lawmaker activity.
- In reader panes, every named act, bill number, and specific provision reference should open its definition or evidence without leaving the board. Reuse the legislative aliases in
watch/explorer.js; use an explicit term reference in watch/data.json when the same number occurs in different drafts. Keep the current pane title, breadcrumbs, and source jump links distinct from the in-pane definitions. Do not assume a forecasted package contains any numbered provision. - Open external source links in a new tab with
target="_blank" and rel="noopener noreferrer". Jump directly to the cited section, page, or passage when a stable link exists. Keep in-app board jumps in the current tab so replay state and Back navigation are preserved. - Start with Congress.gov, GovInfo, the official House and Senate vote records, committee pages and dated official letters. A claim about a move should cite both texts; a claim about how an amendment was disposed of should cite the chamber record. Let readers reproduce the conclusion without trusting an AI summary.
- When correcting a claim, append or commit a visible correction with the reason and the primary source; do not silently backdate or rewrite evidence. Preserve prior versions. Verify generated pages from a fresh clone before pushing, use the project-specific account and a no-reply Git email, and keep unrelated Activate work out of this repo.