generate-confusion-protocol.ts
8 lines · scripts/resolvers/preamble/generate-confusion-protocol.ts at 3f79d81
1import type { TemplateContext } from '../types';
3export function generateConfusionProtocol(ctx?: TemplateContext): string {
4 if (ctx?.explainLevel === 'terse') return '';
5 return `## Confusion Protocol
7For high-stakes ambiguity (architecture, data model, destructive scope, missing context), STOP. Name it in one sentence, present 2-3 options with tradeoffs, and ask. Do not use for routine coding or obvious changes.`;
8}