azclaude-copilot 0.5.8 → 0.5.9
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.
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "azclaude",
|
|
11
11
|
"description": "AZCLAUDE is a complete AI coding environment for Claude Code. It installs 39 commands, 10 auto-invoked skills, 15 specialized agents, 4 hooks, and a persistent memory system — in one command.\n\nKey features:\n• Memory across sessions — goals.md + checkpoints injected automatically before every session\n• Self-improving loop — /reflect fixes stale CLAUDE.md rules, /reflexes learns from tool-use patterns, /evolve creates agents from git evidence\n• Autonomous copilot mode — /copilot runs a three-tier team (orchestrator → problem-architect → milestone-builder) across sessions until the product ships\n• Spec-driven workflow — /constitute writes project rules, /spec writes structured ACs, /analyze detects plan drift and ghost milestones, /blueprint traces every milestone to a spec\n• Security layer — 111-rule environment scan (/sentinel), pre-write secret blocking, pre-ship credential audit\n• Progressive levels 0–10 — start with CLAUDE.md, grow into multi-agent pipelines and self-evolving environments\n• Zero dependencies — no npm packages, no external APIs, no vector databases. Plain markdown files and Claude Code's native architecture.\n• Smart install — npx azclaude-copilot@latest auto-detects first install vs upgrade vs verify. Context-aware onboarding shows the right next command for your project state.\n\nExample use cases:\n• /setup — scan an existing project, detect stack + domain + scale, fill CLAUDE.md, generate project-specific skills and agents automatically\n• /copilot \"Build a compliance SaaS with trilingual support\" — walk away, come back to working code across multiple sessions\n• /sentinel — run a scored security audit (0–100, grade A–F) across hooks, permissions, MCP servers, agent configs, and secrets\n• /evolve — detect gaps in the environment, generate new skills and agents from git co-change evidence, report score delta (e.g. 42/100 → 68/100)\n• /constitute — write your project's constitution (non-negotiables, architectural commitments, definition of done) — gates all future AI actions\n• /analyze — cross-artifact consistency check: ghost milestones, spec vs. code drift, unplanned commits\n• /reflect — find stale, missing, or contradicting rules in CLAUDE.md and propose exact fixes\n• /debate \"REST vs GraphQL for this project\" — adversarial evidence-based decision with order-independent scoring, logged to decisions.md",
|
|
12
|
-
"version": "0.5.
|
|
12
|
+
"version": "0.5.9",
|
|
13
13
|
"source": {
|
|
14
14
|
"source": "github",
|
|
15
15
|
"repo": "haytamAroui/AZ-CLAUDE-COPILOT",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "azclaude",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"description": "AZCLAUDE is a complete AI coding environment for Claude Code. It installs 39 commands, 10 auto-invoked skills, 15 specialized agents, 4 hooks, and a persistent memory system — in one command.\n\nKey features:\n• Memory across sessions — goals.md + checkpoints injected automatically before every session\n• Self-improving loop — /reflect fixes stale CLAUDE.md rules, /reflexes learns from tool-use patterns, /evolve creates agents from git evidence\n• Autonomous copilot mode — /copilot runs a three-tier team (orchestrator → problem-architect → milestone-builder) across sessions until the product ships\n• Spec-driven workflow — /constitute writes project rules, /spec writes structured ACs, /analyze detects plan drift and ghost milestones, /blueprint traces every milestone to a spec\n• Security layer — 111-rule environment scan (/sentinel), pre-write secret blocking, pre-ship credential audit\n• Progressive levels 0–10 — start with CLAUDE.md, grow into multi-agent pipelines and self-evolving environments\n• Zero dependencies — no npm packages, no external APIs, no vector databases. Plain markdown files and Claude Code's native architecture.\n• Smart install — npx azclaude-copilot@latest auto-detects first install vs upgrade vs verify. Context-aware onboarding shows the right next command for your project state.\n\nExample use cases:\n• /setup — scan an existing project, detect stack + domain + scale, fill CLAUDE.md, generate project-specific skills and agents automatically\n• /copilot \"Build a compliance SaaS with trilingual support\" — walk away, come back to working code across multiple sessions\n• /sentinel — run a scored security audit (0–100, grade A–F) across hooks, permissions, MCP servers, agent configs, and secrets\n• /evolve — detect gaps in the environment, generate new skills and agents from git co-change evidence, report score delta (e.g. 42/100 → 68/100)\n• /constitute — write your project's constitution (non-negotiables, architectural commitments, definition of done) — gates all future AI actions\n• /analyze — cross-artifact consistency check: ghost milestones, spec vs. code drift, unplanned commits\n• /reflect — find stale, missing, or contradicting rules in CLAUDE.md and propose exact fixes\n• /debate \"REST vs GraphQL for this project\" — adversarial evidence-based decision with order-independent scoring, logged to decisions.md",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "haytamAroui",
|
package/README.md
CHANGED
|
@@ -624,11 +624,11 @@ AZCLAUDE is a lazy-loaded environment of 48 capability modules. It only loads wh
|
|
|
624
624
|
|
|
625
625
|
## Verified
|
|
626
626
|
|
|
627
|
-
|
|
627
|
+
1810 tests. Every template, command, capability, agent, hook, and CLI feature verified.
|
|
628
628
|
|
|
629
629
|
```bash
|
|
630
630
|
bash tests/test-features.sh
|
|
631
|
-
# Results:
|
|
631
|
+
# Results: 1810 passed, 0 failed, 1810 total
|
|
632
632
|
```
|
|
633
633
|
|
|
634
634
|
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "azclaude-copilot",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"description": "AI coding environment — 39 commands, 10 skills, 15 agents, memory, reflexes, evolution. Install: npx azclaude-copilot@latest, then open Claude Code.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"azclaude": "bin/cli.js",
|
|
@@ -166,6 +166,72 @@ These rules are injected by orchestrator into every parallel milestone-builder p
|
|
|
166
166
|
|
|
167
167
|
---
|
|
168
168
|
|
|
169
|
+
## Proven Patterns — 3-Layer Conflict Prevention
|
|
170
|
+
|
|
171
|
+
These patterns come from a real production run: 16 agents, 360 tests, zero merge conflicts.
|
|
172
|
+
|
|
173
|
+
### Layer 1: Wave 0 — Bottleneck Files First (Sequential)
|
|
174
|
+
|
|
175
|
+
Identify files that multiple milestones need to modify (shared models, core config, base schemas).
|
|
176
|
+
**Do NOT parallelize these.** Instead, create a Wave 0 that runs sequentially before any parallel agents:
|
|
177
|
+
|
|
178
|
+
```
|
|
179
|
+
Wave 0 (sequential, orchestrator or single agent):
|
|
180
|
+
models.py → ALL new fields added at once
|
|
181
|
+
versioning.py → version bump
|
|
182
|
+
shared_config → all schema changes
|
|
183
|
+
|
|
184
|
+
Result: every subsequent agent finds shared dependencies already in place.
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
**Rule: SHARED DEPENDENCY → Wave 0 (sequential, do it first)**
|
|
188
|
+
|
|
189
|
+
### Layer 2: Directory-Level File Isolation
|
|
190
|
+
|
|
191
|
+
Design each parallel wave so agents own completely disjoint files:
|
|
192
|
+
|
|
193
|
+
```
|
|
194
|
+
Wave 1 (3 agents, zero file overlap):
|
|
195
|
+
Agent A: annex_1_rules.py, rules.py, conformity_path.py, test_annex_1.py
|
|
196
|
+
Agent B: gpai_rules.py, test_gpai_copyright.py
|
|
197
|
+
Agent C: test_fria_trigger.py, test_national_law_router.py (NEW files only)
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
**Test-only agents are always safe in parallel** — they create new test files and read (never write) engine code.
|
|
201
|
+
|
|
202
|
+
**Rule: TEST-ONLY agents → always safe in any wave**
|
|
203
|
+
|
|
204
|
+
### Layer 3: Same File, Different Sections
|
|
205
|
+
|
|
206
|
+
When two agents must touch the same file, allow it **only if edits are 100+ lines apart**:
|
|
207
|
+
|
|
208
|
+
```
|
|
209
|
+
┌───────┬────────────────────────────────┬────────────┐
|
|
210
|
+
│ Agent │ Section in rules.py │ Line range │
|
|
211
|
+
├───────┼────────────────────────────────┼────────────┤
|
|
212
|
+
│ M2A │ After result construction │ ~line 392 │
|
|
213
|
+
│ M2C │ STEP 13 deadline unpacking │ ~line 273 │
|
|
214
|
+
└───────┴────────────────────────────────┴────────────┘
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
Git merges these cleanly because they don't touch overlapping context (3-line hunk window).
|
|
218
|
+
|
|
219
|
+
**Rule: SAME FILE, DIFFERENT SECTIONS (100+ lines apart) → allowed in parallel**
|
|
220
|
+
**Rule: SAME FILE, SAME SECTION → serialize into different waves**
|
|
221
|
+
|
|
222
|
+
### Decision Table
|
|
223
|
+
|
|
224
|
+
| Conflict type | Resolution |
|
|
225
|
+
|---------------|-----------|
|
|
226
|
+
| Multiple milestones need same model/schema file | Wave 0: one agent fixes it sequentially before all others |
|
|
227
|
+
| Agents write different files entirely | Safe for parallel — standard worktree isolation |
|
|
228
|
+
| Agents write same file, edits 100+ lines apart | Allowed in parallel — git auto-merges cleanly |
|
|
229
|
+
| Agents write same file, edits < 100 lines apart | Serialize into different waves |
|
|
230
|
+
| Agent only creates new test files | Always safe in any wave — no write conflicts possible |
|
|
231
|
+
| Agent changes a function's return type | Must also fix all callers in the same agent's scope |
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
169
235
|
## Wave State File — Context Loss Protection
|
|
170
236
|
|
|
171
237
|
During parallel execution, the orchestrator writes `.claude/parallel-wave-state.md` **before dispatching any agents**. This file survives context compaction and enables session resume.
|