Repository navigation
Goalie v0.4.4: long pasted text read to the end; tested on other people's sets
Goalie v0.4.4
Fixed (only when the model check is on): of a pasted text longer than 4,000 characters the model saw only the start, so an order further down was never read. The text is now read in pieces up to its end (over about 24,000 characters: the first five pieces and the last one). Measured on one such text with a 12B local model: let through before, refused after. One text is not much of a test.
New setting GOALIE_JUDGE_REASONING_EFFORT for models that think before they answer. Without it one such model (qwen3.5:4b) gave no usable answer to 22 of 22 questions, so every message went through and nothing said so. The dashboard and /api/stats now show how often the model check gave no answer.
New: pip install git+https://github.com/juw12/hexbane gives the goalie command (scanner, lock, fix, call gate, probe). The chat-gate server and the web app still run from a copy of the repository. Goalie is still not on PyPI or npm.
Measured: texts written to fool the model check itself (attacks blocked / ordinary texts blocked, 10 + 12 texts per set, written by the author):
| Set j | Set k (scored once) | |
|---|---|---|
| Patterns alone | 3/10, 0/12 | 2/10, 0/12 |
+ qwen3.5:4b, reasoning_effort none |
7/10, 0/12 | 9/10, 0/12 |
| + gemma3:12b | 10/10, 2/12 | 10/10, 2/12 |
Measured for the first time on test sets written by other people, and the result is poor.
| Set | Patterns alone | With a model |
|---|---|---|
| BIPIA email test (Microsoft), 11,250 emails with a hidden request, 50 clean | 0/11,250 blocked, 0/50 clean blocked | sample of 20 + 20: gemma3:12b 2/20, qwen3.5:4b 0/20; clean refused 0/20 |
| InjecAgent base (UIUC), 1,054 tool results with a plain hidden request | 0/1,054 replaced by the call gate | never asked: a tool result is one line. Asked directly about 12: gemma3:12b called 9 an attack, and 0 of the same 12 with ordinary content |
| InjecAgent enhanced (the same, announced as an order to the AI) | 1,054/1,054 |
So the patterns catch text that announces itself as an instruction to an AI and miss a request that does not. Do not count on Goalie to stop an instruction hidden in data that does not announce itself: keep tool rights small and let a person confirm actions (the call gate's ask list).
Not changed: with no model set, the gate behaves exactly as in 0.4.3. The page in the browser has no model.
Limits: local models only (4B and 12B on a laptop CPU, 15 to 60 seconds a question); sets j and k are 22 texts each by one author; the model samples on the outside sets are 20 + 20 and 12 + 12 texts; hosted models were not measured.
Details and how to reproduce: docs/EVALUATION.md.