Watch
0
0
Fork
You've already forked hyperhive
0

harness: unify agent + manager prompts into single template (closes #519)

This commit is contained in:
damocles 2026-05-27 22:47:02 +02:00 • committed by Mara
commit 01af5003d1

View file

@ -360,7 +360,8 @@ updates the manager itself.
## Manager policy
From `hive-ag3nt/prompts/manager.md`: the manager does NOT
From `hive-ag3nt/prompts/system.md` (`<!-- role:manager -->` block,
rendered via `hive_ag3nt::prompt::render`): the manager does NOT
rubber-stamp sub-agent config requests. It verifies (role match,
package legitimacy, cheaper alternative, blast radius) before
committing and calling `request_apply_commit`.
@ -447,7 +448,8 @@ regular claude turn so the manager can react. Variants
asker sees the matching `QuestionAnswered`.
To add a new event: new `HelperEvent` variant + call sites + update
`prompts/manager.md` so the manager knows the new shape.
`prompts/system.md` (`<!-- role:manager -->` block, the lifecycle-
event list) so the manager knows the new shape.
## Auto-update on startup