haiku.rag/haiku_rag_slim/haiku/rag/capabilities/instructions
Yiorgis Gozadinos 8a7cfb949f
Match capability instructions to the run's collection scope
The collection block was chosen when the capability was built, so a run narrowed
through `state.sources` to one collection was still told how to attribute across
collections it could not reach, while its results correctly carried no
`Collection:` line.

`get_instructions` composes it per run instead, from `state.sources` where the
question narrowed the conversation and from the lent client or the scope
otherwise. Order is preamble, base instructions, collection block.
2026-08-27 12:41:15 +03:00
..
analysis.md Let a model declare that nothing grounds its answer 2026-08-13 13:39:42 +03:00
analysis_multiple_collections.md Match capability instructions to the run's collection scope 2026-08-27 12:41:15 +03:00
rag.md Let a model declare that nothing grounds its answer 2026-08-13 13:39:42 +03:00
rag_multiple_collections.md Match capability instructions to the run's collection scope 2026-08-27 12:41:15 +03:00