Watch
0
0
Fork
You've already forked hyperhive
0

drop the operator pronoun sentence from the agent system prompt

Not every swarm's operator is she/her. The prompt now names no pronouns
and tells agents to say "the operator"; pronouns will come from a
per-operator profile setting. The operatorPronouns removal warning and
claude-invocation.md say the same.
This commit is contained in:
atlas 2026-10-16 19:15:15 +02:00 • committed by mara
commit e9f313e75d
4 changed files with 10 additions and 8 deletions

View file

@ -232,11 +232,12 @@ shared closer
}
#[test]
fn render_substitutes_label_and_keeps_the_pronoun_line() {
fn render_substitutes_label_and_names_no_operator_pronouns() {
// Real template's first agent line.
let rendered = render(&PRODUCTION_TEMPLATE, "alice", None, None, None);
assert!(rendered.contains("hyperhive agent `alice`"));
assert!(rendered.contains("uses **she/her** pronouns"));
assert!(rendered.contains("say \"the operator\""));
assert!(!rendered.contains("pronoun"));
assert!(!rendered.contains("{label}"));
assert!(!rendered.contains("{operator_pronouns}"));
}