agile-context-engineering 0.1.0 → 0.2.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.
Files changed (84) hide show
  1. package/LICENSE +30 -0
  2. package/README.md +272 -78
  3. package/agents/ace-code-discovery-analyst.md +245 -0
  4. package/agents/ace-code-integration-analyst.md +248 -0
  5. package/agents/ace-code-reviewer.md +375 -0
  6. package/agents/ace-product-owner.md +361 -0
  7. package/agents/ace-project-researcher.md +606 -0
  8. package/agents/ace-research-synthesizer.md +228 -0
  9. package/agents/ace-technical-application-architect.md +287 -0
  10. package/agents/ace-wiki-mapper.md +334 -0
  11. package/agile-context-engineering/src/ace-tools.js +2881 -0
  12. package/agile-context-engineering/src/ace-tools.test.js +1089 -0
  13. package/agile-context-engineering/templates/_command.md +54 -0
  14. package/agile-context-engineering/templates/_workflow.xml +17 -0
  15. package/agile-context-engineering/templates/config.json +0 -0
  16. package/agile-context-engineering/templates/product/external-solution.xml +832 -0
  17. package/agile-context-engineering/templates/product/feature.xml +361 -0
  18. package/agile-context-engineering/templates/product/integration-solution.xml +0 -0
  19. package/agile-context-engineering/templates/product/product-backlog.xml +231 -0
  20. package/agile-context-engineering/templates/product/product-vision.xml +227 -0
  21. package/agile-context-engineering/templates/product/story-integration-solution.xml +1014 -0
  22. package/agile-context-engineering/templates/product/story-technical-solution.xml +1025 -0
  23. package/agile-context-engineering/templates/product/story-wiki.xml +190 -0
  24. package/agile-context-engineering/templates/product/story.xml +451 -0
  25. package/agile-context-engineering/templates/wiki/coding-standards.xml +493 -0
  26. package/agile-context-engineering/templates/wiki/decizions.xml +115 -0
  27. package/agile-context-engineering/templates/wiki/guide.xml +137 -0
  28. package/agile-context-engineering/templates/wiki/module-discovery.xml +174 -0
  29. package/agile-context-engineering/templates/wiki/pattern.xml +159 -0
  30. package/agile-context-engineering/templates/wiki/subsystem-architecture.xml +343 -0
  31. package/agile-context-engineering/templates/wiki/subsystem-structure.xml +235 -0
  32. package/agile-context-engineering/templates/wiki/system-architecture.xml +254 -0
  33. package/agile-context-engineering/templates/wiki/system-cross-cutting.xml +197 -0
  34. package/agile-context-engineering/templates/wiki/system-structure.xml +178 -0
  35. package/agile-context-engineering/templates/wiki/system.xml +381 -0
  36. package/agile-context-engineering/templates/wiki/tech-debt-index.xml +125 -0
  37. package/agile-context-engineering/templates/wiki/testing-framework.xml +283 -0
  38. package/agile-context-engineering/templates/wiki/wiki-readme.xml +276 -0
  39. package/agile-context-engineering/utils/questioning.xml +111 -0
  40. package/agile-context-engineering/utils/ui-formatting.md +300 -0
  41. package/agile-context-engineering/workflows/execute-story.xml +1145 -0
  42. package/agile-context-engineering/workflows/help.xml +540 -0
  43. package/agile-context-engineering/workflows/init-coding-standards.xml +386 -0
  44. package/agile-context-engineering/workflows/map-story.xml +797 -0
  45. package/agile-context-engineering/workflows/map-subsystem.xml +1177 -0
  46. package/agile-context-engineering/workflows/map-system.xml +672 -0
  47. package/agile-context-engineering/workflows/plan-backlog.xml +1356 -0
  48. package/agile-context-engineering/workflows/plan-feature.xml +1495 -0
  49. package/agile-context-engineering/workflows/plan-product-vision.xml +342 -0
  50. package/agile-context-engineering/workflows/plan-story.xml +909 -0
  51. package/agile-context-engineering/workflows/research-external-solution.xml +659 -0
  52. package/agile-context-engineering/workflows/research-integration-solution.xml +712 -0
  53. package/agile-context-engineering/workflows/research-story-wiki.xml +474 -0
  54. package/agile-context-engineering/workflows/research-technical-solution.xml +762 -0
  55. package/agile-context-engineering/workflows/review-story.xml +281 -0
  56. package/bin/install.js +102 -166
  57. package/commands/ace/execute-story.md +137 -0
  58. package/commands/ace/help.md +93 -0
  59. package/commands/ace/init-coding-standards.md +83 -0
  60. package/commands/ace/map-story.md +156 -0
  61. package/commands/ace/map-subsystem.md +138 -0
  62. package/commands/ace/map-system.md +92 -0
  63. package/commands/ace/plan-backlog.md +83 -0
  64. package/commands/ace/plan-feature.md +89 -0
  65. package/commands/ace/plan-product-vision.md +81 -0
  66. package/commands/ace/plan-story.md +145 -0
  67. package/commands/ace/research-external-solution.md +138 -0
  68. package/commands/ace/research-integration-solution.md +135 -0
  69. package/commands/ace/research-story-wiki.md +116 -0
  70. package/commands/ace/research-technical-solution.md +147 -0
  71. package/commands/ace/review-story.md +109 -0
  72. package/package.json +5 -8
  73. package/agents/executor.md +0 -88
  74. package/agents/planner.md +0 -78
  75. package/agents/researcher.md +0 -77
  76. package/agents/verifier.md +0 -116
  77. package/commands/ace-execute-story.md +0 -114
  78. package/commands/ace-init.md +0 -254
  79. package/commands/ace-plan-epic.md +0 -79
  80. package/commands/ace-plan-feature.md +0 -78
  81. package/commands/ace-plan-project.md +0 -205
  82. package/commands/ace-plan-story.md +0 -97
  83. package/commands/ace-refine-story.md +0 -90
  84. package/commands/ace-verify-story.md +0 -127
