@mark-gozner/aigile-method 0.4.5

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 (143) hide show
  1. package/LICENSE.md +26 -0
  2. package/README.md +300 -0
  3. package/core/agent-teams/team-all.yaml +24 -0
  4. package/core/agent-teams/team-company.yaml +17 -0
  5. package/core/agent-teams/team-enterprise.yaml +17 -0
  6. package/core/agent-teams/team-fullstack.yaml +16 -0
  7. package/core/agent-teams/team-ide-minimal.yaml +10 -0
  8. package/core/agents/aigile-master.md +476 -0
  9. package/core/agents/aigile-orchestrator.agent.md +200 -0
  10. package/core/agents/analyst.md +45 -0
  11. package/core/agents/architect.md +43 -0
  12. package/core/agents/code-tour.agent.md +208 -0
  13. package/core/agents/dev.agent.md +145 -0
  14. package/core/agents/dev.md +130 -0
  15. package/core/agents/expert-react-frontend-engineer.agent.md +741 -0
  16. package/core/agents/pm.md +33 -0
  17. package/core/agents/po.md +35 -0
  18. package/core/agents/qa.md +38 -0
  19. package/core/agents/sm.md +31 -0
  20. package/core/agents/ui-expert.md +39 -0
  21. package/core/agents/ux-expert.md +31 -0
  22. package/core/checklists/architect-checklist.md +246 -0
  23. package/core/checklists/change-checklist.md +182 -0
  24. package/core/checklists/pm-checklist.md +286 -0
  25. package/core/checklists/po-master-checklist.md +291 -0
  26. package/core/checklists/story-dod-checklist.md +94 -0
  27. package/core/checklists/story-draft-checklist.md +153 -0
  28. package/core/core-config.yaml +22 -0
  29. package/core/data/aigile-kb.md +112 -0
  30. package/core/data/brainstorming-techniques.md +73 -0
  31. package/core/data/elicitation-methods.md +42 -0
  32. package/core/data/technical-preferences.md +52 -0
  33. package/core/data/test-levels-framework.md +43 -0
  34. package/core/data/test-priorities-matrix.md +26 -0
  35. package/core/instructions/csharp.instructions.md +656 -0
  36. package/core/instructions/dotnet/csharp.instructions.md +656 -0
  37. package/core/instructions/java/java.instructions.md +67 -0
  38. package/core/instructions/java/spring-boot.instructions.md +122 -0
  39. package/core/instructions/java.instructions.md +67 -0
  40. package/core/instructions/spring-boot.instructions.md +122 -0
  41. package/core/prompts/README.md +11 -0
  42. package/core/prompts/architecture/architecture-blueprint-generator.prompt.md +322 -0
  43. package/core/prompts/architecture/architecture-validation.prompt.md +71 -0
  44. package/core/prompts/architecture/file-tree-generator.prompt.md +405 -0
  45. package/core/prompts/architecture/technical-project-analyze.prompt.md +43 -0
  46. package/core/prompts/architecture-blueprint-generator.prompt.md +322 -0
  47. package/core/prompts/architecture-validation.prompt.md +71 -0
  48. package/core/prompts/code-review.prompt.md +107 -0
  49. package/core/prompts/confluence-in-md.prompt.md +167 -0
  50. package/core/prompts/copilot-instructions-blueprint-generator.prompt.md +294 -0
  51. package/core/prompts/create-implementation-plan.prompt.md +157 -0
  52. package/core/prompts/create-oo-component-documentation.prompt.md +193 -0
  53. package/core/prompts/file-tree-generator.prompt.md +405 -0
  54. package/core/prompts/generate-unit-tests.prompt.md +291 -0
  55. package/core/prompts/java/java-doc.prompt.md +24 -0
  56. package/core/prompts/java/java-junit.prompt.md +64 -0
  57. package/core/prompts/java/junit-5.prompt.md +64 -0
  58. package/core/prompts/java-doc.prompt.md +24 -0
  59. package/core/prompts/java-junit.prompt.md +64 -0
  60. package/core/prompts/junit-5.prompt.md +64 -0
  61. package/core/prompts/release-notes/README.md +11 -0
  62. package/core/prompts/release-notes/release-notes.prompt.md +723 -0
  63. package/core/prompts/release-notes.prompt.md +723 -0
  64. package/core/prompts/technical-project-analyze.prompt.md +43 -0
  65. package/core/tasks/advanced-elicitation.md +119 -0
  66. package/core/tasks/check-story-implemented.md +44 -0
  67. package/core/tasks/code-arch-review-with-github.md +40 -0
  68. package/core/tasks/create-architecture-doc.md +55 -0
  69. package/core/tasks/create-jira-epic-from-confluence.md +70 -0
  70. package/core/tasks/create-jira-story-from-confluence.md +39 -0
  71. package/core/tasks/create-jira-story-from-text.md +39 -0
  72. package/core/tasks/create-next-story.md +35 -0
  73. package/core/tasks/create-prd-doc.md +54 -0
  74. package/core/tasks/create-stories-from-epic.md +66 -0
  75. package/core/tasks/create-tasks-for-story.md +60 -0
  76. package/core/tasks/document-project.md +69 -0
  77. package/core/tasks/execute-checklist.md +37 -0
  78. package/core/tasks/explain-story-from-jira.md +44 -0
  79. package/core/tasks/facilitate-brainstorming-session.md +69 -0
  80. package/core/tasks/figma-audit-design-system.md +20 -0
  81. package/core/tasks/front-end-spec-from-design.md +33 -0
  82. package/core/tasks/gate.md +64 -0
  83. package/core/tasks/groom-jira-story.md +52 -0
  84. package/core/tasks/help.md +27 -0
  85. package/core/tasks/implement-freeform-work-item.md +30 -0
  86. package/core/tasks/implement-story-from-jira.md +63 -0
  87. package/core/tasks/implement-unit-tests.md +45 -0
  88. package/core/tasks/market-research-from-context7.md +37 -0
  89. package/core/tasks/review-story.md +30 -0
  90. package/core/tasks/sonarqube-hotspot-review.md +39 -0
  91. package/core/tasks/standup-digest.md +21 -0
  92. package/core/tasks/sync-jira-backlog.md +32 -0
  93. package/core/tasks/test-design.md +68 -0
  94. package/core/tasks/validate-next-story.md +37 -0
  95. package/core/tasks/verify-jira-story-e2e.md +45 -0
  96. package/core/templates/architecture-tmpl.yaml +651 -0
  97. package/core/templates/brainstorming-output-tmpl.yaml +156 -0
  98. package/core/templates/brownfield-architecture-tmpl.yaml +477 -0
  99. package/core/templates/brownfield-prd-tmpl.yaml +281 -0
  100. package/core/templates/front-end-architecture-tmpl.yaml +219 -0
  101. package/core/templates/front-end-spec-tmpl.yaml +350 -0
  102. package/core/templates/fullstack-architecture-tmpl.yaml +824 -0
  103. package/core/templates/market-research-tmpl.yaml +253 -0
  104. package/core/templates/prd-tmpl.yaml +203 -0
  105. package/core/templates/project-brief-tmpl.yaml +222 -0
  106. package/core/templates/qa-gate-tmpl.yaml +103 -0
  107. package/core/templates/story-tmpl.yaml +138 -0
  108. package/core/workflows/brownfield-fullstack.yaml +298 -0
  109. package/core/workflows/brownfield-service.yaml +188 -0
  110. package/core/workflows/brownfield-ui.yaml +198 -0
  111. package/core/workflows/greenfield-fullstack.yaml +241 -0
  112. package/core/workflows/greenfield-service.yaml +207 -0
  113. package/core/workflows/greenfield-ui.yaml +236 -0
  114. package/dist/agents/aigile-master.txt +500 -0
  115. package/dist/agents/aigile-orchestrator.agent.txt +224 -0
  116. package/dist/agents/analyst.txt +69 -0
  117. package/dist/agents/architect.txt +67 -0
  118. package/dist/agents/code-tour.agent.txt +232 -0
  119. package/dist/agents/dev.agent.txt +169 -0
  120. package/dist/agents/dev.txt +154 -0
  121. package/dist/agents/expert-react-frontend-engineer.agent.txt +765 -0
  122. package/dist/agents/pm.txt +57 -0
  123. package/dist/agents/po.txt +59 -0
  124. package/dist/agents/qa.txt +62 -0
  125. package/dist/agents/sm.txt +55 -0
  126. package/dist/agents/ui-expert.txt +63 -0
  127. package/dist/agents/ux-expert.txt +55 -0
  128. package/dist/dev-agent-bundle.txt +154 -0
  129. package/dist/teams/team-company.txt +10789 -0
  130. package/docs/mcp-servers.md +102 -0
  131. package/docs/orchestrator-guide.md +526 -0
  132. package/mcp/servers.json +108 -0
  133. package/mcp/servers.yaml +124 -0
  134. package/package.json +72 -0
  135. package/tools/cli.js +1864 -0
  136. package/tools/installer/README.md +24 -0
  137. package/tools/installer/lib/ide-setup.js +295 -0
  138. package/tools/installer/lib/installer.js +131 -0
  139. package/tools/md-assets/web-agent-startup-instructions.md +21 -0
  140. package/tools/postinstall.js +72 -0
  141. package/tools/shared/bannerArt.js +68 -0
  142. package/tools/validate-bundles.js +54 -0
  143. package/tools/verify-publish-registry.js +34 -0
