codex-genesis-harness 0.1.5 → 0.1.7
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/.codebase/ARCHITECTURE_REVIEW_COMPLETE.md +216 -216
- package/.codebase/CURRENT_STATE.md +8 -2
- package/.codebase/FILE_NAMING_CLARIFICATION.md +161 -161
- package/.codebase/HARNESS_COMPLETENESS_AUDIT.md +613 -613
- package/.codebase/IMPLEMENTATION_COMPLETE.md +429 -429
- package/.codebase/IMPLEMENTATION_HANDOFF.md +351 -351
- package/.codebase/IMPROVEMENTS_SUMMARY.md +419 -419
- package/.codebase/PHASE3_SKILLS_NAMING_COMPLETE.md +292 -292
- package/.codebase/PHASE_DEPENDENCY_MAP.md +486 -486
- package/.codebase/QUICK_START_SPEC_IMPACT.md +456 -456
- package/.codebase/README.md +139 -139
- package/.codebase/RECOVERY_POINTS.md +83 -438
- package/.codebase/beads.json +16 -0
- package/.codex/skills/genesis-ai-provider/SKILL.md +1 -1
- package/.codex/skills/genesis-api-contract/SKILL.md +1 -1
- package/.codex/skills/genesis-api-sync/SKILL.md +354 -354
- package/.codex/skills/genesis-api-sync/checklists/api-sync-checklist.md +101 -101
- package/.codex/skills/genesis-api-sync/templates/api-change-template.md +257 -257
- package/.codex/skills/genesis-architecture/SKILL.md +1 -1
- package/.codex/skills/genesis-codebase-map/SKILL.md +1 -1
- package/.codex/skills/genesis-debug-guide/SKILL.md +479 -479
- package/.codex/skills/genesis-debug-guide/checklists/flaky-test-investigation.md +339 -339
- package/.codex/skills/genesis-debug-guide/checklists/production-bug-debug.md +210 -210
- package/.codex/skills/genesis-debug-guide/checklists/test-failure-debug.md +158 -158
- package/.codex/skills/genesis-debug-guide/observability/debug-commands.md +365 -365
- package/.codex/skills/genesis-debug-guide/playbooks/unit-test-failures.md +289 -289
- package/.codex/skills/genesis-debug-guide/templates/debug-investigation-log.md +288 -288
- package/.codex/skills/genesis-design-spec/SKILL.md +3 -3
- package/.codex/skills/genesis-docs-automation/SKILL.md +1003 -1003
- package/.codex/skills/genesis-docs-automation/checklists/docs-validation.md +359 -359
- package/.codex/skills/genesis-docs-automation/checklists/spec-alignment.md +312 -312
- package/.codex/skills/genesis-docs-automation/observability/docs-tracking.md +382 -382
- package/.codex/skills/genesis-docs-automation/playbooks/auto-update-flow.md +851 -851
- package/.codex/skills/genesis-docs-automation/playbooks/changelog-generation.md +491 -491
- package/.codex/skills/genesis-docs-automation/templates/changelog-entry-template.md +187 -187
- package/.codex/skills/genesis-docs-automation/templates/handoff-template.md +297 -297
- package/.codex/skills/genesis-harness/SKILL.md +1428 -1427
- package/.codex/skills/genesis-harness/agents/openai.yaml +7 -7
- package/.codex/skills/genesis-harness/checklists/bug-fix-qa.md +169 -169
- package/.codex/skills/genesis-harness/checklists/new-feature-qa.md +157 -157
- package/.codex/skills/genesis-harness/checklists/refactor-qa.md +216 -216
- package/.codex/skills/genesis-harness/checklists/requirements-validation.md +211 -211
- package/.codex/skills/genesis-harness/references/planning-schema.md +35 -35
- package/.codex/skills/genesis-harness/references/quality-rubric.md +21 -21
- package/.codex/skills/genesis-harness/references/research-rubric.md +41 -41
- package/.codex/skills/genesis-harness/references/workflows.md +33 -33
- package/.codex/skills/genesis-harness/resources/agents-template.md +27 -27
- package/.codex/skills/genesis-harness/resources/api-docs-template.md +32 -32
- package/.codex/skills/genesis-harness/resources/architecture-template.md +30 -30
- package/.codex/skills/genesis-harness/resources/audit-template.md +26 -26
- package/.codex/skills/genesis-harness/resources/bug-template.md +34 -34
- package/.codex/skills/genesis-harness/resources/change-impact-matrix-template.md +204 -204
- package/.codex/skills/genesis-harness/resources/check-template.md +21 -21
- package/.codex/skills/genesis-harness/resources/conventions-template.md +42 -42
- package/.codex/skills/genesis-harness/resources/decision-template.md +33 -33
- package/.codex/skills/genesis-harness/resources/design-template.md +26 -26
- package/.codex/skills/genesis-harness/resources/escalation-template.md +21 -21
- package/.codex/skills/genesis-harness/resources/feature-template.md +49 -49
- package/.codex/skills/genesis-harness/resources/foundation-phase-template.md +131 -131
- package/.codex/skills/genesis-harness/resources/integrations-template.md +32 -32
- package/.codex/skills/genesis-harness/resources/journeys-template.md +13 -13
- package/.codex/skills/genesis-harness/resources/lessons-learned-template.md +12 -12
- package/.codex/skills/genesis-harness/resources/observability-template.md +34 -34
- package/.codex/skills/genesis-harness/resources/phase-00-foundation-template.md +76 -76
- package/.codex/skills/genesis-harness/resources/phase-template.md +34 -34
- package/.codex/skills/genesis-harness/resources/pitfalls-template.md +22 -22
- package/.codex/skills/genesis-harness/resources/planning-tree-template.md +39 -39
- package/.codex/skills/genesis-harness/resources/post-implementation-guide.md +347 -347
- package/.codex/skills/genesis-harness/resources/project-template.md +38 -38
- package/.codex/skills/genesis-harness/resources/quality-score-template.md +11 -11
- package/.codex/skills/genesis-harness/resources/requirements-template.md +26 -26
- package/.codex/skills/genesis-harness/resources/research-template.md +26 -26
- package/.codex/skills/genesis-harness/resources/review-template.md +22 -22
- package/.codex/skills/genesis-harness/resources/spec-changelog-template.md +6 -6
- package/.codex/skills/genesis-harness/resources/stack-template.md +33 -33
- package/.codex/skills/genesis-harness/resources/verification-template.md +26 -26
- package/.codex/skills/genesis-harness/scripts/check-architecture-boundaries.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/check-docs-sync.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/check-no-debug-logs.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/check-required-planning-files.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/check-spec-changelog.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/check-task-tracking.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/compact-context.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/create-adr.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/create-bug.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/create-feature.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/detect-stack.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/init-planning.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/list-changed-files.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/offload-log.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/run-verification.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/run-verify-loop.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/update-state.sh +0 -0
- package/.codex/skills/genesis-harness-engineering/SKILL.md +1 -1
- package/.codex/skills/genesis-new-design/SKILL.md +2 -1
- package/.codex/skills/genesis-new-design/agents/openai.yaml +3 -3
- package/.codex/skills/genesis-observability-automation/checklists/.gitkeep +0 -0
- package/.codex/skills/genesis-observability-automation/observability/.gitkeep +0 -0
- package/.codex/skills/genesis-observability-automation/playbooks/.gitkeep +0 -0
- package/.codex/skills/genesis-observability-automation/templates/.gitkeep +0 -0
- package/.codex/skills/genesis-pipeline-orchestration/SKILL.md +1 -1
- package/.codex/skills/genesis-planning/SKILL.md +26 -1
- package/.codex/skills/genesis-planning/checklists/mvp-readiness.md +18 -0
- package/.codex/skills/genesis-planning/examples/5-phase-roadmap-example.md +43 -0
- package/.codex/skills/genesis-planning/templates/phase-1-core.md +17 -0
- package/.codex/skills/genesis-planning/templates/phase-2-auth.md +17 -0
- package/.codex/skills/genesis-planning/templates/phase-3-features.md +17 -0
- package/.codex/skills/genesis-planning/templates/phase-4-integrations.md +17 -0
- package/.codex/skills/genesis-planning/templates/phase-5-readiness.md +17 -0
- package/.codex/skills/genesis-release/SKILL.md +24 -1
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/checklists/post-deployment-verification.md +274 -274
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/checklists/pre-release-validation.md +220 -220
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/observability/release-tracking.md +253 -253
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/playbooks/canary-deployment-orchestration.md +472 -472
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/playbooks/semantic-versioning-automation.md +494 -494
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/templates/deployment-strategy-template.md +303 -303
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/templates/release-runbook-template.md +420 -420
- package/.codex/skills/genesis-research-first/SKILL.md +237 -237
- package/.codex/skills/genesis-research-first/templates/.gitkeep +0 -0
- package/.codex/skills/genesis-spec-propagation/SKILL.md +534 -534
- package/.codex/skills/genesis-spec-propagation/checklists/phase-update-verification.md +384 -384
- package/.codex/skills/genesis-spec-propagation/checklists/spec-change-detection.md +257 -257
- package/.codex/skills/genesis-spec-propagation/observability/propagation-tracking.md +373 -373
- package/.codex/skills/genesis-spec-propagation/playbooks/breaking-change-propagation.md +692 -692
- package/.codex/skills/genesis-spec-propagation/playbooks/feature-change-propagation.md +434 -434
- package/.codex/skills/genesis-spec-propagation/templates/migration-guide-template.md +407 -407
- package/.codex/skills/{ui-ux-test-skill → genesis-ui-ux-test}/SKILL.md +1 -1
- package/.codex/skills/genesis-upgrade-design/agents/openai.yaml +3 -3
- package/.codex/skills/spec-impact-engine/SKILL.md +504 -504
- package/.codex/skills/spec-impact-engine/detect-spec-changes.sh +0 -0
- package/.codex-plugin/plugin.json +19 -19
- package/CHANGELOG.md +56 -0
- package/LICENSE +22 -22
- package/README.EN.md +780 -730
- package/README.VI.md +772 -723
- package/README.md +102 -247
- package/VERSION +2 -2
- package/bin/genesis-harness.js +695 -92
- package/package.json +9 -3
- package/scripts/README.md +342 -342
- package/scripts/compact-context.sh +0 -0
- package/scripts/contract_integrity_gate.js +83 -0
- package/scripts/detect-changes.sh +0 -0
- package/scripts/healing_telemetry.js +118 -0
- package/scripts/install.sh +5 -6
- package/scripts/offload-log.sh +0 -0
- package/scripts/prompt_sentinel.js +84 -0
- package/scripts/run-evals.sh +20 -24
- package/scripts/run-verify-loop.sh +11 -0
- package/scripts/spec_visual_sync.js +157 -0
- package/scripts/test_generator.js +142 -0
- package/scripts/transition_state.sh +0 -0
- package/scripts/uninstall.sh +2 -5
- package/scripts/validation_gates.sh +40 -1
- package/scripts/verify.sh +6 -61
- package/tests/unit/contract_integrity_gate.test.js +74 -0
- package/tests/unit/healing_telemetry.test.js +58 -0
- package/tests/unit/prompt_sentinel.test.js +50 -0
- package/tests/unit/spec_visual_sync.test.js +77 -0
- package/tests/unit/test_generator.test.js +62 -0
- package/.codex/skills/genesis-docs/SKILL.md +0 -46
- package/.codex/skills/genesis-docs/agents/openai.yaml +0 -7
- package/.codex/skills/genesis-release-orchestration/SKILL.md +0 -653
- package/.codex/skills/genesis-release-orchestration/agents/openai.yaml +0 -7
- package/.codex/skills/genesis-research/SKILL.md +0 -46
- package/.codex/skills/genesis-research/agents/openai.yaml +0 -7
- /package/.codex/skills/{genesis-docs/checklists/checklist.md → genesis-docs-automation/checklists/manual-docs-checklist.md} +0 -0
- /package/.codex/skills/{genesis-docs/examples/example.md → genesis-docs-automation/examples/manual-docs-example.md} +0 -0
- /package/.codex/skills/{genesis-docs → genesis-docs-automation}/templates/docs-update-template.md +0 -0
- /package/.codex/skills/{genesis-state-machine/SKILL.md → genesis-harness/references/state-machine.md} +0 -0
- /package/.codex/skills/{genesis-release-orchestration/examples/example.md → genesis-release/examples/orchestration-example.md} +0 -0
- /package/.codex/skills/{genesis-research → genesis-research-first}/checklists/checklist.md +0 -0
- /package/.codex/skills/{genesis-research/examples/example.md → genesis-research-first/examples/manual-research-example.md} +0 -0
- /package/.codex/skills/{genesis-research → genesis-research-first}/templates/research-note-template.md +0 -0
- /package/.codex/skills/{ui-ux-test-skill → genesis-ui-ux-test}/agents/openai.yaml +0 -0
- /package/.codex/skills/{ui-ux-test-skill → genesis-ui-ux-test}/checklists/checklist.md +0 -0
- /package/.codex/skills/{ui-ux-test-skill → genesis-ui-ux-test}/examples/example.md +0 -0
- /package/.codex/skills/{ui-ux-test-skill → genesis-ui-ux-test}/templates/playwright-test-template.md +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
interface:
|
|
1
|
+
interface:
|
|
2
2
|
display_name: "Genesis Harness"
|
|
3
|
-
short_description: "
|
|
4
|
-
brand_color: "#2563EB"
|
|
3
|
+
short_description: "— Lập kế hoạch, giám sát và kiểm thử dự án"
|
|
4
|
+
brand_color: "#2563EB"
|
|
5
5
|
default_prompt: "Use $genesis-harness to initialize planning and operate this repository with test-first workflows."
|
|
6
|
-
|
|
7
|
-
policy:
|
|
8
|
-
allow_implicit_invocation: true
|
|
9
|
-
|
|
6
|
+
|
|
7
|
+
policy:
|
|
8
|
+
allow_implicit_invocation: true
|
|
9
|
+
|
|
@@ -1,169 +1,169 @@
|
|
|
1
|
-
# Bug Fix Q&A Checklist
|
|
2
|
-
|
|
3
|
-
**Purpose**: Structured questionnaire to understand and document bug fixes before planning /fix-bug.
|
|
4
|
-
|
|
5
|
-
**Status**: MANDATORY - Complete before creating implementation plan.
|
|
6
|
-
|
|
7
|
-
## Bug Identification & Reproduction
|
|
8
|
-
|
|
9
|
-
- [ ] **Bug clearly described**:
|
|
10
|
-
- What is the incorrect behavior?
|
|
11
|
-
- What should happen instead?
|
|
12
|
-
- Step-by-step repro steps documented
|
|
13
|
-
|
|
14
|
-
- [ ] **Reproducibility confirmed**:
|
|
15
|
-
- Consistently reproducible?
|
|
16
|
-
- Specific conditions/environment needed?
|
|
17
|
-
- Affects all users or specific scenarios?
|
|
18
|
-
|
|
19
|
-
- [ ] **Severity & Priority assessed**:
|
|
20
|
-
- Critical (blocks core functionality)?
|
|
21
|
-
- High (significant impact, workaround exists)?
|
|
22
|
-
- Medium (inconvenience, non-blocking)?
|
|
23
|
-
- Low (cosmetic, nice-to-fix)?
|
|
24
|
-
|
|
25
|
-
- [ ] **Affected Versions identified**:
|
|
26
|
-
- When was this introduced?
|
|
27
|
-
- Which versions affected?
|
|
28
|
-
- Latest stable version affected?
|
|
29
|
-
|
|
30
|
-
## Root Cause Analysis
|
|
31
|
-
|
|
32
|
-
- [ ] **Root cause identified** (or hypothesis if unknown):
|
|
33
|
-
- Specific code location/module?
|
|
34
|
-
- Logic error or incorrect assumption?
|
|
35
|
-
- Missing validation or error handling?
|
|
36
|
-
- Race condition or state issue?
|
|
37
|
-
- Integration bug with external service?
|
|
38
|
-
|
|
39
|
-
- [ ] **Why was it missed**:
|
|
40
|
-
- Was there a test that should have caught this?
|
|
41
|
-
- Missing test coverage?
|
|
42
|
-
- Environment-specific (dev vs. production)?
|
|
43
|
-
|
|
44
|
-
- [ ] **Affected systems mapped**:
|
|
45
|
-
- Single module or cross-module issue?
|
|
46
|
-
- API side or client side?
|
|
47
|
-
- Database or state management?
|
|
48
|
-
- Performance or correctness?
|
|
49
|
-
|
|
50
|
-
## Impact Assessment
|
|
51
|
-
|
|
52
|
-
- [ ] **Data Integrity concerns**:
|
|
53
|
-
- Has data been corrupted or lost?
|
|
54
|
-
- Rollback/recovery strategy needed?
|
|
55
|
-
- Data migration required after fix?
|
|
56
|
-
|
|
57
|
-
- [ ] **User Impact**:
|
|
58
|
-
- How many users affected?
|
|
59
|
-
- What functionality is broken?
|
|
60
|
-
- Workaround available in the meantime?
|
|
61
|
-
|
|
62
|
-
- [ ] **Breaking Change Risk**:
|
|
63
|
-
- Does the fix change public API behavior?
|
|
64
|
-
- Will this break existing clients?
|
|
65
|
-
- Backward compatibility needed?
|
|
66
|
-
|
|
67
|
-
## Fix Strategy
|
|
68
|
-
|
|
69
|
-
- [ ] **Fix approach decided**:
|
|
70
|
-
- Minimal change to fix only the bug?
|
|
71
|
-
- Or refactor to prevent similar bugs?
|
|
72
|
-
- Tradeoffs understood?
|
|
73
|
-
|
|
74
|
-
- [ ] **Side Effects considered**:
|
|
75
|
-
- What other code paths use this?
|
|
76
|
-
- Could this fix introduce new bugs?
|
|
77
|
-
- Dependencies to check?
|
|
78
|
-
|
|
79
|
-
- [ ] **Regression Prevention**:
|
|
80
|
-
- What test catches this bug?
|
|
81
|
-
- Test added before or after fix?
|
|
82
|
-
- Similar patterns to look for?
|
|
83
|
-
|
|
84
|
-
## Testing & Verification
|
|
85
|
-
|
|
86
|
-
- [ ] **Test Case for Bug**:
|
|
87
|
-
- Failing test created before fix?
|
|
88
|
-
- Test reproduces the exact bug?
|
|
89
|
-
- Test passes after fix?
|
|
90
|
-
|
|
91
|
-
- [ ] **Regression Tests**:
|
|
92
|
-
- Existing tests still pass?
|
|
93
|
-
- Edge cases covered?
|
|
94
|
-
- Similar bugs tested in other areas?
|
|
95
|
-
|
|
96
|
-
- [ ] **Verification Plan**:
|
|
97
|
-
- How will we verify fix in production?
|
|
98
|
-
- Monitoring/alerts to confirm success?
|
|
99
|
-
- Rollback plan if fix causes issues?
|
|
100
|
-
|
|
101
|
-
## Deployment & Release
|
|
102
|
-
|
|
103
|
-
- [ ] **Hotfix or Regular Release**:
|
|
104
|
-
- Needs immediate hotfix deployment?
|
|
105
|
-
- Can wait for next regular release?
|
|
106
|
-
- Affects which release branches?
|
|
107
|
-
|
|
108
|
-
- [ ] **Release Notes**:
|
|
109
|
-
- What message for end users?
|
|
110
|
-
- Migration steps if needed?
|
|
111
|
-
- Workaround guidance during transition?
|
|
112
|
-
|
|
113
|
-
- [ ] **Rollout Strategy**:
|
|
114
|
-
- Staged rollout or immediate?
|
|
115
|
-
- Feature flags needed?
|
|
116
|
-
- Canary deployment approach?
|
|
117
|
-
|
|
118
|
-
## Documentation Updates
|
|
119
|
-
|
|
120
|
-
- [ ] **Docs need updating**:
|
|
121
|
-
- Behavior changed in docs?
|
|
122
|
-
- Workaround documented?
|
|
123
|
-
- Migration guide needed?
|
|
124
|
-
|
|
125
|
-
- [ ] **Release Notes written**:
|
|
126
|
-
- User-friendly description
|
|
127
|
-
- Workaround mentioned if applicable
|
|
128
|
-
- Any breaking changes noted
|
|
129
|
-
|
|
130
|
-
## Lesson Learned
|
|
131
|
-
|
|
132
|
-
- [ ] **How to prevent this in future**:
|
|
133
|
-
- Better test coverage?
|
|
134
|
-
- Code review checklist item?
|
|
135
|
-
- Documentation gap?
|
|
136
|
-
- Process improvement?
|
|
137
|
-
|
|
138
|
-
- [ ] **Similar bugs searched**:
|
|
139
|
-
- Pattern scan for similar issues in codebase?
|
|
140
|
-
- Found and fixed other instances?
|
|
141
|
-
|
|
142
|
-
---
|
|
143
|
-
|
|
144
|
-
## Usage
|
|
145
|
-
|
|
146
|
-
Use this checklist **before** calling `/fix-bug`:
|
|
147
|
-
|
|
148
|
-
```
|
|
149
|
-
1. Read and reproduce the bug
|
|
150
|
-
2. Complete this checklist thoroughly
|
|
151
|
-
3. Add bug details to implementation plan
|
|
152
|
-
4. Create failing test first
|
|
153
|
-
5. Fix with minimal change
|
|
154
|
-
6. Verify all tests pass
|
|
155
|
-
7. Document lesson learned
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
## Known Information About Bug
|
|
159
|
-
|
|
160
|
-
- **Bug ID/Ticket**: _reference_
|
|
161
|
-
- **Reported By**: _name_
|
|
162
|
-
- **Date Reported**: _YYYY-MM-DD_
|
|
163
|
-
- **Current Status**: _New / Assigned / In Progress_
|
|
164
|
-
|
|
165
|
-
---
|
|
166
|
-
|
|
167
|
-
**Checklist Completed**: ☐
|
|
168
|
-
**Date**: _YYYY-MM-DD_
|
|
169
|
-
**Assigned To**: _Name_
|
|
1
|
+
# Bug Fix Q&A Checklist
|
|
2
|
+
|
|
3
|
+
**Purpose**: Structured questionnaire to understand and document bug fixes before planning /fix-bug.
|
|
4
|
+
|
|
5
|
+
**Status**: MANDATORY - Complete before creating implementation plan.
|
|
6
|
+
|
|
7
|
+
## Bug Identification & Reproduction
|
|
8
|
+
|
|
9
|
+
- [ ] **Bug clearly described**:
|
|
10
|
+
- What is the incorrect behavior?
|
|
11
|
+
- What should happen instead?
|
|
12
|
+
- Step-by-step repro steps documented
|
|
13
|
+
|
|
14
|
+
- [ ] **Reproducibility confirmed**:
|
|
15
|
+
- Consistently reproducible?
|
|
16
|
+
- Specific conditions/environment needed?
|
|
17
|
+
- Affects all users or specific scenarios?
|
|
18
|
+
|
|
19
|
+
- [ ] **Severity & Priority assessed**:
|
|
20
|
+
- Critical (blocks core functionality)?
|
|
21
|
+
- High (significant impact, workaround exists)?
|
|
22
|
+
- Medium (inconvenience, non-blocking)?
|
|
23
|
+
- Low (cosmetic, nice-to-fix)?
|
|
24
|
+
|
|
25
|
+
- [ ] **Affected Versions identified**:
|
|
26
|
+
- When was this introduced?
|
|
27
|
+
- Which versions affected?
|
|
28
|
+
- Latest stable version affected?
|
|
29
|
+
|
|
30
|
+
## Root Cause Analysis
|
|
31
|
+
|
|
32
|
+
- [ ] **Root cause identified** (or hypothesis if unknown):
|
|
33
|
+
- Specific code location/module?
|
|
34
|
+
- Logic error or incorrect assumption?
|
|
35
|
+
- Missing validation or error handling?
|
|
36
|
+
- Race condition or state issue?
|
|
37
|
+
- Integration bug with external service?
|
|
38
|
+
|
|
39
|
+
- [ ] **Why was it missed**:
|
|
40
|
+
- Was there a test that should have caught this?
|
|
41
|
+
- Missing test coverage?
|
|
42
|
+
- Environment-specific (dev vs. production)?
|
|
43
|
+
|
|
44
|
+
- [ ] **Affected systems mapped**:
|
|
45
|
+
- Single module or cross-module issue?
|
|
46
|
+
- API side or client side?
|
|
47
|
+
- Database or state management?
|
|
48
|
+
- Performance or correctness?
|
|
49
|
+
|
|
50
|
+
## Impact Assessment
|
|
51
|
+
|
|
52
|
+
- [ ] **Data Integrity concerns**:
|
|
53
|
+
- Has data been corrupted or lost?
|
|
54
|
+
- Rollback/recovery strategy needed?
|
|
55
|
+
- Data migration required after fix?
|
|
56
|
+
|
|
57
|
+
- [ ] **User Impact**:
|
|
58
|
+
- How many users affected?
|
|
59
|
+
- What functionality is broken?
|
|
60
|
+
- Workaround available in the meantime?
|
|
61
|
+
|
|
62
|
+
- [ ] **Breaking Change Risk**:
|
|
63
|
+
- Does the fix change public API behavior?
|
|
64
|
+
- Will this break existing clients?
|
|
65
|
+
- Backward compatibility needed?
|
|
66
|
+
|
|
67
|
+
## Fix Strategy
|
|
68
|
+
|
|
69
|
+
- [ ] **Fix approach decided**:
|
|
70
|
+
- Minimal change to fix only the bug?
|
|
71
|
+
- Or refactor to prevent similar bugs?
|
|
72
|
+
- Tradeoffs understood?
|
|
73
|
+
|
|
74
|
+
- [ ] **Side Effects considered**:
|
|
75
|
+
- What other code paths use this?
|
|
76
|
+
- Could this fix introduce new bugs?
|
|
77
|
+
- Dependencies to check?
|
|
78
|
+
|
|
79
|
+
- [ ] **Regression Prevention**:
|
|
80
|
+
- What test catches this bug?
|
|
81
|
+
- Test added before or after fix?
|
|
82
|
+
- Similar patterns to look for?
|
|
83
|
+
|
|
84
|
+
## Testing & Verification
|
|
85
|
+
|
|
86
|
+
- [ ] **Test Case for Bug**:
|
|
87
|
+
- Failing test created before fix?
|
|
88
|
+
- Test reproduces the exact bug?
|
|
89
|
+
- Test passes after fix?
|
|
90
|
+
|
|
91
|
+
- [ ] **Regression Tests**:
|
|
92
|
+
- Existing tests still pass?
|
|
93
|
+
- Edge cases covered?
|
|
94
|
+
- Similar bugs tested in other areas?
|
|
95
|
+
|
|
96
|
+
- [ ] **Verification Plan**:
|
|
97
|
+
- How will we verify fix in production?
|
|
98
|
+
- Monitoring/alerts to confirm success?
|
|
99
|
+
- Rollback plan if fix causes issues?
|
|
100
|
+
|
|
101
|
+
## Deployment & Release
|
|
102
|
+
|
|
103
|
+
- [ ] **Hotfix or Regular Release**:
|
|
104
|
+
- Needs immediate hotfix deployment?
|
|
105
|
+
- Can wait for next regular release?
|
|
106
|
+
- Affects which release branches?
|
|
107
|
+
|
|
108
|
+
- [ ] **Release Notes**:
|
|
109
|
+
- What message for end users?
|
|
110
|
+
- Migration steps if needed?
|
|
111
|
+
- Workaround guidance during transition?
|
|
112
|
+
|
|
113
|
+
- [ ] **Rollout Strategy**:
|
|
114
|
+
- Staged rollout or immediate?
|
|
115
|
+
- Feature flags needed?
|
|
116
|
+
- Canary deployment approach?
|
|
117
|
+
|
|
118
|
+
## Documentation Updates
|
|
119
|
+
|
|
120
|
+
- [ ] **Docs need updating**:
|
|
121
|
+
- Behavior changed in docs?
|
|
122
|
+
- Workaround documented?
|
|
123
|
+
- Migration guide needed?
|
|
124
|
+
|
|
125
|
+
- [ ] **Release Notes written**:
|
|
126
|
+
- User-friendly description
|
|
127
|
+
- Workaround mentioned if applicable
|
|
128
|
+
- Any breaking changes noted
|
|
129
|
+
|
|
130
|
+
## Lesson Learned
|
|
131
|
+
|
|
132
|
+
- [ ] **How to prevent this in future**:
|
|
133
|
+
- Better test coverage?
|
|
134
|
+
- Code review checklist item?
|
|
135
|
+
- Documentation gap?
|
|
136
|
+
- Process improvement?
|
|
137
|
+
|
|
138
|
+
- [ ] **Similar bugs searched**:
|
|
139
|
+
- Pattern scan for similar issues in codebase?
|
|
140
|
+
- Found and fixed other instances?
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Usage
|
|
145
|
+
|
|
146
|
+
Use this checklist **before** calling `/fix-bug`:
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
1. Read and reproduce the bug
|
|
150
|
+
2. Complete this checklist thoroughly
|
|
151
|
+
3. Add bug details to implementation plan
|
|
152
|
+
4. Create failing test first
|
|
153
|
+
5. Fix with minimal change
|
|
154
|
+
6. Verify all tests pass
|
|
155
|
+
7. Document lesson learned
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## Known Information About Bug
|
|
159
|
+
|
|
160
|
+
- **Bug ID/Ticket**: _reference_
|
|
161
|
+
- **Reported By**: _name_
|
|
162
|
+
- **Date Reported**: _YYYY-MM-DD_
|
|
163
|
+
- **Current Status**: _New / Assigned / In Progress_
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
**Checklist Completed**: ☐
|
|
168
|
+
**Date**: _YYYY-MM-DD_
|
|
169
|
+
**Assigned To**: _Name_
|
|
@@ -1,157 +1,157 @@
|
|
|
1
|
-
# New Feature Q&A Checklist
|
|
2
|
-
|
|
3
|
-
**Purpose**: Structured questionnaire to capture all requirements before planning /new-feature.
|
|
4
|
-
|
|
5
|
-
**Status**: MANDATORY - Complete all fields before /plan is created.
|
|
6
|
-
|
|
7
|
-
## User Story & Intent
|
|
8
|
-
|
|
9
|
-
- [ ] **User Story defined**: "As a [who], I want [what] so that [why]"
|
|
10
|
-
- Who is the primary user/actor?
|
|
11
|
-
- What specific action or capability do they need?
|
|
12
|
-
- What outcome or value does this deliver?
|
|
13
|
-
|
|
14
|
-
- [ ] **Success Criteria clear**: How do we know this feature is working?
|
|
15
|
-
- At least 3 measurable criteria
|
|
16
|
-
- Business metrics or user satisfaction indicators
|
|
17
|
-
|
|
18
|
-
- [ ] **Out of Scope documented**: What is explicitly NOT included?
|
|
19
|
-
- Related features we're NOT doing now
|
|
20
|
-
- Future enhancements or phases
|
|
21
|
-
|
|
22
|
-
## Requirements & Constraints
|
|
23
|
-
|
|
24
|
-
- [ ] **Functional Requirements clear**:
|
|
25
|
-
- Primary use cases (happy path)
|
|
26
|
-
- Secondary use cases
|
|
27
|
-
- Data inputs and outputs
|
|
28
|
-
|
|
29
|
-
- [ ] **Non-Functional Requirements identified**:
|
|
30
|
-
- Performance expectations (speed, throughput, latency)
|
|
31
|
-
- Scalability requirements
|
|
32
|
-
- Availability/uptime requirements
|
|
33
|
-
- Browser/device support
|
|
34
|
-
|
|
35
|
-
- [ ] **Dependencies & Integrations mapped**:
|
|
36
|
-
- Does this touch APIs? Which ones?
|
|
37
|
-
- Database schema changes needed?
|
|
38
|
-
- External services involved?
|
|
39
|
-
- Existing modules that will be modified?
|
|
40
|
-
|
|
41
|
-
- [ ] **Constraints & Limitations noted**:
|
|
42
|
-
- Technical constraints (memory, compute)
|
|
43
|
-
- Business constraints (timeline, budget)
|
|
44
|
-
- Regulatory/compliance constraints
|
|
45
|
-
- Breaking changes or migration requirements?
|
|
46
|
-
|
|
47
|
-
## Impact & Scope
|
|
48
|
-
|
|
49
|
-
- [ ] **Affected Systems identified**:
|
|
50
|
-
- Which modules will change? (list by name)
|
|
51
|
-
- Which APIs will change or be added?
|
|
52
|
-
- Which database tables/schemas affected?
|
|
53
|
-
- Frontend routes or pages added/modified?
|
|
54
|
-
|
|
55
|
-
- [ ] **API Surface Changes**:
|
|
56
|
-
- New endpoints needed?
|
|
57
|
-
- Modified endpoint behavior?
|
|
58
|
-
- Deprecated endpoints?
|
|
59
|
-
- Data contract changes?
|
|
60
|
-
|
|
61
|
-
- [ ] **Database Changes**:
|
|
62
|
-
- New tables/collections?
|
|
63
|
-
- Schema migrations?
|
|
64
|
-
- Backward compatibility concerns?
|
|
65
|
-
|
|
66
|
-
- [ ] **UI/UX Changes**:
|
|
67
|
-
- New pages/screens?
|
|
68
|
-
- Modified navigation flows?
|
|
69
|
-
- New user interactions?
|
|
70
|
-
|
|
71
|
-
## Edge Cases & Error Handling
|
|
72
|
-
|
|
73
|
-
- [ ] **Edge Cases enumerated**:
|
|
74
|
-
- Boundary conditions (empty, null, max values)
|
|
75
|
-
- Concurrent operations conflicts
|
|
76
|
-
- Network failures or timeouts
|
|
77
|
-
- Permission/authorization scenarios
|
|
78
|
-
- Race conditions or state inconsistencies
|
|
79
|
-
|
|
80
|
-
- [ ] **Error Scenarios documented**:
|
|
81
|
-
- Invalid input handling
|
|
82
|
-
- Failure recovery strategy
|
|
83
|
-
- User-facing error messages
|
|
84
|
-
- Logging/observability for debugging
|
|
85
|
-
|
|
86
|
-
## Architecture & Design
|
|
87
|
-
|
|
88
|
-
- [ ] **Architectural Pattern chosen**:
|
|
89
|
-
- Synchronous vs. asynchronous?
|
|
90
|
-
- Client-side vs. server-side?
|
|
91
|
-
- Real-time vs. eventual consistency?
|
|
92
|
-
- Distributed or monolithic?
|
|
93
|
-
|
|
94
|
-
- [ ] **Design Decisions recorded** (Why this approach?):
|
|
95
|
-
- What alternatives were considered?
|
|
96
|
-
- Why this one was chosen?
|
|
97
|
-
- Any known tradeoffs?
|
|
98
|
-
|
|
99
|
-
- [ ] **Performance Considerations**:
|
|
100
|
-
- Caching strategy if needed?
|
|
101
|
-
- Query optimization?
|
|
102
|
-
- Batch processing opportunities?
|
|
103
|
-
|
|
104
|
-
## Testing Strategy
|
|
105
|
-
|
|
106
|
-
- [ ] **Test Coverage planned**:
|
|
107
|
-
- Unit tests (which modules?)
|
|
108
|
-
- Integration tests (which interactions?)
|
|
109
|
-
- E2E tests (which user flows?)
|
|
110
|
-
- Target coverage: 80%+ or higher?
|
|
111
|
-
|
|
112
|
-
- [ ] **Test Data & Fixtures**:
|
|
113
|
-
- What test data do we need?
|
|
114
|
-
- Realistic edge case fixtures?
|
|
115
|
-
- Performance test datasets?
|
|
116
|
-
|
|
117
|
-
## Rollout & Monitoring
|
|
118
|
-
|
|
119
|
-
- [ ] **Deployment Strategy**:
|
|
120
|
-
- Staged rollout or all-at-once?
|
|
121
|
-
- Feature flags needed?
|
|
122
|
-
- Rollback plan if issues arise?
|
|
123
|
-
|
|
124
|
-
- [ ] **Monitoring & Observability**:
|
|
125
|
-
- What metrics should we track?
|
|
126
|
-
- Key logs to monitor?
|
|
127
|
-
- Alert thresholds?
|
|
128
|
-
|
|
129
|
-
## Sign-Off
|
|
130
|
-
|
|
131
|
-
- [ ] **Stakeholder confirmation**: Product owner/PM approved?
|
|
132
|
-
- [ ] **Tech lead review**: Architecture and scope approved?
|
|
133
|
-
- [ ] **No unknowns remaining**: All "TBD" fields resolved?
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
## Usage
|
|
138
|
-
|
|
139
|
-
Use this checklist **before** calling `/plan` for a new feature:
|
|
140
|
-
|
|
141
|
-
```
|
|
142
|
-
1. Read this checklist
|
|
143
|
-
2. Answer every question (or explicitly mark "not applicable")
|
|
144
|
-
3. If any field is "TBD" or uncertain, add to "Known Unknowns"
|
|
145
|
-
4. Share answers with /plan command
|
|
146
|
-
5. /plan creates implementation strategy
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
## Known Unknowns (for this feature)
|
|
150
|
-
|
|
151
|
-
- [ ] _Add any uncertain items here_
|
|
152
|
-
|
|
153
|
-
---
|
|
154
|
-
|
|
155
|
-
**Date**: _YYYY-MM-DD_
|
|
156
|
-
**Author**: _Name_
|
|
157
|
-
**Feature**: _[Feature Name]_
|
|
1
|
+
# New Feature Q&A Checklist
|
|
2
|
+
|
|
3
|
+
**Purpose**: Structured questionnaire to capture all requirements before planning /new-feature.
|
|
4
|
+
|
|
5
|
+
**Status**: MANDATORY - Complete all fields before /plan is created.
|
|
6
|
+
|
|
7
|
+
## User Story & Intent
|
|
8
|
+
|
|
9
|
+
- [ ] **User Story defined**: "As a [who], I want [what] so that [why]"
|
|
10
|
+
- Who is the primary user/actor?
|
|
11
|
+
- What specific action or capability do they need?
|
|
12
|
+
- What outcome or value does this deliver?
|
|
13
|
+
|
|
14
|
+
- [ ] **Success Criteria clear**: How do we know this feature is working?
|
|
15
|
+
- At least 3 measurable criteria
|
|
16
|
+
- Business metrics or user satisfaction indicators
|
|
17
|
+
|
|
18
|
+
- [ ] **Out of Scope documented**: What is explicitly NOT included?
|
|
19
|
+
- Related features we're NOT doing now
|
|
20
|
+
- Future enhancements or phases
|
|
21
|
+
|
|
22
|
+
## Requirements & Constraints
|
|
23
|
+
|
|
24
|
+
- [ ] **Functional Requirements clear**:
|
|
25
|
+
- Primary use cases (happy path)
|
|
26
|
+
- Secondary use cases
|
|
27
|
+
- Data inputs and outputs
|
|
28
|
+
|
|
29
|
+
- [ ] **Non-Functional Requirements identified**:
|
|
30
|
+
- Performance expectations (speed, throughput, latency)
|
|
31
|
+
- Scalability requirements
|
|
32
|
+
- Availability/uptime requirements
|
|
33
|
+
- Browser/device support
|
|
34
|
+
|
|
35
|
+
- [ ] **Dependencies & Integrations mapped**:
|
|
36
|
+
- Does this touch APIs? Which ones?
|
|
37
|
+
- Database schema changes needed?
|
|
38
|
+
- External services involved?
|
|
39
|
+
- Existing modules that will be modified?
|
|
40
|
+
|
|
41
|
+
- [ ] **Constraints & Limitations noted**:
|
|
42
|
+
- Technical constraints (memory, compute)
|
|
43
|
+
- Business constraints (timeline, budget)
|
|
44
|
+
- Regulatory/compliance constraints
|
|
45
|
+
- Breaking changes or migration requirements?
|
|
46
|
+
|
|
47
|
+
## Impact & Scope
|
|
48
|
+
|
|
49
|
+
- [ ] **Affected Systems identified**:
|
|
50
|
+
- Which modules will change? (list by name)
|
|
51
|
+
- Which APIs will change or be added?
|
|
52
|
+
- Which database tables/schemas affected?
|
|
53
|
+
- Frontend routes or pages added/modified?
|
|
54
|
+
|
|
55
|
+
- [ ] **API Surface Changes**:
|
|
56
|
+
- New endpoints needed?
|
|
57
|
+
- Modified endpoint behavior?
|
|
58
|
+
- Deprecated endpoints?
|
|
59
|
+
- Data contract changes?
|
|
60
|
+
|
|
61
|
+
- [ ] **Database Changes**:
|
|
62
|
+
- New tables/collections?
|
|
63
|
+
- Schema migrations?
|
|
64
|
+
- Backward compatibility concerns?
|
|
65
|
+
|
|
66
|
+
- [ ] **UI/UX Changes**:
|
|
67
|
+
- New pages/screens?
|
|
68
|
+
- Modified navigation flows?
|
|
69
|
+
- New user interactions?
|
|
70
|
+
|
|
71
|
+
## Edge Cases & Error Handling
|
|
72
|
+
|
|
73
|
+
- [ ] **Edge Cases enumerated**:
|
|
74
|
+
- Boundary conditions (empty, null, max values)
|
|
75
|
+
- Concurrent operations conflicts
|
|
76
|
+
- Network failures or timeouts
|
|
77
|
+
- Permission/authorization scenarios
|
|
78
|
+
- Race conditions or state inconsistencies
|
|
79
|
+
|
|
80
|
+
- [ ] **Error Scenarios documented**:
|
|
81
|
+
- Invalid input handling
|
|
82
|
+
- Failure recovery strategy
|
|
83
|
+
- User-facing error messages
|
|
84
|
+
- Logging/observability for debugging
|
|
85
|
+
|
|
86
|
+
## Architecture & Design
|
|
87
|
+
|
|
88
|
+
- [ ] **Architectural Pattern chosen**:
|
|
89
|
+
- Synchronous vs. asynchronous?
|
|
90
|
+
- Client-side vs. server-side?
|
|
91
|
+
- Real-time vs. eventual consistency?
|
|
92
|
+
- Distributed or monolithic?
|
|
93
|
+
|
|
94
|
+
- [ ] **Design Decisions recorded** (Why this approach?):
|
|
95
|
+
- What alternatives were considered?
|
|
96
|
+
- Why this one was chosen?
|
|
97
|
+
- Any known tradeoffs?
|
|
98
|
+
|
|
99
|
+
- [ ] **Performance Considerations**:
|
|
100
|
+
- Caching strategy if needed?
|
|
101
|
+
- Query optimization?
|
|
102
|
+
- Batch processing opportunities?
|
|
103
|
+
|
|
104
|
+
## Testing Strategy
|
|
105
|
+
|
|
106
|
+
- [ ] **Test Coverage planned**:
|
|
107
|
+
- Unit tests (which modules?)
|
|
108
|
+
- Integration tests (which interactions?)
|
|
109
|
+
- E2E tests (which user flows?)
|
|
110
|
+
- Target coverage: 80%+ or higher?
|
|
111
|
+
|
|
112
|
+
- [ ] **Test Data & Fixtures**:
|
|
113
|
+
- What test data do we need?
|
|
114
|
+
- Realistic edge case fixtures?
|
|
115
|
+
- Performance test datasets?
|
|
116
|
+
|
|
117
|
+
## Rollout & Monitoring
|
|
118
|
+
|
|
119
|
+
- [ ] **Deployment Strategy**:
|
|
120
|
+
- Staged rollout or all-at-once?
|
|
121
|
+
- Feature flags needed?
|
|
122
|
+
- Rollback plan if issues arise?
|
|
123
|
+
|
|
124
|
+
- [ ] **Monitoring & Observability**:
|
|
125
|
+
- What metrics should we track?
|
|
126
|
+
- Key logs to monitor?
|
|
127
|
+
- Alert thresholds?
|
|
128
|
+
|
|
129
|
+
## Sign-Off
|
|
130
|
+
|
|
131
|
+
- [ ] **Stakeholder confirmation**: Product owner/PM approved?
|
|
132
|
+
- [ ] **Tech lead review**: Architecture and scope approved?
|
|
133
|
+
- [ ] **No unknowns remaining**: All "TBD" fields resolved?
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Usage
|
|
138
|
+
|
|
139
|
+
Use this checklist **before** calling `/plan` for a new feature:
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
1. Read this checklist
|
|
143
|
+
2. Answer every question (or explicitly mark "not applicable")
|
|
144
|
+
3. If any field is "TBD" or uncertain, add to "Known Unknowns"
|
|
145
|
+
4. Share answers with /plan command
|
|
146
|
+
5. /plan creates implementation strategy
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## Known Unknowns (for this feature)
|
|
150
|
+
|
|
151
|
+
- [ ] _Add any uncertain items here_
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
**Date**: _YYYY-MM-DD_
|
|
156
|
+
**Author**: _Name_
|
|
157
|
+
**Feature**: _[Feature Name]_
|