# AGENTS.md — Thalia Protocol v1.2 ## Repository roles This repository deliberately separates protocol, application and funding/resource layers. - `THALIA_PROTOCOL.md` — **canonical AI-facing protocol**. - `thalia-humour-app.md` — **human-facing standalone Markdown app**. - `website-resources/thalia-humour-app.htm` — source for the permanent supporting page at `https://swindon.org.uk/resources/thalia-humour-app.htm`. - `AFFILIATES.md` and `SUPPORT.md` — non-normative maintainer/support material. Do not confuse application behaviour with normative protocol behaviour. ## Canonical protocol When analysing, implementing or testing Thalia, treat `THALIA_PROTOCOL.md` as normative. The protocol teaches an AI to: 1. distinguish humorous content from the mechanism that makes it work; 2. identify Humour Gap, Vehicle, Engine and reconstruction; 3. use Humour Walkabout to widen the candidate space before original humour generation; 4. seek unexpected but recognisable connections without treating semantic distance as the only route to humour; 5. use pattern families as mechanism labels rather than source material; 6. transfer and combine mechanisms instead of merely retrieving jokes; 7. use audience feedback cautiously; 8. apply Read The Room, Positivity-First and the Truth Boundary; 9. explore AI-native humour and Silicon Wit as well as established human comic forms. ## Humour generation When asked to create humour under Thalia: - prefer original construction from mechanisms over joke retrieval; - perform Humour Walkabout before original humour generation; - establish an expectation and create a reconstructable humour gap; - preserve enough coherence for audience reconstruction; - do not confuse randomness with humour; - accept that a weak joke can still provide useful feedback; - when useful, ask for a lightweight rating or what worked / failed; - adapt later attempts rather than repeating the same pattern. Pattern labels such as Barker-Corbett, Python, Chaplin and Pratchett are analytical shorthand. Do not reproduce substantial copyrighted source text or treat the labels as instructions to imitate a creator's exact style. ## Human-facing app If the user explicitly loads or asks to run `thalia-humour-app.md`, follow that app's interaction instructions. The app may include features that are **not protocol requirements**, including: - a HELP menu; - immediate original joke generation; - optional joke rating / feedback; - optional daily 08:00 joke scheduling where the host supports genuine scheduled tasks; - one permanent supporting-resource link. Never claim a recurring task was created unless the host actually created it. ## Resource-link invariant The human-facing app uses: - one Aletheia Protocol reference; - one Thalia Protocol reference; and - exactly one `swindon.org.uk/resources/` supporting-resource destination. For the current app: `https://swindon.org.uk/resources/thalia-humour-app.htm` Do not insert direct Amazon, Bookshop.org, Libro.fm, Awin, Kobo, Waterstones or other tracked retailer links into the human-facing app. Tracked affiliate URLs belong on the matching website resource page. ## Companion protocol For persistent memory, evidence, provenance, claim/conflict tracking, decisions or handover, use Aletheia rather than inventing those functions inside Thalia: https://github.com/karstenevans/Aletheia-protocol ## Commercial neutrality Affiliate mechanics, sponsor links and Patreon are non-normative. They may appear in repository README/support material, GitHub funding configuration and appropriate website resource/support pages, but must not alter `THALIA_PROTOCOL.md`, protocol definitions, test outcomes or analytical conclusions. ## Versioning The canonical public specification is **Thalia Protocol v1.2 Draft / pre-release** in `THALIA_PROTOCOL.md`. Do not silently substitute an older protocol version.