mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-26 19:56:37 +08:00
feat: convert all codex agent definitions from .md to .toml format
Convert 20 agent .md files to Codex-native .toml format with proper metadata (name, description, model, sandbox_mode, developer_instructions). Update all 19 skill files to use agent_type references instead of .md file paths. Remove "Read role definition" bootstrapping step from spawn messages since TOML developer_instructions replaces it. Agent format: YAML frontmatter + body → TOML with inline instructions Calling schema: agent: "path.md" → agent_type: "toml_name" Sandbox: read-only for exploration agents, workspace-write for executors Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -269,7 +269,7 @@ console.log(`Session: ${sessionId}`)
|
||||
console.log(`\n## Phase 2: Context Gathering\n`)
|
||||
|
||||
const ctxAgent = spawn_agent({
|
||||
agent: `~/.codex/agents/context-search-agent.md`,
|
||||
agent_type: "context_search_agent",
|
||||
instruction: `
|
||||
Gather implementation context for TDD planning.
|
||||
|
||||
@@ -329,7 +329,7 @@ console.log(` Context gathered. Conflict risk: ${conflictRisk}`)
|
||||
console.log(`\n## Phase 3: Test Coverage Analysis\n`)
|
||||
|
||||
const testAgent = spawn_agent({
|
||||
agent: `~/.codex/agents/cli-explore-agent.md`,
|
||||
agent_type: "cli_explore_agent",
|
||||
instruction: `
|
||||
Analyze test coverage and framework for TDD planning.
|
||||
|
||||
@@ -452,7 +452,7 @@ TASK DESCRIPTION: ${taskDescription}" --tool gemini --mode analysis --rule analy
|
||||
console.log(`\n## Phase 5: TDD Task Generation\n`)
|
||||
|
||||
const planAgent = spawn_agent({
|
||||
agent: `~/.codex/agents/action-planning-agent.md`,
|
||||
agent_type: "action_planning_agent",
|
||||
instruction: `
|
||||
Generate TDD implementation plan with Red-Green-Refactor cycles.
|
||||
|
||||
@@ -628,7 +628,7 @@ if (mode === 'verify' || /* auto-verify from Phase 6 */) {
|
||||
}
|
||||
|
||||
const verifyAgent = spawn_agent({
|
||||
agent: `~/.codex/agents/cli-explore-agent.md`,
|
||||
agent_type: "cli_explore_agent",
|
||||
instruction: `
|
||||
Verify TDD compliance across 4 dimensions.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user