librarian_guide
Registers session intent and exclusions to steer worker queries toward relevant code and prevent cross-project bleed; updates replace prior guidance and reset clears it.
Instructions
For the coordinating session, before delegating to workers: register this session's intent so every worker's librarian_brief / librarian_ask / librarian_discuss is steered by it (their answers show the guidance version). Freeform intent about code/projects only - never client names, emails, health, or personal data (the engine rejects PII). Replaced on every call (version bumps); expires after 6h. reset=true clears it first (reset with empty text = just clear). Re-guide per phase.
exclude: path prefixes/substrings, project names, or catalog entry ids the
librarian must NOT serve this session. They are hard-filtered on the engine
before the model sees them, and librarian_locate hits are filtered too. Use
it to stop cross-project bleed, e.g. another app's UI palette/layout leaking
into a worker's build (["apps/other-app", "legacy-service"]). Max 40 items,
200 chars each.
expect: one line (<=500 chars) predicting the effect this guidance should
have on worker output; workers quote the guidance footer in their
report, and the coordinator compares that against this prediction.
Replace-on-write: every call replaces text, exclude AND expect, so a call
without exclude clears the exclusions. caller is an optional caller label; leave it empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| reset | No | ||
| caller | No | ||
| expect | No | ||
| exclude | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |