Files
Claude-Code-Workflow/ccw/docs-site/build/assets/js/f9222419.99229d0f.js
catlog22 5cfeb59124 feat: add configuration backup, sync, and version checker services
- Implemented ConfigBackupService for backing up local configuration files.
- Added ConfigSyncService to download configuration files from GitHub with remote-first conflict resolution.
- Created VersionChecker to check application version against the latest GitHub release with caching.
- Introduced security validation utilities for input validation to prevent common vulnerabilities.
- Developed utility functions to start and stop Docusaurus documentation server.
2026-02-05 17:32:31 +08:00

1 line
20 KiB
JavaScript

"use strict";(globalThis.webpackChunkccw_docs=globalThis.webpackChunkccw_docs||[]).push([[448],{1184(e,n,s){s.d(n,{R:()=>o,x:()=>d});var r=s(3696);const i={},t=r.createContext(i);function o(e){const n=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(t.Provider,{value:n},e.children)}},7533(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>d,default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"commands/general/codex-coordinator","title":"/codex-coordinator","description":"Command orchestration tool for Codex workflows","source":"@site/docs/commands/general/codex-coordinator.mdx","sourceDirName":"commands/general","slug":"/commands/general/codex-coordinator","permalink":"/docs/commands/general/codex-coordinator","draft":false,"unlisted":false,"editUrl":"https://github.com/ccw/docs/tree/main/docs/commands/general/codex-coordinator.mdx","tags":[],"version":"current","sidebarPosition":7,"frontMatter":{"title":"/codex-coordinator","sidebar_label":"/codex-coordinator","sidebar_position":7,"description":"Command orchestration tool for Codex workflows"},"sidebar":"docs","previous":{"title":"/flow-create","permalink":"/docs/commands/general/flow-create"},"next":{"title":"issue:new","permalink":"/docs/commands/issue/issue-new"}}');var i=s(2540),t=s(1184);const o={title:"/codex-coordinator",sidebar_label:"/codex-coordinator",sidebar_position:7,description:"Command orchestration tool for Codex workflows"},d="/codex-coordinator",l={},c=[{value:"Overview",id:"overview",level:2},{value:"Core Concept: Minimum Execution Units",id:"core-concept-minimum-execution-units",level:2},{value:"Available Codex Commands",id:"available-codex-commands",level:3},{value:"Usage",id:"usage",level:2},{value:"Execution Flow",id:"execution-flow",level:2},{value:"Phase 1: Analyze Requirements",id:"phase-1-analyze-requirements",level:3},{value:"Phase 2: Recommend Command Chain",id:"phase-2-recommend-command-chain",level:3},{value:"Phase 3: User Confirmation",id:"phase-3-user-confirmation",level:3},{value:"Phase 4: Execute Sequential Command Chain",id:"phase-4-execute-sequential-command-chain",level:3},{value:"Command Invocation Format",id:"command-invocation-format",level:2},{value:"Examples",id:"examples",level:3},{value:"Available Codex Workflows",id:"available-codex-workflows",level:2},{value:"Planning Workflows",id:"planning-workflows",level:3},{value:"Execution Workflows",id:"execution-workflows",level:3},{value:"Analysis Workflows",id:"analysis-workflows",level:3},{value:"Testing Workflows",id:"testing-workflows",level:3},{value:"Brainstorming Workflows",id:"brainstorming-workflows",level:3},{value:"Cleanup Workflows",id:"cleanup-workflows",level:3},{value:"Examples",id:"examples-1",level:2},{value:"Simple Feature",id:"simple-feature",level:3},{value:"Complex Feature",id:"complex-feature",level:3},{value:"Session Management",id:"session-management",level:2},{value:"Resume Previous Session",id:"resume-previous-session",level:3},{value:"Related Commands",id:"related-commands",level:2},{value:"Notes",id:"notes",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",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,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"codex-coordinator",children:"/codex-coordinator"})}),"\n",(0,i.jsx)(n.p,{children:"Command orchestration tool for Codex - analyzes requirements, recommends command chains, and executes sequentially with state persistence."}),"\n",(0,i.jsx)(n.h2,{id:"overview",children:"Overview"}),"\n",(0,i.jsxs)(n.p,{children:["The ",(0,i.jsx)(n.code,{children:"/codex-coordinator"})," command is the Codex equivalent of the CCW coordinator, providing intelligent orchestration for Codex-specific workflows."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Parameters"}),":"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:'TASK="<task description>"'}),": Task to orchestrate (required)"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"--depth=<standard|deep>"}),": Analysis depth (default: standard)"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"--auto-confirm"}),": Skip user confirmation"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"--verbose"}),": Enable verbose output"]}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Execution Model"}),": Intelligent agent-driven workflow - Claude analyzes each phase and orchestrates command execution."]}),"\n",(0,i.jsx)(n.h2,{id:"core-concept-minimum-execution-units",children:"Core Concept: Minimum Execution Units"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Definition"}),": Commands that must execute together as an atomic group to achieve meaningful workflow milestones."]}),"\n",(0,i.jsx)(n.h3,{id:"available-codex-commands",children:"Available Codex Commands"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Category"}),(0,i.jsx)(n.th,{children:"Commands"}),(0,i.jsx)(n.th,{children:"Purpose"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"Planning"})}),(0,i.jsx)(n.td,{children:"lite-plan-a, lite-plan-b, plan-a, plan-b"}),(0,i.jsx)(n.td,{children:"Various planning approaches"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"Execution"})}),(0,i.jsx)(n.td,{children:"execute, execute-a, execute-b"}),(0,i.jsx)(n.td,{children:"Implementation workflows"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"Analysis"})}),(0,i.jsx)(n.td,{children:"analyze-a, analyze-b"}),(0,i.jsx)(n.td,{children:"Code analysis"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"Testing"})}),(0,i.jsx)(n.td,{children:"test-a, test-b"}),(0,i.jsx)(n.td,{children:"Test generation"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"Brainstorming"})}),(0,i.jsx)(n.td,{children:"brainstorm-a, brainstorm-with-file, brainstorm-to-cycle"}),(0,i.jsx)(n.td,{children:"Idea exploration"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"Cleanup"})}),(0,i.jsx)(n.td,{children:"clean, compact"}),(0,i.jsx)(n.td,{children:"Code cleanup and memory compaction"})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'# Basic usage\r\n/codex-coordinator TASK="Implement user authentication"\r\n\r\n# With deep analysis\r\n/codex-coordinator TASK="Design notification system" --depth=deep\r\n\r\n# Auto-confirm\r\n/codex-coordinator TASK="Fix typo in config" --auto-confirm\r\n\r\n# Verbose output\r\n/codex-coordinator TASK="Add API endpoint" --verbose\n'})}),"\n",(0,i.jsx)(n.h2,{id:"execution-flow",children:"Execution Flow"}),"\n",(0,i.jsx)(n.h3,{id:"phase-1-analyze-requirements",children:"Phase 1: Analyze Requirements"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-javascript",children:"async function analyzeRequirements(taskDescription) {\r\n const analysis = {\r\n goal: extractGoal(taskDescription),\r\n scope: determineScope(taskDescription),\r\n complexity: calculateComplexity(taskDescription),\r\n task_type: classifyTask(taskDescription),\r\n constraints: identifyConstraints(taskDescription)\r\n };\r\n return analysis;\r\n}\n"})}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Output"}),":"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Goal: Primary objective"}),"\n",(0,i.jsx)(n.li,{children:"Scope: Affected modules"}),"\n",(0,i.jsx)(n.li,{children:"Complexity: simple/medium/complex"}),"\n",(0,i.jsx)(n.li,{children:"Task type: feature/bugfix/refactor"}),"\n",(0,i.jsx)(n.li,{children:"Constraints: Dependencies, requirements"}),"\n"]}),"\n",(0,i.jsx)(n.h3,{id:"phase-2-recommend-command-chain",children:"Phase 2: Recommend Command Chain"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-javascript",children:"async function recommendCommandChain(analysis) {\r\n const { inputPort, outputPort } = determinePortFlow(analysis.task_type, analysis.complexity);\r\n const chain = selectChainByTaskType(analysis);\r\n return chain;\r\n}\n"})}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Output"}),":"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Recommended command sequence"}),"\n",(0,i.jsx)(n.li,{children:"Execution parameters"}),"\n",(0,i.jsx)(n.li,{children:"Expected artifacts"}),"\n",(0,i.jsx)(n.li,{children:"Estimated complexity"}),"\n"]}),"\n",(0,i.jsx)(n.h3,{id:"phase-3-user-confirmation",children:"Phase 3: User Confirmation"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-javascript",children:"async function getUserConfirmation(chain) {\r\n const response = await AskUserQuestion({\r\n questions: [{\r\n question: 'Proceed with this command chain?',\r\n header: 'Confirm Chain',\r\n options: [\r\n { label: 'Confirm and execute', description: 'Proceed with commands' },\r\n { label: 'Show details', description: 'View each command' },\r\n { label: 'Adjust chain', description: 'Remove or reorder' },\r\n { label: 'Cancel', description: 'Abort' }\r\n ]\r\n }]\r\n });\r\n return response;\r\n}\n"})}),"\n",(0,i.jsx)(n.h3,{id:"phase-4-execute-sequential-command-chain",children:"Phase 4: Execute Sequential Command Chain"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-javascript",children:"async function executeCommandChain(chain, analysis) {\r\n const sessionId = `codex-coord-${Date.now()}`;\r\n const state = {\r\n session_id: sessionId,\r\n status: 'running',\r\n analysis: analysis,\r\n command_chain: chain.map((cmd, idx) => ({ ...cmd, index: idx, status: 'pending' })),\r\n execution_results: []\r\n };\r\n\r\n // Save initial state\r\n Write(`.workflow/.codex-coordinator/${sessionId}/state.json`, JSON.stringify(state, null, 2));\r\n\r\n for (let i = 0; i < chain.length; i++) {\r\n const cmd = chain[i];\r\n\r\n // Build command string\r\n let commandStr = `@~/.codex/prompts/${cmd.name}.md`;\r\n\r\n // Add parameters\r\n if (i > 0 && state.execution_results.length > 0) {\r\n const lastResult = state.execution_results[state.execution_results.length - 1];\r\n commandStr += ` --resume=\"${lastResult.session_id || lastResult.artifact}\"`;\r\n }\r\n\r\n // Add depth for complex tasks\r\n if (analysis.complexity === 'complex' && (cmd.name.includes('analyze') || cmd.name.includes('plan'))) {\r\n commandStr += ` --depth=deep`;\r\n }\r\n\r\n // Add task description for planning commands\r\n if (cmd.type === 'planning' && i === 0) {\r\n commandStr += ` TASK=\"${analysis.goal}\"`;\r\n }\r\n\r\n // Execute command\r\n console.log(`Executing: ${commandStr}`);\r\n state.execution_results.push({\r\n index: i,\r\n command: cmd.name,\r\n status: 'in-progress',\r\n started_at: new Date().toISOString()\r\n });\r\n\r\n state.command_chain[i].status = 'completed';\r\n state.updated_at = new Date().toISOString();\r\n Write(`.workflow/.codex-coordinator/${sessionId}/state.json`, JSON.stringify(state, null, 2));\r\n }\r\n\r\n return state;\r\n}\n"})}),"\n",(0,i.jsx)(n.h2,{id:"command-invocation-format",children:"Command Invocation Format"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Format"}),": ",(0,i.jsx)(n.code,{children:"@~/.codex/prompts/&lt;command-name&gt;.md &lt;parameters&gt;"})]}),"\n",(0,i.jsx)(n.h3,{id:"examples",children:"Examples"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'# Planning command\r\n@~/.codex/prompts/plan-a.md TASK="Implement OAuth2"\r\n\r\n# Execution with resume\r\n@~/.codex/prompts/execute-a.md --resume="session-id"\r\n\r\n# Analysis with depth\r\n@~/.codex/prompts/analyze-a.md --depth=deep\n'})}),"\n",(0,i.jsx)(n.h2,{id:"available-codex-workflows",children:"Available Codex Workflows"}),"\n",(0,i.jsx)(n.h3,{id:"planning-workflows",children:"Planning Workflows"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Command"}),(0,i.jsx)(n.th,{children:"Purpose"}),(0,i.jsx)(n.th,{children:"Output"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"lite-plan-a"})}),(0,i.jsx)(n.td,{children:"Lightweight planning A"}),(0,i.jsx)(n.td,{children:"Quick plan"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"lite-plan-b"})}),(0,i.jsx)(n.td,{children:"Lightweight planning B"}),(0,i.jsx)(n.td,{children:"Alternative quick plan"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"plan-a"})}),(0,i.jsx)(n.td,{children:"Standard planning A"}),(0,i.jsx)(n.td,{children:"Detailed plan"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"plan-b"})}),(0,i.jsx)(n.td,{children:"Standard planning B"}),(0,i.jsx)(n.td,{children:"Alternative detailed plan"})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"execution-workflows",children:"Execution Workflows"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Command"}),(0,i.jsx)(n.th,{children:"Purpose"}),(0,i.jsx)(n.th,{children:"Output"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"execute"})}),(0,i.jsx)(n.td,{children:"Standard execution"}),(0,i.jsx)(n.td,{children:"Implemented code"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"execute-a"})}),(0,i.jsx)(n.td,{children:"Execution variant A"}),(0,i.jsx)(n.td,{children:"Implementation A"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"execute-b"})}),(0,i.jsx)(n.td,{children:"Execution variant B"}),(0,i.jsx)(n.td,{children:"Implementation B"})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"analysis-workflows",children:"Analysis Workflows"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Command"}),(0,i.jsx)(n.th,{children:"Purpose"}),(0,i.jsx)(n.th,{children:"Output"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"analyze-a"})}),(0,i.jsx)(n.td,{children:"Code analysis A"}),(0,i.jsx)(n.td,{children:"Analysis report"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"analyze-b"})}),(0,i.jsx)(n.td,{children:"Code analysis B"}),(0,i.jsx)(n.td,{children:"Alternative analysis"})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"testing-workflows",children:"Testing Workflows"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Command"}),(0,i.jsx)(n.th,{children:"Purpose"}),(0,i.jsx)(n.th,{children:"Output"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"test-a"})}),(0,i.jsx)(n.td,{children:"Test generation A"}),(0,i.jsx)(n.td,{children:"Test suite A"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"test-b"})}),(0,i.jsx)(n.td,{children:"Test generation B"}),(0,i.jsx)(n.td,{children:"Test suite B"})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"brainstorming-workflows",children:"Brainstorming Workflows"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Command"}),(0,i.jsx)(n.th,{children:"Purpose"}),(0,i.jsx)(n.th,{children:"Output"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"brainstorm-a"})}),(0,i.jsx)(n.td,{children:"Brainstorming A"}),(0,i.jsx)(n.td,{children:"Ideas A"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"brainstorm-with-file"})}),(0,i.jsx)(n.td,{children:"Documented brainstorm"}),(0,i.jsx)(n.td,{children:"brainstorm.md"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"brainstorm-to-cycle"})}),(0,i.jsx)(n.td,{children:"Brainstorm to cycle"}),(0,i.jsx)(n.td,{children:"Actionable cycle"})]})]})]}),"\n",(0,i.jsx)(n.h3,{id:"cleanup-workflows",children:"Cleanup Workflows"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Command"}),(0,i.jsx)(n.th,{children:"Purpose"}),(0,i.jsx)(n.th,{children:"Output"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"clean"})}),(0,i.jsx)(n.td,{children:"Code cleanup"}),(0,i.jsx)(n.td,{children:"Cleaned code"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.strong,{children:"compact"})}),(0,i.jsx)(n.td,{children:"Memory compaction"}),(0,i.jsx)(n.td,{children:"Compressed state"})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"examples-1",children:"Examples"}),"\n",(0,i.jsx)(n.h3,{id:"simple-feature",children:"Simple Feature"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'/codex-coordinator TASK="Add user profile page" --auto-confirm\r\n\r\n# Output:\r\n# Analyzing: "Add user profile page"\r\n# Complexity: Low\r\n# Recommended: lite-plan-a \u2192 execute\r\n# Executing: @~/.codex/prompts/lite-plan-a.md TASK="Add user profile page"\r\n# Executing: @~/.codex/prompts/execute.md\r\n# \u2705 Complete! Session: codex-coord-1738425600000\n'})}),"\n",(0,i.jsx)(n.h3,{id:"complex-feature",children:"Complex Feature"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'/codex-coordinator TASK="Refactor authentication system" --depth=deep\r\n\r\n# Output:\r\n# Analyzing: "Refactor authentication system"\r\n# Complexity: High\r\n# Recommended: plan-a \u2192 execute \u2192 test-a\r\n# Executing: @~/.codex/prompts/plan-a.md --depth=deep\r\n# Executing: @~/.codex/prompts/execute.md\r\n# Executing: @~/.codex/prompts/test-a.md\r\n# \u2705 Complete! Session: codex-coord-1738425600000\n'})}),"\n",(0,i.jsx)(n.h2,{id:"session-management",children:"Session Management"}),"\n",(0,i.jsx)(n.h3,{id:"resume-previous-session",children:"Resume Previous Session"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"# Find session\r\nls .workflow/.codex-coordinator/\r\n\r\n# Load state\r\ncat .workflow/.codex-coordinator/{session-id}/state.json\r\n\r\n# Resume from last completed command\r\n# (Manual continuation based on state)\n"})}),"\n",(0,i.jsx)(n.h2,{id:"related-commands",children:"Related Commands"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"/ccw-coordinator"})," - CCW workflow coordinator"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"@~/.codex/prompts/"})," - Individual Codex commands"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"/ccw"})," - Main CCW workflow coordinator"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"notes",children:"Notes"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Agent-driven"})," workflow - Claude intelligently orchestrates"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"State persistence"})," in ",(0,i.jsx)(n.code,{children:".workflow/.codex-coordinator/"})]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Command chaining"})," with parameter passing"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Resume support"})," from state files"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Depth control"})," for analysis complexity"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Auto-confirm"})," for non-interactive use"]}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}}}]);