- /berichte lists published reports; /berichte/<slug> renders a report: Markdown subset built as React
elements (no raw HTML), [[angabe:ID]] embeds the claim card under a seal (green 'Amtliche Daten' when a
source is official), [text](angabe:ID|bericht:slug|person:slug|org:slug) links inline, [[bericht:slug]]
embeds another report; a box says how many claims the text rests on; backlinks between reports.
- /berichte/verfassen (login at the proxy): own reports, editor with a picker that finds claims, reports and
persons and inserts their codes; draft / published / withdrawn; every save kept in report_revision.
- Claim pages show the embed code, 'use in a new report' and the reports citing the claim.
- API: GET /api/v1/reports, /reports/{slug} (references resolved like permalinks, merged claims follow the
survivor); POST/PUT for the web app with POLITRACK_AUTHOR_TOKEN on behalf of the proxy user. The web app
trusts Remote-User only with X-Politrack-Proxy = POLITRACK_PROXY_SECRET.
- Migration 0011 (report, report_revision, report_reference, app_user.display_name); docs: data model,
deployment (sign-in setup), design system, roadmap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- parlament.items (parser 3): a committee finding of no connection to the political activity
(Art. 57 Abs. 3 B-VG) means prosecution may proceed; it was left at 'requested'. Authority and
case number no longer run into the following sentence on older reports.
- rtr.medientransparenz (parser 2): notice type 31 is the ORF's licence-fee income under section 31
ORF-G, not a payment to an organisation named after the paragraph.
- enrich.legal: 'Einstellung der Ermittlungen' is proceedings_dropped, not an investigation.
- reparse -p kinds=a,b replays only responses of these request kinds (no stale sweep then).
- migration 0010 removes the wrong ORF rows and organisations and re-queues the affected headlines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- firmenbuch.search: register number for companies linked to people/parties, only for
one current register entry with the same name
- firmenbuch.extracts: current extracts; officers/shareholders who are politicians in
the database (exact birth date + name, new person hint birth_date) become company_role
claims; nobody else is stored, raw responses are not archived, addresses never read;
the register's daily change list triggers re-extracts
- enrich.firmenbuch closes roles a newer extract no longer lists
- Request.data (raw body, part of the fingerprint); SOAP faults are not retried
- firmenbuch_number drops leading zeros; migration 0009 adds company_role and aligns
stored numbers; internal politrack_org ids are no longer stored as identifiers
- company_role in API types, MCP docs, person money tab, connections, labels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- person_by_name rules out homonyms born on another day and prefers the one who sat in
that Landtag; failing an exact name, accepts a unique variant among that Landtag's
members (Rudi/Rudolf, Chiara-Sophia/Chiara, new double surnames)
- normalize() maps ß to ss like SQL unaccent(); migration 0008 aligns stored aliases
- clean_name drops image captions, parenthesised suffixes, LTP, other abbreviations
and zero-width characters
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One adapter per state (landtag.noe, .ooe, .stmk, .tirol, .vbg, .sbg, .bgld,
.wien) reads the official member list: name, party, district and mandate
start where published; no contact details or addresses. enrich.landtage
closes the roles of members who leave a list (skipping incomplete runs) and
records which states are covered; migration 0007 makes person_status trust
those lists instead of open-ended Wikidata Landtag roles. Kärnten is left
out because ktn.gv.at disallows all crawlers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each enrich.topics batch scanned all claims for untagged ones; after the
history backfill a run took hours and blocked the enrich queue.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
enrich.embed looks up claims without a chunk on every batch. The existing
unique index is on COALESCE expressions, which that lookup can't use, so
after the history backfill each run took hours and starved the other
enrichers on the same queue.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
National Council 2024 and 2019 and EU 2024: party results for Austria and
the states, and preference votes of candidates who resolve to a known
politician (exact name plus birth year where published). New claim type
election_result, new resolver hint birth_year.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
They come from the same responses as final votes. A sitting has over a
hundred, so they are flagged part_vote and only appear on request: the vote
lists have an option for them, feeds, counts and search chunks leave them out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Initial import of Politrack, a self-hosted service that tracks Austrian
politicians from federal to municipal level - roles, votes, money flows,
statements, meetings, social media and legal proceedings - with every claim
linked to its sources.
- backend: FastAPI + Postgres/pgvector; adapter framework (fetch -> parse ->
load -> enrich) with robots.txt/TDM-aware fetching, a raw-response archive
for reparsing, and a claim/evidence model with corroboration
- sources: Parliament, Wikidata, EU Parliament/Commission, Council of
Ministers, Rechnungshof party reports and donations, procurement, RTR media
transparency, political ad libraries, WKStA, news feeds, Wikipedia edits,
Bluesky, Mastodon, public Telegram channels, YouTube and X (official API)
- web: Next.js frontend in German and English with typed API client
- mcp: MCP server for AI agents and RAG
- docs: architecture, data model, sources, legal notes, Unraid deployment and
contributor guides; Docker Compose setup for Unraid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>