Repository navigation
Website-teksten in de Club-library; wtcwoerden.nl uit websearch (#60) - #69
Merged
Merged
Conversation
…ackrapport Part of #58 Co-authored-by: Copilot <[email protected]>
…de Club-library (#60) Co-authored-by: Copilot <[email protected]>
Geimporteerd met scripts/import_website_texts.py --apply. De Website-teksten staan in git; overige clubdocumenten (WTC Woerden - ...) blijven lokaal. Co-authored-by: Copilot <[email protected]>
…60) Co-authored-by: Copilot <[email protected]>
…Club-library (#60) wtcwoerden.nl uit de allowlist in _shared.md en uit club-agent.md. De club-agent krijgt websearch: false: zonder wtcwoerden.nl blijft er geen clubdomein over in de allowlist, en clubvragen gaan nooit naar KNWU-bronnen. Licentievragen lopen via de handoff naar de knwu-agent. Co-authored-by: Copilot <[email protected]>
…on (#60) Co-authored-by: Copilot <[email protected]>
…eren (#60) Co-authored-by: Copilot <[email protected]>
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.
Closes #60 (onderdeel van #58)
Wat
scripts/import_website_texts.py(+tests/test_import_website_texts.py, tijdelijke mappen): kopieert de.md-bestanden uitWebsiteWTCjeugd\websiteteksten\website_teksten mdnaarknowledge-documents/club/en haalt- <nummer>uit de bestandsnaam. Dry-run standaard,--applyschrijft;--sourcemet als default de naastgelegen clone. Idempotent: schrijft alleen bij inhoudsverschil (CRLF uit git-checkout telt niet als verschil). Stopt bij naamconflict na het strippen. Verwijdert niets..gitignore:knowledge-documents/club/*.mdstaat nu in git, behalveWTC Woerden - *.md(contactpersonen e.d. blijven lokaal).wtcwoerden.nluit de allowlist in_shared.md.club-agent.mdzegt nu dat clubvragen alleen uit de Club-library komen, inclusief de Website-teksten. Inagents_config.jsonstaat de club-agent nu opwebsearch: false, omdat er geen clubdomein meer op de allowlist staat en de club-agent nooit naar KNWU-bronnen mag terugvallen. Licentievragen gaan via de bestaande handoff naar de knwu-agent.libraries_config.json: de beschrijving van de Club-library noemt nu ook de Website-teksten.knwu.nlenknwumidden.nl, met de reden: het CMS blokkeert de bot.docs/how-to/synchroniseer-libraries.md.Tests
python -m pytest app/tests tests -q: 190 passed, 5 skipped en 1 failure:test_feedback_report.py::test_history_rendered_oldest_first_last_marked. Die test faalt ook al opeedd462en heeft niets met deze PR te maken.Te doen door een mens
Trainingen.md,Lid worden.md, …) verwijderen. Git volgt ze niet, dus deze PR kan ze niet weghalen.knowledge-documents/club/WTC Woerden - Adressen andere clubs 2026-11-08.mdverwijderen. Git volgt het niet. Het oudeAdressen andere clubs.mdwordt door de import overschreven met de websiteversie.python scripts/import_website_texts.py(moet "ongewijzigd: 17" geven) en daarnapython scripts/sync_libraries.py --library club: eerst een dry-run, dan--apply.scripts/create_agents.pydraaien (eerst een dry-run, dan--apply) om de prompts enwebsearch: falsenaar de club-agent te brengen.wtcwoerden.nluit de allowlist (zie de how-to).eval/evalset.yaml) verwacht bij een paar clubvragen nog eenwtcwoerden.nl?page=…-bron. Dat valt buiten deze PR.