azclaude-copilot 0.4.0 → 0.4.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/README.md +3 -3
- package/package.json +1 -1
- package/templates/commands/blueprint.md +27 -1
- package/templates/commands/evolve.md +20 -0
- package/templates/commands/setup.md +21 -0
package/README.md
CHANGED
|
@@ -469,7 +469,7 @@ azclaude-copilot/
|
|
|
469
469
|
├── DOCS.md <- full user guide
|
|
470
470
|
├── SECURITY.md <- security policy + architecture
|
|
471
471
|
├── tests/
|
|
472
|
-
│ └── test-features.sh ←
|
|
472
|
+
│ └── test-features.sh ← 1107 tests
|
|
473
473
|
```
|
|
474
474
|
|
|
475
475
|
---
|
|
@@ -495,11 +495,11 @@ The runner is stateless. These files ARE the state.
|
|
|
495
495
|
|
|
496
496
|
## Verified
|
|
497
497
|
|
|
498
|
-
|
|
498
|
+
1107 tests. Every template, command, capability, agent, and CLI feature verified.
|
|
499
499
|
|
|
500
500
|
```bash
|
|
501
501
|
bash tests/test-features.sh
|
|
502
|
-
# Results:
|
|
502
|
+
# Results: 1107 passed, 0 failed, 1107 total
|
|
503
503
|
```
|
|
504
504
|
|
|
505
505
|
---
|
package/package.json
CHANGED
|
@@ -104,7 +104,33 @@ When running inside `/copilot` (detected by: `.claude/copilot-intent.md` exists)
|
|
|
104
104
|
- Include `Files:` with expected paths
|
|
105
105
|
- Include `Commit:` with conventional commit format
|
|
106
106
|
- Write `## Summary` with counts at the bottom
|
|
107
|
-
|
|
107
|
+
|
|
108
|
+
### Problem-Architect Validation (if available)
|
|
109
|
+
|
|
110
|
+
After writing plan.md, check:
|
|
111
|
+
```bash
|
|
112
|
+
ls .claude/agents/problem-architect.md 2>/dev/null
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
If problem-architect.md exists — spawn it for EACH milestone in plan.md:
|
|
116
|
+
```
|
|
117
|
+
Analyze this milestone for the Team Spec:
|
|
118
|
+
Milestone: {description from plan.md}
|
|
119
|
+
Current state: {what files exist in the project}
|
|
120
|
+
Available agents: {list of .claude/agents/}
|
|
121
|
+
Available skills: {list of .claude/skills/}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
For each milestone, append the returned Team Spec fields directly into plan.md:
|
|
125
|
+
- `Complexity:` SIMPLE / MEDIUM / COMPLEX
|
|
126
|
+
- `Files Written:` exact paths the builder will touch (critical for parallel safety)
|
|
127
|
+
- `Pre-conditions:` checklist before starting
|
|
128
|
+
- `Risks:` and mitigation
|
|
129
|
+
- `Structural Decision:` YES/NO (if YES → orchestrator must /debate before dispatching)
|
|
130
|
+
|
|
131
|
+
This pre-annotation makes orchestrator dispatch faster and prevents parallel file collision.
|
|
132
|
+
|
|
133
|
+
After all milestones annotated — return control to /copilot.
|
|
108
134
|
|
|
109
135
|
---
|
|
110
136
|
|
|
@@ -203,6 +203,26 @@ ls .claude/commands/*.md .claude/agents/*.md .claude/skills/*/SKILL.md 2>/dev/nu
|
|
|
203
203
|
Skip creation if a skill/agent already covers the same workflow.
|
|
204
204
|
Update existing ones if they're missing steps discovered in recent sessions.
|
|
205
205
|
|
|
206
|
+
### 7e: Orchestrator re-evaluation (if intelligent copilot installed)
|
|
207
|
+
|
|
208
|
+
After generating new agents/skills, check:
|
|
209
|
+
```bash
|
|
210
|
+
ls .claude/agents/orchestrator.md .claude/plan.md 2>/dev/null
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
If BOTH exist — spawn orchestrator with:
|
|
214
|
+
```
|
|
215
|
+
Re-evaluate plan.md after /evolve created new agents and skills.
|
|
216
|
+
Focus on: which blocked milestones can now be unblocked?
|
|
217
|
+
New agents available: {list of newly created agents}
|
|
218
|
+
New skills available: {list of newly created skills}
|
|
219
|
+
Check blockers.md for each blocked milestone — does a new agent cover the missing capability?
|
|
220
|
+
Update plan.md status for any milestone that is now unblockable (blocked → pending).
|
|
221
|
+
Report: milestones unblocked + reason.
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
This closes the loop: /evolve creates capability → orchestrator immediately re-routes blocked work.
|
|
225
|
+
|
|
206
226
|
---
|
|
207
227
|
|
|
208
228
|
## Step 8: Promote GENERAL Skills
|
|
@@ -121,6 +121,27 @@ Read `.claude/capabilities/level-builders/level5-agents.md` for agent design gui
|
|
|
121
121
|
|
|
122
122
|
Skip if project has < 10 files or < 5 commits.
|
|
123
123
|
|
|
124
|
+
### Problem-Architect Supplement (new projects with zero git history)
|
|
125
|
+
|
|
126
|
+
If the project has < 5 commits (no co-change data), check:
|
|
127
|
+
```bash
|
|
128
|
+
ls .claude/agents/problem-architect.md 2>/dev/null
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
If problem-architect.md exists — spawn it to analyze the project structure directly:
|
|
132
|
+
```
|
|
133
|
+
Analyze this project to recommend agents and skills.
|
|
134
|
+
No git history available — use file structure and stack signals instead.
|
|
135
|
+
Project stack: {from env-scan.sh output}
|
|
136
|
+
Files found: {top-level structure}
|
|
137
|
+
Domain: {from CLAUDE.md}
|
|
138
|
+
Available agents already installed: {list .claude/agents/}
|
|
139
|
+
Return: recommended cc- agents (with directory claims) + skills to generate
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Use the returned recommendations as the basis for agent/skill generation.
|
|
143
|
+
This fills the gap when git history is too thin for co-change analysis.
|
|
144
|
+
|
|
124
145
|
---
|
|
125
146
|
|
|
126
147
|
## Step 7: Quality Gate
|