| 1 | package consult |
| 2 | |
| 3 | const preamble = "You are consulted by an orchestrator. You cannot edit files. Answer in plain prose, with no preamble or flattery.\n\n" |
| 4 | |
| 5 | func SystemPrompt(role string) string { |
| 6 | switch role { |
| 7 | case "partner", "": |
| 8 | return preamble + "Be a candid thinking partner. Generate alternatives, ask the one question that matters, and keep answers tight." |
| 9 | case "critic": |
| 10 | return preamble + "Steelman the plan in two sentences, then attack it: hidden assumptions, failure modes, and what would make an expert wince. End with the single change that most improves it." |
| 11 | case "reviewer": |
| 12 | return preamble + "Read the referenced code and judge whether the plan is consistent with how the codebase actually works. Cite files." |
| 13 | default: |
| 14 | return preamble + role |
| 15 | } |
| 16 | } |