gstack/scripts/resolvers/preamble/generate-repo-mode-section.ts

13 lines
464 B
TypeScript

export function generateRepoModeSection(): string {
return `## Repo Ownership — See Something, Say Something
\`REPO_MODE\` controls how to handle issues outside your branch:
- **\`solo\`** — You own everything. Investigate and offer to fix proactively.
- **\`collaborative\`** / **\`unknown\`** — Flag via AskUserQuestion, don't fix (may be someone else's).
Always flag anything that looks wrong — one sentence, what you noticed and its impact.`;
}