// engine/context-advisor/btw-advisor.ts — SPEC-256 Context-Safe Side Queries advisor
/**
 * Returns true if /btw should be suggested based on context usage.
 * Suggests /btw when context >= 60% to avoid contaminating session.
 */
export function shouldSuggestBtw(contextPercent) {
    return contextPercent >= 60;
}
/**
 * Builds a formatted hint explaining /btw and when to use it.
 */
export function buildBtwHint(reason) {
    return {
        command: '/btw your question here',
        description: 'Asks a side question without entering it into conversation history. Answer appears in a dismissible overlay.',
        whenToUse: [
            'Checking a version number or API detail mid-task',
            'Quick "does X exist?" questions',
            'Verifying a convention without tracking the answer',
            'Reading docs while implementing',
        ],
        whenNotToUse: [
            'Implementation decisions that should be tracked',
            'Questions whose answers Claude will need to act on',
        ],
        reason,
    };
}
//# sourceMappingURL=btw-advisor.js.map