claude-code-workflow 7.2.23 → 7.2.25
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/.ccw/workflows/cli-tools-usage.md +123 -521
- package/.claude/skills/brainstorm/SKILL.md +408 -408
- package/.claude/skills/review-cycle/SKILL.md +132 -132
- package/.claude/skills/spec-generator/SKILL.md +1 -1
- package/.claude/skills/team-designer/phases/02-scaffold-generation.md +1 -1
- package/.claude/skills/team-lifecycle-v4/SKILL.md +1 -1
- package/.claude/skills/team-review/SKILL.md +1 -1
- package/.claude/skills/team-ultra-analyze/SKILL.md +1 -1
- package/.claude/skills/workflow-multi-cli-plan/SKILL.md +1 -1
- package/.claude/skills/workflow-plan/SKILL.md +1 -1
- package/.claude/skills/workflow-test-fix/SKILL.md +1 -1
- package/.codex/skills/analyze-with-file/SKILL.md +966 -966
- package/.codex/skills/issue-discover/SKILL.md +361 -361
- package/.codex/skills/review-cycle/SKILL.md +1 -1
- package/.codex/skills/roadmap-with-file/SKILL.md +901 -901
- package/.codex/skills/spec-generator/SKILL.md +425 -425
- package/.codex/skills/spec-setup/SKILL.md +669 -669
- package/.codex/skills/team-arch-opt/SKILL.md +242 -175
- package/.codex/skills/team-arch-opt/roles/analyzer/role.md +78 -78
- package/.codex/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.codex/skills/team-arch-opt/roles/coordinator/commands/monitor.md +246 -204
- package/.codex/skills/team-arch-opt/roles/coordinator/role.md +196 -184
- package/.codex/skills/team-arch-opt/roles/designer/role.md +115 -115
- package/.codex/skills/team-arch-opt/roles/refactorer/role.md +102 -102
- package/.codex/skills/team-arch-opt/roles/reviewer/role.md +111 -111
- package/.codex/skills/team-arch-opt/roles/validator/role.md +115 -115
- package/.codex/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.codex/skills/team-brainstorm/SKILL.md +72 -4
- package/.codex/skills/team-brainstorm/roles/challenger/role.md +61 -61
- package/.codex/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.codex/skills/team-brainstorm/roles/coordinator/commands/monitor.md +212 -171
- package/.codex/skills/team-brainstorm/roles/coordinator/role.md +172 -160
- package/.codex/skills/team-brainstorm/roles/evaluator/role.md +56 -56
- package/.codex/skills/team-brainstorm/roles/ideator/role.md +69 -69
- package/.codex/skills/team-brainstorm/roles/synthesizer/role.md +57 -57
- package/.codex/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.codex/skills/team-coordinate/SKILL.md +71 -3
- package/.codex/skills/team-coordinate/roles/coordinator/commands/monitor.md +45 -5
- package/.codex/skills/team-coordinate/roles/coordinator/role.md +402 -389
- package/.codex/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.codex/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.codex/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.codex/skills/team-designer/SKILL.md +153 -153
- package/.codex/skills/team-designer/phases/01-requirements-analysis.md +250 -250
- package/.codex/skills/team-designer/phases/02-scaffold-generation.md +228 -228
- package/.codex/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.codex/skills/team-designer/phases/04-validation.md +320 -320
- package/.codex/skills/team-executor/SKILL.md +29 -2
- package/.codex/skills/team-executor/roles/executor/commands/monitor.md +23 -15
- package/.codex/skills/team-frontend/SKILL.md +77 -3
- package/.codex/skills/team-frontend/roles/analyst/role.md +92 -92
- package/.codex/skills/team-frontend/roles/architect/role.md +86 -86
- package/.codex/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.codex/skills/team-frontend/roles/coordinator/commands/monitor.md +222 -188
- package/.codex/skills/team-frontend/roles/coordinator/role.md +189 -177
- package/.codex/skills/team-frontend/roles/developer/role.md +93 -93
- package/.codex/skills/team-frontend/roles/qa/role.md +79 -79
- package/.codex/skills/team-frontend/specs/pipelines.md +76 -76
- package/.codex/skills/team-frontend-debug/SKILL.md +66 -3
- package/.codex/skills/team-frontend-debug/roles/analyzer/role.md +208 -208
- package/.codex/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.codex/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +198 -198
- package/.codex/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +177 -143
- package/.codex/skills/team-frontend-debug/roles/coordinator/role.md +164 -152
- package/.codex/skills/team-frontend-debug/roles/fixer/role.md +147 -147
- package/.codex/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
- package/.codex/skills/team-frontend-debug/roles/tester/role.md +231 -231
- package/.codex/skills/team-frontend-debug/roles/verifier/role.md +172 -172
- package/.codex/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.codex/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.codex/skills/team-issue/SKILL.md +83 -4
- package/.codex/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.codex/skills/team-issue/roles/coordinator/commands/dispatch.md +273 -273
- package/.codex/skills/team-issue/roles/coordinator/commands/monitor.md +235 -194
- package/.codex/skills/team-issue/roles/coordinator/role.md +206 -194
- package/.codex/skills/team-issue/roles/explorer/role.md +94 -94
- package/.codex/skills/team-issue/roles/implementer/role.md +87 -87
- package/.codex/skills/team-issue/roles/integrator/role.md +84 -84
- package/.codex/skills/team-issue/roles/planner/role.md +81 -81
- package/.codex/skills/team-issue/roles/reviewer/role.md +86 -86
- package/.codex/skills/team-issue/specs/pipelines.md +124 -124
- package/.codex/skills/team-lifecycle-v4/MIGRATION-PLAN.md +6 -6
- package/.codex/skills/team-lifecycle-v4/SKILL.md +305 -242
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +1 -1
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +66 -24
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/role.md +13 -1
- package/.codex/skills/team-lifecycle-v4/roles/supervisor/role.md +1 -1
- package/.codex/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.codex/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.codex/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.codex/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.codex/skills/team-perf-opt/SKILL.md +68 -3
- package/.codex/skills/team-perf-opt/roles/benchmarker/role.md +89 -89
- package/.codex/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.codex/skills/team-perf-opt/roles/coordinator/commands/monitor.md +35 -1
- package/.codex/skills/team-perf-opt/roles/coordinator/role.md +179 -167
- package/.codex/skills/team-perf-opt/roles/optimizer/role.md +97 -97
- package/.codex/skills/team-perf-opt/roles/profiler/role.md +73 -73
- package/.codex/skills/team-perf-opt/roles/reviewer/role.md +75 -75
- package/.codex/skills/team-perf-opt/roles/strategist/role.md +94 -94
- package/.codex/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.codex/skills/team-planex/SKILL.md +65 -3
- package/.codex/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.codex/skills/team-planex/roles/coordinator/commands/monitor.md +210 -164
- package/.codex/skills/team-planex/roles/coordinator/role.md +171 -159
- package/.codex/skills/team-planex/roles/executor/role.md +91 -91
- package/.codex/skills/team-planex/roles/planner/role.md +112 -112
- package/.codex/skills/team-planex/specs/pipelines.md +93 -93
- package/.codex/skills/team-quality-assurance/SKILL.md +60 -3
- package/.codex/skills/team-quality-assurance/roles/analyst/role.md +80 -80
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +108 -108
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +243 -209
- package/.codex/skills/team-quality-assurance/roles/coordinator/role.md +176 -164
- package/.codex/skills/team-quality-assurance/roles/executor/role.md +66 -66
- package/.codex/skills/team-quality-assurance/roles/generator/role.md +68 -68
- package/.codex/skills/team-quality-assurance/roles/scout/role.md +67 -67
- package/.codex/skills/team-quality-assurance/roles/strategist/role.md +71 -71
- package/.codex/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.codex/skills/team-review/SKILL.md +58 -3
- package/.codex/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.codex/skills/team-review/roles/coordinator/commands/dispatch.md +90 -90
- package/.codex/skills/team-review/roles/coordinator/commands/monitor.md +225 -185
- package/.codex/skills/team-review/roles/coordinator/role.md +175 -163
- package/.codex/skills/team-review/roles/fixer/role.md +76 -76
- package/.codex/skills/team-review/roles/reviewer/role.md +68 -68
- package/.codex/skills/team-review/roles/scanner/role.md +71 -71
- package/.codex/skills/team-review/specs/pipelines.md +102 -102
- package/.codex/skills/team-roadmap-dev/SKILL.md +55 -3
- package/.codex/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.codex/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +502 -468
- package/.codex/skills/team-roadmap-dev/roles/coordinator/role.md +335 -322
- package/.codex/skills/team-roadmap-dev/roles/executor/role.md +71 -71
- package/.codex/skills/team-roadmap-dev/roles/planner/role.md +76 -76
- package/.codex/skills/team-roadmap-dev/roles/verifier/role.md +74 -74
- package/.codex/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.codex/skills/team-tech-debt/SKILL.md +56 -3
- package/.codex/skills/team-tech-debt/roles/assessor/role.md +69 -69
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/monitor.md +272 -231
- package/.codex/skills/team-tech-debt/roles/coordinator/role.md +172 -160
- package/.codex/skills/team-tech-debt/roles/executor/role.md +76 -76
- package/.codex/skills/team-tech-debt/roles/planner/role.md +69 -69
- package/.codex/skills/team-tech-debt/roles/scanner/role.md +82 -82
- package/.codex/skills/team-tech-debt/roles/validator/role.md +75 -75
- package/.codex/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.codex/skills/team-testing/SKILL.md +72 -3
- package/.codex/skills/team-testing/roles/analyst/role.md +95 -95
- package/.codex/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.codex/skills/team-testing/roles/coordinator/commands/dispatch.md +106 -106
- package/.codex/skills/team-testing/roles/coordinator/commands/monitor.md +283 -242
- package/.codex/skills/team-testing/roles/coordinator/role.md +184 -172
- package/.codex/skills/team-testing/roles/executor/role.md +96 -96
- package/.codex/skills/team-testing/roles/generator/role.md +95 -95
- package/.codex/skills/team-testing/roles/strategist/role.md +83 -83
- package/.codex/skills/team-testing/specs/pipelines.md +101 -101
- package/.codex/skills/team-uidesign/SKILL.md +65 -3
- package/.codex/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.codex/skills/team-uidesign/roles/coordinator/commands/dispatch.md +156 -156
- package/.codex/skills/team-uidesign/roles/coordinator/commands/monitor.md +234 -194
- package/.codex/skills/team-uidesign/roles/coordinator/role.md +211 -199
- package/.codex/skills/team-uidesign/roles/designer/role.md +69 -69
- package/.codex/skills/team-uidesign/roles/implementer/role.md +72 -72
- package/.codex/skills/team-uidesign/roles/researcher/role.md +82 -82
- package/.codex/skills/team-uidesign/roles/reviewer/role.md +67 -67
- package/.codex/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.codex/skills/team-ultra-analyze/SKILL.md +73 -3
- package/.codex/skills/team-ultra-analyze/roles/analyst/role.md +90 -90
- package/.codex/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.codex/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +50 -9
- package/.codex/skills/team-ultra-analyze/roles/coordinator/role.md +255 -243
- package/.codex/skills/team-ultra-analyze/roles/discussant/role.md +104 -104
- package/.codex/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
- package/.codex/skills/team-ultra-analyze/roles/synthesizer/role.md +78 -78
- package/.codex/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.codex/skills/team-ux-improve/SKILL.md +64 -3
- package/.codex/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.codex/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +233 -233
- package/.codex/skills/team-ux-improve/roles/coordinator/commands/monitor.md +195 -160
- package/.codex/skills/team-ux-improve/roles/coordinator/role.md +170 -158
- package/.codex/skills/team-ux-improve/roles/designer/role.md +122 -122
- package/.codex/skills/team-ux-improve/roles/diagnoser/role.md +93 -93
- package/.codex/skills/team-ux-improve/roles/explorer/role.md +77 -77
- package/.codex/skills/team-ux-improve/roles/implementer/role.md +102 -102
- package/.codex/skills/team-ux-improve/roles/scanner/role.md +93 -93
- package/.codex/skills/team-ux-improve/roles/tester/role.md +84 -84
- package/.codex/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.codex/skills/workflow-test-fix-cycle/SKILL.md +402 -402
- package/README.md +1 -0
- package/package.json +1 -1
- package/.claude/skills/team-iterdev/SKILL.md +0 -127
- package/.claude/skills/team-iterdev/roles/architect/role.md +0 -65
- package/.claude/skills/team-iterdev/roles/coordinator/commands/analyze.md +0 -62
- package/.claude/skills/team-iterdev/roles/coordinator/commands/dispatch.md +0 -234
- package/.claude/skills/team-iterdev/roles/coordinator/commands/monitor.md +0 -182
- package/.claude/skills/team-iterdev/roles/coordinator/role.md +0 -153
- package/.claude/skills/team-iterdev/roles/developer/role.md +0 -74
- package/.claude/skills/team-iterdev/roles/reviewer/role.md +0 -66
- package/.claude/skills/team-iterdev/roles/tester/role.md +0 -88
- package/.claude/skills/team-iterdev/specs/pipelines.md +0 -94
- package/.claude/skills/team-iterdev/specs/team-config.json +0 -172
- package/.codex/skills/team-iterdev/SKILL.md +0 -158
- package/.codex/skills/team-iterdev/roles/architect/role.md +0 -65
- package/.codex/skills/team-iterdev/roles/coordinator/commands/analyze.md +0 -62
- package/.codex/skills/team-iterdev/roles/coordinator/commands/dispatch.md +0 -187
- package/.codex/skills/team-iterdev/roles/coordinator/commands/monitor.md +0 -186
- package/.codex/skills/team-iterdev/roles/coordinator/role.md +0 -181
- package/.codex/skills/team-iterdev/roles/developer/role.md +0 -74
- package/.codex/skills/team-iterdev/roles/reviewer/role.md +0 -66
- package/.codex/skills/team-iterdev/roles/tester/role.md +0 -88
- package/.codex/skills/team-iterdev/specs/pipelines.md +0 -94
- package/.codex/skills/team-iterdev/specs/team-config.json +0 -172
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
---
|
|
2
|
-
role: challenger
|
|
3
|
-
prefix: CHALLENGE
|
|
4
|
-
inner_loop: false
|
|
5
|
-
message_types: [state_update]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Challenger
|
|
9
|
-
|
|
10
|
-
Devil's advocate role. Assumption challenging, feasibility questioning, risk identification. Acts as the Critic in the Generator-Critic loop.
|
|
11
|
-
|
|
12
|
-
## Phase 2: Context Loading
|
|
13
|
-
|
|
14
|
-
| Input | Source | Required |
|
|
15
|
-
|-------|--------|----------|
|
|
16
|
-
| Session folder | Task description (Session: line) | Yes |
|
|
17
|
-
| Ideas | <session>/ideas/*.md files | Yes |
|
|
18
|
-
| Previous critiques | <session>/.msg/meta.json critique_insights | No |
|
|
19
|
-
|
|
20
|
-
1. Extract session path from task description (match "Session: <path>")
|
|
21
|
-
2. Glob idea files from <session>/ideas/
|
|
22
|
-
3. Read all idea files for analysis
|
|
23
|
-
4. Read .msg/meta.json critique_insights to avoid repeating past challenges
|
|
24
|
-
|
|
25
|
-
## Phase 3: Critical Analysis
|
|
26
|
-
|
|
27
|
-
**Challenge Dimensions** (apply to each idea):
|
|
28
|
-
|
|
29
|
-
| Dimension | Focus |
|
|
30
|
-
|-----------|-------|
|
|
31
|
-
| Assumption Validity | Does the core assumption hold? Counter-examples? |
|
|
32
|
-
| Feasibility | Technical/resource/time feasibility? |
|
|
33
|
-
| Risk Assessment | Worst case scenario? Hidden risks? |
|
|
34
|
-
| Competitive Analysis | Better alternatives already exist? |
|
|
35
|
-
|
|
36
|
-
**Severity Classification**:
|
|
37
|
-
|
|
38
|
-
| Severity | Criteria |
|
|
39
|
-
|----------|----------|
|
|
40
|
-
| CRITICAL | Fundamental issue, idea may need replacement |
|
|
41
|
-
| HIGH | Significant flaw, requires revision |
|
|
42
|
-
| MEDIUM | Notable weakness, needs consideration |
|
|
43
|
-
| LOW | Minor concern, does not invalidate the idea |
|
|
44
|
-
|
|
45
|
-
**Generator-Critic Signal**:
|
|
46
|
-
|
|
47
|
-
| Condition | Signal |
|
|
48
|
-
|-----------|--------|
|
|
49
|
-
| Any CRITICAL or HIGH severity | REVISION_NEEDED |
|
|
50
|
-
| All MEDIUM or lower | CONVERGED |
|
|
51
|
-
|
|
52
|
-
**Output**: Write to `<session>/critiques/critique-<num>.md`
|
|
53
|
-
- Sections: Ideas Reviewed, Per-idea challenges with severity, Summary table with counts, GC Signal
|
|
54
|
-
|
|
55
|
-
## Phase 4: Severity Summary
|
|
56
|
-
|
|
57
|
-
1. Count challenges by severity level
|
|
58
|
-
2. Determine signal: REVISION_NEEDED if critical+high > 0, else CONVERGED
|
|
59
|
-
3. Update shared state:
|
|
60
|
-
- Append challenges to .msg/meta.json critique_insights
|
|
61
|
-
- Each entry: idea, severity, key_challenge, round
|
|
1
|
+
---
|
|
2
|
+
role: challenger
|
|
3
|
+
prefix: CHALLENGE
|
|
4
|
+
inner_loop: false
|
|
5
|
+
message_types: [state_update]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Challenger
|
|
9
|
+
|
|
10
|
+
Devil's advocate role. Assumption challenging, feasibility questioning, risk identification. Acts as the Critic in the Generator-Critic loop.
|
|
11
|
+
|
|
12
|
+
## Phase 2: Context Loading
|
|
13
|
+
|
|
14
|
+
| Input | Source | Required |
|
|
15
|
+
|-------|--------|----------|
|
|
16
|
+
| Session folder | Task description (Session: line) | Yes |
|
|
17
|
+
| Ideas | <session>/ideas/*.md files | Yes |
|
|
18
|
+
| Previous critiques | <session>/.msg/meta.json critique_insights | No |
|
|
19
|
+
|
|
20
|
+
1. Extract session path from task description (match "Session: <path>")
|
|
21
|
+
2. Glob idea files from <session>/ideas/
|
|
22
|
+
3. Read all idea files for analysis
|
|
23
|
+
4. Read .msg/meta.json critique_insights to avoid repeating past challenges
|
|
24
|
+
|
|
25
|
+
## Phase 3: Critical Analysis
|
|
26
|
+
|
|
27
|
+
**Challenge Dimensions** (apply to each idea):
|
|
28
|
+
|
|
29
|
+
| Dimension | Focus |
|
|
30
|
+
|-----------|-------|
|
|
31
|
+
| Assumption Validity | Does the core assumption hold? Counter-examples? |
|
|
32
|
+
| Feasibility | Technical/resource/time feasibility? |
|
|
33
|
+
| Risk Assessment | Worst case scenario? Hidden risks? |
|
|
34
|
+
| Competitive Analysis | Better alternatives already exist? |
|
|
35
|
+
|
|
36
|
+
**Severity Classification**:
|
|
37
|
+
|
|
38
|
+
| Severity | Criteria |
|
|
39
|
+
|----------|----------|
|
|
40
|
+
| CRITICAL | Fundamental issue, idea may need replacement |
|
|
41
|
+
| HIGH | Significant flaw, requires revision |
|
|
42
|
+
| MEDIUM | Notable weakness, needs consideration |
|
|
43
|
+
| LOW | Minor concern, does not invalidate the idea |
|
|
44
|
+
|
|
45
|
+
**Generator-Critic Signal**:
|
|
46
|
+
|
|
47
|
+
| Condition | Signal |
|
|
48
|
+
|-----------|--------|
|
|
49
|
+
| Any CRITICAL or HIGH severity | REVISION_NEEDED |
|
|
50
|
+
| All MEDIUM or lower | CONVERGED |
|
|
51
|
+
|
|
52
|
+
**Output**: Write to `<session>/critiques/critique-<num>.md`
|
|
53
|
+
- Sections: Ideas Reviewed, Per-idea challenges with severity, Summary table with counts, GC Signal
|
|
54
|
+
|
|
55
|
+
## Phase 4: Severity Summary
|
|
56
|
+
|
|
57
|
+
1. Count challenges by severity level
|
|
58
|
+
2. Determine signal: REVISION_NEEDED if critical+high > 0, else CONVERGED
|
|
59
|
+
3. Update shared state:
|
|
60
|
+
- Append challenges to .msg/meta.json critique_insights
|
|
61
|
+
- Each entry: idea, severity, key_challenge, round
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
# Analyze Task
|
|
2
|
-
|
|
3
|
-
Parse user topic -> detect brainstorming capabilities -> assess complexity -> select pipeline.
|
|
4
|
-
|
|
5
|
-
**CONSTRAINT**: Text-level analysis only. NO source code reading, NO codebase exploration.
|
|
6
|
-
|
|
7
|
-
## Signal Detection
|
|
8
|
-
|
|
9
|
-
| Keywords | Capability | Prefix |
|
|
10
|
-
|----------|------------|--------|
|
|
11
|
-
| generate, create, brainstorm, ideas, explore | ideator | IDEA |
|
|
12
|
-
| challenge, critique, argue, devil, risk | challenger | CHALLENGE |
|
|
13
|
-
| synthesize, integrate, combine, merge, themes | synthesizer | SYNTH |
|
|
14
|
-
| evaluate, score, rank, prioritize, select | evaluator | EVAL |
|
|
15
|
-
|
|
16
|
-
## Dependency Graph
|
|
17
|
-
|
|
18
|
-
Natural ordering tiers:
|
|
19
|
-
- Tier 0: ideator (divergent generation -- no dependencies)
|
|
20
|
-
- Tier 1: challenger (requires ideator output)
|
|
21
|
-
- Tier 2: ideator-revision (requires challenger output, GC loop)
|
|
22
|
-
- Tier 3: synthesizer (requires last challenger output)
|
|
23
|
-
- Tier 4: evaluator (requires synthesizer output, deep/full only)
|
|
24
|
-
|
|
25
|
-
## Complexity Scoring
|
|
26
|
-
|
|
27
|
-
| Factor | Points |
|
|
28
|
-
|--------|--------|
|
|
29
|
-
| Per capability needed | +1 |
|
|
30
|
-
| Strategic/systemic topic | +3 |
|
|
31
|
-
| Multi-dimensional analysis | +2 |
|
|
32
|
-
| Innovation-focused request | +2 |
|
|
33
|
-
| Simple/basic topic | -2 |
|
|
34
|
-
|
|
35
|
-
Results: 0-1 Low (quick), 2-3 Medium (deep), 4+ High (full)
|
|
36
|
-
|
|
37
|
-
## Pipeline Selection
|
|
38
|
-
|
|
39
|
-
| Complexity | Pipeline | Tasks |
|
|
40
|
-
|------------|----------|-------|
|
|
41
|
-
| Low | quick | IDEA -> CHALLENGE -> SYNTH |
|
|
42
|
-
| Medium | deep | IDEA -> CHALLENGE -> IDEA-fix -> CHALLENGE-2 -> SYNTH -> EVAL |
|
|
43
|
-
| High | full | 3x IDEA (parallel) -> CHALLENGE -> IDEA-fix -> SYNTH -> EVAL |
|
|
44
|
-
|
|
45
|
-
## Output
|
|
46
|
-
|
|
47
|
-
Write <session>/task-analysis.json:
|
|
48
|
-
```json
|
|
49
|
-
{
|
|
50
|
-
"task_description": "<original>",
|
|
51
|
-
"pipeline_type": "<quick|deep|full>",
|
|
52
|
-
"capabilities": [{ "name": "<cap>", "prefix": "<PREFIX>", "keywords": ["..."] }],
|
|
53
|
-
"dependency_graph": { "<TASK-ID>": { "role": "<role>", "blockedBy": ["..."], "priority": "P0|P1|P2" } },
|
|
54
|
-
"roles": [{ "name": "<role>", "prefix": "<PREFIX>", "inner_loop": false }],
|
|
55
|
-
"complexity": { "score": 0, "level": "Low|Medium|High" },
|
|
56
|
-
"angles": ["Technical", "Product", "Innovation", "Risk"]
|
|
57
|
-
}
|
|
58
|
-
```
|
|
1
|
+
# Analyze Task
|
|
2
|
+
|
|
3
|
+
Parse user topic -> detect brainstorming capabilities -> assess complexity -> select pipeline.
|
|
4
|
+
|
|
5
|
+
**CONSTRAINT**: Text-level analysis only. NO source code reading, NO codebase exploration.
|
|
6
|
+
|
|
7
|
+
## Signal Detection
|
|
8
|
+
|
|
9
|
+
| Keywords | Capability | Prefix |
|
|
10
|
+
|----------|------------|--------|
|
|
11
|
+
| generate, create, brainstorm, ideas, explore | ideator | IDEA |
|
|
12
|
+
| challenge, critique, argue, devil, risk | challenger | CHALLENGE |
|
|
13
|
+
| synthesize, integrate, combine, merge, themes | synthesizer | SYNTH |
|
|
14
|
+
| evaluate, score, rank, prioritize, select | evaluator | EVAL |
|
|
15
|
+
|
|
16
|
+
## Dependency Graph
|
|
17
|
+
|
|
18
|
+
Natural ordering tiers:
|
|
19
|
+
- Tier 0: ideator (divergent generation -- no dependencies)
|
|
20
|
+
- Tier 1: challenger (requires ideator output)
|
|
21
|
+
- Tier 2: ideator-revision (requires challenger output, GC loop)
|
|
22
|
+
- Tier 3: synthesizer (requires last challenger output)
|
|
23
|
+
- Tier 4: evaluator (requires synthesizer output, deep/full only)
|
|
24
|
+
|
|
25
|
+
## Complexity Scoring
|
|
26
|
+
|
|
27
|
+
| Factor | Points |
|
|
28
|
+
|--------|--------|
|
|
29
|
+
| Per capability needed | +1 |
|
|
30
|
+
| Strategic/systemic topic | +3 |
|
|
31
|
+
| Multi-dimensional analysis | +2 |
|
|
32
|
+
| Innovation-focused request | +2 |
|
|
33
|
+
| Simple/basic topic | -2 |
|
|
34
|
+
|
|
35
|
+
Results: 0-1 Low (quick), 2-3 Medium (deep), 4+ High (full)
|
|
36
|
+
|
|
37
|
+
## Pipeline Selection
|
|
38
|
+
|
|
39
|
+
| Complexity | Pipeline | Tasks |
|
|
40
|
+
|------------|----------|-------|
|
|
41
|
+
| Low | quick | IDEA -> CHALLENGE -> SYNTH |
|
|
42
|
+
| Medium | deep | IDEA -> CHALLENGE -> IDEA-fix -> CHALLENGE-2 -> SYNTH -> EVAL |
|
|
43
|
+
| High | full | 3x IDEA (parallel) -> CHALLENGE -> IDEA-fix -> SYNTH -> EVAL |
|
|
44
|
+
|
|
45
|
+
## Output
|
|
46
|
+
|
|
47
|
+
Write <session>/task-analysis.json:
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"task_description": "<original>",
|
|
51
|
+
"pipeline_type": "<quick|deep|full>",
|
|
52
|
+
"capabilities": [{ "name": "<cap>", "prefix": "<PREFIX>", "keywords": ["..."] }],
|
|
53
|
+
"dependency_graph": { "<TASK-ID>": { "role": "<role>", "blockedBy": ["..."], "priority": "P0|P1|P2" } },
|
|
54
|
+
"roles": [{ "name": "<role>", "prefix": "<PREFIX>", "inner_loop": false }],
|
|
55
|
+
"complexity": { "score": 0, "level": "Low|Medium|High" },
|
|
56
|
+
"angles": ["Technical", "Product", "Innovation", "Risk"]
|
|
57
|
+
}
|
|
58
|
+
```
|
|
@@ -1,171 +1,212 @@
|
|
|
1
|
-
# Monitor Pipeline
|
|
2
|
-
|
|
3
|
-
Event-driven pipeline coordination. Beat model: coordinator wake -> process -> spawn -> STOP.
|
|
4
|
-
|
|
5
|
-
## Constants
|
|
6
|
-
|
|
7
|
-
- SPAWN_MODE: spawn_agent
|
|
8
|
-
- ONE_STEP_PER_INVOCATION: true
|
|
9
|
-
- FAST_ADVANCE_AWARE: true
|
|
10
|
-
- WORKER_AGENT: team_worker
|
|
11
|
-
- MAX_GC_ROUNDS: 2
|
|
12
|
-
|
|
13
|
-
## Handler Router
|
|
14
|
-
|
|
15
|
-
| Source | Handler |
|
|
16
|
-
|--------|---------|
|
|
17
|
-
| Message contains [ideator], [challenger], [synthesizer], [evaluator] | handleCallback |
|
|
18
|
-
| "consensus_blocked" | handleConsensus |
|
|
19
|
-
| "capability_gap" | handleAdapt |
|
|
20
|
-
| "check" or "status" | handleCheck |
|
|
21
|
-
| "resume" or "continue" | handleResume |
|
|
22
|
-
| All tasks completed | handleComplete |
|
|
23
|
-
| Default | handleSpawnNext |
|
|
24
|
-
|
|
25
|
-
## handleCallback
|
|
26
|
-
|
|
27
|
-
Worker completed. Process and advance.
|
|
28
|
-
|
|
29
|
-
1. Parse message to identify role and task ID:
|
|
30
|
-
|
|
31
|
-
| Message Pattern | Role Detection |
|
|
32
|
-
|----------------|---------------|
|
|
33
|
-
| `[ideator]` or task ID `IDEA-*` | ideator |
|
|
34
|
-
| `[challenger]` or task ID `CHALLENGE-*` | challenger |
|
|
35
|
-
| `[synthesizer]` or task ID `SYNTH-*` | synthesizer |
|
|
36
|
-
| `[evaluator]` or task ID `EVAL-*` | evaluator |
|
|
37
|
-
|
|
38
|
-
2. Mark task as completed: Read tasks.json, update matching entry status to "completed", write back
|
|
39
|
-
3. Record completion in session state
|
|
40
|
-
4. **Generator-Critic check** (when challenger completes):
|
|
41
|
-
- If completed task is CHALLENGE-* AND pipeline is deep or full:
|
|
42
|
-
- Read critique file for GC signal
|
|
43
|
-
- Read .msg/meta.json for gc_round
|
|
44
|
-
|
|
45
|
-
| GC Signal | gc_round < max | Action |
|
|
46
|
-
|-----------|----------------|--------|
|
|
47
|
-
| REVISION_NEEDED | Yes | Increment gc_round, unblock IDEA-fix task |
|
|
48
|
-
| REVISION_NEEDED | No (>= max) | Force convergence, unblock SYNTH |
|
|
49
|
-
| CONVERGED | - | Unblock SYNTH (skip remaining GC tasks) |
|
|
50
|
-
|
|
51
|
-
- Log team_msg with type "gc_loop_trigger" or "task_unblocked"
|
|
52
|
-
- If skipping GC tasks, mark them as completed (skip)
|
|
53
|
-
|
|
54
|
-
5. Close completed agent: `close_agent({
|
|
55
|
-
6. Proceed to handleSpawnNext
|
|
56
|
-
|
|
57
|
-
## handleCheck
|
|
58
|
-
|
|
59
|
-
Read-only status report, then STOP.
|
|
60
|
-
|
|
61
|
-
```
|
|
62
|
-
[coordinator] Pipeline Status (<pipeline-mode>)
|
|
63
|
-
[coordinator] Progress: <done>/<total> (<pct>%)
|
|
64
|
-
[coordinator] Active: <workers with elapsed time>
|
|
65
|
-
[coordinator] Ready: <pending tasks with resolved deps>
|
|
66
|
-
[coordinator] GC Rounds: <gc_round>/<max_gc_rounds>
|
|
67
|
-
[coordinator] Commands: 'resume' to advance | 'check' to refresh
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
## handleResume
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
1
|
+
# Monitor Pipeline
|
|
2
|
+
|
|
3
|
+
Event-driven pipeline coordination. Beat model: coordinator wake -> process -> spawn -> STOP.
|
|
4
|
+
|
|
5
|
+
## Constants
|
|
6
|
+
|
|
7
|
+
- SPAWN_MODE: spawn_agent
|
|
8
|
+
- ONE_STEP_PER_INVOCATION: true
|
|
9
|
+
- FAST_ADVANCE_AWARE: true
|
|
10
|
+
- WORKER_AGENT: team_worker
|
|
11
|
+
- MAX_GC_ROUNDS: 2
|
|
12
|
+
|
|
13
|
+
## Handler Router
|
|
14
|
+
|
|
15
|
+
| Source | Handler |
|
|
16
|
+
|--------|---------|
|
|
17
|
+
| Message contains [ideator], [challenger], [synthesizer], [evaluator] | handleCallback |
|
|
18
|
+
| "consensus_blocked" | handleConsensus |
|
|
19
|
+
| "capability_gap" | handleAdapt |
|
|
20
|
+
| "check" or "status" | handleCheck |
|
|
21
|
+
| "resume" or "continue" | handleResume |
|
|
22
|
+
| All tasks completed | handleComplete |
|
|
23
|
+
| Default | handleSpawnNext |
|
|
24
|
+
|
|
25
|
+
## handleCallback
|
|
26
|
+
|
|
27
|
+
Worker completed. Process and advance.
|
|
28
|
+
|
|
29
|
+
1. Parse message to identify role and task ID:
|
|
30
|
+
|
|
31
|
+
| Message Pattern | Role Detection |
|
|
32
|
+
|----------------|---------------|
|
|
33
|
+
| `[ideator]` or task ID `IDEA-*` | ideator |
|
|
34
|
+
| `[challenger]` or task ID `CHALLENGE-*` | challenger |
|
|
35
|
+
| `[synthesizer]` or task ID `SYNTH-*` | synthesizer |
|
|
36
|
+
| `[evaluator]` or task ID `EVAL-*` | evaluator |
|
|
37
|
+
|
|
38
|
+
2. Mark task as completed: Read tasks.json, update matching entry status to "completed", write back
|
|
39
|
+
3. Record completion in session state
|
|
40
|
+
4. **Generator-Critic check** (when challenger completes):
|
|
41
|
+
- If completed task is CHALLENGE-* AND pipeline is deep or full:
|
|
42
|
+
- Read critique file for GC signal
|
|
43
|
+
- Read .msg/meta.json for gc_round
|
|
44
|
+
|
|
45
|
+
| GC Signal | gc_round < max | Action |
|
|
46
|
+
|-----------|----------------|--------|
|
|
47
|
+
| REVISION_NEEDED | Yes | Increment gc_round, unblock IDEA-fix task |
|
|
48
|
+
| REVISION_NEEDED | No (>= max) | Force convergence, unblock SYNTH |
|
|
49
|
+
| CONVERGED | - | Unblock SYNTH (skip remaining GC tasks) |
|
|
50
|
+
|
|
51
|
+
- Log team_msg with type "gc_loop_trigger" or "task_unblocked"
|
|
52
|
+
- If skipping GC tasks, mark them as completed (skip)
|
|
53
|
+
|
|
54
|
+
5. Close completed agent: `close_agent({ target: <agentId> })`
|
|
55
|
+
6. Proceed to handleSpawnNext
|
|
56
|
+
|
|
57
|
+
## handleCheck
|
|
58
|
+
|
|
59
|
+
Read-only status report, then STOP.
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
[coordinator] Pipeline Status (<pipeline-mode>)
|
|
63
|
+
[coordinator] Progress: <done>/<total> (<pct>%)
|
|
64
|
+
[coordinator] Active: <workers with elapsed time>
|
|
65
|
+
[coordinator] Ready: <pending tasks with resolved deps>
|
|
66
|
+
[coordinator] GC Rounds: <gc_round>/<max_gc_rounds>
|
|
67
|
+
[coordinator] Commands: 'resume' to advance | 'check' to refresh
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## handleResume
|
|
71
|
+
|
|
72
|
+
**Agent Health Check** (v4):
|
|
73
|
+
```
|
|
74
|
+
// Verify actual running agents match session state
|
|
75
|
+
const runningAgents = list_agents({})
|
|
76
|
+
// For each active_agent in tasks.json:
|
|
77
|
+
// - If agent NOT in runningAgents -> agent crashed
|
|
78
|
+
// - Reset that task to pending, remove from active_agents
|
|
79
|
+
// This prevents stale agent references from blocking the pipeline
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
1. Audit task list: Tasks stuck in "in_progress" -> reset to "pending"
|
|
83
|
+
2. Proceed to handleSpawnNext
|
|
84
|
+
|
|
85
|
+
## handleSpawnNext
|
|
86
|
+
|
|
87
|
+
Find ready tasks, spawn workers, STOP.
|
|
88
|
+
|
|
89
|
+
1. Collect: completedSubjects, inProgressSubjects, readySubjects
|
|
90
|
+
2. No ready + work in progress -> report waiting, STOP
|
|
91
|
+
3. No ready + nothing in progress -> handleComplete
|
|
92
|
+
4. Has ready -> for each:
|
|
93
|
+
a. Update tasks.json entry status -> "in_progress"
|
|
94
|
+
b. team_msg log -> task_unblocked
|
|
95
|
+
c. Spawn team_worker:
|
|
96
|
+
```
|
|
97
|
+
const agentId = spawn_agent({
|
|
98
|
+
agent_type: "team_worker",
|
|
99
|
+
task_name: taskId, // e.g., "IDEA-001" — enables named targeting
|
|
100
|
+
items: [{ type: "text", text: `## Role Assignment
|
|
101
|
+
role: <role>
|
|
102
|
+
role_spec: ~ or <project>/.codex/skills/team-brainstorm/roles/<role>/role.md
|
|
103
|
+
session: <session-folder>
|
|
104
|
+
session_id: <session-id>
|
|
105
|
+
team_name: brainstorm
|
|
106
|
+
requirement: <task-description>
|
|
107
|
+
inner_loop: false
|
|
108
|
+
|
|
109
|
+
Read role_spec file to load Phase 2-4 domain instructions.
|
|
110
|
+
Execute built-in Phase 1 (task discovery) -> role Phase 2-4 -> built-in Phase 5 (report).` }]
|
|
111
|
+
})
|
|
112
|
+
```
|
|
113
|
+
d. Collect agent results: `wait_agent({ targets: [taskId], timeout_ms: 900000 })`
|
|
114
|
+
e. Read discoveries from output files
|
|
115
|
+
f. Update tasks.json with results
|
|
116
|
+
g. Close agent: `close_agent({ target: taskId })` // Use task_name, not agentId
|
|
117
|
+
5. Parallel spawn rules:
|
|
118
|
+
|
|
119
|
+
| Pipeline | Scenario | Spawn Behavior |
|
|
120
|
+
|----------|----------|---------------|
|
|
121
|
+
| Quick | Single sequential | One worker at a time |
|
|
122
|
+
| Deep | Sequential with GC | One worker at a time |
|
|
123
|
+
| Full | IDEA-001/002/003 unblocked | Spawn ALL 3 ideator workers in parallel |
|
|
124
|
+
| Full | Other stages | One worker at a time |
|
|
125
|
+
|
|
126
|
+
**Parallel ideator spawn** (Full pipeline):
|
|
127
|
+
```
|
|
128
|
+
const agentIds = []
|
|
129
|
+
for (const task of readyIdeatorTasks) {
|
|
130
|
+
agentIds.push(spawn_agent({
|
|
131
|
+
agent_type: "team_worker",
|
|
132
|
+
task_name: task.id, // e.g., "IDEA-001" — enables named targeting
|
|
133
|
+
items: [{ type: "text", text: `...role: ideator-<N>...` }]
|
|
134
|
+
}))
|
|
135
|
+
}
|
|
136
|
+
// Use task_name for stable targeting (v4)
|
|
137
|
+
const taskNames = readyIdeatorTasks.map(t => t.id)
|
|
138
|
+
const results = wait_agent({ targets: taskNames, timeout_ms: 900000 })
|
|
139
|
+
if (results.timed_out) {
|
|
140
|
+
for (const taskId of taskNames) { state.tasks[taskId].status = 'timed_out'; close_agent({ target: taskId }) }
|
|
141
|
+
} else {
|
|
142
|
+
// Process results, close agents
|
|
143
|
+
for (const taskId of taskNames) { close_agent({ target: taskId }) }
|
|
144
|
+
}
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
**Cross-Agent Supplementary Context** (v4):
|
|
148
|
+
|
|
149
|
+
When spawning workers in a later pipeline phase, send upstream results as supplementary context to already-running workers:
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
// Example: Send ideation results to running challenger
|
|
153
|
+
send_message({
|
|
154
|
+
target: "<running-agent-task-name>",
|
|
155
|
+
items: [{ type: "text", text: `## Supplementary Context\n${upstreamFindings}` }]
|
|
156
|
+
})
|
|
157
|
+
// Note: send_message queues info without interrupting the agent's current work
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
Use `send_message` (not `assign_task`) for supplementary info that enriches but doesn't redirect the agent's current task.
|
|
161
|
+
|
|
162
|
+
6. Update session, output summary, STOP
|
|
163
|
+
|
|
164
|
+
## handleComplete
|
|
165
|
+
|
|
166
|
+
**Cleanup Verification** (v4):
|
|
167
|
+
```
|
|
168
|
+
// Verify all agents are properly closed
|
|
169
|
+
const remaining = list_agents({})
|
|
170
|
+
// If any team agents still running -> close_agent each
|
|
171
|
+
// Ensures clean session shutdown
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Pipeline done. Generate report and completion action.
|
|
175
|
+
|
|
176
|
+
Completion check by mode:
|
|
177
|
+
| Mode | Completion Condition |
|
|
178
|
+
|------|---------------------|
|
|
179
|
+
| quick | All 3 tasks completed |
|
|
180
|
+
| deep | All 6 tasks (+ any skipped GC tasks) completed |
|
|
181
|
+
| full | All 7 tasks (+ any skipped GC tasks) completed |
|
|
182
|
+
|
|
183
|
+
1. Verify all tasks completed via reading tasks.json
|
|
184
|
+
2. If any tasks not completed, return to handleSpawnNext
|
|
185
|
+
3. If all completed -> transition to coordinator Phase 5
|
|
186
|
+
|
|
187
|
+
## handleConsensus
|
|
188
|
+
|
|
189
|
+
Handle consensus_blocked signals.
|
|
190
|
+
|
|
191
|
+
| Severity | Action |
|
|
192
|
+
|----------|--------|
|
|
193
|
+
| HIGH | Pause pipeline, notify user with findings summary |
|
|
194
|
+
| MEDIUM | Log finding, attempt to continue |
|
|
195
|
+
| LOW | Log finding, continue pipeline |
|
|
196
|
+
|
|
197
|
+
## handleAdapt
|
|
198
|
+
|
|
199
|
+
Capability gap reported mid-pipeline.
|
|
200
|
+
|
|
201
|
+
1. Parse gap description
|
|
202
|
+
2. Check if existing role covers it -> redirect
|
|
203
|
+
3. Role count < 5 -> generate dynamic role-spec in <session>/role-specs/
|
|
204
|
+
4. Create new task (add to tasks.json), spawn worker
|
|
205
|
+
5. Role count >= 5 -> merge or pause
|
|
206
|
+
|
|
207
|
+
## Fast-Advance Reconciliation
|
|
208
|
+
|
|
209
|
+
On every coordinator wake:
|
|
210
|
+
1. Read team_msg entries with type="fast_advance"
|
|
211
|
+
2. Sync active_workers with spawned successors
|
|
212
|
+
3. No duplicate spawns
|