mirror of
https://github.com/bitbaum/hirnli.git
synced 2026-12-03 23:47:21 +01:00
* wip(programmes): the programme schema; the theme matcher moves into the app Work in progress on a branch with no pull request yet. The theme matcher (keywords and compounds of an organisation's themes) moves from scripts/lib into src/lib/domain so public programmes are matched by the same rule as foundations; the script re-exports it. The programme schema follows the investor register: every fact with its page, date and verbatim sentence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmtMwPqoAJ2pHxdSn3t * feat(programmes): public funding programmes beside foundations and investors Seven federal, cantonal and EU programmes, read on 2026-12-01 from the operators' own pages: Innosuisse (three instruments), the EIC Accelerator via Euresearch, the federal media-literacy grants (Jugend und Medien), and the canton of Zurich's integration projects and charitable fund. Every fact carries the page, the day and the sentence it rests on; every sentence was checked against the downloaded page. What a page does not say is named with the reason; six programmes looked for and not entered are listed with why. - Table fundraising_programmes (migration 0023), import script (dry run unless --write), and a re-check script that reads every cited page again and fails when a quoted sentence is gone. - Workspace page: open programmes first, then those whose own words hit the organisation's themes, by the same keyword rule as the register screen (moved to src/lib/domain/theme-match.ts). A programme that asks for an organisation is marked for one that has no legal entity yet; programmes are now one of the kinds the legal-standing notice names. - A grant Vorhaben links to the programmes as well as the foundations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmtMwPqoAJ2pHxdSn3t * feat(programmes): the seven programmes load with the deploy Migration 0024 inserts the rows of data/programmes/seed-2026-12-01.json, so the register is filled when this goes live and nobody runs an import by hand. A test keeps the migration identical to the sourced data file; ON CONFLICT DO NOTHING never puts a row back to this first reading once a later re-check has updated it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmtMwPqoAJ2pHxdSn3t --------- Co-authored-by: Claude <noreply@anthropic.com>