Files
Claude-Code-Workflow/ccw/docs-site/build/assets/js/2ecf8b4a.b5d4721e.js
catlog22 c6093ef741 feat: add CLI Command Node and Prompt Node components for orchestrator
- Implemented CliCommandNode component for executing CLI tools with AI models.
- Implemented PromptNode component for constructing AI prompts with context.
- Added styling for mode and tool badges in both components.
- Enhanced user experience with command and argument previews, execution status, and error handling.

test: add comprehensive tests for ask_question tool

- Created direct test for ask_question tool execution.
- Developed end-to-end tests to validate ask_question tool integration with WebSocket and A2UI surfaces.
- Implemented simple and integrated WebSocket tests to ensure proper message handling and surface reception.
- Added tool registration test to verify ask_question tool is correctly registered.

chore: add WebSocket listener and simulation tests

- Added WebSocket listener for A2UI surfaces to facilitate testing.
- Implemented frontend simulation test to validate complete flow from backend to frontend.
- Created various test scripts to ensure robust testing of ask_question tool functionality.
2026-02-03 23:10:36 +08:00

1 line
21 KiB
JavaScript

"use strict";(globalThis.webpackChunkccw_docs=globalThis.webpackChunkccw_docs||[]).push([[856],{823(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>a,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"commands/issue/issue-from-brainstorm","title":"issue:from-brainstorm","description":"Convert brainstorm session ideas into issues with solutions","source":"@site/docs/commands/issue/issue-from-brainstorm.md","sourceDirName":"commands/issue","slug":"/commands/issue/issue-from-brainstorm","permalink":"/docs/docs/commands/issue/issue-from-brainstorm","draft":false,"unlisted":false,"editUrl":"https://github.com/ccw/docs/tree/main/docs/commands/issue/issue-from-brainstorm.md","tags":[],"version":"current","sidebarPosition":6,"frontMatter":{"title":"issue:from-brainstorm","sidebar_label":"issue:from-brainstorm","sidebar_position":6,"description":"Convert brainstorm session ideas into issues with solutions"},"sidebar":"docs","previous":{"title":"issue:execute","permalink":"/docs/docs/commands/issue/issue-execute"},"next":{"title":"issue:convert-to-plan","permalink":"/docs/docs/commands/issue/issue-convert-to-plan"}}');var r=s(2540),t=s(1184);const a={title:"issue:from-brainstorm",sidebar_label:"issue:from-brainstorm",sidebar_position:6,description:"Convert brainstorm session ideas into issues with solutions"},o="issue",l={},c=[{value:"Description",id:"description",level:2},{value:"Key Features",id:"key-features",level:3},{value:"Usage",id:"usage",level:2},{value:"Arguments",id:"arguments",level:3},{value:"Examples",id:"examples",level:2},{value:"Interactive Mode",id:"interactive-mode",level:3},{value:"Auto Mode",id:"auto-mode",level:3},{value:"Pre-select Idea",id:"pre-select-idea",level:3},{value:"Issue Lifecycle Flow",id:"issue-lifecycle-flow",level:2},{value:"Session Files",id:"session-files",level:2},{value:"Input Files",id:"input-files",level:3},{value:"Synthesis Schema",id:"synthesis-schema",level:3},{value:"Context Enrichment",id:"context-enrichment",level:2},{value:"Base Context (Always Included)",id:"base-context-always-included",level:3},{value:"Enhanced Context (If Available)",id:"enhanced-context-if-available",level:3},{value:"From Synthesis Artifacts",id:"from-synthesis-artifacts",level:4},{value:"From Multi-CLI Perspectives",id:"from-multi-cli-perspectives",level:4},{value:"Task Generation Strategy",id:"task-generation-strategy",level:2},{value:"Task 1: Research &amp; Validation",id:"task-1-research--validation",level:3},{value:"Task 2: Design &amp; Specification",id:"task-2-design--specification",level:3},{value:"Task 3+: Implementation Tasks",id:"task-3-implementation-tasks",level:3},{value:"Fallback Task",id:"fallback-task",level:3},{value:"Priority Calculation",id:"priority-calculation",level:2},{value:"Issue Priority",id:"issue-priority",level:3},{value:"Task Priority",id:"task-priority",level:3},{value:"Output Structure",id:"output-structure",level:2},{value:"Issue Created",id:"issue-created",level:3},{value:"Solution Created",id:"solution-created",level:3},{value:"Integration Flow",id:"integration-flow",level:2},{value:"Related Commands",id:"related-commands",level:2},{value:"CLI Endpoints",id:"cli-endpoints",level:2}];function d(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",mermaid:"mermaid",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsxs)(n.h1,{id:"issue",children:["issue",":from-brainstorm"]})}),"\n",(0,r.jsx)(n.p,{children:"Bridge command that converts brainstorm-with-file session output into executable issue + solution for parallel-dev-cycle consumption."}),"\n",(0,r.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"issue:from-brainstorm"})," command converts brainstorm session ideas into structured issues with executable solutions. It loads synthesis results, selects ideas, enriches context with multi-CLI perspectives, and generates task-based solutions ready for execution."]}),"\n",(0,r.jsx)(n.h3,{id:"key-features",children:"Key Features"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Idea selection"}),": Interactive or automatic (highest-scored) selection"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Context enrichment"}),": Adds clarifications and multi-perspective insights"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Auto task generation"}),": Creates structured tasks from idea next_steps"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Priority calculation"}),": Derives priority from idea score (0-10 \u2192 1-5)"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Direct binding"}),": Solution automatically bound to issue"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Session metadata"}),": Preserves brainstorm origin in issue"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# Interactive mode - select idea from table\r\n/issue:from-brainstorm SESSION="BS-rate-limiting-2025-01-28"\r\n\r\n# Auto mode - select highest-scored idea\r\n/issue:from-brainstorm SESSION="BS-caching-2025-01-28" --auto\r\n\r\n# Pre-select idea by index\r\n/issue:from-brainstorm SESSION="BS-auth-system-2025-01-28" --idea=0\r\n\r\n# Auto mode with skip confirmations\r\n/issue:from-brainstorm SESSION="BS-caching-2025-01-28" --auto -y\n'})}),"\n",(0,r.jsx)(n.h3,{id:"arguments",children:"Arguments"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Argument"}),(0,r.jsx)(n.th,{children:"Required"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"SESSION"})}),(0,r.jsx)(n.td,{children:"Yes"}),(0,r.jsxs)(n.td,{children:["Session ID or path to ",(0,r.jsx)(n.code,{children:".workflow/.brainstorm/BS-xxx"})]})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"--idea <index>"})}),(0,r.jsx)(n.td,{children:"No"}),(0,r.jsx)(n.td,{children:"Pre-select idea by index (0-based)"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"--auto"})}),(0,r.jsx)(n.td,{children:"No"}),(0,r.jsx)(n.td,{children:"Auto-select highest-scored idea"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"-y, --yes"})}),(0,r.jsx)(n.td,{children:"No"}),(0,r.jsx)(n.td,{children:"Skip all confirmations"})]})]})]}),"\n",(0,r.jsx)(n.h2,{id:"examples",children:"Examples"}),"\n",(0,r.jsx)(n.h3,{id:"interactive-mode",children:"Interactive Mode"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'/issue:from-brainstorm SESSION="BS-rate-limiting-2025-01-28"\r\n# Output:\r\n# | # | Title | Score | Feasibility |\r\n# |---|-------|-------|-------------|\r\n# | 0 | Token Bucket Algorithm | 8.5 | High |\r\n# | 1 | Sliding Window Counter | 7.2 | Medium |\r\n# | 2 | Fixed Window | 6.1 | High |\r\n#\r\n# Select idea: #0\r\n#\r\n# \u2713 Created issue: ISS-20250128-001\r\n# \u2713 Created solution: SOL-ISS-20250128-001-ab3d\r\n# \u2713 Bound solution to issue\r\n# \u2192 Status: planned\r\n# \u2192 Next: /issue:queue\n'})}),"\n",(0,r.jsx)(n.h3,{id:"auto-mode",children:"Auto Mode"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'/issue:from-brainstorm SESSION="BS-caching-2025-01-28" --auto\r\n# Output:\r\n# Auto-selected: Redis Cache Layer (Score: 9.2/10)\r\n# \u2713 Created issue: ISS-20250128-002\r\n# \u2713 Solution with 4 tasks:\r\n# - T1: Research & Validate Approach\r\n# - T2: Design & Create Specification\r\n# - T3: Implement Redis Cache Layer\r\n# - T4: Write Integration Tests\r\n# \u2192 Status: planned\n'})}),"\n",(0,r.jsx)(n.h3,{id:"pre-select-idea",children:"Pre-select Idea"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'/issue:from-brainstorm SESSION="BS-auth-system-2025-01-28" --idea=1\r\n# Skips selection, uses idea at index 1\n'})}),"\n",(0,r.jsx)(n.h2,{id:"issue-lifecycle-flow",children:"Issue Lifecycle Flow"}),"\n",(0,r.jsx)(n.mermaid,{value:"graph TB\r\n A[Brainstorm Session] --\x3e B[Load Synthesis]\r\n B --\x3e C[Load Perspectives\r\nOptional]\r\n C --\x3e D[Load Synthesis\r\nArtifacts\r\nOptional]\r\n D --\x3e E{Idea Selection}\r\n E --\x3e|Auto| F[Select Highest\r\nScore]\r\n E --\x3e|Pre-selected| F\r\n E --\x3e|Interactive| G[Display Table]\r\n G --\x3e H[User Selects]\r\n H --\x3e F\r\n F --\x3e I[Enrich Context]\r\n I --\x3e J[Add Clarifications]\r\n J --\x3e K[Add Multi-CLI\r\nInsights]\r\n K --\x3e L[Create Issue]\r\n L --\x3e M[Generate Tasks]\r\n M --\x3e N[Create Solution]\r\n N --\x3e O[Bind Solution]\r\n O --\x3e P[Status: Planned]\r\n P --\x3e Q[issue:queue]"}),"\n",(0,r.jsx)(n.h2,{id:"session-files",children:"Session Files"}),"\n",(0,r.jsx)(n.h3,{id:"input-files",children:"Input Files"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:".workflow/.brainstorm/BS-{slug}-{date}/\r\n\u251c\u2500\u2500 synthesis.json # REQUIRED - Top ideas with scores\r\n\u251c\u2500\u2500 perspectives.json # OPTIONAL - Multi-CLI insights\r\n\u251c\u2500\u2500 brainstorm.md # Reference only\r\n\u2514\u2500\u2500 .brainstorming/ # OPTIONAL - Synthesis artifacts\r\n \u251c\u2500\u2500 system-architect/\r\n \u2502 \u2514\u2500\u2500 analysis.md # Contains clarifications\r\n \u251c\u2500\u2500 api-designer/\r\n \u2502 \u2514\u2500\u2500 analysis.md\r\n \u2514\u2500\u2500 ...\n"})}),"\n",(0,r.jsx)(n.h3,{id:"synthesis-schema",children:"Synthesis Schema"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:"interface Synthesis {\r\n session_id: string;\r\n topic: string;\r\n completed_at: string;\r\n top_ideas: Idea[];\r\n}\r\n\r\ninterface Idea {\r\n index: number;\r\n title: string;\r\n description: string;\r\n score: number; // 0-10\r\n novelty: number; // 0-10\r\n feasibility: 'Low' | 'Medium' | 'High';\r\n key_strengths: string[];\r\n main_challenges: string[];\r\n next_steps: string[];\r\n}\n"})}),"\n",(0,r.jsx)(n.h2,{id:"context-enrichment",children:"Context Enrichment"}),"\n",(0,r.jsx)(n.h3,{id:"base-context-always-included",children:"Base Context (Always Included)"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-markdown",children:"## Idea Description\r\n{idea.description}\r\n\r\n## Why This Idea\r\n{idea.key_strengths}\r\n\r\n## Challenges to Address\r\n{idea.main_challenges}\r\n\r\n## Implementation Steps\r\n{idea.next_steps}\n"})}),"\n",(0,r.jsx)(n.h3,{id:"enhanced-context-if-available",children:"Enhanced Context (If Available)"}),"\n",(0,r.jsx)(n.h4,{id:"from-synthesis-artifacts",children:"From Synthesis Artifacts"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-markdown",children:"## Requirements Clarification (system-architect)\r\nQ: How will this integrate with existing auth?\r\nA: Will use adapter pattern to wrap current system\r\n\r\n## Architecture Feasibility (api-designer)\r\nQ: What API changes are needed?\r\nA: New /oauth/* endpoints, backward compatible\n"})}),"\n",(0,r.jsx)(n.h4,{id:"from-multi-cli-perspectives",children:"From Multi-CLI Perspectives"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-markdown",children:"## Creative Perspective\r\nInsight: Consider gamification to improve adoption\r\n\r\n## Pragmatic Perspective\r\nBlocker: Current rate limiter lacks configuration\r\n\r\n## Systematic Perspective\r\nPattern: Token bucket provides better burst handling\n"})}),"\n",(0,r.jsx)(n.h2,{id:"task-generation-strategy",children:"Task Generation Strategy"}),"\n",(0,r.jsx)(n.h3,{id:"task-1-research--validation",children:"Task 1: Research & Validation"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Trigger"}),": ",(0,r.jsx)(n.code,{children:"idea.main_challenges.length > 0"})]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:'{\r\n id: "T1",\r\n title: "Research & Validate Approach",\r\n scope: "design",\r\n action: "Research",\r\n implementation: [\r\n "Investate identified blockers",\r\n "Review similar implementations in industry",\r\n "Validate approach with team/stakeholders"\r\n ],\r\n acceptance: {\r\n criteria: [\r\n "Blockers documented with resolution strategies",\r\n "Feasibility assessed with risk mitigation",\r\n "Approach validated with key stakeholders"\r\n ],\r\n verification: [\r\n "Research document created",\r\n "Stakeholder approval obtained",\r\n "Risk assessment completed"\r\n ]\r\n },\r\n priority: 1\r\n}\n'})}),"\n",(0,r.jsx)(n.h3,{id:"task-2-design--specification",children:"Task 2: Design & Specification"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Trigger"}),": ",(0,r.jsx)(n.code,{children:"idea.key_strengths.length > 0"})]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:'{\r\n id: "T2",\r\n title: "Design & Create Specification",\r\n scope: "design",\r\n action: "Design",\r\n implementation: [\r\n "Create detailed design document",\r\n "Define success metrics and KPIs",\r\n "Plan implementation phases"\r\n ],\r\n acceptance: {\r\n criteria: [\r\n "Design document complete with diagrams",\r\n "Success metrics defined and measurable",\r\n "Implementation plan with timeline"\r\n ],\r\n verification: [\r\n "Design reviewed and approved",\r\n "Metrics tracked in dashboard",\r\n "Phase milestones defined"\r\n ]\r\n },\r\n priority: 2\r\n}\n'})}),"\n",(0,r.jsx)(n.h3,{id:"task-3-implementation-tasks",children:"Task 3+: Implementation Tasks"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Trigger"}),": ",(0,r.jsx)(n.code,{children:"idea.next_steps[]"})]}),"\n",(0,r.jsx)(n.p,{children:"Each next_step becomes a task:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:'{\r\n id: "T3",\r\n title: "{next_steps[0]}", // max 60 chars\r\n scope: inferScope(step), // backend, frontend, infra...\r\n action: detectAction(step), // Implement, Create, Update...\r\n implementation: [\r\n "Execute: {next_steps[0]}",\r\n "Follow design specification",\r\n "Write unit and integration tests"\r\n ],\r\n acceptance: {\r\n criteria: [\r\n "Step implemented per design",\r\n "Tests passing with coverage >80%",\r\n "Code reviewed and approved"\r\n ],\r\n verification: [\r\n "Functional tests pass",\r\n "Code coverage meets threshold",\r\n "Review approved"\r\n ]\r\n },\r\n priority: 3\r\n}\n'})}),"\n",(0,r.jsx)(n.h3,{id:"fallback-task",children:"Fallback Task"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Trigger"}),": No tasks generated from above"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:'{\r\n id: "T1",\r\n title: idea.title,\r\n scope: "implementation",\r\n action: "Implement",\r\n implementation: [\r\n "Analyze requirements and context",\r\n "Design solution approach",\r\n "Implement core functionality",\r\n "Write comprehensive tests",\r\n "Document changes and usage"\r\n ],\r\n acceptance: {\r\n criteria: [\r\n "Core functionality working",\r\n "Tests passing",\r\n "Documentation complete"\r\n ],\r\n verification: [\r\n "Manual testing successful",\r\n "Automated tests pass",\r\n "Docs reviewed"\r\n ]\r\n },\r\n priority: 3\r\n}\n'})}),"\n",(0,r.jsx)(n.h2,{id:"priority-calculation",children:"Priority Calculation"}),"\n",(0,r.jsx)(n.h3,{id:"issue-priority",children:"Issue Priority"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-javascript",children:"// idea.score: 0-10 \u2192 priority: 1-5\r\npriority = max(1, min(5, ceil((10 - score) / 2)))\r\n\r\nExamples:\r\nscore 9-10 \u2192 priority 1 (critical)\r\nscore 7-8 \u2192 priority 2 (high)\r\nscore 5-6 \u2192 priority 3 (medium)\r\nscore 3-4 \u2192 priority 4 (low)\r\nscore 0-2 \u2192 priority 5 (lowest)\n"})}),"\n",(0,r.jsx)(n.h3,{id:"task-priority",children:"Task Priority"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Research task: 1 (highest - validates approach)"}),"\n",(0,r.jsx)(n.li,{children:"Design task: 2 (high - foundation for implementation)"}),"\n",(0,r.jsx)(n.li,{children:"Implementation tasks: 3 by default"}),"\n",(0,r.jsx)(n.li,{children:"Testing/documentation: 4-5 (lower priority)"}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"output-structure",children:"Output Structure"}),"\n",(0,r.jsx)(n.h3,{id:"issue-created",children:"Issue Created"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:"interface Issue {\r\n id: string; // ISS-YYYYMMDD-NNN\r\n title: string; // From idea.title\r\n status: 'planned'; // Auto-set after binding\r\n priority: number; // Derived from score\r\n context: string; // Enriched description\r\n source: 'brainstorm';\r\n labels: string[]; // ['brainstorm', perspective, feasibility]\r\n expected_behavior: string; // From key_strengths\r\n actual_behavior: string; // From main_challenges\r\n affected_components: string[]; // Extracted from description\r\n bound_solution_id: string; // Auto-bound\r\n _brainstorm_metadata: {\r\n session_id: string;\r\n idea_score: number;\r\n novelty: number;\r\n feasibility: string;\r\n clarifications_count: number;\r\n };\r\n}\n"})}),"\n",(0,r.jsx)(n.h3,{id:"solution-created",children:"Solution Created"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:"interface Solution {\r\n id: string; // SOL-{issue-id}-{4-char-uid}\r\n description: string; // idea.title\r\n approach: string; // idea.description\r\n tasks: Task[];\r\n analysis: {\r\n risk: 'low' | 'medium' | 'high';\r\n impact: 'low' | 'medium' | 'high';\r\n complexity: 'low' | 'medium' | 'high';\r\n };\r\n is_bound: true;\r\n created_at: string;\r\n bound_at: string;\r\n}\n"})}),"\n",(0,r.jsx)(n.h2,{id:"integration-flow",children:"Integration Flow"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"brainstorm-with-file\r\n \u2502\r\n \u251c\u2500 synthesis.json (top_ideas)\r\n \u251c\u2500 perspectives.json (multi-CLI insights)\r\n \u2514\u2500 .brainstorming/** (synthesis artifacts)\r\n \u2502\r\n \u25bc\r\nissue:from-brainstorm \u25c4\u2500\u2500\u2500 This command\r\n \u2502\r\n \u251c\u2500 ISS-YYYYMMDD-NNN (enriched issue)\r\n \u2514\u2500 SOL-{issue-id}-{uid} (structured solution)\r\n \u2502\r\n \u25bc\r\nissue:queue\r\n \u2502\r\n \u25bc\r\nissue:execute\r\n \u2502\r\n \u25bc\r\n Complete Solution\n"})}),"\n",(0,r.jsx)(n.h2,{id:"related-commands",children:"Related Commands"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsxs)(n.a,{href:"#",children:["workflow",":brainstorm-with-file"]})})," - Generate brainstorm sessions"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsxs)(n.a,{href:"#",children:["workflow:brainstorm",":synthesis"]})})," - Add clarifications to brainstorm"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsxs)(n.a,{href:"/docs/docs/commands/issue/issue-new",children:["issue",":new"]})})," - Create issues from GitHub or text"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsxs)(n.a,{href:"/docs/docs/commands/issue/issue-plan",children:["issue",":plan"]})})," - Plan solutions for issues"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsxs)(n.a,{href:"/docs/docs/commands/issue/issue-queue",children:["issue",":queue"]})})," - Form execution queue"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsxs)(n.a,{href:"/docs/docs/commands/issue/issue-execute",children:["issue",":execute"]})})," - Execute with parallel-dev-cycle"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"cli-endpoints",children:"CLI Endpoints"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# Create issue\r\nccw issue create << \'EOF\'\r\n{\r\n "title": "...",\r\n "context": "...",\r\n "priority": 3,\r\n "source": "brainstorm",\r\n "labels": ["brainstorm", "creative", "feasibility-high"]\r\n}\r\nEOF\r\n\r\n# Bind solution\r\nccw issue bind {issue-id} {solution-id}\r\n\r\n# Update status\r\nccw issue update {issue-id} --status planned\n'})})]})}function h(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1184(e,n,s){s.d(n,{R:()=>a,x:()=>o});var i=s(3696);const r={},t=i.createContext(r);function a(e){const n=i.useContext(t);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),i.createElement(t.Provider,{value:n},e.children)}}}]);