agileflow 2.93.0 → 2.94.1
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/CHANGELOG.md +10 -0
- package/README.md +6 -6
- package/package.json +1 -1
- package/scripts/agileflow-welcome.js +6 -9
- package/scripts/claude-tmux.sh +76 -3
- package/scripts/session-manager.js +68 -14
- package/scripts/spawn-parallel.js +14 -2
- package/src/core/agents/council-advocate.md +202 -0
- package/src/core/agents/council-analyst.md +248 -0
- package/src/core/agents/council-optimist.md +166 -0
- package/src/core/commands/council.md +517 -0
- package/src/core/commands/help.md +189 -3
- package/src/core/commands/ideate.md +145 -20
- package/src/core/commands/session/end.md +74 -0
- package/src/core/council/sessions/.gitkeep +0 -0
- package/src/core/council/shared_reasoning.template.md +106 -0
- package/tools/cli/lib/content-injector.js +4 -2
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# AI Council Deliberation
|
|
2
|
+
|
|
3
|
+
## Session Info
|
|
4
|
+
- **Session ID**: {{session_id}}
|
|
5
|
+
- **Created**: {{timestamp}}
|
|
6
|
+
- **Mode**: {{mode}} (parallel | debate)
|
|
7
|
+
- **Rounds**: {{rounds}}
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Question/Proposal
|
|
12
|
+
|
|
13
|
+
{{question}}
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Council Perspectives
|
|
18
|
+
|
|
19
|
+
### Round 1
|
|
20
|
+
|
|
21
|
+
#### Optimist Strategist
|
|
22
|
+
<!-- council-optimist writes here -->
|
|
23
|
+
|
|
24
|
+
[Awaiting optimist perspective...]
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
#### Devil's Advocate
|
|
29
|
+
<!-- council-advocate writes here -->
|
|
30
|
+
|
|
31
|
+
[Awaiting advocate perspective...]
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
#### Neutral Analyst
|
|
36
|
+
<!-- council-analyst writes here -->
|
|
37
|
+
|
|
38
|
+
[Awaiting analyst perspective...]
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
{{#if debate_mode}}
|
|
43
|
+
### Round {{round_number}}
|
|
44
|
+
|
|
45
|
+
#### Optimist Response
|
|
46
|
+
<!-- Responds to other perspectives -->
|
|
47
|
+
|
|
48
|
+
[Awaiting optimist response...]
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
#### Advocate Response
|
|
53
|
+
<!-- Responds to other perspectives -->
|
|
54
|
+
|
|
55
|
+
[Awaiting advocate response...]
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
#### Analyst Synthesis
|
|
60
|
+
<!-- Synthesizes debate -->
|
|
61
|
+
|
|
62
|
+
[Awaiting analyst synthesis...]
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
{{/if}}
|
|
66
|
+
|
|
67
|
+
## Final Synthesis
|
|
68
|
+
|
|
69
|
+
### Common Ground (All Agree)
|
|
70
|
+
- [To be synthesized after all perspectives received]
|
|
71
|
+
|
|
72
|
+
### Opportunities (Optimist Unique)
|
|
73
|
+
- [From optimist perspective]
|
|
74
|
+
|
|
75
|
+
### Risks (Advocate Unique)
|
|
76
|
+
- [From advocate perspective]
|
|
77
|
+
|
|
78
|
+
### Trade-offs (Analyst Assessment)
|
|
79
|
+
- [From analyst perspective]
|
|
80
|
+
|
|
81
|
+
### Recommendation
|
|
82
|
+
**Decision**: [To be determined]
|
|
83
|
+
**Confidence**: [High/Medium/Low]
|
|
84
|
+
**Reasoning**: [Summary of key factors]
|
|
85
|
+
|
|
86
|
+
### Next Steps
|
|
87
|
+
1. [Action item]
|
|
88
|
+
2. [Action item]
|
|
89
|
+
3. [Action item]
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Metadata
|
|
94
|
+
|
|
95
|
+
```json
|
|
96
|
+
{
|
|
97
|
+
"session_id": "{{session_id}}",
|
|
98
|
+
"question": "{{question}}",
|
|
99
|
+
"mode": "{{mode}}",
|
|
100
|
+
"rounds": {{rounds}},
|
|
101
|
+
"agents": ["council-optimist", "council-advocate", "council-analyst"],
|
|
102
|
+
"status": "in_progress",
|
|
103
|
+
"created_at": "{{timestamp}}",
|
|
104
|
+
"completed_at": null
|
|
105
|
+
}
|
|
106
|
+
```
|
|
@@ -711,9 +711,11 @@ function getPlaceholderDocs() {
|
|
|
711
711
|
'<!-- {{COMMAND_LIST}} -->': 'Full formatted command list',
|
|
712
712
|
},
|
|
713
713
|
templates: {
|
|
714
|
-
'<!-- {{SESSION_HARNESS}} -->':
|
|
714
|
+
'<!-- {{SESSION_HARNESS}} -->':
|
|
715
|
+
'Session harness protocol (auto-detects agent ID from frontmatter)',
|
|
715
716
|
'<!-- {{SESSION_HARNESS:AG-API}} -->': 'Session harness protocol with explicit agent ID',
|
|
716
|
-
'<!-- {{QUALITY_GATE_PRIORITIES}} -->':
|
|
717
|
+
'<!-- {{QUALITY_GATE_PRIORITIES}} -->':
|
|
718
|
+
'Quality gate priorities with CRITICAL/HIGH/MEDIUM levels',
|
|
717
719
|
},
|
|
718
720
|
preserve_rules: {
|
|
719
721
|
'{{RULES:json_operations}}': 'Rules for safe JSON file modifications',
|