azclaude-copilot 0.7.13 → 0.7.14
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 42 commands, 10 auto-invoked skills, 15 specialized agents, 5 hooks, a real-time pipeline visualizer, 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.7.
|
|
12
|
+
"version": "0.7.14",
|
|
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.7.
|
|
3
|
+
"version": "0.7.14",
|
|
4
4
|
"description": "AZCLAUDE is a complete AI coding environment for Claude Code. It installs 42 commands, 10 auto-invoked skills, 15 specialized agents, 5 hooks, a real-time pipeline visualizer, 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
|
@@ -637,11 +637,11 @@ AZCLAUDE is a lazy-loaded environment of 48 capability modules. It only loads wh
|
|
|
637
637
|
|
|
638
638
|
## Verified
|
|
639
639
|
|
|
640
|
-
|
|
640
|
+
2021 tests. Every template, command, capability, agent, hook, and CLI feature verified.
|
|
641
641
|
|
|
642
642
|
```bash
|
|
643
643
|
bash tests/test-features.sh
|
|
644
|
-
# Results:
|
|
644
|
+
# Results: 2021 passed, 0 failed, 2021 total
|
|
645
645
|
```
|
|
646
646
|
|
|
647
647
|
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "azclaude-copilot",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.14",
|
|
4
4
|
"description": "AI coding environment — 42 commands, 10 skills, 15 agents, real-time visualizer, memory, reflexes, evolution. Install: npx azclaude-copilot@latest, then open Claude Code.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"azclaude": "bin/cli.js",
|
|
@@ -211,9 +211,14 @@ Load `capabilities/shared/context-relay.md` for relay protocol and role-based fi
|
|
|
211
211
|
7. **Model routing** — read `Model Recommendation` from each Team Spec. Pass it as `model: "{value}"` on the Task/Agent call. If absent, fall back to the agent's frontmatter `model:` field. Model selection varies per milestone — always use the actual recommendation, not a hardcoded assumption.
|
|
212
212
|
8. Spawn each builder via Task with `isolation: "worktree"` and `model: "{from Team Spec}"` in the same message (true parallel)
|
|
213
213
|
9. Include worktree rules + **test scope** (`Test scope: {test-dir}`) in every parallel prompt
|
|
214
|
-
10. **
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
10. **Mid-flight control** — while agents run, monitor their partial progress reports via SendMessage:
|
|
215
|
+
- Agent reports progress (not final result) + new information changes the spec → `SendMessage({ to: agentId, message: "Revised scope: ..." })`
|
|
216
|
+
- Agent appears stuck (no output for 3+ turns after dispatch) → `SendMessage({ to: agentId, message: "Status check — what's blocking you?" })`
|
|
217
|
+
- Scope needs adjusting due to a sibling agent's discovery → `SendMessage` with revised file list before the affected agent reaches that file
|
|
218
|
+
- Agent reports a blocker it cannot resolve → `SendMessage` with the resolution, or redirect to a different approach
|
|
219
|
+
11. **Merge-on-complete**: as each agent reports final result (not partial), merge its branch immediately (don't wait for all)
|
|
220
|
+
12. After each merge: check if newly-unblocked milestones exist → dispatch them immediately
|
|
221
|
+
13. If `max_parallel <= 3` or merge conflicts detected: fall back to batch-merge (wait for all, then merge)
|
|
217
222
|
|
|
218
223
|
**Sequential dispatch (single milestone OR overlapping files):**
|
|
219
224
|
|
|
@@ -36,7 +36,8 @@ If `$ARGUMENTS` contains `--deep`:
|
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
Call the `EnterPlanMode` tool NOW — this enforces read-only mode at the kernel level.
|
|
40
|
+
No file edits are possible until you call `ExitPlanMode` at Step 4: Approval Gate.
|
|
40
41
|
|
|
41
42
|
---
|
|
42
43
|
|
|
@@ -379,6 +379,16 @@ if (fs.existsSync(blockersPath)) {
|
|
|
379
379
|
} catch (_) {}
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
+
// ── Staleness helper — warns when memory files are older than 1 day ──────────
|
|
383
|
+
// File:line references and architecture decisions go stale fast.
|
|
384
|
+
// Claude Code natively warns on memories > 1 day old — AZCLAUDE matches that.
|
|
385
|
+
function _staleWarning(filePath) {
|
|
386
|
+
try {
|
|
387
|
+
const ageDays = Math.floor((Date.now() - fs.statSync(filePath).mtimeMs) / 86_400_000);
|
|
388
|
+
return ageDays > 1 ? `\n⚠ This memory is ${ageDays} day${ageDays > 1 ? 's' : ''} old — verify file:line references against current code before asserting as fact.` : '';
|
|
389
|
+
} catch (_) { return ''; }
|
|
390
|
+
}
|
|
391
|
+
|
|
382
392
|
// ── Inject architecture decisions if present ────────────────────────────────
|
|
383
393
|
const decisionsPath = path.join('.claude', 'memory', 'decisions.md');
|
|
384
394
|
if (fs.existsSync(decisionsPath)) {
|
|
@@ -387,10 +397,12 @@ if (fs.existsSync(decisionsPath)) {
|
|
|
387
397
|
if (decisionsContent.length > 0) {
|
|
388
398
|
const decisionsLines = decisionsContent.split('\n').filter(l => !INJECTION.test(l));
|
|
389
399
|
const capped = decisionsLines.slice(0, 30);
|
|
400
|
+
const stale = _staleWarning(decisionsPath);
|
|
390
401
|
console.log('');
|
|
391
402
|
console.log('--- ARCHITECTURE DECISIONS ---');
|
|
392
403
|
console.log(capped.join('\n'));
|
|
393
404
|
if (decisionsLines.length > 30) console.log(`... ${decisionsLines.length - 30} more lines (on disk)`);
|
|
405
|
+
if (stale) console.log(stale);
|
|
394
406
|
console.log('--- END DECISIONS ---');
|
|
395
407
|
}
|
|
396
408
|
} catch (_) {}
|
|
@@ -404,10 +416,12 @@ if (fs.existsSync(patternsPath)) {
|
|
|
404
416
|
if (patternsContent.length > 0) {
|
|
405
417
|
const patternsLines = patternsContent.split('\n').filter(l => !INJECTION.test(l));
|
|
406
418
|
const capped = patternsLines.slice(0, 20);
|
|
419
|
+
const stale = _staleWarning(patternsPath);
|
|
407
420
|
console.log('');
|
|
408
421
|
console.log('--- CODE PATTERNS ---');
|
|
409
422
|
console.log(capped.join('\n'));
|
|
410
423
|
if (patternsLines.length > 20) console.log(`... ${patternsLines.length - 20} more lines (on disk)`);
|
|
424
|
+
if (stale) console.log(stale);
|
|
411
425
|
console.log('--- END PATTERNS ---');
|
|
412
426
|
}
|
|
413
427
|
} catch (_) {}
|
|
@@ -428,9 +442,11 @@ if (fs.existsSync(checkpointDir)) {
|
|
|
428
442
|
const cpTrimmed = cpLines.length > MAX_CP
|
|
429
443
|
? cpLines.slice(0, MAX_CP).concat([`... ${cpLines.length - MAX_CP} more lines (on disk)`])
|
|
430
444
|
: cpLines;
|
|
445
|
+
const stale = _staleWarning(latest);
|
|
431
446
|
console.log('');
|
|
432
447
|
console.log(`--- LAST CHECKPOINT (${files[0]}) ---`);
|
|
433
448
|
console.log(cpTrimmed.join('\n').trim());
|
|
449
|
+
if (stale) console.log(stale);
|
|
434
450
|
console.log('--- END CHECKPOINT ---');
|
|
435
451
|
}
|
|
436
452
|
}
|