Documentation
¶
Overview ¶
Package prompt is a content-free helper for assembling multi-file system prompts. Each AIAgent (detect, analyze, …) embeds its own prompts/*.md fragments and calls Assemble / MustAssemble with the canonical ordering. The loader never reaches into another package's prompts — operators tune one agent without touching another.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Assemble ¶
Assemble reads the named files from fs in order and concatenates them with a blank-line separator. Missing files return an error (no silent skip).
func MustAssemble ¶
MustAssemble is Assemble that panics on error. Intended for package-init wiring where a missing fragment is a programmer error (go:embed guarantees the files exist at build time, so a failure means the order slice drifted from the actual files on disk).
Types ¶
This section is empty.