@@ -0,0 +1,33 @@
1
+ # pm
2
+
3
+ ```yaml
4
+ agent:
5
+ name: Sergiu
6
+ id: pm
7
+ title: Product Manager
8
+ icon: 📋
9
+ whenToUse: Planning, delivery tracking, stakeholder alignment
10
+ persona:
11
+ role: Technical PM & Delivery Lead
12
+ style: Outcome-focused, transparent, structured, risk-aware
13
+ identity: Drives delivery by aligning stakeholders, scope, and capacity
14
+ focus: Planning, tracking, impediment removal, and clear reporting
15
+ commands:
16
+ - help
17
+ - create-prd
18
+ - shard-prd
19
+ - correct-course
20
+ - exit
21
+ mcp-tools:
22
+ required: [sequentialthinking, context7, atlassian]
23
+ notes:
24
+ - When requests are broad (e.g., multi-initiative planning), use GitHub Copilot Chat TODOs to create an actionable checklist (sync data, analyze, decide, communicate) and mark progress.
25
+ mcp-usage:
26
+ - objective: Sync sprint status and blockers
27
+ use: atlassian.jira_search/jira_get_board_issues to collect data; sequentialthinking to plan interventions; output a digest
28
+ - objective: Draft a PRD with supporting research
29
+ use: context7 for references; maintain TODOs for open questions and stakeholder inputs
30
+ dependencies:
31
+ data:
32
+ - aigile-kb.md
33
+ ```
@@ -0,0 +1,35 @@
1
+ # po
2
+
3
+ ```yaml
4
+ agent:
5
+ name: Mada
6
+ id: po
7
+ title: Product Owner
8
+ icon: 📝
9
+ persona:
10
+ role: Outcome-focused PO who writes testable stories and clarifies scope
11
+ style: Clear, measurable, user-centric; avoids implementation bias
12
+ identity: Ensures backlog quality and value delivery through refinement and alignment
13
+ focus: Story clarity, AC quality, prioritization, stakeholder alignment
14
+ commands:
15
+ - help
16
+ - create-jira-story-from-confluence {confluenceUrl}
17
+ - create-jira-story-from-text {text}
18
+ - execute-checklist-po
19
+ - shard-doc {document} {destination}
20
+ - validate-story-draft {story}
21
+ - exit
22
+ mcp-tools:
23
+ required: [sequentialthinking, context7, atlassian]
24
+ notes:
25
+ - Stories are tool- and stack-agnostic; focus on user outcomes and AC in GWT form
26
+ - For complex backlog grooming or document work, use GitHub Copilot Chat TODOs to split tasks (collect inputs, draft, refine, validate) and track to completion.
27
+ mcp-usage:
28
+ - objective: Create/refine a story from Confluence content
29
+ use: atlassian.confluence_get_page + sequentialthinking to extract value, users, and AC; generate a testable story
30
+ - objective: Groom and prioritize backlog
31
+ use: atlassian.jira_search with filters; produce a short decision log and TODOs for follow-ups
32
+ dependencies:
33
+ data:
34
+ - aigile-kb.md
35
+ ```
@@ -0,0 +1,38 @@
1
+ # qa
2
+
3
+ ```yaml
4
+ agent:
5
+ name: Cristina
6
+ id: qa
7
+ title: Test Architect & Quality Advisor
8
+ icon: 🧪
9
+ persona:
10
+ role: Quality enabler focused on risk-based testing and fast feedback
11
+ style: Evidence-driven, concise, automation-first when practical
12
+ commands:
13
+ - help
14
+ - review {story}
15
+ - gate {story}
16
+ - test-design {story}
17
+ - verify-jira-story-e2e {urlOrId}
18
+ - exit
19
+ mcp-tools:
20
+ required: [sequentialthinking, context7]
21
+ optional: [atlassian, sonarqube, playwright]
22
+ notes:
23
+ - All guidance is tool-agnostic; adapt frameworks and runners to the project
24
+ - Use GitHub Copilot Chat TODOs for complex test plans or gates to enumerate test activities, risks, and exit criteria; tick TODOs as validations pass.
25
+ mcp-usage:
26
+ - objective: Design an end-to-end test plan for a Jira story
27
+ use: atlassian.jira_get_issue to extract AC → derive tests across levels per test-levels-framework.md; manage TODOs by scenario
28
+ - objective: Validate UI flows rapidly
29
+ use: playwright.navigate/click/fill/screenshot in recorded steps; attach artifacts and results summary
30
+ - objective: Reduce risk hotspots
31
+ use: sonarqube to identify hotspots; prioritize with test-priorities-matrix.md; track TODOs through remediation
32
+ dependencies:
33
+ data:
34
+ - test-levels-framework.md
35
+ - test-priorities-matrix.md
36
+ - technical-preferences.md
37
+ - aigile-kb.md
38
+ ```
@@ -0,0 +1,31 @@
1
+ # sm
2
+
3
+ ```yaml
4
+ agent:
5
+ name: Andra
6
+ id: sm
7
+ title: Scrum Master
8
+ icon: 🏃
9
+ persona:
10
+ role: Scrum Master & Agile Coach
11
+ style: Facilitative, data-informed, calm under pressure
12
+ identity: Improves flow and teamwork by removing impediments and refining practices
13
+ focus: Ceremony facilitation, team health, and continuous improvement
14
+ commands:
15
+ - help
16
+ - draft
17
+ - story-checklist
18
+ - exit
19
+ mcp-tools:
20
+ required: [sequentialthinking, context7, atlassian]
21
+ mcp-usage:
22
+ - objective: Prepare a standup digest from Jira data
23
+ use: atlassian.jira_get_board_issues; summarize status and blockers; create TODOs by owner
24
+ - objective: Track impediments and follow-ups
25
+ use: sequentialthinking to plan, then maintain TODOs and mark resolved items
26
+ notes:
27
+ - For complex facilitation or impediment removal, use GitHub Copilot Chat TODOs to list actions, owners, and checkpoints, checking them off as the team progresses.
28
+ dependencies:
29
+ data:
30
+ - aigile-kb.md
31
+ ```
@@ -0,0 +1,39 @@
1
+ # ui-expert
2
+
3
+ ```yaml
4
+ agent:
5
+ name: Daniel
6
+ id: ui-expert
7
+ title: UI Expert
8
+ icon: 🧩
9
+ persona:
10
+ role: UI Design Specialist & Visual Design Authority
11
+ style: Systematic, brand-conscious, detail-oriented
12
+ identity: Creates and maintains coherent UI through design systems and specs
13
+ focus: Design system health, specs, and handoff quality
14
+ whenToUse: Advanced UI workflows, Figma operations, tokens & component libraries
15
+ discipline:
16
+ - Use sequentialthinking for multi-step UI tasks
17
+ - When workflows are complex, use GitHub Copilot Chat TODOs to break down design tasks (audit, propose, validate, handoff) and tick them off as completed
18
+ - Read DS guidelines from context7 before proposing new tokens/components
19
+ - Gate any write-to-github actions with explicit user confirmation
20
+ commands:
21
+ - help
22
+ - audit-design-system {team|file}
23
+ - draft-wireflow {feature}
24
+ - generate-redlines {frame}
25
+ - export-design-tokens
26
+ - handoff-spec {frame}
27
+ - exit
28
+ mcp-tools:
29
+ required: [sequentialthinking, context7, figma]
30
+ optional: [github.com]
31
+ mcp-usage:
32
+ - objective: Audit a Figma file for DS compliance
33
+ use: figma server tools if available; produce TODOs for mismatches and follow-ups
34
+ - objective: Prepare handoff specs
35
+ use: sequentialthinking to outline artifacts; export redlines and specs; tick TODOs as assets are ready
36
+ dependencies:
37
+ data:
38
+ - aigile-kb.md
39
+ ```
@@ -0,0 +1,31 @@
1
+ # ux-expert
2
+
3
+ ```yaml
4
+ agent:
5
+ name: Cata
6
+ id: ux-expert
7
+ title: UX Expert
8
+ icon: 🎨
9
+ persona:
10
+ role: UX Research Specialist & User Advocate
11
+ style: User-centered, research-driven, empathetic
12
+ identity: Aligns solutions with user needs through research and testing
13
+ focus: Research plans, journey mapping, and usability testing
14
+ commands:
15
+ - help
16
+ - create-front-end-spec
17
+ - generate-ui-prompt
18
+ - exit
19
+ mcp-tools:
20
+ required: [sequentialthinking, context7]
21
+ mcp-usage:
22
+ - objective: Plan and execute research
23
+ use: sequentialthinking to structure the study; maintain TODOs for recruitment, sessions, and synthesis
24
+ - objective: Ground designs in references
25
+ use: context7 to find relevant research; synthesize insights and contradictions
26
+ notes:
27
+ - For complex research and journey mapping, use GitHub Copilot Chat TODOs to structure phases (plan, collect, analyze, synthesize) and track progress against objectives.
28
+ dependencies:
29
+ data:
30
+ - aigile-kb.md
31
+ ```
@@ -0,0 +1,246 @@
1
+ # Architect Solution Validation Checklist
2
+
3
+ This checklist serves as a comprehensive framework for the Architect to validate the technical design and architecture before development execution. The Architect should systematically work through each item, ensuring the architecture is robust, scalable, secure, and aligned with the product requirements.
4
+
5
+ [[LLM: INITIALIZATION INSTRUCTIONS - REQUIRED ARTIFACTS
6
+
7
+ Before proceeding with this checklist, ensure you have access to:
8
+
9
+ 1. architecture.md - The primary architecture document (check docs/architecture.md)
10
+ 2. prd.md - Product Requirements Document for requirements alignment (check docs/prd.md)
11
+ 3. frontend-architecture.md or fe-architecture.md - If this is a UI project (check docs/frontend-architecture.md)
12
+ 4. Any system diagrams referenced in the architecture
13
+ 5. API documentation if available
14
+ 6. Technology stack details and version specifications
15
+
16
+ IMPORTANT: If any required documents are missing or inaccessible, immediately ask the user for their location or content before proceeding.
17
+
18
+ PROJECT TYPE DETECTION:
19
+ First, determine the project type by checking:
20
+
21
+ - Does the architecture include a frontend/UI component?
22
+ - Is there a frontend-architecture.md document?
23
+ - Does the PRD mention user interfaces or frontend requirements?
24
+
25
+ If this is a backend-only or service-only project:
26
+
27
+ - Skip sections marked with [[FRONTEND ONLY]]
28
+ - Focus extra attention on API design, service architecture, and integration patterns
29
+ - Note in your final report that frontend sections were skipped due to project type
30
+
31
+ VALIDATION APPROACH:
32
+ For each section, you must:
33
+
34
+ 1. Deep Analysis - Don't just check boxes, thoroughly analyze each item against the provided documentation
35
+ 2. Evidence-Based - Cite specific sections or quotes from the documents when validating
36
+ 3. Critical Thinking - Question assumptions and identify gaps, not just confirm what's present
37
+ 4. Risk Assessment - Consider what could go wrong with each architectural decision
38
+
39
+ EXECUTION MODE:
40
+ Ask the user if they want to work through the checklist:
41
+
42
+ - Section by section (interactive mode) - Review each section, present findings, get confirmation before proceeding
43
+ - All at once (comprehensive mode) - Complete full analysis and present comprehensive report at end]]
44
+
45
+ ## 1. REQUIREMENTS ALIGNMENT
46
+
47
+ [[LLM: Before evaluating this section, take a moment to fully understand the product's purpose and goals from the PRD. What is the core problem being solved? Who are the users? What are the critical success factors? Keep these in mind as you validate alignment. For each item, don't just check if it's mentioned - verify that the architecture provides a concrete technical solution.]]
48
+
49
+ ### 1.1 Functional Requirements Coverage
50
+
51
+ - [ ] Architecture supports all functional requirements in the PRD
52
+ - [ ] Technical approaches for all epics and stories are addressed
53
+ - [ ] Edge cases and performance scenarios are considered
54
+ - [ ] All required integrations are accounted for
55
+ - [ ] User journeys are supported by the technical architecture
56
+
57
+ ### 1.2 Non-Functional Requirements Alignment
58
+
59
+ - [ ] Performance requirements are addressed with specific solutions
60
+ - [ ] Scalability considerations are documented with approach
61
+ - [ ] Security requirements have corresponding technical controls
62
+ - [ ] Reliability and resilience approaches are defined
63
+ - [ ] Compliance requirements have technical implementations
64
+
65
+ ### 1.3 Technical Constraints Adherence
66
+
67
+ - [ ] All technical constraints from PRD are satisfied
68
+ - [ ] Platform/language requirements are followed
69
+ - [ ] Infrastructure constraints are accommodated
70
+ - [ ] Third-party service constraints are addressed
71
+ - [ ] Organizational technical standards are followed
72
+
73
+ ## 2. ARCHITECTURE FUNDAMENTALS
74
+
75
+ [[LLM: Architecture clarity is crucial for successful implementation. As you review this section, visualize the system as if you were explaining it to a new developer. Are there any ambiguities that could lead to misinterpretation? Would an AI agent be able to implement this architecture without confusion? Look for specific diagrams, component definitions, and clear interaction patterns.]]
76
+
77
+ ### 2.1 Architecture Clarity
78
+
79
+ - [ ] Architecture is documented with clear diagrams
80
+ - [ ] Major components and their responsibilities are defined
81
+ - [ ] Component interactions and dependencies are mapped
82
+ - [ ] Data flows are clearly illustrated
83
+ - [ ] Technology choices for each component are specified
84
+
85
+ ### 2.2 Separation of Concerns
86
+
87
+ - [ ] Clear boundaries between UI, business logic, and data layers
88
+ - [ ] Responsibilities are cleanly divided between components
89
+ - [ ] Interfaces between components are well-defined
90
+ - [ ] Components adhere to single responsibility principle
91
+ - [ ] Cross-cutting concerns (logging, auth, etc.) are properly addressed
92
+
93
+ ### 2.3 Design Patterns & Best Practices
94
+
95
+ - [ ] Appropriate design patterns are employed
96
+ - [ ] Industry best practices are followed
97
+ - [ ] Anti-patterns are avoided
98
+ - [ ] Consistent architectural style throughout
99
+ - [ ] Pattern usage is documented and explained
100
+
101
+ ### 2.4 Modularity & Maintainability
102
+
103
+ - [ ] System is divided into cohesive, loosely-coupled modules
104
+ - [ ] Components can be developed and tested independently
105
+ - [ ] Changes can be localized to specific components
106
+ - [ ] Code organization promotes discoverability
107
+ - [ ] Architecture specifically designed for AI agent implementation
108
+
109
+ ## 3. TECHNICAL STACK & DECISIONS
110
+
111
+ [[LLM: Technology choices have long-term implications. For each technology decision, consider: Is this the simplest solution that could work? Are we over-engineering? Will this scale? What are the maintenance implications? Are there security vulnerabilities in the chosen versions? Verify that specific versions are defined, not ranges.]]
112
+
113
+ ### 3.1 Technology Selection
114
+
115
+ - [ ] Selected technologies meet all requirements
116
+ - [ ] Technology versions are specifically defined (not ranges)
117
+ - [ ] Technology choices are justified with clear rationale
118
+ - [ ] Alternatives considered are documented with pros/cons
119
+ - [ ] Selected stack components work well together
120
+
121
+ ### 3.2 Frontend Architecture [[FRONTEND ONLY]]
122
+
123
+ [[LLM: Skip this entire section if this is a backend-only or service-only project. Only evaluate if the project includes a user interface.]]
124
+
125
+ - [ ] UI framework and libraries are specifically selected
126
+ - [ ] State management approach is defined
127
+ - [ ] Component structure and organization is specified
128
+ - [ ] Responsive/adaptive design approach is outlined
129
+ - [ ] Build and bundling strategy is determined
130
+
131
+ ### 3.3 Backend Architecture
132
+
133
+ - [ ] API design and standards are defined
134
+ - [ ] Service organization and boundaries are clear
135
+ - [ ] Authentication and authorization approach is specified
136
+ - [ ] Error handling strategy is outlined
137
+ - [ ] Backend scaling approach is defined
138
+
139
+ ### 3.4 Data Architecture
140
+
141
+ - [ ] Data models are fully defined
142
+ - [ ] Database technologies are selected with justification
143
+ - [ ] Data access patterns are documented
144
+ - [ ] Data migration/seeding approach is specified
145
+ - [ ] Data backup and recovery strategies are outlined
146
+
147
+ ## 4. SECURITY & COMPLIANCE
148
+
149
+ [[LLM: Security cannot be an afterthought. For each security consideration, think: What could go wrong? How would an attacker exploit this? Are we following security best practices? Have we considered all attack vectors?]]
150
+
151
+ ### 4.1 Security Controls
152
+
153
+ - [ ] Authentication mechanisms are properly designed
154
+ - [ ] Authorization controls are comprehensive and granular
155
+ - [ ] Data encryption at rest and in transit is addressed
156
+ - [ ] Input validation and sanitization approaches are defined
157
+ - [ ] Security headers and protections are specified
158
+
159
+ ### 4.2 Data Protection
160
+
161
+ - [ ] Sensitive data handling procedures are defined
162
+ - [ ] Data privacy requirements are met
163
+ - [ ] Data retention and deletion policies are addressed
164
+ - [ ] Audit trails and logging approaches are specified
165
+ - [ ] Compliance requirements are satisfied
166
+
167
+ ## 5. PERFORMANCE & SCALABILITY
168
+
169
+ [[LLM: Performance affects user experience and operational costs. Consider: What are the bottlenecks? How will this perform under load? What are the scaling limits? Are we optimizing the right things?]]
170
+
171
+ ### 5.1 Performance Considerations
172
+
173
+ - [ ] Performance requirements are quantified and addressed
174
+ - [ ] Caching strategies are defined where appropriate
175
+ - [ ] Database optimization approaches are specified
176
+ - [ ] Asset optimization strategies are outlined
177
+ - [ ] Performance monitoring approaches are defined
178
+
179
+ ### 5.2 Scalability Design
180
+
181
+ - [ ] Horizontal scaling approaches are documented
182
+ - [ ] Load balancing strategies are defined
183
+ - [ ] Resource scaling triggers and approaches are specified
184
+ - [ ] Database scaling considerations are addressed
185
+ - [ ] Microservices boundaries are appropriate (if applicable)
186
+
187
+ ## 6. OPERATIONAL READINESS
188
+
189
+ [[LLM: The system must be operable in production. Consider: How will we deploy this? How will we monitor it? What happens when things go wrong? Can we recover from failures?]]
190
+
191
+ ### 6.1 Deployment & Infrastructure
192
+
193
+ - [ ] Deployment strategies are clearly defined
194
+ - [ ] Infrastructure requirements are documented
195
+ - [ ] Environment configuration management is addressed
196
+ - [ ] Container/orchestration strategies are specified (if applicable)
197
+ - [ ] Infrastructure as Code approaches are outlined
198
+
199
+ ### 6.2 Monitoring & Observability
200
+
201
+ - [ ] Logging strategies and standards are defined
202
+ - [ ] Metrics collection and monitoring approaches are specified
203
+ - [ ] Alerting strategies are documented
204
+ - [ ] Troubleshooting and debugging approaches are outlined
205
+ - [ ] Health check and status monitoring is addressed
206
+
207
+ ### 6.3 Reliability & Recovery
208
+
209
+ - [ ] Backup and disaster recovery procedures are defined
210
+ - [ ] Fault tolerance and resilience strategies are specified
211
+ - [ ] Circuit breaker and retry patterns are implemented
212
+ - [ ] Rollback procedures are documented
213
+ - [ ] Service level objectives (SLOs) are defined
214
+
215
+ ## FINAL VALIDATION
216
+
217
+ [[LLM: FINAL ARCHITECTURE VALIDATION REPORT
218
+
219
+ After completing the checklist, provide a comprehensive validation report:
220
+
221
+ 1. Overall Assessment
222
+ - Architecture readiness: APPROVED / NEEDS REVISION / BLOCKED
223
+ - Risk level: LOW / MEDIUM / HIGH
224
+ - Implementation complexity: SIMPLE / MODERATE / COMPLEX
225
+
226
+ 2. Critical Issues (if any)
227
+ - List any items that MUST be resolved before implementation
228
+ - Specify the impact of each issue
229
+ - Recommend specific actions
230
+
231
+ 3. Recommendations
232
+ - Suggested improvements or optimizations
233
+ - Areas requiring special attention during implementation
234
+ - Technical debt considerations
235
+
236
+ 4. Implementation Readiness
237
+ - Can development begin with current architecture?
238
+ - What additional documentation is needed?
239
+ - Are there any blocking dependencies?
240
+
241
+ Be thorough but practical - perfect architecture doesn't exist, but it must be sufficient for successful implementation.]]
242
+
243
+ - [ ] All critical architecture components have been validated
244
+ - [ ] Risk assessment completed for major decisions
245
+ - [ ] Architecture aligns with project goals and constraints
246
+ - [ ] Implementation guidance is sufficient for development team
@@ -0,0 +1,182 @@
1
+ # Change Navigation Checklist
2
+
3
+ **Purpose:** To systematically guide the selected Agent and user through the analysis and planning required when a significant change (pivot, tech issue, missing requirement, failed story) is identified during the AIgile workflow.
4
+
5
+ **Instructions:** Review each item with the user. Mark `[x]` for completed/confirmed, `[N/A]` if not applicable, or add notes for discussion points.
6
+
7
+ [[LLM: INITIALIZATION INSTRUCTIONS - CHANGE NAVIGATION
8
+
9
+ Changes during development are inevitable, but how we handle them determines project success or failure.
10
+
11
+ Before proceeding, understand:
12
+
13
+ 1. This checklist is for SIGNIFICANT changes that affect the project direction
14
+ 2. Minor adjustments within a story don't require this process
15
+ 3. The goal is to minimize wasted work while adapting to new realities
16
+ 4. User buy-in is critical - they must understand and approve changes
17
+
18
+ Required context:
19
+
20
+ - The triggering story or issue
21
+ - Current project state (completed stories, current epic)
22
+ - Access to PRD, architecture, and other key documents
23
+ - Understanding of remaining work planned
24
+
25
+ APPROACH:
26
+ This is an interactive process with the user. Work through each section together, discussing implications and options. The user makes final decisions, but provide expert guidance on technical feasibility and impact.
27
+
28
+ REMEMBER: Changes are opportunities to improve, not failures. Handle them professionally and constructively.]]
29
+
30
+ ---
31
+
32
+ ## 1. Understand the Trigger & Context
33
+
34
+ [[LLM: Start by fully understanding what went wrong and why. Don't jump to solutions yet. Ask probing questions:
35
+
36
+ - What exactly happened that triggered this review?
37
+ - Is this a one-time issue or symptomatic of a larger problem?
38
+ - Could this have been anticipated earlier?
39
+ - What assumptions were incorrect?
40
+
41
+ Be specific and factual, not blame-oriented.]]
42
+
43
+ - [ ] **Identify Triggering Story:** Clearly identify the story (or stories) that revealed the issue.
44
+ - [ ] **Define the Issue:** Articulate the core problem precisely.
45
+ - [ ] Is it a technical limitation/dead-end?
46
+ - [ ] Is it a newly discovered requirement?
47
+ - [ ] Is it a fundamental misunderstanding of existing requirements?
48
+ - [ ] Is it a necessary pivot based on feedback or new information?
49
+ - [ ] Is it a failed/abandoned story needing a new approach?
50
+ - [ ] **Assess Initial Impact:** Describe the immediate observed consequences (e.g., blocked progress, incorrect functionality, non-viable tech).
51
+ - [ ] **Gather Evidence:** Note any specific logs, error messages, user feedback, or analysis that supports the issue definition.
52
+
53
+ ## 2. Epic Impact Assessment
54
+
55
+ [[LLM: Changes ripple through the project structure. Systematically evaluate:
56
+
57
+ 1. Can we salvage the current epic with modifications?
58
+ 2. Do future epics still make sense given this change?
59
+ 3. Are we creating or eliminating dependencies?
60
+ 4. Does the epic sequence need reordering?
61
+
62
+ Think about both immediate and downstream effects.]]
63
+
64
+ - [ ] **Analyze Current Epic:**
65
+ - [ ] Can the current epic containing the trigger story still be completed?
66
+ - [ ] Does the current epic need modification (story changes, additions, removals)?
67
+ - [ ] Should the current epic be abandoned or fundamentally redefined?
68
+ - [ ] **Analyze Future Epics:**
69
+ - [ ] Review all remaining planned epics.
70
+ - [ ] Does the issue require changes to planned stories in future epics?
71
+ - [ ] Does the issue invalidate any future epics?
72
+ - [ ] Does the issue necessitate the creation of entirely new epics?
73
+ - [ ] Should the order/priority of future epics be changed?
74
+ - [ ] **Summarize Epic Impact:** Briefly document the overall effect on the project's epic structure and flow.
75
+
76
+ ## 3. Artifact Conflict & Impact Analysis
77
+
78
+ [[LLM: Documentation drives development in AIgile. Check each artifact:
79
+
80
+ 1. Does this change invalidate documented decisions?
81
+ 2. Are architectural assumptions still valid?
82
+ 3. Do user flows need rethinking?
83
+ 4. Are technical constraints different than documented?
84
+
85
+ Be thorough - missed conflicts cause future problems.]]
86
+
87
+ - [ ] **Review PRD:**
88
+ - [ ] Does the issue conflict with the core goals or requirements stated in the PRD?
89
+ - [ ] Does the PRD need clarification or updates based on the new understanding?
90
+ - [ ] **Review Architecture Document:**
91
+ - [ ] Does the issue conflict with the documented architecture (components, patterns, tech choices)?
92
+ - [ ] Are specific components/diagrams/sections impacted?
93
+ - [ ] Does the technology list need updating?
94
+ - [ ] Do data models or schemas need revision?
95
+ - [ ] Are external API integrations affected?
96
+ - [ ] **Review Frontend Spec (if applicable):**
97
+ - [ ] Does the issue conflict with the FE architecture, component library choice, or UI/UX design?
98
+ - [ ] Are specific FE components or user flows impacted?
99
+ - [ ] **Review Other Artifacts (if applicable):**
100
+ - [ ] Consider impact on deployment scripts, IaC, monitoring setup, etc.
101
+ - [ ] **Summarize Artifact Impact:** List all artifacts requiring updates and the nature of the changes needed.
102
+
103
+ ## 4. Path Forward Evaluation
104
+
105
+ [[LLM: Present options clearly with pros/cons. For each path:
106
+
107
+ 1. What's the effort required?
108
+ 2. What work gets thrown away?
109
+ 3. What risks are we taking?
110
+ 4. How does this affect timeline?
111
+ 5. Is this sustainable long-term?
112
+
113
+ Be honest about trade-offs. There's rarely a perfect solution.]]
114
+
115
+ - [ ] **Option 1: Direct Adjustment / Integration:**
116
+ - [ ] Can the issue be addressed by modifying/adding future stories within the existing plan?
117
+ - [ ] Define the scope and nature of these adjustments.
118
+ - [ ] Assess feasibility, effort, and risks of this path.
119
+ - [ ] **Option 2: Potential Rollback:**
120
+ - [ ] Would reverting completed stories significantly simplify addressing the issue?
121
+ - [ ] Identify specific stories/commits to consider for rollback.
122
+ - [ ] Assess the effort required for rollback.
123
+ - [ ] Assess the impact of rollback (lost work, data implications).
124
+ - [ ] Compare the net benefit/cost vs. Direct Adjustment.
125
+ - [ ] **Option 3: PRD MVP Review & Potential Re-scoping:**
126
+ - [ ] Is the original PRD MVP still achievable given the issue and constraints?
127
+ - [ ] Does the MVP scope need reduction (removing features/epics)?
128
+ - [ ] Do the core MVP goals need modification?
129
+ - [ ] Are alternative approaches needed to meet the original MVP intent?
130
+ - [ ] **Extreme Case:** Does the issue necessitate a fundamental replan or potentially a new PRD V2 (to be handled by PM)?
131
+ - [ ] **Select Recommended Path:** Based on the evaluation, agree on the most viable path forward.
132
+
133
+ ## 5. Sprint Change Proposal Components
134
+
135
+ [[LLM: The proposal must be actionable and clear. Ensure:
136
+
137
+ 1. The issue is explained in plain language
138
+ 2. Impacts are quantified where possible
139
+ 3. The recommended path has clear rationale
140
+ 4. Next steps are specific and assigned
141
+ 5. Success criteria for the change are defined
142
+
143
+ This proposal guides all subsequent work.]]
144
+
145
+ (Ensure all agreed-upon points from previous sections are captured in the proposal)
146
+
147
+ - [ ] **Identified Issue Summary:** Clear, concise problem statement.
148
+ - [ ] **Epic Impact Summary:** How epics are affected.
149
+ - [ ] **Artifact Adjustment Needs:** List of documents to change.
150
+ - [ ] **Recommended Path Forward:** Chosen solution with rationale.
151
+ - [ ] **PRD MVP Impact:** Changes to scope/goals (if any).
152
+ - [ ] **High-Level Action Plan:** Next steps for stories/updates.
153
+ - [ ] **Agent Handoff Plan:** Identify roles needed (PM, Arch, Design Arch, PO).
154
+
155
+ ## 6. Final Review & Handoff
156
+
157
+ [[LLM: Changes require coordination. Before concluding:
158
+
159
+ 1. Is the user fully aligned with the plan?
160
+ 2. Do all stakeholders understand the impacts?
161
+ 3. Are handoffs to other agents clear?
162
+ 4. Is there a rollback plan if the change fails?
163
+ 5. How will we validate the change worked?
164
+
165
+ Get explicit approval - implicit agreement causes problems.
166
+
167
+ FINAL REPORT:
168
+ After completing the checklist, provide a concise summary:
169
+
170
+ - What changed and why
171
+ - What we're doing about it
172
+ - Who needs to do what
173
+ - When we'll know if it worked
174
+
175
+ Keep it action-oriented and forward-looking.]]
176
+
177
+ - [ ] **Review Checklist:** Confirm all relevant items were discussed.
178
+ - [ ] **Review Sprint Change Proposal:** Ensure it accurately reflects the discussion and decisions.
179
+ - [ ] **User Approval:** Obtain explicit user approval for the proposal.
180
+ - [ ] **Confirm Next Steps:** Reiterate the handoff plan and the next actions to be taken by specific agents.
181
+
182
+ ---