legion-cc 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.3.0
package/bin/install.js CHANGED
@@ -719,7 +719,7 @@ function printSummary() {
719
719
  console.log('');
720
720
  console.log(` ${c(dim, 'To get started:')}`);
721
721
  console.log(` ${c(cyan, '/legion:devops:quick <task>')}`);
722
- console.log(` ${c(cyan, '/legion:devops:architect <task>')}`);
722
+ console.log(` ${c(cyan, '/legion:devops:cycle <task>')}`);
723
723
  console.log(` ${c(cyan, '/legion:status')}`);
724
724
  console.log('');
725
725
  }
package/bin/lib/state.cjs CHANGED
@@ -255,11 +255,11 @@ function initState(planningDir, domain) {
255
255
  lastActivity: `${currentTimestamp('date')} \u2014 initialized`,
256
256
  },
257
257
  currentWork: {
258
- pipeline: 'architect -> plan -> execute -> review',
259
- stage: 'architect',
258
+ pipeline: 'init -> cycle -> quick',
259
+ stage: 'idle',
260
260
  input: '-',
261
261
  lastCompleted: '-',
262
- next: `/legion:${domain || 'devops'}:architect`,
262
+ next: `/legion:${domain || 'devops'}:cycle`,
263
263
  },
264
264
  taskHistory: [],
265
265
  };
@@ -46,7 +46,7 @@ Optional architecture/plan input:
46
46
 
47
47
  Standalone command or first step for new projects:
48
48
  ```
49
- [init] → architect plan → execute → review
49
+ [init] → cycle (or quick)
50
50
  ```
51
51
 
52
- After completion, suggest: `/legion:devops:architect` if architecture needed
52
+ After completion, suggest: `/legion:devops:cycle` for full pipeline, or `/legion:devops:quick` for a single task
@@ -26,8 +26,8 @@ Follow the workflow at @~/.claude/legion/workflows/status.md
26
26
  - Recent task history (last 10 entries)
27
27
  - Last session info
28
28
  4. Route to next action:
29
- - If pipeline in progress → suggest next stage command
30
- - If no active work → suggest `/legion:devops:quick` or `/legion:devops:architect`
29
+ - If pipeline in progress → suggest `/legion:devops:cycle` to continue
30
+ - If no active work → suggest `/legion:devops:quick` or `/legion:devops:cycle`
31
31
  - If no Legion state found → suggest initializing with `/legion:devops:init`
32
32
 
33
33
  ### Display Format
@@ -39,9 +39,9 @@ Follow the workflow at @~/.claude/legion/workflows/status.md
39
39
 
40
40
  Domain: devops
41
41
  Stage: plan (waiting)
42
- Pipeline: architect → [plan] → execute → review
42
+ Pipeline: init → [cycle] → quick
43
43
  Last: 001-architect-eks-migration (done)
44
- Next: /legion:devops:plan
44
+ Next: /legion:devops:cycle
45
45
 
46
46
  ─── Task History ───────────────────────────────
47
47
  | # | Type | Description | Status |
