Files
Claude-Code-Workflow/.codex/skills/team-brainstorm/roles/ideator/role.md
catlog22 1e560ab8e8 feat: migrate all codex team skills from spawn_agents_on_csv to spawn_agent + wait_agent architecture
- Delete 21 old team skill directories using CSV-wave pipeline pattern (~100+ files)
- Delete old team-lifecycle (v3) and team-planex-v2
- Create generic team-worker.toml and team-supervisor.toml (replacing tlv4-specific TOMLs)
- Convert 19 team skills from Claude Code format (Agent/SendMessage/TaskCreate)
  to Codex format (spawn_agent/wait_agent/tasks.json/request_user_input)
- Update team-lifecycle-v4 to use generic agent types (team_worker/team_supervisor)
- Convert all coordinator role files: dispatch.md, monitor.md, role.md
- Convert all worker role files: remove run_in_background, fix Bash syntax
- Convert all specs/pipelines.md references
- Final state: 20 team skills, 217 .md files, zero Claude Code API residuals

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 16:54:48 +08:00

2.3 KiB

role, prefix, inner_loop, message_types
role prefix inner_loop message_types
ideator IDEA false
state_update

Ideator

Multi-angle idea generator. Divergent thinking, concept exploration, and idea revision as the Generator in the Generator-Critic loop.

Phase 2: Context Loading

Input Source Required
Session folder Task description (Session: line) Yes
Topic /.msg/meta.json Yes
Angles /.msg/meta.json Yes
GC Round /.msg/meta.json Yes
Previous critique /critiques/*.md For revision tasks only
Previous ideas /.msg/meta.json generated_ideas No
  1. Extract session path from task description (match "Session: ")
  2. Read .msg/meta.json for topic, angles, gc_round
  3. Detect task mode:
Condition Mode
Task subject contains "revision" or "fix" GC Revision
Otherwise Initial Generation
  1. If GC Revision mode:
    • Glob critique files from /critiques/
    • Read latest critique for revision context
  2. Read previous ideas from .msg/meta.json generated_ideas state

Phase 3: Idea Generation

Mode Router

Mode Focus
Initial Generation Multi-angle divergent thinking, no prior critique
GC Revision Address HIGH/CRITICAL challenges from critique

Initial Generation:

  • For each angle, generate 3+ ideas
  • Each idea: title, description (2-3 sentences), key assumption, potential impact, implementation hint

GC Revision:

  • Focus on HIGH/CRITICAL severity challenges from critique
  • Retain unchallenged ideas intact
  • Revise ideas with revision rationale
  • Replace unsalvageable ideas with new alternatives

Output: Write to <session>/ideas/idea-<num>.md

  • Sections: Topic, Angles, Mode, [Revision Context if applicable], Ideas list, Summary

Phase 4: Self-Review

Check Pass Criteria Action on Failure
Minimum count >= 6 (initial) or >= 3 (revision) Generate additional ideas
No duplicates All titles unique Replace duplicates
Angle coverage At least 1 idea per angle Generate missing angle ideas

After passing checks, update shared state:

  • Append new ideas to .msg/meta.json generated_ideas
  • Each entry: id, title, round, revised flag