azclaude-copilot 0.8.0 → 0.8.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.
@@ -8,8 +8,8 @@
8
8
  "plugins": [
9
9
  {
10
10
  "name": "azclaude",
11
- "description": "AZCLAUDE is a complete AI coding environment for Claude Code. It installs 44 commands, 10 auto-invoked skills, 16 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.8.0",
11
+ "description": "AZCLAUDE is a complete AI coding environment for Claude Code. It installs 45 commands, 10 auto-invoked skills, 16 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.8.1",
13
13
  "source": {
14
14
  "source": "github",
15
15
  "repo": "haytamAroui/AZ-CLAUDE-COPILOT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "azclaude",
3
- "version": "0.8.0",
4
- "description": "AZCLAUDE is a complete AI coding environment for Claude Code. It installs 44 commands, 10 auto-invoked skills, 16 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",
3
+ "version": "0.8.1",
4
+ "description": "AZCLAUDE is a complete AI coding environment for Claude Code. It installs 45 commands, 10 auto-invoked skills, 16 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",
7
7
  "url": "https://github.com/haytamAroui"
package/README.md CHANGED
@@ -110,7 +110,7 @@ npx azclaude-copilot@latest
110
110
 
111
111
  One command, no flags. Auto-detects whether this is a fresh install or an upgrade:
112
112
 
113
- - **First time** → full install (42 commands, 5 hooks, 15 agents, 10 skills, memory, reflexes). Creates folders, instructions, and hooks — **no manual setup required.**
113
+ - **First time** → full install (45 commands, 5 hooks, 16 agents, 10 skills, memory, reflexes). Creates folders, instructions, and hooks — **no manual setup required.**
114
114
  - **Already installed, older version** → auto-upgrades everything to latest templates
115
115
  - **Already up to date** → verifies, no overwrites
116
116
 
@@ -123,14 +123,14 @@ npx azclaude-copilot@latest doctor # 32 checks — verify everything is wired
123
123
 
124
124
  ## What You Get
125
125
 
126
- **42 commands** · **10 auto-invoked skills** · **15 agents** · **5 hooks** · **memory across sessions** · **learned reflexes** · **self-evolving environment**
126
+ **45 commands** · **10 auto-invoked skills** · **16 agents** · **5 hooks** · **memory across sessions** · **learned reflexes** · **self-evolving environment**
127
127
 
128
128
  ```
129
129
  .claude/
130
130
  ├── CLAUDE.md ← dispatch table: conventions, stack, routing
131
131
  ├── commands/ ← 39 slash commands (/add, /fix, /copilot, /parallel...)
132
132
  ├── skills/ ← 10 skills (test-first, security, architecture-advisor...)
133
- ├── agents/ ← 15 agents (orchestrator, spec-reviewer, constitution-guard...)
133
+ ├── agents/ ← 16 agents (orchestrator, spec-reviewer, constitution-guard...)
134
134
  ├── capabilities/ ← 48 files, lazy-loaded via manifest.md (~100 tokens/task)
135
135
  ├── hooks/
136
136
  │ ├── user-prompt.js ← Brain Router + goals injection before first message
@@ -272,8 +272,8 @@ Claude Code
272
272
  │ └── stop.js → Session cleanup, friction logging
273
273
 
274
274
  └── Markdown files (capability — Claude reads natively, zero overhead)
275
- ├── 42 commands → Claude reads the .md, follows instructions
276
- ├── 15 agents → Claude spawns as subagents with Task tool
275
+ ├── 45 commands → Claude reads the .md, follows instructions
276
+ ├── 16 agents → Claude spawns as subagents with Task tool
277
277
  ├── 10 skills → Auto-invoked when relevant context detected
278
278
  ├── 48 capabilities → Lazy-loaded via manifest.md (~100 tokens overhead)
279
279
  └── Memory files → goals.md, decisions.md, patterns.md, checkpoints/
@@ -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
- 2113 tests. Every template, command, capability, agent, hook, and CLI feature verified.
640
+ 2124 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: 2113 passed, 0 failed, 2113 total
644
+ # Results: 2124 passed, 0 failed, 2124 total
645
645
  ```
646
646
 
647
647
  ---
package/bin/cli.js CHANGED
@@ -8,7 +8,7 @@ const { execSync } = require('child_process');
8
8
 
9
9
  const TEMPLATE_DIR = path.join(__dirname, '..', 'templates');
10
10
  const CORE_COMMANDS = ['setup', 'fix', 'add', 'audit', 'test', 'blueprint', 'ship', 'pulse', 'explain', 'snapshot', 'persist'];
11
- const EXTENDED_COMMANDS = ['dream', 'refactor', 'doc', 'loop', 'migrate', 'deps', 'find', 'create', 'reflect', 'hookify', 'sentinel', 'clarify', 'spec', 'analyze', 'constitute', 'tasks', 'issues', 'driven', 'mcp', 'verify', 'inoculate', 'ghost-test', 'visualize', 'kill', 'run', 'ingest', 'knowledge'];
11
+ const EXTENDED_COMMANDS = ['dream', 'refactor', 'doc', 'loop', 'migrate', 'deps', 'find', 'create', 'reflect', 'hookify', 'sentinel', 'clarify', 'spec', 'analyze', 'constitute', 'tasks', 'issues', 'driven', 'mcp', 'verify', 'inoculate', 'ghost-test', 'visualize', 'kill', 'run', 'ingest', 'knowledge', 'obsidian'];
12
12
  const ADVANCED_COMMANDS = ['evolve', 'debate', 'level-up', 'copilot', 'reflexes', 'parallel'];
13
13
  const COMMANDS = [...CORE_COMMANDS, ...EXTENDED_COMMANDS, ...ADVANCED_COMMANDS];
14
14
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "azclaude-copilot",
3
- "version": "0.8.0",
4
- "description": "AI coding environment — 44 commands, 10 skills, 16 agents, real-time visualizer, memory, reflexes, evolution, knowledge layer. Install: npx azclaude-copilot@latest, then open Claude Code.",
3
+ "version": "0.8.1",
4
+ "description": "AI coding environment — 45 commands, 10 skills, 16 agents, real-time visualizer, memory, reflexes, evolution, knowledge layer. Install: npx azclaude-copilot@latest, then open Claude Code.",
5
5
  "bin": {
6
6
  "azclaude": "bin/cli.js",
7
7
  "azclaude-copilot": "bin/copilot.js"
@@ -109,4 +109,4 @@ When priorities conflict:
109
109
  3. {{PRIORITY_3}}
110
110
 
111
111
  ## Available Commands
112
- /dream · /setup · /fix · /add · /audit · /test · /blueprint · /evolve · /debate · /snapshot · /persist · /level-up · /ship · /pulse · /explain · /loop · /refactor · /doc · /migrate · /deps · /find · /create · /reflect · /hookify · /spec · /clarify · /analyze · /constitute · /tasks · /issues · /driven · /mcp · /parallel · /verify · /inoculate · /ghost-test · /ingest · /knowledge
112
+ /dream · /setup · /fix · /add · /audit · /test · /blueprint · /evolve · /debate · /snapshot · /persist · /level-up · /ship · /pulse · /explain · /loop · /refactor · /doc · /migrate · /deps · /find · /create · /reflect · /hookify · /spec · /clarify · /analyze · /constitute · /tasks · /issues · /driven · /mcp · /parallel · /verify · /inoculate · /ghost-test · /ingest · /knowledge · /obsidian
@@ -0,0 +1,130 @@
1
+ ---
2
+ name: obsidian
3
+ description: Generate AZCLAUDE-MAP.md — an Obsidian index note with wikilinks to all commands, agents, and skills.
4
+ argument-hint: "[path to output, default: AZCLAUDE-MAP.md]"
5
+ disable-model-invocation: true
6
+ allowed-tools: Read, Write, Bash, Glob, Grep
7
+ ---
8
+
9
+ # /obsidian — Obsidian Graph Map Generator
10
+
11
+ $ARGUMENTS
12
+
13
+ Output path: `AZCLAUDE-MAP.md` at the project root (where `.claude/` lives), unless `$ARGUMENTS` specifies a different path.
14
+
15
+ ---
16
+
17
+ ## Step 0: Check Installation
18
+
19
+ ```bash
20
+ ls .claude/commands/ 2>/dev/null || echo "NOT_INSTALLED"
21
+ ```
22
+
23
+ If output is `NOT_INSTALLED`:
24
+ ```
25
+ AZCLAUDE not installed in this project. Run setup first.
26
+ ```
27
+ Stop here.
28
+
29
+ ---
30
+
31
+ ## Step 1: Scan Installed Files
32
+
33
+ ```bash
34
+ # Collect command names (strip .md extension, sort)
35
+ COMMANDS=$(ls .claude/commands/*.md 2>/dev/null | xargs -I{} basename {} .md | sort)
36
+
37
+ # Collect agent names (strip .md extension, sort)
38
+ AGENTS=$(ls .claude/agents/*.md 2>/dev/null | xargs -I{} basename {} .md | sort)
39
+
40
+ # Collect skill names (parent directory names, sort)
41
+ SKILLS=$(ls .claude/skills/ 2>/dev/null | sort)
42
+ ```
43
+
44
+ Count each group:
45
+ ```bash
46
+ CMD_COUNT=$(echo "$COMMANDS" | grep -c . 2>/dev/null || echo 0)
47
+ AGENT_COUNT=$(echo "$AGENTS" | grep -c . 2>/dev/null || echo 0)
48
+ SKILL_COUNT=$(echo "$SKILLS" | grep -c . 2>/dev/null || echo 0)
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Step 2: Determine Output Path
54
+
55
+ - If `$ARGUMENTS` is non-empty: use it as the output path.
56
+ - Otherwise: output path is `AZCLAUDE-MAP.md`.
57
+
58
+ ---
59
+
60
+ ## Step 3: Generate AZCLAUDE-MAP.md
61
+
62
+ Write the file using the exact structure below. Replace `{DATE}` with today's date (YYYY-MM-DD), replace each section list with the actual names collected in Step 1.
63
+
64
+ ```
65
+ # AZCLAUDE Map
66
+ > Generated: {DATE} — re-run `/obsidian` to refresh.
67
+
68
+ This is an Obsidian index note. Open this vault in Obsidian to explore the graph view.
69
+ Each wikilink connects to the matching command, agent, or skill file.
70
+
71
+ ---
72
+
73
+ ## Commands
74
+
75
+ {for each name in $COMMANDS}
76
+ - [[{name}]]
77
+
78
+ ---
79
+
80
+ ## Agents
81
+
82
+ {for each name in $AGENTS}
83
+ - [[{name}]]
84
+
85
+ ---
86
+
87
+ ## Skills
88
+
89
+ {for each name in $SKILLS}
90
+ - [[{name}/SKILL]]
91
+ ```
92
+
93
+ Skills link as `[[{skill-name}/SKILL]]` because the file is `SKILL.md` inside the skill directory.
94
+
95
+ Write the generated content to the output path determined in Step 2. Overwrite any existing file at that path without prompting — this command is idempotent.
96
+
97
+ ---
98
+
99
+ ## Step 4: Print Summary
100
+
101
+ ```
102
+ ─── Obsidian Map Written ───────────────────────
103
+ Output: {output path}
104
+ Commands: {CMD_COUNT} nodes
105
+ Agents: {AGENT_COUNT} nodes
106
+ Skills: {SKILL_COUNT} nodes
107
+ Total: {CMD_COUNT + AGENT_COUNT + SKILL_COUNT} nodes
108
+ ────────────────────────────────────────────────
109
+ ```
110
+
111
+ Then print the full wikilink list that was written:
112
+
113
+ ```
114
+ Written wikilinks:
115
+
116
+ Commands:
117
+ {one [[name]] per line}
118
+
119
+ Agents:
120
+ {one [[name]] per line}
121
+
122
+ Skills:
123
+ {one [[skill-name/SKILL]] per line}
124
+ ```
125
+
126
+ ---
127
+
128
+ ## Completion Rule
129
+
130
+ Show the actual wikilink list written to the output file. Do not say "map generated" without showing the content.