Skip to main content

Module untrusted

Module untrusted 

Source
Expand description

Fencing for text that Tracker users wrote.

Issue descriptions and comments are the one part of a Tracker response that an outsider fully controls, which makes them the injection surface an agent actually faces (docs/adr/0001-security-model.md). We do not try to sanitise that text — rewriting someone’s issue would be worse than useless. We label its boundaries so the reader, human or model, can tell content from instruction.

Functions§

fence
Wrap body in a labelled fence naming where the text came from.
head
Take the first limit lines, reporting how many were withheld.