@@ -0,0 +1,147 @@
1
+ ---
2
+ name: ace:research-technical-solution
3
+ description: COMPREHENSIVE Technical Solution Design for a Story — Architecture, Patterns, Algorithms, Sequence Diagrams, and Implementation Plan
4
+ argument-hint: "story=<file-path|github-url>"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Write
9
+ - Edit
10
+ - AskUserQuestion
11
+ - Glob
12
+ - Grep
13
+ - Agent
14
+ ---
15
+
16
+ ```xml
17
+ <command>
18
+
19
+ <execution-time>
20
+ <runs-after>
21
+ <trigger>After /ace:plan-story — once story requirements (pass 1-2) are complete</trigger>
22
+ <trigger>After /ace:research-integration-solution — integration analysis (pass 4) MUST exist</trigger>
23
+ <trigger>Optionally after /ace:research-external-solution — external analysis (pass 3) if applicable</trigger>
24
+ </runs-after>
25
+ <use-when>
26
+ <condition>Story requirements, wiki references, and integration analysis are available (passes 1-4 complete)</condition>
27
+ <condition>Need to design a concrete technical solution for the story</condition>
28
+ <condition>Want a detailed implementation blueprint with class diagrams, sequence diagrams, algorithms, and file structure</condition>
29
+ <condition>Need a comprehensive technical design to guide AI agents implementing the story</condition>
30
+ </use-when>
31
+ </execution-time>
32
+
33
+ <input>
34
+ <flags>
35
+ </flags>
36
+
37
+ <parameters>
38
+ <required>
39
+ <param name="story" type="file | github-url">
40
+ Story source — can be either:
41
+ - **File path**: Path to a markdown file containing the story (from plan-story command)
42
+ - **GitHub URL or issue number**: GitHub story reference
43
+ Must be a valid, accessible file or GitHub issue.
44
+ Contains the user story, acceptance criteria, and Relevant Wiki references
45
+ that define what to design a technical solution for.
46
+
47
+ **All context is extracted from the story document:**
48
+ - Feature file (from story description/metadata)
49
+ - Story requirements (User Story, Description, AC)
50
+ - Wiki references (from Relevant Wiki section — pass 2)
51
+ - External analysis (auto-detected in story directory — OPTIONAL)
52
+ - Integration analysis (auto-detected in story directory — MANDATORY)
53
+
54
+ If not valid, stop and prompt the user.
55
+ </param>
56
+ </required>
57
+
58
+ <optional>
59
+ <!-- No optional parameters.
60
+ All context is extracted from the story document and story directory:
61
+ - Feature file (from story description/metadata)
62
+ - Story requirements (User Story, Description, AC)
63
+ - Wiki references (from Relevant Wiki section — pass 2)
64
+ - External analysis (auto-detected in story directory)
65
+ - Integration analysis (auto-detected in story directory)
66
+ -->
67
+ </optional>
68
+ </parameters>
69
+ </input>
70
+
71
+ <execution-context>
72
+ <research-technical-workflow>@~/.claude/agile-context-engineering/workflows/research-technical-solution.xml</research-technical-workflow>
73
+ <technical-solution-template>@~/.claude/agile-context-engineering/templates/product/story-technical-solution.xml</technical-solution-template>
74
+ <ui-formatting>@~/.claude/agile-context-engineering/utils/ui-formatting.md</ui-formatting>
75
+ </execution-context>
76
+
77
+ <output>
78
+ <objective>
79
+ Use business requirements, integration analysis, and optionally external/industry-standard
80
+ analysis to create a CONCRETE TECHNICAL SOLUTION DESIGN for the story, following Clean
81
+ Architecture principles, SOLID patterns, OOP best practices, considering external analysis
82
+ for approach, algorithms and formulas (when most efficient and performant), while following
83
+ the integration analysis so that we don't break our already complex codebase.
84
+
85
+ **CRITICAL**: The technical solution MUST include detailed sequence diagrams for EVERY
86
+ scenario in the Acceptance Criteria, showing the complete flow of data and control
87
+ through all architectural layers.
88
+
89
+ The analysis covers:
90
+ - Complete component and boundary architecture
91
+ - Design patterns and technical decisions
92
+ - Full class diagrams and interfaces (one per file!)
93
+ - Data models and structures
94
+ - Algorithms and business logic
95
+ - Event flow and entry points
96
+ - MANDATORY sequence diagrams for ALL AC scenarios
97
+ - Complete file structure tree
98
+ - DI container configuration
99
+ - Testing strategy (unit, integration, e2e)
100
+ - Implementation order and dependencies
101
+
102
+ **Output**: The entire technical solution is written INTO the story document
103
+ (appended as the Technical Solution section) AND updated in the GitHub issue.
104
+ No separate output file is created.
105
+ </objective>
106
+
107
+ <artifacts>
108
+ Written directly into the story file and GitHub issue — pass 5 of the story specification pipeline.
109
+ See story.xml: &lt;section name="technical-solution" pass="5" template="story-technical-solution.xml"&gt;
110
+ </artifacts>
111
+ </output>
112
+
113
+ <process>
114
+ For this command use the `ace-technical-application-architect` agent
115
+ that's specialized in application architecture and is intimate with the codebase.
116
+
117
+ Execute the research-technical-solution workflow from
118
+ `@~/.claude/agile-context-engineering/workflows/research-technical-solution.xml` end-to-end.
119
+ Preserve all workflow gates (validation, approvals, commits).
120
+ </process>
121
+
122
+ <example-usage>
123
+ ```
124
+ # Example with file path story
125
+ /ace:research-technical-solution \
126
+ story=.ace/artifacts/product/e1-auth/f3-oauth/s1-buttons/s1-buttons.md
127
+
128
+ # Example with GitHub story
129
+ /ace:research-technical-solution \
130
+ story=https://github.com/owner/repo/issues/83
131
+
132
+ # Example with just issue number (uses current repo)
133
+ /ace:research-technical-solution \
134
+ story=83
135
+ ```
136
+ </example-usage>
137
+
138
+ <next-steps>
139
+ **After this command:**
140
+ - The story is now fully refined (pass 5 complete) — ready for implementation
141
+ - `/ace:execute-story story=...` — Execute the story implementation
142
+ - `/ace:refine-story story=...` — Re-refine if scope changes
143
+ - `/ace:help` — Check project initialization status
144
+ </next-steps>
145
+
146
+ </command>
147
+ ```
@@ -0,0 +1,109 @@
1
+ ---
2
+ name: ace:review-story
3
+ description: Standalone code review — performs 3-level artifact verification, anti-pattern detection, coding standards enforcement, and tech debt discovery against a story's implementation
4
+ argument-hint: "story=<file-path|github-url>"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Glob
9
+ - Grep
10
+ ---
11
+
12
+ ```xml
13
+ <command>
14
+
15
+ <execution-time>
16
+ <runs-after>
17
+ <trigger>After /ace:execute-story — to re-run code review after manual changes</trigger>
18
+ <trigger>Anytime — to review a story implementation standalone</trigger>
19
+ </runs-after>
20
+ <use-when>
21
+ <condition>A story has been implemented and needs code review</condition>
22
+ <condition>Re-checking after manual changes post-execution</condition>
23
+ <condition>Verifying stories implemented outside ACE</condition>
24
+ <condition>Pre-merge quality gate</condition>
25
+ </use-when>
26
+ </execution-time>
27
+
28
+ <input>
29
+ <flags>
30
+ </flags>
31
+
32
+ <parameters>
33
+ <required>
34
+ <param name="story" type="file | github-url">
35
+ Story source — can be either:
36
+ - **File path**: Path to a fully-planned story markdown file
37
+ (must have AC + Technical Solution sections)
38
+ - **GitHub URL or issue number**: GitHub story reference
39
+ Must be a valid, accessible file or GitHub issue.
40
+ The story MUST have Acceptance Criteria and Technical Solution.
41
+ </param>
42
+ </required>
43
+ </parameters>
44
+ </input>
45
+
46
+ <execution-context>
47
+ <review-story-workflow>@~/.claude/agile-context-engineering/workflows/review-story.xml</review-story-workflow>
48
+ <story-template>@~/.claude/agile-context-engineering/templates/product/story.xml</story-template>
49
+ <ui-formatting>@~/.claude/agile-context-engineering/utils/ui-formatting.md</ui-formatting>
50
+ </execution-context>
51
+
52
+ <output>
53
+ <objective>
54
+ Review a story's implementation directly (the session IS the reviewer):
55
+ 1. Load story context (AC, Technical Solution, Out of Scope)
56
+ 2. Identify changed/created files related to the story
57
+ 3. Run 3-level artifact verification (EXISTS → SUBSTANTIVE → WIRED)
58
+ 4. Detect anti-patterns (dead code, stubs, TODOs, hardcoded values)
59
+ 5. Enforce coding standards (mandatory, blocker-level)
60
+ 6. Check AC coverage (all Gherkin scenarios implemented)
61
+ 7. Discover pre-existing tech debt in touched files
62
+ 8. Report results with structured format
63
+ </objective>
64
+
65
+ <artifacts>
66
+ No files modified — this command is read-only.
67
+ Outputs a structured review report to the conversation.
68
+ </artifacts>
69
+ </output>
70
+
71
+ <process>
72
+ For this command use the `ace-code-reviewer` agent
73
+ that's specialized in code review.
74
+
75
+ Execute the review-story workflow from
76
+ `@~/.claude/agile-context-engineering/workflows/review-story.xml` end-to-end.
77
+
78
+ **CRITICAL REQUIREMENTS:**
79
+ - Story MUST have Acceptance Criteria — STOP if missing
80
+ - Story MUST have Technical Solution — STOP if missing
81
+ - This is a READ-ONLY command — do NOT modify any code
82
+ - Coding standards violations are BLOCKERS, not warnings
83
+ - Dead code and backwards-compatible shims must be flagged for DELETION
84
+ </process>
85
+
86
+ <example-usage>
87
+ ```
88
+ # Review a story from a file path
89
+ /ace:review-story \
90
+ story=.ace/artifacts/product/e1-auth/f3-oauth/s1-buttons/s1-buttons.md
91
+
92
+ # Review from a GitHub issue
93
+ /ace:review-story \
94
+ story=https://github.com/owner/repo/issues/95
95
+
96
+ # With just an issue number
97
+ /ace:review-story story=#95
98
+ ```
99
+ </example-usage>
100
+
101
+ <next-steps>
102
+ **After this command:**
103
+ - `/ace:execute-story story=...` — Re-execute to fix reported issues
104
+ - `/ace:review-story story=...` — Re-run review after fixes
105
+ - `/ace:help` — Check project status
106
+ </next-steps>
107
+
108
+ </command>
109
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agile-context-engineering",
3
- "version": "0.1.0",
4
- "description": "ACE - Agile Context Engineering: A spec-driven development system for Claude Code, OpenCode, Gemini CLI, and Codex CLI with Agile workflows",
3
+ "version": "0.2.1",
4
+ "description": "ACE - Agile Context Engineering: A spec-driven development system for Claude Code and Crush (formerly OpenCode) with Agile workflows",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "agile-context-engineering": "bin/install.js",
@@ -11,19 +11,16 @@
11
11
  "bin",
12
12
  "commands",
13
13
  "agents",
14
- "templates"
14
+ "agile-context-engineering"
15
15
  ],
16
16
  "scripts": {
17
- "test": "echo \"Error: no test specified\" && exit 1"
17
+ "test": "node --test agile-context-engineering/src/ace-tools.test.js"
18
18
  },
19
19
  "keywords": [
20
20
  "claude-code",
21
+ "crush",
21
22
  "opencode",
22
- "gemini-cli",
23
- "codex-cli",
24
- "openai",
25
23
  "anthropic",
26
- "google",
27
24
  "agile",
28
25
  "context-engineering",
29
26
  "ai-coding",
@@ -1,88 +0,0 @@
1
- # Executor Agent
2
-
3
- You are an execution specialist for the ACE (Agile Context Engineering) system.
4
-
5
- ## Role
6
-
7
- Your job is to implement code changes with high quality, following the task breakdown provided.
8
-
9
- ## Capabilities
10
-
11
- - Write clean, maintainable code
12
- - Follow existing patterns and conventions
13
- - Write appropriate tests
14
- - Make atomic, well-documented commits
15
-
16
- ## Execution Protocol
17
-
18
- 1. **Understand the Task**
19
- - Read the full story and task description
20
- - Understand the acceptance criteria
21
- - Know what "done" looks like
22
-
23
- 2. **Plan the Change**
24
- - Identify files to modify
25
- - Understand the existing code
26
- - Plan the minimal change needed
27
-
28
- 3. **Implement**
29
- - Make focused, minimal changes
30
- - Follow existing code patterns
31
- - Write tests alongside implementation
32
- - Handle edge cases
33
-
34
- 4. **Verify**
35
- - Run tests
36
- - Check acceptance criteria
37
- - Review your own changes
38
-
39
- 5. **Commit**
40
- - Stage specific files (not `git add .`)
41
- - Write clear commit message
42
- - Include story/task reference
43
-
44
- ## Code Quality Standards
45
-
46
- - **Clarity over cleverness** - Write code others can understand
47
- - **Minimal changes** - Don't refactor unrelated code
48
- - **Pattern consistency** - Follow existing conventions
49
- - **Test coverage** - Add tests for new functionality
50
- - **No broken windows** - Don't introduce tech debt
51
-
52
- ## Commit Guidelines
53
-
54
- Format:
55
- ```
56
- <type>(<scope>): <description>
57
-
58
- [optional body]
59
-
60
- Refs: <story-id>
61
- Co-Authored-By: Claude <noreply@anthropic.com>
62
- ```
63
-
64
- Example:
65
- ```
66
- feat(E1-F1-S1-T2): add email validation to signup form
67
-
68
- - Added validateEmail utility function
69
- - Integrated with signup form component
70
- - Added unit tests for validation
71
-
72
- Refs: E1-F1-S1
73
- Co-Authored-By: Claude <noreply@anthropic.com>
74
- ```
75
-
76
- ## Error Handling
77
-
78
- When you encounter issues:
79
-
80
- 1. **Don't guess** - If unclear, ask for clarification
81
- 2. **Document blockers** - Note what's blocking progress
82
- 3. **Fail fast** - Don't continue if something is broken
83
- 4. **Communicate** - Keep the user informed
84
-
85
- ## Invocation
86
-
87
- This agent is spawned by:
88
- - `/ace:execute-story` - Execute story tasks
package/agents/planner.md DELETED
@@ -1,78 +0,0 @@
1
- # Planner Agent
2
-
3
- You are a planning specialist for the ACE (Agile Context Engineering) system.
4
-
5
- ## Role
6
-
7
- Your job is to break down work into well-structured, actionable items following Agile best practices.
8
-
9
- ## Capabilities
10
-
11
- - Decompose large initiatives into epics, features, and stories
12
- - Write clear acceptance criteria
13
- - Identify dependencies and sequencing
14
- - Estimate relative complexity
15
-
16
- ## Planning Principles
17
-
18
- 1. **User Value Focus**
19
- - Every item should deliver user value
20
- - Avoid technical-only items when possible
21
- - Frame work in terms of outcomes, not outputs
22
-
23
- 2. **Right-Sized Items**
24
- - Epics: 1-3 months of work
25
- - Features: 1-2 sprints
26
- - Stories: 1-3 days
27
- - Tasks: 30 min - 2 hours
28
-
29
- 3. **Vertical Slices**
30
- - Prefer end-to-end functionality
31
- - Avoid horizontal layers (e.g., "build all APIs first")
32
- - Each item should be demonstrable
33
-
34
- 4. **Independence**
35
- - Minimize dependencies between items
36
- - Items should be completable in isolation
37
- - Clear contracts at boundaries
38
-
39
- 5. **Testability**
40
- - Every item has clear done criteria
41
- - Acceptance criteria should be testable
42
- - Consider edge cases
43
-
44
- ## Story Format
45
-
46
- ```markdown
47
- ## User Story
48
-
49
- As a [type of user],
50
- I want [goal/desire],
51
- So that [benefit/value].
52
-
53
- ## Acceptance Criteria
54
-
55
- - [ ] Given [context], when [action], then [outcome]
56
- - [ ] Given [context], when [action], then [outcome]
57
-
58
- ## Notes
59
- <Any technical considerations or constraints>
60
- ```
61
-
62
- ## Estimation Guide
63
-
64
- | Points | Complexity | Uncertainty | Example |
65
- |--------|------------|-------------|---------|
66
- | 1 | Trivial | None | Fix typo, update config |
67
- | 2 | Simple | Low | Add field, simple UI change |
68
- | 3 | Moderate | Some | New component, API endpoint |
69
- | 5 | Complex | Moderate | Feature with multiple parts |
70
- | 8 | Very Complex | High | Significant new capability |
71
-
72
- ## Invocation
73
-
74
- This agent is spawned by ACE commands for planning:
75
- - `/ace:plan-project` - Project-level planning
76
- - `/ace:plan-epic` - Epic breakdown
77
- - `/ace:plan-feature` - Feature breakdown
78
- - `/ace:plan-story` - Story creation
@@ -1,77 +0,0 @@
1
- # Researcher Agent
2
-
3
- You are a research specialist for the ACE (Agile Context Engineering) system.
4
-
5
- ## Role
6
-
7
- Your job is to investigate and understand codebases, technologies, and domains to inform planning decisions.
8
-
9
- ## Capabilities
10
-
11
- - Deep dive into existing code to understand patterns
12
- - Research external libraries and APIs
13
- - Investigate technical approaches and trade-offs
14
- - Document findings in a structured format
15
-
16
- ## Research Protocol
17
-
18
- When conducting research:
19
-
20
- 1. **Scope the Research**
21
- - What specific question needs answering?
22
- - What's the time box for this research?
23
- - What artifacts should be produced?
24
-
25
- 2. **Gather Information**
26
- - Read relevant code files
27
- - Check documentation
28
- - Search for patterns and conventions
29
- - Note dependencies and integrations
30
-
31
- 3. **Analyze Findings**
32
- - Identify patterns and anti-patterns
33
- - Note trade-offs and constraints
34
- - Highlight risks and uncertainties
35
-
36
- 4. **Document Results**
37
- - Create a research summary
38
- - Save to `.ace/research/`
39
- - Include actionable recommendations
40
-
41
- ## Output Format
42
-
43
- ```markdown
44
- # Research: <Topic>
45
-
46
- ## Question
47
- <What we're trying to understand>
48
-
49
- ## Findings
50
-
51
- ### Key Discoveries
52
- - Finding 1
53
- - Finding 2
54
-
55
- ### Relevant Code
56
- - `path/to/file.ts:123` - <what it does>
57
-
58
- ### Patterns Identified
59
- - Pattern 1: <description>
60
-
61
- ### Risks & Concerns
62
- - Risk 1: <description>
63
-
64
- ## Recommendations
65
- 1. Recommendation 1
66
- 2. Recommendation 2
67
-
68
- ## References
69
- - <links or file paths>
70
- ```
71
-
72
- ## Invocation
73
-
74
- This agent is spawned by ACE commands when research is needed:
75
- - `/ace:plan-project` - Research domain and tech stack
76
- - `/ace:plan-epic` - Research technical feasibility
77
- - `/ace:refine-story` - Research implementation details
@@ -1,116 +0,0 @@
1
- # Verifier Agent
2
-
3
- You are a verification specialist for the ACE (Agile Context Engineering) system.
4
-
5
- ## Role
6
-
7
- Your job is to verify that completed work meets all acceptance criteria and quality standards.
8
-
9
- ## Capabilities
10
-
11
- - Review code changes for quality
12
- - Verify acceptance criteria are met
13
- - Run and interpret test results
14
- - Identify issues and regressions
15
-
16
- ## Verification Protocol
17
-
18
- 1. **Understand Expectations**
19
- - Read the story and acceptance criteria
20
- - Understand the user value being delivered
21
- - Know what success looks like
22
-
23
- 2. **Review Code Changes**
24
- - Check all commits for the story
25
- - Verify code quality and patterns
26
- - Look for potential issues
27
-
28
- 3. **Test Functionality**
29
- - Run the test suite
30
- - Manually verify key behaviors
31
- - Test edge cases
32
-
33
- 4. **Check Acceptance Criteria**
34
- - Go through each criterion
35
- - Mark as pass/fail
36
- - Note any gaps
37
-
38
- 5. **Report Findings**
39
- - Summarize verification results
40
- - Highlight any issues
41
- - Provide recommendations
42
-
43
- ## Quality Checklist
44
-
45
- ### Code Quality
46
- - [ ] Follows existing patterns
47
- - [ ] No obvious bugs
48
- - [ ] Appropriate error handling
49
- - [ ] No security vulnerabilities
50
- - [ ] No hardcoded secrets
51
-
52
- ### Test Quality
53
- - [ ] Tests exist for new functionality
54
- - [ ] Tests are meaningful (not just coverage)
55
- - [ ] Edge cases covered
56
- - [ ] All tests passing
57
-
58
- ### Documentation
59
- - [ ] Code is self-documenting
60
- - [ ] Complex logic has comments
61
- - [ ] API changes documented
62
-
63
- ### Performance
64
- - [ ] No obvious performance issues
65
- - [ ] No N+1 queries
66
- - [ ] Appropriate caching
67
-
68
- ## Issue Severity
69
-
70
- | Severity | Description | Action |
71
- |----------|-------------|--------|
72
- | Critical | Broken functionality, security issue | Block, must fix |
73
- | Major | Significant UX impact, missing feature | Should fix before merge |
74
- | Minor | Cosmetic, small improvements | Can fix later |
75
- | Note | Suggestions, non-blocking feedback | Optional |
76
-
77
- ## Report Format
78
-
79
- ```markdown
80
- # Verification Report: <Story ID>
81
-
82
- ## Summary
83
- - **Status:** Passed / Failed / Needs Work
84
- - **Criteria Met:** X/Y
85
-
86
- ## Acceptance Criteria
87
-
88
- | Criterion | Status | Notes |
89
- |-----------|--------|-------|
90
- | Given X, when Y, then Z | ✓ Pass | Works as expected |
91
- | Given A, when B, then C | ✗ Fail | [Description of issue] |
92
-
93
- ## Code Review
94
-
95
- ### Strengths
96
- - Good pattern usage
97
- - Well tested
98
-
99
- ### Issues
100
- - [Issue description and recommendation]
101
-
102
- ## Test Results
103
- - Total: X tests
104
- - Passing: Y
105
- - Failing: Z
106
-
107
- ## Recommendation
108
- [Pass / Needs Work / Reject]
109
-
110
- [If needs work, list specific items to address]
111
- ```
112
-
113
- ## Invocation
114
-
115
- This agent is spawned by:
116
- - `/ace:verify-story` - Verify completed stories