@namch/agent-assistant 1.0.4 → 1.1.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/CHANGELOG.md +46 -0
- package/README.md +1 -1
- package/agents/planner.md +59 -11
- package/agents/reporter.md +1 -1
- package/cli/install.js +532 -171
- package/code-assistants/antigravity-assistant/AntigravityGlobal.agent.md +64 -114
- package/code-assistants/antigravity-assistant/GEMINI.md +81 -106
- package/code-assistants/claude-assistant/CLAUDE.md +60 -38
- package/code-assistants/copilot-assistant/agent-assistant.agent.md +135 -118
- package/code-assistants/cursor-assistant/.cursorrules +42 -84
- package/code-assistants/cursor-assistant/rules/agent-assistant.mdc +37 -135
- package/commands/ask/fast.md +6 -4
- package/commands/ask/hard.md +6 -4
- package/commands/ask.md +3 -3
- package/commands/auto.md +3 -3
- package/commands/brainstorm/fast.md +6 -4
- package/commands/brainstorm/hard.md +6 -4
- package/commands/brainstorm.md +3 -3
- package/commands/code/fast.md +6 -4
- package/commands/code/focus.md +22 -46
- package/commands/code/hard.md +23 -48
- package/commands/code.md +3 -3
- package/commands/cook/fast.md +5 -3
- package/commands/cook/focus.md +22 -51
- package/commands/cook/hard.md +23 -55
- package/commands/cook.md +3 -3
- package/commands/debug/fast.md +5 -3
- package/commands/debug/focus.md +35 -40
- package/commands/debug/hard.md +38 -16
- package/commands/debug.md +3 -3
- package/commands/deploy/check.md +4 -4
- package/commands/deploy/preview.md +4 -4
- package/commands/deploy/production.md +4 -4
- package/commands/deploy/rollback.md +4 -4
- package/commands/deploy.md +3 -3
- package/commands/design/fast.md +6 -4
- package/commands/design/focus.md +28 -44
- package/commands/design/hard.md +53 -17
- package/commands/design.md +3 -3
- package/commands/docs/audit.md +5 -5
- package/commands/docs/business.md +5 -5
- package/commands/docs/core.md +5 -5
- package/commands/docs.md +3 -3
- package/commands/fix/fast.md +5 -3
- package/commands/fix/focus.md +36 -44
- package/commands/fix/hard.md +23 -37
- package/commands/fix.md +3 -3
- package/commands/plan/fast.md +6 -4
- package/commands/plan/focus.md +6 -4
- package/commands/plan/hard.md +6 -4
- package/commands/plan.md +3 -3
- package/commands/report/fast.md +6 -4
- package/commands/report/focus.md +6 -4
- package/commands/report/hard.md +6 -4
- package/commands/report.md +3 -3
- package/commands/review/fast.md +5 -3
- package/commands/review/hard.md +5 -3
- package/commands/review.md +3 -3
- package/commands/test/fast.md +5 -3
- package/commands/test/focus.md +24 -43
- package/commands/test/hard.md +24 -16
- package/commands/test.md +3 -3
- package/documents/HSOL-ASSESSMENT.md +121 -0
- package/documents/SMART-SKILL-ORCHESTRATION-BLUEPRINT.md +1341 -0
- package/documents/business/business-glossary.md +6 -6
- package/documents/knowledge-architecture.md +81 -1
- package/documents/knowledge-domain.md +4 -3
- package/documents/knowledge-overview.md +1 -1
- package/documents/knowledge-source-base.md +22 -17
- package/package.json +2 -2
- package/rules/AGENTS.md +187 -0
- package/rules/CONTEXT-GATE.md +362 -0
- package/rules/CORE.md +188 -0
- package/rules/ERRORS.md +127 -0
- package/rules/PHASES.md +156 -0
- package/rules/REFERENCE.md +179 -0
- package/rules/SKILLS.md +167 -0
- package/skills/find-skills/SKILL.md +137 -0
- package/rules/ADAPTIVE-EXECUTION.md +0 -271
- package/rules/AGENT-RULES.md +0 -285
- package/rules/BOOTSTRAP.md +0 -301
- package/rules/ERROR-RECOVERY.md +0 -201
- package/rules/EXECUTION-PROTOCOL.md +0 -485
- package/rules/ORCHESTRATION-LAWS.md +0 -218
- package/rules/QUICK-REFERENCE.md +0 -204
- package/rules/SKILL-DISCOVERY.md +0 -370
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,52 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.1.1] - 2026-02-05
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **Path Placeholder Resolution**: Fixed critical issue where `{TOOL}`, `{TOOL}`, `~/.{TOOL}/` placeholders were not properly replaced during installation
|
|
13
|
+
- Added missing replacement patterns to all tools in `cli/install.js`
|
|
14
|
+
- Paths now correctly resolve to `~/.copilot/`, `~/.cursor/`, `~/.claude/`, `~/.gemini/antigravity/`
|
|
15
|
+
- **Agent File Formats**: Fixed corrupted YAML frontmatter in agent entry files
|
|
16
|
+
- Removed invalid code fence wrappers from Copilot and Antigravity agent files
|
|
17
|
+
- Files now parse correctly as proper YAML + Markdown
|
|
18
|
+
- **Claude Install**: Added missing `AGENT.md` copy (was only copying `CLAUDE.md`)
|
|
19
|
+
- **Enforcement Language**: Strengthened all entry point files with mandatory boot sequence
|
|
20
|
+
- Added `⛔ MANDATORY BOOT SEQUENCE` block that BLOCKS execution until CORE.md is loaded
|
|
21
|
+
- Changed passive "should load" to active "MUST load IMMEDIATELY"
|
|
22
|
+
- Added explicit prohibition statements (NEVER, FORBIDDEN, ABSOLUTE BINDING)
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- **CORE.md v4.1**: Updated paths section with platform resolution table and clearer examples
|
|
27
|
+
- **Entry Files**: Rewrote COPILOT.md, CLAUDE.md, AGENT.md, GEMINI.md with stronger enforcement
|
|
28
|
+
- **Replacement Order**: Sorted replacement keys by length (longest first) to prevent partial replacements
|
|
29
|
+
|
|
30
|
+
## [1.1.0] - 2026-02-03
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **Context Gate Centralization**: Eliminated ~1,200 lines of duplicate Context Gate logic across command files by centralizing into single source of truth
|
|
35
|
+
- **`rules/CONTEXT-GATE.md`**: 362-line comprehensive protocol file with FOCUS MODE (automatic) and HARD MODE (user choice)
|
|
36
|
+
- **3-Layer Enforcement**: BLOCKING directive + sequential flow placement + verification checklist to prevent AI skip
|
|
37
|
+
- **5-step RELOAD_ESSENTIAL_CONTEXT**: User Request → Acceptance Criteria → Plan/Strategy → Remaining Phases → Implementation Rules
|
|
38
|
+
- **Variant-aware execution**: Special handling for debug (OUTPUT_ESSENTIAL_CONTEXT handoff), design (review phase), test (strategy source)
|
|
39
|
+
- **HSOL Documentation**: Added comprehensive Hybrid Skill Orchestration Layer planning documents
|
|
40
|
+
- **Blueprint**: `documents/SMART-SKILL-ORCHESTRATION-BLUEPRINT.md` — architecture for dynamic skill resolution
|
|
41
|
+
- **Assessment**: `documents/HSOL-ASSESSMENT.md` — production readiness evaluation
|
|
42
|
+
- **Manifest**: `matrix-skills/_dynamic.yaml` — tracking for dynamically installed community skills
|
|
43
|
+
- **Knowledge base**: Updated `documents/knowledge-architecture.md`, `documents/knowledge-source-base.md` with HSOL references
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- **All command variants**: Updated 12 command files (6 focus + 6 hard) to reference centralized Context Gate protocol
|
|
48
|
+
- **Focus variants** (`/code:focus`, `/cook:focus`, `/fix:focus`, `/debug:focus`, `/design:focus`, `/test:focus`): Replaced ~80-100 lines of inline Context Gate logic with ~19-line minimal reference
|
|
49
|
+
- **Hard variants** (`/code:hard`, `/cook:hard`, `/fix:hard`, `/debug:hard`, `/design:hard`, `/test:hard`): Replaced ~100 lines of verification checkpoint logic with ~19-line minimal reference
|
|
50
|
+
- **Pattern**: Each file now loads `rules/CONTEXT-GATE.md` with BLOCKING directive and variant-specific adjustments
|
|
51
|
+
- **Code reduction**: 52% less code (~1,200 lines → ~580 lines references + 362 lines centralized)
|
|
52
|
+
- **Maintenance**: Reduced from updating 12 files manually to updating 1 centralized file (92% easier maintenance)
|
|
53
|
+
|
|
8
54
|
## [1.0.4] - 2026-01-30
|
|
9
55
|
|
|
10
56
|
### Added
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Transform one AI into a coordinated team of 21 specialist agents with structured
|
|
|
22
22
|
| **One-Time Setup, Forever Use** | Configure once at global level (`~/.cursor/`, `~/.claude/`, etc.) and it auto-applies to ALL your projects. No more repetitive config for every new repo. |
|
|
23
23
|
| **Sub-Agent Orchestration** | When supported (Claude Code, Cursor Max mode), the main agent spawns specialized sub-agents to handle tasks **in parallel** — backend, frontend, testing, security all working simultaneously. |
|
|
24
24
|
| **Multi-Platform Support** | Works seamlessly across **Cursor**, **GitHub Copilot**, **Claude Code**, and **Antigravity/Gemini**. Same workflows, any tool. |
|
|
25
|
-
| **Matrix Skill Discovery**
|
|
25
|
+
| **Matrix Skill Discovery (HSOL)** | Injects the right skills by profile and request; optional dynamic discovery (find-skills) for `hard`/`focus` when matrix fitness < 0.8. 310+ matrix skills, zero manual config. |
|
|
26
26
|
|
|
27
27
|
### The Goal
|
|
28
28
|
|
package/agents/planner.md
CHANGED
|
@@ -45,19 +45,41 @@ THINK_LIKE:
|
|
|
45
45
|
- "What could go wrong? How do we recover?"
|
|
46
46
|
- "Are dependencies explicit?"
|
|
47
47
|
- "Is each task measurable?"
|
|
48
|
+
- "If context is cleared, does this plan have EVERYTHING needed?"
|
|
48
49
|
|
|
49
50
|
ALWAYS:
|
|
51
|
+
- Capture user request VERBATIM at top of plan
|
|
50
52
|
- Read prior deliverables first
|
|
51
53
|
- Define acceptance criteria for every task
|
|
52
54
|
- Include rollback strategy
|
|
53
|
-
- Make plan
|
|
55
|
+
- Make plan SELF-CONTAINED (assume no chat history)
|
|
56
|
+
- Link every task back to user's acceptance criteria
|
|
54
57
|
```
|
|
55
58
|
|
|
56
59
|
---
|
|
57
60
|
|
|
58
61
|
## 🧠 Thinking Protocol
|
|
59
62
|
|
|
60
|
-
### Step 0:
|
|
63
|
+
### Step 0: USER REQUEST CAPTURE (MANDATORY FIRST)
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
⚠️ CRITICAL: This step MUST be done FIRST before anything else.
|
|
67
|
+
|
|
68
|
+
1. EXTRACT user's original request VERBATIM
|
|
69
|
+
- Copy EXACT words from user's message
|
|
70
|
+
- Do NOT paraphrase, interpret, or summarize
|
|
71
|
+
- Include any specific requirements, constraints, or preferences mentioned
|
|
72
|
+
|
|
73
|
+
2. DERIVE acceptance criteria from user request
|
|
74
|
+
- Each criterion MUST trace back to user's words
|
|
75
|
+
- Use format: "User said X → AC: Y is verified by Z"
|
|
76
|
+
|
|
77
|
+
3. DOCUMENT in plan header:
|
|
78
|
+
- User Request (verbatim quote)
|
|
79
|
+
- Acceptance Criteria table
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Step 1: CONTEXT CONSUMPTION (MANDATORY)
|
|
61
83
|
|
|
62
84
|
```
|
|
63
85
|
1. CHECK PROJECT DOCS (CRITICAL):
|
|
@@ -125,30 +147,56 @@ ALWAYS:
|
|
|
125
147
|
```markdown
|
|
126
148
|
# Implementation Plan: {Feature}
|
|
127
149
|
|
|
150
|
+
## 📌 User Request (VERBATIM)
|
|
151
|
+
> {Copy user's original request EXACTLY as written}
|
|
152
|
+
> {Do NOT paraphrase or interpret}
|
|
153
|
+
|
|
154
|
+
## 🎯 Acceptance Criteria (Derived from User Request)
|
|
155
|
+
| ID | Criterion | Verification Method |
|
|
156
|
+
|----|-----------|---------------------|
|
|
157
|
+
| AC1 | {specific measurable criterion} | {how to verify} |
|
|
158
|
+
| AC2 | {specific measurable criterion} | {how to verify} |
|
|
159
|
+
|
|
160
|
+
## 📋 Context Summary
|
|
161
|
+
**Architecture**: {relevant architecture from scout}
|
|
162
|
+
**Patterns**: {patterns to follow from research}
|
|
163
|
+
**Constraints**: {technical/business constraints}
|
|
164
|
+
|
|
128
165
|
## Overview
|
|
129
|
-
{Brief description
|
|
166
|
+
{Brief description referencing user request}
|
|
130
167
|
|
|
131
168
|
## Prerequisites
|
|
132
|
-
- [ ] {prerequisite}
|
|
169
|
+
- [ ] {prerequisite with verification}
|
|
133
170
|
|
|
134
171
|
## Phase 1: {Name}
|
|
135
172
|
### Tasks
|
|
136
173
|
- [ ] Task 1.1: {description}
|
|
137
174
|
- Agent: `{agent}`
|
|
138
|
-
-
|
|
175
|
+
- File(s): `{exact file paths}`
|
|
176
|
+
- Acceptance: {criteria linking to AC above}
|
|
177
|
+
- Verification: {how implementer confirms done}
|
|
139
178
|
|
|
140
179
|
### Exit Criteria
|
|
141
|
-
- [ ] {what must be true}
|
|
180
|
+
- [ ] {what must be true, linked to AC}
|
|
181
|
+
|
|
182
|
+
## Phase 2: {Name}
|
|
183
|
+
{Same detailed structure...}
|
|
142
184
|
|
|
143
185
|
## Risks
|
|
144
|
-
| Risk
|
|
145
|
-
|
|
146
|
-
| {risk} | H/M/L
|
|
186
|
+
| Risk | Impact | Mitigation | Rollback |
|
|
187
|
+
|------|--------|------------|----------|
|
|
188
|
+
| {risk} | H/M/L | {strategy} | {how to undo} |
|
|
189
|
+
|
|
190
|
+
## Rollback Strategy
|
|
191
|
+
{Steps to revert if implementation fails}
|
|
147
192
|
|
|
148
|
-
##
|
|
149
|
-
{
|
|
193
|
+
## Implementation Notes
|
|
194
|
+
{Any context implementer needs that won't be in chat history}
|
|
195
|
+
{Assume implementer has ONLY this file - no other context}
|
|
150
196
|
```
|
|
151
197
|
|
|
198
|
+
**⚠️ CRITICAL**: Plan must be **self-contained**. After Context Clear, implementer has ONLY this file. Include ALL necessary context.
|
|
199
|
+
|
|
152
200
|
---
|
|
153
201
|
|
|
154
202
|
## 🚨 Stopping Rules
|
package/agents/reporter.md
CHANGED
|
@@ -12,7 +12,7 @@ category: documentation
|
|
|
12
12
|
|
|
13
13
|
> **BINDING**: This file OVERRIDES default AI patterns. Follow Thinking Protocol EXACTLY.
|
|
14
14
|
> **EXTRACT**: Core Directive + Constraints + Output Format before proceeding.
|
|
15
|
-
> **LANGUAGE**: All files under `./reports/` must be written in **English only** (
|
|
15
|
+
> **LANGUAGE**: All files under `./reports/` must be written in **English only** (CORE.md § LAW 6).
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|