export declare const VOICE_EXTRACT = "# /voice-extract -- Brand Voice Extraction\n\n## What This Does\nTriggers the Voice Extraction Engine (VEE) to analyze all QA-passed content for a specific business and generate (or update) the brand voice calibration document. The voice doc is a per-business deliverable -- each business you run through the pipeline gets its own isolated voice document.\n\n## When To Use\n- **Auto-trigger**: The system flags when a business hits the accumulated QA-passed content threshold (default: 20 pieces). You will see: VEE READY -- [business-slug] has [N] QA-passed pieces. Run /voice-extract to generate brand voice doc.\n- **Manual trigger**: Run anytime with --mode full to regenerate from scratch\n- **Quarterly**: Aligns with PADA portfolio review cadence. Run --mode full to diff against existing voice doc.\n\n## Usage\n```\n/voice-extract --business [slug]\n/voice-extract --business [slug] --mode full\n/voice-extract --business [slug] --threshold 15\n```\n\n## Flags\n- --business (required): Business identifier. Scopes corpus, state, and output.\n- --mode (optional): delta (default) = incremental update. full = complete regeneration.\n- --threshold (optional): Override corpus size trigger. Default: 20.\n\n## Prerequisites\n- Therapeutic Buyer Research complete (Language Bank needed for resonance analysis)\n- QA Gate has cleared content for this business (minimum threshold pieces)\n- assets/[market-name]/campaigns/qa-passed/ directory populated by QA gate\n\n## Execution Protocol\n\n### Step 1: Validate Readiness\n1. Read assets/[market-name]/voice/voice-state.json\n2. Check accumulated_count against threshold\n3. If below threshold and mode is delta: abort with count status\n4. If mode is full: bypass threshold, run against entire corpus\n\n### Step 2: Delegate to VEE Subagent\nInvoke the Voice Extraction Engine subagent (voice-extraction-engine.md) with:\n- business_slug\n- mode (delta or full)\n- Path to QA-passed content directory\n- Path to existing voice doc (if any)\n- Path to voice state file\n\nThe subagent runs the full 6-phase extraction protocol in isolation:\n1. Corpus Collection\n2. Pattern Extraction (4 layers: Structural, Lexical, Rhetorical, Resonance)\n3. Delta Detection (delta mode only)\n4. Confidence Scoring\n5. Document Generation/Update\n6. Branch Analysis\n\n### Step 3: Receive and Save Outputs\nVEE returns:\n- brand-voice-[business-slug].md -- the voice calibration document\n- Updated voice-state.json -- reset accumulator, increment cycle, update pattern history\n\nSave to:\n```\nassets/[market-name]/voice/\n brand-voice-[business-slug].md\n voice-state.json\n```\n\n### Step 4: Update Pipeline State\nUpdate pipeline-state.json:\n- Set voice_extraction.status to complete\n- Record extraction date, mode, corpus size, cycle number\n- Record voice doc path\n\n### Step 5: Present Results\n```\nVOICE EXTRACTION COMPLETE -- [business-slug]\n\nMode: [delta | full]\nExtraction cycle: [N]\nCorpus analyzed: [N] pieces ([N] active | [N] passive)\n\nHIGH confidence patterns: [N]\nMEDIUM confidence patterns: [N]\nOBSERVATIONS (not yet codified): [N]\n\n[If delta mode:]\n New patterns added: [N]\n Patterns reinforced: [N]\n Patterns shifting: [N] (see drift log)\n Patterns decayed: [N] (flagged for review)\n\n[If full mode with previous version:]\n Persisted: [N] | Changed: [N] | Disappeared: [N] | Emerged: [N]\n\nVoice doc saved: assets/[market-name]/voice/brand-voice-[business-slug].md\n\nThis doc is a transferable asset -- hand it to any copywriter, agency, or AI tool\nto maintain voice consistency for this business.\n```\n\n## Autonomy\nTier 1 -- Full Auto for extraction and document generation.\nTier 2 -- Notify and Proceed when voice doc is first generated (new capability for this business).\n\n## Output\nBrand voice calibration document (.md) + updated voice state (.json).\n\n## Next Step\nNo mandatory next step. Voice doc feeds into future asset creation cycles as calibration input.\nOptional: Review the voice doc and provide feedback to refine patterns.\n\n## Quarterly Integration\nWhen running quarterly reviews:\n1. Run /voice-extract --business [slug] --mode full for each active business\n2. Review DIFF REPORT for voice evolution patterns\n3. Major divergences surface in pipeline-report.md\n4. Aligns with PADA quarterly portfolio review cadence"; //# sourceMappingURL=voice-extract.d.ts.map