@@ -177,7 +177,7 @@ process.stdin.on('end', () => {
177
177
  const vc = require(path.join(legionHome, 'bin', 'lib', 'version-check.cjs'));
178
178
  const update = vc.checkForUpdate(legionHome);
179
179
  if (update && update.available) {
180
- updateTag = ` \x1b[33m\u2191 v${update.latest}\x1b[0m`;
180
+ updateTag = ` \x1b[33m\u2191 legion v${update.latest}\x1b[0m`;
181
181
 
182
182
  // Add update info to bridge file
183
183
  if (sessionId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legion-cc",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Legion — multi-agent orchestration framework for Claude Code",
5
5
  "type": "commonjs",
6
6
  "main": "bin/legion-tools.cjs",
@@ -6,7 +6,7 @@ Legion commands invoke specialized agents via the Task tool. Each domain defines
6
6
 
7
7
  ## Routing Resolution Order
8
8
 
9
- 1. **Explicit**: User specifies which command to run (e.g., `/legion:devops:architect`)
9
+ 1. **Explicit**: User specifies which command to run (e.g., `/legion:devops:cycle`)
10
10
  2. **Pipeline**: Previous stage determines next agent (architect → planner → executor)
11
11
  3. **Auto-classify**: `/legion:devops:quick` analyzes the task and routes automatically
12
12
 
@@ -5,7 +5,7 @@
5
5
  ### devops-architect
6
6
  - **File**: ~/.claude/agents/devops-architect.md
7
7
  - **Role**: Senior/Lead DevOps Architect (Principal level, 15+ years)
8
- - **Used by**: /legion:devops:architect, /legion:devops:review, /legion:devops:cycle
8
+ - **Used by**: /legion:devops:cycle, /legion:devops:quick (review mode)
9
9
  - **Model**: opus (architect mode), sonnet (review mode)
10
10
  - **Capabilities**: Infrastructure design, architecture review, security assessment, technology evaluation, migration planning, DR/HA design
11
11
  - **Output**: 9-section format (Task Understanding → Next Action)
@@ -13,7 +13,7 @@
13
13
  ### delivery-planner
14
14
  - **File**: ~/.claude/agents/delivery-planner.md
15
15
  - **Role**: Senior Delivery Planner
16
- - **Used by**: /legion:devops:plan, /legion:devops:cycle
16
+ - **Used by**: /legion:devops:cycle
17
17
  - **Model**: sonnet
18
18
  - **Capabilities**: Work decomposition, phased planning, dependency mapping, risk assessment, task definition with full metadata
19
19
  - **Output**: 8-section format (Planning Input → Next Action)
@@ -21,7 +21,7 @@
21
21
  ### infra-executor
22
22
  - **File**: ~/.claude/agents/infra-executor.md
23
23
  - **Role**: Elite Infrastructure Execution Specialist
24
- - **Used by**: /legion:devops:execute, /legion:devops:cycle
24
+ - **Used by**: /legion:devops:cycle, /legion:devops:quick
25
25
  - **Model**: opus
26
26
  - **Capabilities**: Terraform implementation, CI/CD changes, Kubernetes configuration, AWS resource management, validation
27
27
  - **Output**: 7-section format (Execution Context → Next Step)
@@ -12,10 +12,9 @@ architect → plan → execute → review
12
12
 
13
13
  | Scenario | Start From |
14
14
  |----------|-----------|
15
- | New infrastructure design | `/legion:devops:architect` |
16
- | Architecture exists, need plan | `/legion:devops:plan` |
17
- | Plan exists, need implementation | `/legion:devops:execute` |
18
- | Changes made, need validation | `/legion:devops:review` |
15
+ | New infrastructure design | `/legion:devops:cycle` |
16
+ | Complex multi-stage work | `/legion:devops:cycle` |
17
+ | Changes made, need validation | `/legion:devops:quick "review: <task>"` |
19
18
  | New/existing project needs docs | `/legion:devops:init` |
20
19
  | Quick standalone task | `/legion:devops:quick` |
21
20
  | Full end-to-end | `/legion:devops:cycle` |
@@ -32,9 +31,8 @@ Runs: architect → (checkpoint) → plan → (checkpoint) → execute → revie
32
31
  ### Pattern 2: Iterative Design
33
32
  Best when exploring options.
34
33
  ```
35
- /legion:devops:architect "Evaluate options for message queue"
36
- /legion:devops:architect "Refine: use SQS with DLQ pattern"
37
- /legion:devops:plan # uses latest architect output
34
+ /legion:devops:cycle "Evaluate options for message queue"
35
+ /legion:devops:cycle "Refine: use SQS with DLQ pattern"
38
36
  ```
39
37
 
40
38
  ### Pattern 3: Quick Fix
@@ -48,13 +46,13 @@ Auto-routes to infra-executor.
48
46
  Best for existing projects without docs.
49
47
  ```
50
48
  /legion:devops:init # create .legion/codebase/ docs
51
- /legion:devops:architect "migration plan" # now with full context
49
+ /legion:devops:cycle "migration plan" # now with full context
52
50
  ```
53
51
 
54
52
  ### Pattern 5: Review-Only
55
53
  Best for code review or security audit.
56
54
  ```
57
- /legion:devops:review ./aws/modules/rds/
55
+ /legion:devops:quick "review: ./aws/modules/rds/"
58
56
  ```
59
57
 
60
58
  ## Artifact Chain
@@ -19,12 +19,10 @@
19
19
 
20
20
  **Commands**:
21
21
  - `/legion:devops:quick` — Fast context-aware execution
22
- - `/legion:devops:architect` — Architecture design
23
- - `/legion:devops:plan` — Delivery planning
24
- - `/legion:devops:execute` — Infrastructure execution
25
22
  - `/legion:devops:init` — Codebase scaffolding
26
- - `/legion:devops:review` — Architecture review
27
- - `/legion:devops:cycle` — Full pipeline
23
+ - `/legion:devops:cycle` — Full pipeline (architect → plan → execute → review)
24
+ - `/legion:status` — View current state and routing
25
+ - `/legion:resume` — Resume a previous session
28
26
 
29
27
  ## Adding a New Domain
30
28
 
@@ -43,17 +41,14 @@ To register a new domain (e.g., `backend`):
43
41
  ```
44
42
  commands/legion/{domain}/
45
43
  ├── quick.md
46
- ├── {stage1}.md
47
- ├── {stage2}.md
48
- ├── ...
44
+ ├── init.md
49
45
  └── cycle.md
50
46
 
51
47
  workflows/{domain}/
52
48
  ├── quick.md
53
- ├── {stage1}.md
54
- ├── {stage2}.md
55
- ├── ...
56
- └── cycle.md
49
+ ├── init.md
50
+ ├── cycle.md
51
+ └── (internal stage workflows used by cycle)
57
52
  ```
58
53
 
59
54
  Each domain must define:
@@ -5,11 +5,11 @@ Domain: {{domain}}
5
5
  Last activity: {{date}} — Initialized
6
6
 
7
7
  ## Current Work
8
- Pipeline: architect -> plan -> execute -> review
8
+ Pipeline: init -> cycle -> quick
9
9
  Stage: idle
10
10
  Input: —
11
11
  Last completed: —
12
- Next: /legion:{{domain}}:quick or /legion:{{domain}}:architect
12
+ Next: /legion:{{domain}}:quick or /legion:{{domain}}:cycle
13
13
 
14
14
  ## Task History
15
15
 
@@ -54,12 +54,12 @@ Based on the pipeline position, suggest the next command:
54
54
 
55
55
  | Completed | Next Command | Description |
56
56
  |-----------|-------------|-------------|
57
- | architect | `/legion:devops:plan` | Decompose into executable tasks |
58
- | plan | `/legion:devops:execute` | Implement the plan |
59
- | execute | `/legion:devops:review` | Review what was built |
57
+ | architect | `/legion:devops:cycle` | Continue with full pipeline |
58
+ | plan | `/legion:devops:cycle` | Continue with full pipeline |
59
+ | execute | `/legion:devops:quick "review: <task>"` | Review what was built |
60
60
  | review | — | Pipeline complete |
61
61
  | quick | — | Standalone task complete |
62
- | init | `/legion:devops:architect` | Design architecture |
62
+ | init | `/legion:devops:cycle` | Run full pipeline or use quick for a single task |
63
63
 
64
64
  Display:
65
65
  ```
@@ -9,7 +9,7 @@ Execute:
9
9
  node ~/.claude/legion/bin/legion-tools.cjs init <workflow-type> $ARGUMENTS
10
10
  ```
11
11
 
12
- Where `<workflow-type>` is one of: `devops-quick`, `devops-architect`, `devops-plan`, `devops-execute`, `devops-init`, `devops-review`, `devops-cycle`, `status`, `resume`.
12
+ Where `<workflow-type>` is one of: `devops-quick`, `devops-init`, `devops-cycle`, `status`, `resume`.
13
13
 
14
14
  Parse the JSON output. It contains:
15
15
  - `domain` — active domain (e.g., "devops")
@@ -74,7 +74,7 @@ Capture the architect's output.
74
74
  Follow @~/.claude/legion/workflows/core/completion.md
75
75
 
76
76
  - Save artifact as `{NNN}-architect-{slug}.md`
77
- - Update STATE.md: stage → "plan", next → "/legion:devops:plan"
77
+ - Update STATE.md: stage → "cycle", next → "/legion:devops:cycle"
78
78
  - Display completion:
79
79
 
80
80
  ```
@@ -85,7 +85,7 @@ Follow @~/.claude/legion/workflows/core/completion.md
85
85
  Artifact: .legion/planning/devops/{NNN}-architect-{slug}.md
86
86
 
87
87
  ───────────────────────────────────────────────
88
- ► Next: /legion:devops:plan
89
- Decompose this architecture into executable tasks
88
+ ► Next: /legion:devops:cycle
89
+ Run the full pipeline to plan, execute, and review
90
90
  ───────────────────────────────────────────────
91
91
  ```
@@ -3,7 +3,7 @@
3
3
  Invoke the infra-executor agent to implement tasks from a delivery plan.
4
4
 
5
5
  ## Prerequisites
6
- - Plan output must exist (from /legion:devops:plan or provided via $ARGUMENTS)
6
+ - Plan output must exist (from /legion:devops:cycle or provided via $ARGUMENTS)
7
7
 
8
8
  ## Workflow
9
9
 
@@ -38,10 +38,10 @@ If no plan found:
38
38
  ⚠ No plan found.
39
39
 
40
40
  To create a plan first, run:
41
- /legion:devops:plan
41
+ /legion:devops:cycle <task description>
42
42
 
43
43
  Or provide a path:
44
- /legion:devops:execute /path/to/plan.md
44
+ /legion:devops:cycle /path/to/plan.md
45
45
  ```
46
46
  STOP — do not proceed without input.
47
47
 
@@ -98,7 +98,7 @@ Capture the executor's output. Check the reported status:
98
98
  Follow @~/.claude/legion/workflows/core/completion.md
99
99
 
100
100
  - Save artifact as `{NNN}-execution-{slug}.md`
101
- - Update STATE.md: stage → "review", next → "/legion:devops:review"
101
+ - Update STATE.md: stage → "done", next → "/legion:devops:quick"
102
102
  - If PARTIAL: keep stage as "execute", note remaining tasks
103
103
  - Display completion:
104
104
 
@@ -112,7 +112,7 @@ Status: {DONE|PARTIAL|BLOCKED}
112
112
  Tasks: {N completed / M total}
113
113
 
114
114
  ───────────────────────────────────────────────
115
- ► Next: /legion:devops:review
115
+ ► Next: /legion:devops:quick "review: <description>"
116
116
  Review the executed changes
117
117
  ───────────────────────────────────────────────
118
118
  ```
@@ -86,7 +86,7 @@ Artifact: .legion/planning/devops/{NNN}-init-{slug}.md
86
86
  Created: {list of files/dirs created}
87
87
 
88
88
  ───────────────────────────────────────────────
89
- ► Next: /legion:devops:architect
90
- Design the architecture for this project
89
+ ► Next: /legion:devops:cycle
90
+ Run the full pipeline for this project
91
91
  ───────────────────────────────────────────────
92
92
  ```
@@ -3,7 +3,7 @@
3
3
  Invoke the delivery-planner agent to decompose architecture into an executable implementation plan.
4
4
 
5
5
  ## Prerequisites
6
- - Architect output must exist (from /legion:devops:architect or provided via $ARGUMENTS)
6
+ - Architect output must exist (from /legion:devops:cycle or provided via $ARGUMENTS)
7
7
 
8
8
  ## Workflow
9
9
 
@@ -37,10 +37,10 @@ If no architect output found:
37
37
  ⚠ No architect output found.
38
38
 
39
39
  To create architecture first, run:
40
- /legion:devops:architect <task description>
40
+ /legion:devops:cycle <task description>
41
41
 
42
42
  Or provide a path to an existing architecture document:
43
- /legion:devops:plan /path/to/architecture.md
43
+ /legion:devops:cycle /path/to/architecture.md
44
44
  ```
45
45
  STOP here — do not proceed without input.
46
46
 
@@ -90,7 +90,7 @@ Capture the planner's output.
90
90
  Follow @~/.claude/legion/workflows/core/completion.md
91
91
 
92
92
  - Save artifact as `{NNN}-plan-{slug}.md`
93
- - Update STATE.md: stage → "execute", next → "/legion:devops:execute"
93
+ - Update STATE.md: stage → "cycle", next → "/legion:devops:cycle"
94
94
  - Display completion:
95
95
 
96
96
  ```
@@ -102,7 +102,7 @@ Artifact: .legion/planning/devops/{NNN}-plan-{slug}.md
102
102
  Tasks: {N tasks across M phases}
103
103
 
104
104
  ───────────────────────────────────────────────
105
- ► Next: /legion:devops:execute
106
- Execute the implementation plan
105
+ ► Next: /legion:devops:cycle
106
+ Continue with the full pipeline
107
107
  ───────────────────────────────────────────────
108
108
  ```
@@ -36,10 +36,10 @@ If nothing to review:
36
36
  ⚠ Nothing to review.
37
37
 
38
38
  Provide a path to review:
39
- /legion:devops:review /path/to/file-or-directory
39
+ /legion:devops:quick "review: /path/to/file-or-directory"
40
40
 
41
- Or run the execution step first:
42
- /legion:devops:execute
41
+ Or run the full pipeline first:
42
+ /legion:devops:cycle <task description>
43
43
  ```
44
44
 
45
45
  ### Step 4: Spawn Reviewer Agent
@@ -108,5 +108,5 @@ Findings: {N critical, M warnings, K info}
108
108
 
109
109
  Pipeline complete. Ready for new tasks:
110
110
  /legion:devops:quick <new task>
111
- /legion:devops:architect <new architecture>
111
+ /legion:devops:cycle <new architecture task>
112
112
  ```
@@ -27,7 +27,7 @@ If no state found:
27
27
 
28
28
  Nothing to resume. Start fresh:
29
29
  /legion:devops:quick <task>
30
- /legion:devops:architect <task>
30
+ /legion:devops:cycle <task>
31
31
  ```
32
32
  STOP here.
33
33
 
@@ -70,11 +70,19 @@ Based on state analysis:
70
70
 
71
71
  | Situation | Action |
72
72
  |-----------|--------|
73
- | Pipeline has next stage | Suggest `/legion:devops:{next_stage}` |
74
- | Execution was PARTIAL | Suggest `/legion:devops:execute --task {next_task}` |
73
+ | Pipeline has next stage | Suggest `/legion:devops:cycle` (map any stale next: architect/plan/execute/review → cycle) |
74
+ | Execution was PARTIAL | Suggest `/legion:devops:cycle` (re-enter at the appropriate phase) |
75
75
  | Execution was BLOCKED | Display blocker, suggest resolution |
76
76
  | Pipeline complete | Suggest `/legion:devops:quick <new task>` |
77
77
 
78
+ **Legacy next: mapping** — if STATE.md contains a removed command, remap:
79
+ | Legacy value | Map to |
80
+ |-------------|--------|
81
+ | `/legion:devops:architect` | `/legion:devops:cycle` |
82
+ | `/legion:devops:plan` | `/legion:devops:cycle` |
83
+ | `/legion:devops:execute` | `/legion:devops:cycle` |
84
+ | `/legion:devops:review` | `/legion:devops:quick "review: <task>"` |
85
+
78
86
  Display:
79
87
  ```
80
88
  ───────────────────────────────────────────────
@@ -54,7 +54,7 @@ Artifacts: {count} in .legion/planning/{domain}/
54
54
  To get started:
55
55
  /legion:devops:quick <task> — Fast task execution with context
56
56
  /legion:devops:init — Scaffold project and create .legion/codebase/ docs
57
- /legion:devops:architect <task> Start with architecture design
57
+ /legion:devops:cycle <task> Run the full pipeline (architect → plan → execute → review)
58
58
  ```
59
59
 
60
60
  ### Step 3: Route
@@ -64,9 +64,9 @@ Based on current state, suggest the most appropriate next action.
64
64
  Pipeline routing:
65
65
  | Current Stage | Suggested Next |
66
66
  |--------------|----------------|
67
- | architect (done) | `/legion:devops:plan` |
68
- | plan (done) | `/legion:devops:execute` |
69
- | execute (done) | `/legion:devops:review` |
67
+ | architect (done) | `/legion:devops:cycle` |
68
+ | plan (done) | `/legion:devops:cycle` |
69
+ | execute (done) | `/legion:devops:quick "review: <task>"` |
70
70
  | review (done) | `/legion:devops:quick <new task>` |
71
71
  | any (in-progress) | `/legion:resume` |
72
72
  | no state | `/legion:devops:quick` or `/legion:devops:init` |
@@ -1,44 +0,0 @@
1
- ---
2
- name: legion:devops:architect
3
- description: "Design infrastructure architecture with devops-architect agent — creates architecture documents in .legion/planning/devops/"
4
- argument-hint: "<architecture task description>"
5
- allowed-tools:
6
- - Read
7
- - Write
8
- - Edit
9
- - Glob
10
- - Grep
11
- - Bash
12
- - Task
13
- - WebSearch
14
- - WebFetch
15
- ---
16
-
17
- # Legion DevOps Architect
18
-
19
- Invoke the devops-architect agent to design infrastructure architecture.
20
-
21
- ## Execution
22
-
23
- Follow the workflow at @~/.claude/legion/workflows/devops/architect.md
24
-
25
- ### Quick Reference
26
-
27
- **Initialization**: @~/.claude/legion/workflows/core/init.md
28
- **Context Loading**: @~/.claude/legion/workflows/core/context-load.md
29
- **Completion**: @~/.claude/legion/workflows/core/completion.md
30
-
31
- ### Agent Details
32
-
33
- - **Agent**: devops-architect
34
- - **subagent_type**: devops-architect
35
- - **Model**: opus
36
- - **Role**: Senior/Lead DevOps Architect — designs reliable, scalable, secure infrastructure
37
-
38
- ### Pipeline Position
39
-
40
- ```
41
- [architect] → plan → execute → review
42
- ```
43
-
44
- After completion, suggest: `/legion:devops:plan`
@@ -1,52 +0,0 @@
1
- ---
2
- name: legion:devops:execute
3
- description: "Execute infrastructure plan with infra-executor agent — implements tasks from delivery plan"
4
- argument-hint: "[path-to-plan] [--task T1]"
5
- allowed-tools:
6
- - Read
7
- - Write
8
- - Edit
9
- - Glob
10
- - Grep
11
- - Bash
12
- - Task
13
- - WebSearch
14
- - WebFetch
15
- ---
16
-
17
- # Legion DevOps Execute
18
-
19
- Invoke the infra-executor agent to implement infrastructure changes from a plan.
20
-
21
- ## Execution
22
-
23
- Follow the workflow at @~/.claude/legion/workflows/devops/execute.md
24
-
25
- ### Quick Reference
26
-
27
- **Initialization**: @~/.claude/legion/workflows/core/init.md
28
- **Context Loading**: @~/.claude/legion/workflows/core/context-load.md
29
- **Completion**: @~/.claude/legion/workflows/core/completion.md
30
-
31
- ### Agent Details
32
-
33
- - **Agent**: infra-executor
34
- - **subagent_type**: infra-executor
35
- - **Model**: opus
36
- - **Role**: Elite Infrastructure Execution Specialist — implements plans with surgical precision
37
-
38
- ### Input
39
-
40
- Requires plan output. Will:
41
- 1. Check $ARGUMENTS for explicit path to plan
42
- 2. If `--task T1` provided, execute only that specific task
43
- 3. If not provided, find latest plan artifact from STATE.md
44
- 4. If no plan found, warn and ask user
45
-
46
- ### Pipeline Position
47
-
48
- ```
49
- architect → plan → [execute] → review
50
- ```
51
-
52
- After completion, suggest: `/legion:devops:review`
@@ -1,51 +0,0 @@
1
- ---
2
- name: legion:devops:plan
3
- description: "Decompose architecture into executable implementation plan with delivery-planner agent"
4
- argument-hint: "[path-to-architect-output]"
5
- allowed-tools:
6
- - Read
7
- - Write
8
- - Edit
9
- - Glob
10
- - Grep
11
- - Bash
12
- - Task
13
- - WebSearch
14
- - WebFetch
15
- ---
16
-
17
- # Legion DevOps Plan
18
-
19
- Invoke the delivery-planner agent to decompose an architecture into executable tasks.
20
-
21
- ## Execution
22
-
23
- Follow the workflow at @~/.claude/legion/workflows/devops/plan.md
24
-
25
- ### Quick Reference
26
-
27
- **Initialization**: @~/.claude/legion/workflows/core/init.md
28
- **Context Loading**: @~/.claude/legion/workflows/core/context-load.md
29
- **Completion**: @~/.claude/legion/workflows/core/completion.md
30
-
31
- ### Agent Details
32
-
33
- - **Agent**: delivery-planner
34
- - **subagent_type**: delivery-planner
35
- - **Model**: sonnet
36
- - **Role**: Senior Delivery Planner — transforms architecture into phased implementation plans
37
-
38
- ### Input
39
-
40
- Requires architect output. Will:
41
- 1. Check $ARGUMENTS for explicit path to architect output
42
- 2. If not provided, find latest architect artifact from STATE.md
43
- 3. If no architect output found, warn and ask user
44
-
45
- ### Pipeline Position
46
-
47
- ```
48
- architect → [plan] → execute → review
49
- ```
50
-
51
- After completion, suggest: `/legion:devops:execute`
@@ -1,52 +0,0 @@
1
- ---
2
- name: legion:devops:review
3
- description: "Review infrastructure architecture or executed changes against architectural intent"
4
- argument-hint: "[path-to-review-target]"
5
- allowed-tools:
6
- - Read
7
- - Write
8
- - Edit
9
- - Glob
10
- - Grep
11
- - Bash
12
- - Task
13
- - WebSearch
14
- - WebFetch
15
- ---
16
-
17
- # Legion DevOps Review
18
-
19
- Invoke the devops-architect agent in review mode to validate implemented changes.
20
-
21
- ## Execution
22
-
23
- Follow the workflow at @~/.claude/legion/workflows/devops/review.md
24
-
25
- ### Quick Reference
26
-
27
- **Initialization**: @~/.claude/legion/workflows/core/init.md
28
- **Context Loading**: @~/.claude/legion/workflows/core/context-load.md
29
- **Completion**: @~/.claude/legion/workflows/core/completion.md
30
-
31
- ### Agent Details
32
-
33
- - **Agent**: devops-architect (in review mode)
34
- - **subagent_type**: devops-architect
35
- - **Model**: sonnet
36
- - **Role**: Architecture Reviewer — validates changes against design intent
37
-
38
- ### Input
39
-
40
- Review target resolution:
41
- 1. Check $ARGUMENTS for explicit path to review
42
- 2. If not provided, find latest execution artifact from STATE.md
43
- 3. Also loads original architect output for comparison
44
- 4. Can review arbitrary code/config when path provided
45
-
46
- ### Pipeline Position
47
-
48
- ```
49
- architect → plan → execute → [review]
50
- ```
51
-
52
- Pipeline terminal step. After completion, suggest next cycle or standalone tasks.