Skip to content

Commit 940cf86

Browse files
austinbornclaude
andcommitted
Scope pr-gate-city mayor to city so W3 step 7 yields one mayor
Without an agent.toml the pack's mayor had no scope, so gascity projected it at city scope AND into every rig. W3 step 7's check (gc config show | grep -A1 '^\[\[agent\]\]' | grep -c '^name = "mayor"') returned 3 instead of 1. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 333dea7 commit 940cf86

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • artifacts/packs/pr-gate-city/agents/mayor
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Mayor — city-scoped persona that carries the PR gate.
2+
#
3+
# `scope = "city"` is load-bearing. A pack agent with no scope is projected
4+
# at BOTH city scope and into every rig, so without this file the pack's
5+
# mayor lands twice (once as `mayor`, once as `ascii-art/mayor`) on top of
6+
# the city's own agents/mayor/ — three mayors where W3 expects one.
7+
8+
scope = "city"
9+
prompt_template = "agents/mayor/prompt.template.md"

0 commit comments

Comments
 (0)