promptwars-thuna

Open-source prototypeThree-hour hackathon

A bilingual crisis-support prototype that runs deterministic safety triage before a later Gemini-assisted branch.

Problem

A crisis-support flow cannot let an unaudited model call decide whether somebody should be directed to emergency help.

Implementation record

How I solved it

  1. 01

    Runs deterministic crisis triage before the Gemini-assisted branch, making emergency routing a rule-governed decision instead of an LLM judgement.

  2. 02

    Builds bilingual flows, consent handling, safety filtering and accessibility support around that gate so the system can communicate its boundary before it offers any model-assisted help.

  3. 03

    Uses direct tests for safety contacts, request contracts, prompts, output filtering and triage, while keeping the three-hour prototype and clinical-validation limit explicit.

My role / what I owned

Hackathon builder

  • Put deterministic crisis triage before the model-assisted branch.
  • Built bilingual flows, safety filters, consent handling and accessibility support.
  • Shipped the prototype within a three-hour event window.

How it was built

Team
A Prompt Wars hackathon entry; no separate collaborator breakdown is documented in the public repository.
Tools
  • TypeScript
  • Next.js
  • Gemini
  • Deterministic triage
Use of AI
Gemini assists only after deterministic crisis triage; the safety gate is not delegated to the model.

Source and current state

  • 25 public commits at the 9 August 2026 review.
  • 5 direct test modules cover safety contacts, request contracts, prompts, output filtering and deterministic triage.
  • Public code exposes 11 routes and the bilingual, consent, crisis-filter and accessibility flows.
Status
Three-hour hackathon prototype; placed 19th.
What it shows
The submitted prototype makes the separation between deterministic triage and the model-assisted branch clear.