Files
krow_backend/go-api/internal/knowledge
Aravind 54309635a3
Some checks failed
CI / test (push) Failing after 4m38s
CI / fixture (push) Failing after 9s
Name one citation format, so the model stops inventing them
ContextInstruction asked the model to cite a source id and never said how, so
it chose a different syntax on different days: a <cite> tag, a markdown link to
an empty anchor, the id narrated in a parenthesis, the <source> tag copied
straight back, and fullwidth brackets. The panel has no citation surface, so
each one arrived on a reader's screen as literal markup — on 2026-10-07
somebody read an answer carrying 【f34e8ef0-…】 twice in one sentence, and a
<br> drawn as text between two bullets.

So the instruction names ONE shape: square brackets, no HTML tags, no links, no
other kind of bracket, and never an HTML tag such as <br>. Square brackets
because that is the spelling the renderer already removes cleanly and it reads
as a reference to anyone who sees it before the strip.

The frontend still strips every spelling seen so far and that cannot be removed
— a model is free to ignore any instruction. The difference is between a rule
that holds and a rule patched after each new sighting.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-07 19:49:29 +05:30
..
2026-08-28 12:21:44 +05:30
2026-08-28 12:21:44 +05:30
2026-08-28 12:21:44 +05:30
2026-08-28 12:21:44 +05:30
2026-08-28 12:21:44 +05:30
2026-08-28 12:21:44 +05:30
2026-08-28 12:21:44 +05:30
2026-08-28 12:21:44 +05:30
2026-08-28 12:21:44 +05:30