Repository navigation
Conversation
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
Prepend a built-in scope/boundary system prompt to every agent and orchestrator prompt. Nodes opt out with `prompts.extra_default: false`, which removes only Extra's text and keeps the node's own prompt. Both nodes now compose their system prompt through a single generic `assemble_prompt(*fragments)` helper, in the order: Extra default -> rendered node prompt -> orchestrator contract. Only the node prompt is interpolated. Each node's model call carries its own complete prompt, so the default appears once per call during delegated execution. Closes extra-org#100 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the contribution. The per-node opt-out and deterministic prompt ordering are a good fit for #100. I reviewed commit
Please also add a short ADR recording the YAML flag, enabled-by-default behavior, composition order, and opt-out semantics, as required by the project's contract-change guidelines. Local validation: |
Address #100. This implements the design proposal this comment. I am happy to modify/hold off on any of this.