Skip to content

refactor: streamline coordinator system prompt#54

Merged
fazpu merged 1 commit intomainfrom
fix/system-prompt-tweaks
Apr 27, 2026
Merged

refactor: streamline coordinator system prompt#54
fazpu merged 1 commit intomainfrom
fix/system-prompt-tweaks

Conversation

@fazpu
Copy link
Copy Markdown
Member

@fazpu fazpu commented Apr 27, 2026

Summary

  • Remove redundant "Bad worker prompt pattern" example
  • Remove runtime context block from prompt template (agent types, cwd, time)
  • Reorder safety rules — absolute paths first, destructive actions second
  • Add "Autonomy" section: prefer autonomous operation over user escalation
  • Condense API Error Failover Protocol steps 4-5 into inline example

Test plan

  • Updated 3 tests to match prompt changes
  • Full suite: 392 passed

🤖 Generated with Claude Code

- Remove "Bad worker prompt pattern" example (redundant with good pattern)
- Remove runtime context block (agent types, cwd, time) from prompt template
- Reorder safety rules, move absolute paths first
- Add "Autonomy" section: prefer autonomous operation over user escalation
- Simplify API Error Failover Protocol: condense steps 4-5 into step 2
  example, remove verbose rationale paragraph
- Update tests to match prompt changes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@fazpu fazpu merged commit eedac22 into main Apr 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant