azclaude-copilot 0.4.2 → 0.4.3

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.
Files changed (2) hide show
  1. package/README.md +50 -19
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -21,7 +21,7 @@
21
21
 
22
22
  ## What is AZCLAUDE?
23
23
 
24
- An AI coding environment you install into any project. It gives Claude Code (or Gemini CLI, Codex, OpenCode, Cursor) **26 commands, 8 auto-invoked skills, 7 agents, memory across sessions, learned reflexes, and self-evolving infrastructure**.
24
+ An AI coding environment you install into any project. It gives Claude Code (or Gemini CLI, Codex, OpenCode, Cursor) **26 commands, 8 auto-invoked skills, 10 agents, memory across sessions, learned reflexes, and self-evolving infrastructure**.
25
25
 
26
26
  Zero dependencies. One install. Works on any stack.
27
27
 
@@ -115,13 +115,21 @@ npx azclaude-copilot . # resume existing copilot run
115
115
  | Restarts Claude Code sessions until COPILOT_COMPLETE. |
116
116
  | Reads nothing. Decides nothing. Just loops. |
117
117
  +-----------------------------------------------------------+
118
- | LAYER 2: THE BRAIN (AZCLAUDE inside each session) |
118
+ | LAYER 2: THE TEAM (intelligent copilot, v0.4+) |
119
+ | Orchestrator: reads plan.md, consults architect, |
120
+ | dispatches builders, monitors results, triggers /evolve |
121
+ | Problem-Architect: analyzes each milestone before work |
122
+ | (Team Spec: agents, skills, files, risks, complexity) |
123
+ | Milestone-Builder: pre-reads, implements, verifies, |
124
+ | self-corrects, commits, reports back |
125
+ +-----------------------------------------------------------+
126
+ | LAYER 3: THE BRAIN (all commands, every session) |
119
127
  | Reads goals.md, plan.md, checkpoint, patterns, |
120
128
  | blockers, decisions, reflexes, context artifacts |
121
- | Decides what to do next. Builds. Tests. Commits. |
122
- | Updates all state files before session ends. |
129
+ | intelligent-dispatch: pre-flight before /add /fix |
130
+ | /dream /audit /refactor /ship no more blind jumps |
123
131
  +-----------------------------------------------------------+
124
- | LAYER 3: THE ENVIRONMENT (accumulates across sessions) |
132
+ | LAYER 4: THE ENVIRONMENT (accumulates across sessions) |
125
133
  | Project agents emerge from git evidence (/evolve) |
126
134
  | Reflexes learned from tool-use observations |
127
135
  | Skills created when patterns repeat |
@@ -130,30 +138,33 @@ npx azclaude-copilot . # resume existing copilot run
130
138
  +-----------------------------------------------------------+
131
139
  ```
132
140
 
133
- Runner loops. AZCLAUDE accumulates. Claude thinks.
141
+ Runner loops. Team thinks. AZCLAUDE accumulates. Claude builds.
134
142
 
135
143
  ---
136
144
 
137
- ## The Pipeline
145
+ ## The Intelligent Copilot Pipeline (v0.4+)
138
146
 
139
147
  Every command detects copilot mode automatically (`[ -f .claude/copilot-intent.md ]`) and skips human interaction -- no approval gates, no prompts, no pauses.
140
148
 
141
149
  ```
142
- Session 1: /dream -> /blueprint -> /add M1 -> /add M2 -> /add M3 -> /snapshot
143
- Session 2: /evolve -> /add M4 -> /add M5 -> /add M6 -> /snapshot
144
- Session 3: /evolve -> /add M7 -> /add M8 -> /add M9 -> /snapshot
150
+ Session 1: /dream -> /blueprint (problem-architect annotates each milestone)
151
+ -> orchestrator dispatches milestone-builder M1,M2,M3 -> /snapshot
152
+ Session 2: /evolve (new agents created -> orchestrator unblocks plan)
153
+ -> orchestrator dispatches M4,M5 (parallel) -> M6 -> /snapshot
154
+ Session 3: /evolve -> orchestrator dispatches M7,M8,M9 -> /snapshot
145
155
  Session 4: /evolve -> /audit -> /ship -> COPILOT_COMPLETE
146
156
  ```
147
157
 
148
- ### Per Milestone
158
+ ### Per Milestone (Intelligent Dispatch)
149
159
 
150
- 1. Read milestone from `plan.md` (description, expected files, dependencies)
151
- 2. Implement using `/add` (follows `patterns.md`, reads context artifacts, uses project agents)
152
- 3. Run tests -- fix if failing (2 attempts max)
153
- 4. If still failing -- log to `blockers.md`, skip, continue
154
- 5. Commit: `{type}: {what} -- {why}`
155
- 6. Push + update `plan.md` status to `done`
156
- 7. `/snapshot` (compaction protection)
160
+ 1. **Orchestrator** reads plan.md, selects next milestone wave
161
+ 2. **Problem-Architect** analyzes the milestone returns Team Spec:
162
+ agents needed, skills to load, files to pre-read, files to write (parallel safety), risks, complexity
163
+ 3. **Orchestrator** dispatches **Milestone-Builder** with fully packaged context
164
+ 4. **Milestone-Builder** pre-reads all specified files, implements, runs tests
165
+ 5. Fix if failing (2 attempts SIMPLE/MEDIUM, 3 for COMPLEX)
166
+ 6. If budget exhausted → log to `blockers.md`, orchestrator moves to next milestone
167
+ 7. Commit: `{type}: {what} -- {why}` + push + update plan.md status → `done`
157
168
 
158
169
  ### Self-Healing
159
170
 
@@ -266,7 +277,27 @@ Session 4:
266
277
  Full evolved environment. /audit -> /ship -> deploy. COPILOT_COMPLETE
267
278
  ```
268
279
 
269
- System agents (code-reviewer, test-writer, orchestrator-init) run the framework. Project agents emerge from the work. Two separate layers.
280
+ System agents (orchestrator, problem-architect, milestone-builder, code-reviewer, test-writer, orchestrator-init) run the framework. Project agents (cc-*) emerge from the work. Two separate layers.
281
+
282
+ ### Intelligent Dispatch — Pre-Flight for Every Command
283
+
284
+ `shared/intelligent-dispatch.md` is the universal pre-flight protocol. Every non-trivial command loads it before touching code.
285
+
286
+ **Commands that now spawn problem-architect before acting:**
287
+
288
+ | Command | What pre-analysis adds |
289
+ |---------|----------------------|
290
+ | `/add` | What files to pre-read, which skills to load, pre-conditions, patterns to follow |
291
+ | `/fix` | Bug scope (which files are involved), relevant antipatterns, pre-conditions |
292
+ | `/dream` | Scan existing codebase before generating vision (what already exists, established patterns) |
293
+ | `/audit` | Inject decisions.md + patterns.md + antipatterns.md as the review checklist |
294
+ | `/refactor` | Full dependency graph before touching code (catches missed references) |
295
+ | `/ship` | Risk scan — unmet pre-conditions block the push |
296
+ | `/blueprint` | Annotates every plan.md milestone with: Complexity, Files Written, Pre-conditions, Risks |
297
+ | `/evolve` | After creating new agents: orchestrator re-evaluates plan.md, unblocks blocked milestones |
298
+ | `/setup` | Cold-start: problem-architect recommends agents when < 5 git commits exist |
299
+
300
+ Every command used to jump in blind. Now they ask "what do I need to know first?"
270
301
 
271
302
  ### Context Artifacts
272
303
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azclaude-copilot",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "AI coding environment — 26 commands, 8 skills, 10 agents, memory, reflexes, evolution. Install once, works on any stack.",
5
5
  "bin": {
6
6
  "azclaude": "./bin/cli.js",