@sniper.ai/core 2.0.0 → 3.1.0
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/README.md +87 -98
- package/agents/analyst.md +29 -0
- package/agents/architect.md +38 -0
- package/agents/backend-dev.md +43 -0
- package/agents/code-reviewer.md +72 -0
- package/agents/doc-writer.md +60 -0
- package/agents/frontend-dev.md +43 -0
- package/agents/fullstack-dev.md +44 -0
- package/agents/gate-reviewer.md +72 -0
- package/agents/lead-orchestrator.md +51 -0
- package/agents/product-manager.md +40 -0
- package/agents/qa-engineer.md +37 -0
- package/agents/retro-analyst.md +104 -0
- package/checklists/discover.yaml +23 -0
- package/checklists/implement.yaml +28 -0
- package/checklists/ingest-document.yaml +18 -0
- package/checklists/ingest-extract.yaml +13 -0
- package/checklists/ingest-scan.yaml +18 -0
- package/checklists/multi-faceted-review.yaml +57 -0
- package/checklists/plan.yaml +36 -0
- package/checklists/refactor-analyze.yaml +19 -0
- package/checklists/review.yaml +29 -0
- package/claude-md.template +42 -0
- package/config.template.yaml +156 -0
- package/hooks/settings-hooks.json +40 -0
- package/hooks/signal-hooks.json +16 -0
- package/package.json +23 -5
- package/personas/cognitive/devils-advocate.md +24 -0
- package/personas/cognitive/performance-focused.md +23 -0
- package/personas/cognitive/security-first.md +24 -0
- package/protocols/explore.yaml +21 -0
- package/protocols/feature.yaml +47 -0
- package/protocols/full.yaml +65 -0
- package/protocols/hotfix.yaml +19 -0
- package/protocols/ingest.yaml +42 -0
- package/protocols/patch.yaml +30 -0
- package/protocols/refactor.yaml +43 -0
- package/schemas/checkpoint.schema.yaml +133 -0
- package/schemas/cost.schema.yaml +97 -0
- package/schemas/dependency-graph.schema.yaml +37 -0
- package/schemas/gate-result.schema.yaml +101 -0
- package/schemas/knowledge-manifest.schema.yaml +39 -0
- package/schemas/live-status.schema.yaml +122 -0
- package/schemas/protocol-meta.schema.yaml +58 -0
- package/schemas/protocol.schema.yaml +100 -0
- package/schemas/retro.schema.yaml +95 -0
- package/schemas/revert-plan.schema.yaml +40 -0
- package/schemas/signal.schema.yaml +39 -0
- package/schemas/velocity.schema.yaml +52 -0
- package/schemas/workspace-lock.schema.yaml +34 -0
- package/schemas/workspace.schema.yaml +82 -0
- package/skills/sniper-flow/SKILL.md +196 -0
- package/skills/sniper-init/SKILL.md +102 -0
- package/skills/sniper-review/SKILL.md +49 -0
- package/skills/sniper-status/SKILL.md +79 -0
- package/templates/architecture.md +23 -0
- package/templates/checkpoint.yaml +27 -0
- package/templates/codebase-overview.md +19 -0
- package/templates/cost.yaml +23 -0
- package/templates/custom-protocol.yaml +98 -0
- package/templates/knowledge-manifest.yaml +32 -0
- package/templates/live-status.yaml +26 -0
- package/templates/multi-faceted-review-report.md +28 -0
- package/templates/registry.md +4 -0
- package/templates/review-report.md +25 -0
- package/templates/signal-record.yaml +37 -0
- package/templates/spec.md +28 -0
- package/templates/story.md +19 -0
- package/templates/velocity.yaml +9 -0
- package/templates/workspace-config.yaml +44 -0
- package/framework/checklists/code-review.md +0 -33
- package/framework/checklists/debug-review.md +0 -34
- package/framework/checklists/discover-review.md +0 -33
- package/framework/checklists/doc-review.md +0 -39
- package/framework/checklists/feature-review.md +0 -42
- package/framework/checklists/ingest-review.md +0 -42
- package/framework/checklists/memory-review.md +0 -30
- package/framework/checklists/perf-review.md +0 -33
- package/framework/checklists/plan-review.md +0 -52
- package/framework/checklists/refactor-review.md +0 -33
- package/framework/checklists/security-review.md +0 -34
- package/framework/checklists/sprint-review.md +0 -41
- package/framework/checklists/story-review.md +0 -30
- package/framework/checklists/test-review.md +0 -32
- package/framework/checklists/workspace-review.md +0 -34
- package/framework/claude-md.template +0 -37
- package/framework/commands/sniper-audit.md +0 -1549
- package/framework/commands/sniper-compose.md +0 -323
- package/framework/commands/sniper-debug.md +0 -337
- package/framework/commands/sniper-discover.md +0 -423
- package/framework/commands/sniper-doc.md +0 -441
- package/framework/commands/sniper-feature.md +0 -515
- package/framework/commands/sniper-ingest.md +0 -506
- package/framework/commands/sniper-init.md +0 -388
- package/framework/commands/sniper-memory.md +0 -219
- package/framework/commands/sniper-plan.md +0 -630
- package/framework/commands/sniper-review.md +0 -369
- package/framework/commands/sniper-solve.md +0 -408
- package/framework/commands/sniper-sprint.md +0 -716
- package/framework/commands/sniper-status.md +0 -481
- package/framework/commands/sniper-workspace-feature.md +0 -267
- package/framework/commands/sniper-workspace-init.md +0 -252
- package/framework/commands/sniper-workspace-status.md +0 -112
- package/framework/commands/sniper-workspace-validate.md +0 -138
- package/framework/config.template.yaml +0 -196
- package/framework/personas/cognitive/devils-advocate.md +0 -30
- package/framework/personas/cognitive/mentor-explainer.md +0 -29
- package/framework/personas/cognitive/performance-focused.md +0 -30
- package/framework/personas/cognitive/security-first.md +0 -29
- package/framework/personas/cognitive/systems-thinker.md +0 -29
- package/framework/personas/cognitive/user-empathetic.md +0 -29
- package/framework/personas/domain/.gitkeep +0 -0
- package/framework/personas/process/analyst.md +0 -29
- package/framework/personas/process/architect.md +0 -30
- package/framework/personas/process/architecture-cartographer.md +0 -25
- package/framework/personas/process/code-archaeologist.md +0 -22
- package/framework/personas/process/code-investigator.md +0 -29
- package/framework/personas/process/code-reviewer.md +0 -26
- package/framework/personas/process/contract-designer.md +0 -31
- package/framework/personas/process/convention-miner.md +0 -27
- package/framework/personas/process/coverage-analyst.md +0 -24
- package/framework/personas/process/developer.md +0 -32
- package/framework/personas/process/doc-analyst.md +0 -63
- package/framework/personas/process/doc-reviewer.md +0 -62
- package/framework/personas/process/doc-writer.md +0 -42
- package/framework/personas/process/flake-hunter.md +0 -30
- package/framework/personas/process/impact-analyst.md +0 -23
- package/framework/personas/process/integration-validator.md +0 -29
- package/framework/personas/process/log-analyst.md +0 -22
- package/framework/personas/process/migration-architect.md +0 -24
- package/framework/personas/process/perf-profiler.md +0 -27
- package/framework/personas/process/product-manager.md +0 -32
- package/framework/personas/process/qa-engineer.md +0 -31
- package/framework/personas/process/release-manager.md +0 -23
- package/framework/personas/process/retro-analyst.md +0 -30
- package/framework/personas/process/scrum-master.md +0 -31
- package/framework/personas/process/threat-modeler.md +0 -30
- package/framework/personas/process/triage-lead.md +0 -23
- package/framework/personas/process/ux-designer.md +0 -31
- package/framework/personas/process/vuln-scanner.md +0 -27
- package/framework/personas/process/workspace-orchestrator.md +0 -30
- package/framework/personas/technical/ai-ml.md +0 -33
- package/framework/personas/technical/api-design.md +0 -32
- package/framework/personas/technical/backend.md +0 -32
- package/framework/personas/technical/database.md +0 -32
- package/framework/personas/technical/frontend.md +0 -33
- package/framework/personas/technical/infrastructure.md +0 -32
- package/framework/personas/technical/security.md +0 -34
- package/framework/settings.template.json +0 -6
- package/framework/spawn-prompts/_template.md +0 -25
- package/framework/teams/debug.yaml +0 -56
- package/framework/teams/discover.yaml +0 -57
- package/framework/teams/doc.yaml +0 -76
- package/framework/teams/feature-plan.yaml +0 -61
- package/framework/teams/ingest.yaml +0 -85
- package/framework/teams/perf.yaml +0 -33
- package/framework/teams/plan.yaml +0 -86
- package/framework/teams/refactor.yaml +0 -34
- package/framework/teams/retro.yaml +0 -30
- package/framework/teams/review-pr.yaml +0 -73
- package/framework/teams/review-release.yaml +0 -70
- package/framework/teams/security.yaml +0 -59
- package/framework/teams/solve.yaml +0 -48
- package/framework/teams/sprint.yaml +0 -68
- package/framework/teams/test.yaml +0 -59
- package/framework/teams/workspace-feature.yaml +0 -69
- package/framework/teams/workspace-validation.yaml +0 -27
- package/framework/templates/arch-delta.md +0 -74
- package/framework/templates/architecture.md +0 -95
- package/framework/templates/brief.md +0 -73
- package/framework/templates/bug-report.md +0 -55
- package/framework/templates/contract-validation-report.md +0 -68
- package/framework/templates/contract.yaml +0 -60
- package/framework/templates/conventions.md +0 -59
- package/framework/templates/coverage-report.md +0 -67
- package/framework/templates/doc-api.md +0 -53
- package/framework/templates/doc-guide.md +0 -35
- package/framework/templates/doc-readme.md +0 -49
- package/framework/templates/epic.md +0 -47
- package/framework/templates/feature-brief.md +0 -54
- package/framework/templates/feature-spec.md +0 -53
- package/framework/templates/flaky-report.md +0 -64
- package/framework/templates/investigation.md +0 -49
- package/framework/templates/memory-anti-pattern.yaml +0 -16
- package/framework/templates/memory-convention.yaml +0 -17
- package/framework/templates/memory-decision.yaml +0 -16
- package/framework/templates/migration-plan.md +0 -47
- package/framework/templates/optimization-plan.md +0 -59
- package/framework/templates/performance-profile.md +0 -64
- package/framework/templates/personas.md +0 -118
- package/framework/templates/postmortem.md +0 -69
- package/framework/templates/pr-review.md +0 -50
- package/framework/templates/prd.md +0 -92
- package/framework/templates/refactor-scope.md +0 -52
- package/framework/templates/release-readiness.md +0 -66
- package/framework/templates/retro.yaml +0 -44
- package/framework/templates/risks.md +0 -64
- package/framework/templates/security.md +0 -111
- package/framework/templates/sprint-review.md +0 -32
- package/framework/templates/story.md +0 -53
- package/framework/templates/threat-model.md +0 -71
- package/framework/templates/ux-spec.md +0 -71
- package/framework/templates/vulnerability-report.md +0 -56
- package/framework/templates/workspace-brief.md +0 -52
- package/framework/templates/workspace-plan.md +0 -50
- package/framework/workflows/discover-only.md +0 -39
- package/framework/workflows/full-lifecycle.md +0 -56
- package/framework/workflows/quick-feature.md +0 -44
- package/framework/workflows/sprint-cycle.md +0 -47
- package/framework/workflows/workspace-feature.md +0 -71
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
# Performance Profile: {title}
|
|
2
|
-
|
|
3
|
-
> **Audit ID:** PERF-{NNN}
|
|
4
|
-
> **Status:** Analyzing
|
|
5
|
-
> **Date:** {date}
|
|
6
|
-
> **Author:** Performance Profiler
|
|
7
|
-
|
|
8
|
-
## Performance Context
|
|
9
|
-
<!-- sniper:managed:context:start -->
|
|
10
|
-
<!-- What was investigated and why -->
|
|
11
|
-
<!-- sniper:managed:context:end -->
|
|
12
|
-
|
|
13
|
-
## Critical Path Analysis
|
|
14
|
-
<!-- sniper:managed:critical-paths:start -->
|
|
15
|
-
<!-- The most performance-sensitive paths in the application -->
|
|
16
|
-
|
|
17
|
-
### Path: {name}
|
|
18
|
-
- **Type:** Request handling / Data pipeline / Background job
|
|
19
|
-
- **Flow:** {entry} → {step 1} → {step 2} → {response}
|
|
20
|
-
- **I/O Operations:** {count} database calls, {count} external service calls
|
|
21
|
-
- **Estimated Latency Contribution:** {description}
|
|
22
|
-
|
|
23
|
-
<!-- sniper:managed:critical-paths:end -->
|
|
24
|
-
|
|
25
|
-
## Bottleneck Inventory
|
|
26
|
-
<!-- sniper:managed:bottlenecks:start -->
|
|
27
|
-
|
|
28
|
-
### Bottleneck 1: {title}
|
|
29
|
-
- **Location:** `path/to/file.ts:42`
|
|
30
|
-
- **Category:** N+1 query / Missing index / Synchronous I/O / Unbounded loop / Missing cache / Excessive serialization / Memory leak pattern / Large payload
|
|
31
|
-
- **Evidence:** {the code pattern that causes the bottleneck}
|
|
32
|
-
- **Impact:** Critical / High / Medium / Low
|
|
33
|
-
- **Complexity:** S / M / L
|
|
34
|
-
- **Details:** {explanation of why this is a bottleneck}
|
|
35
|
-
|
|
36
|
-
<!-- sniper:managed:bottlenecks:end -->
|
|
37
|
-
|
|
38
|
-
## Resource Usage Patterns
|
|
39
|
-
<!-- sniper:managed:resource-patterns:start -->
|
|
40
|
-
|
|
41
|
-
| Resource | Observation | Concern Level |
|
|
42
|
-
|----------|------------|---------------|
|
|
43
|
-
| Memory allocation | | Low / Medium / High |
|
|
44
|
-
| Connection pools | | Low / Medium / High |
|
|
45
|
-
| Compute operations | | Low / Medium / High |
|
|
46
|
-
|
|
47
|
-
<!-- sniper:managed:resource-patterns:end -->
|
|
48
|
-
|
|
49
|
-
## Existing Optimizations
|
|
50
|
-
<!-- sniper:managed:existing-optimizations:start -->
|
|
51
|
-
<!-- Caching, indexing, and optimization patterns already in place -->
|
|
52
|
-
|
|
53
|
-
- {Optimization — e.g., "Redis cache on product catalog with 5-minute TTL"}
|
|
54
|
-
|
|
55
|
-
<!-- sniper:managed:existing-optimizations:end -->
|
|
56
|
-
|
|
57
|
-
## Benchmark Coverage
|
|
58
|
-
<!-- sniper:managed:benchmark-coverage:start -->
|
|
59
|
-
|
|
60
|
-
| Critical Path | Has Benchmark? | Benchmark File |
|
|
61
|
-
|--------------|---------------|----------------|
|
|
62
|
-
| | Yes / No | |
|
|
63
|
-
|
|
64
|
-
<!-- sniper:managed:benchmark-coverage:end -->
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
# User Personas & Journey Maps: {project_name}
|
|
2
|
-
|
|
3
|
-
> **Status:** Draft
|
|
4
|
-
> **Author:** Discovery Team — User Researcher
|
|
5
|
-
> **Date:** {date}
|
|
6
|
-
|
|
7
|
-
## Persona Overview
|
|
8
|
-
<!-- Brief summary of who uses this product and why -->
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## Persona 1: {persona_name}
|
|
13
|
-
|
|
14
|
-
### Demographics & Context
|
|
15
|
-
- **Role:** <!-- Job title or role -->
|
|
16
|
-
- **Experience Level:** <!-- Junior / Mid / Senior / Executive -->
|
|
17
|
-
- **Tech Savviness:** <!-- Low / Medium / High -->
|
|
18
|
-
- **Usage Frequency:** <!-- Daily / Weekly / Monthly -->
|
|
19
|
-
|
|
20
|
-
### Goals
|
|
21
|
-
1.
|
|
22
|
-
2.
|
|
23
|
-
3.
|
|
24
|
-
|
|
25
|
-
### Pain Points
|
|
26
|
-
1.
|
|
27
|
-
2.
|
|
28
|
-
3.
|
|
29
|
-
|
|
30
|
-
### Current Workflow
|
|
31
|
-
<!-- How does this persona solve the problem today without this product? -->
|
|
32
|
-
|
|
33
|
-
### User Journey Map
|
|
34
|
-
|
|
35
|
-
| Stage | Action | Touchpoint | Emotion | Opportunity |
|
|
36
|
-
|-------|--------|------------|---------|-------------|
|
|
37
|
-
| Awareness | | | | |
|
|
38
|
-
| Onboarding | | | | |
|
|
39
|
-
| First Use | | | | |
|
|
40
|
-
| Regular Use | | | | |
|
|
41
|
-
| Advanced Use | | | | |
|
|
42
|
-
|
|
43
|
-
### Key Scenarios
|
|
44
|
-
<!-- 2-3 specific scenarios where this persona interacts with the product -->
|
|
45
|
-
|
|
46
|
-
#### Scenario 1: {scenario_name}
|
|
47
|
-
- **Context:** <!-- When and where does this happen? -->
|
|
48
|
-
- **Trigger:** <!-- What initiates this scenario? -->
|
|
49
|
-
- **Steps:** <!-- What does the user do? -->
|
|
50
|
-
- **Success Criteria:** <!-- How does the user know they succeeded? -->
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## Persona 2: {persona_name}
|
|
55
|
-
|
|
56
|
-
### Demographics & Context
|
|
57
|
-
- **Role:**
|
|
58
|
-
- **Experience Level:**
|
|
59
|
-
- **Tech Savviness:**
|
|
60
|
-
- **Usage Frequency:**
|
|
61
|
-
|
|
62
|
-
### Goals
|
|
63
|
-
1.
|
|
64
|
-
2.
|
|
65
|
-
3.
|
|
66
|
-
|
|
67
|
-
### Pain Points
|
|
68
|
-
1.
|
|
69
|
-
2.
|
|
70
|
-
3.
|
|
71
|
-
|
|
72
|
-
### Current Workflow
|
|
73
|
-
|
|
74
|
-
### User Journey Map
|
|
75
|
-
|
|
76
|
-
| Stage | Action | Touchpoint | Emotion | Opportunity |
|
|
77
|
-
|-------|--------|------------|---------|-------------|
|
|
78
|
-
| Awareness | | | | |
|
|
79
|
-
| Onboarding | | | | |
|
|
80
|
-
| First Use | | | | |
|
|
81
|
-
| Regular Use | | | | |
|
|
82
|
-
| Advanced Use | | | | |
|
|
83
|
-
|
|
84
|
-
### Key Scenarios
|
|
85
|
-
|
|
86
|
-
#### Scenario 1: {scenario_name}
|
|
87
|
-
- **Context:**
|
|
88
|
-
- **Trigger:**
|
|
89
|
-
- **Steps:**
|
|
90
|
-
- **Success Criteria:**
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
## Cross-Persona Analysis
|
|
95
|
-
|
|
96
|
-
### Shared Needs
|
|
97
|
-
<!-- What do all personas have in common? -->
|
|
98
|
-
|
|
99
|
-
### Conflicting Needs
|
|
100
|
-
<!-- Where do personas' needs diverge? How should the product handle this? -->
|
|
101
|
-
|
|
102
|
-
### Prioritization
|
|
103
|
-
| Persona | Priority | Justification |
|
|
104
|
-
|---------|----------|---------------|
|
|
105
|
-
| | P0 | |
|
|
106
|
-
| | P1 | |
|
|
107
|
-
|
|
108
|
-
## Friction Points Summary
|
|
109
|
-
<!-- Top friction points across all personas, ranked by severity -->
|
|
110
|
-
1.
|
|
111
|
-
2.
|
|
112
|
-
3.
|
|
113
|
-
|
|
114
|
-
## Moments of Delight
|
|
115
|
-
<!-- Opportunities to exceed user expectations -->
|
|
116
|
-
1.
|
|
117
|
-
2.
|
|
118
|
-
3.
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Post-Mortem: {title}
|
|
2
|
-
|
|
3
|
-
> **Bug ID:** BUG-{NNN}
|
|
4
|
-
> **Severity:** {critical/high/medium/low}
|
|
5
|
-
> **Status:** Complete
|
|
6
|
-
> **Date:** {date}
|
|
7
|
-
> **Resolution Date:** {date}
|
|
8
|
-
|
|
9
|
-
## Root Cause
|
|
10
|
-
<!-- sniper:managed:root-cause:start -->
|
|
11
|
-
<!-- What specifically was wrong — the definitive explanation -->
|
|
12
|
-
<!-- sniper:managed:root-cause:end -->
|
|
13
|
-
|
|
14
|
-
## Fix Summary
|
|
15
|
-
<!-- sniper:managed:fix-summary:start -->
|
|
16
|
-
<!-- What was changed and why -->
|
|
17
|
-
|
|
18
|
-
### Files Changed
|
|
19
|
-
| File | Change |
|
|
20
|
-
|------|--------|
|
|
21
|
-
| | |
|
|
22
|
-
|
|
23
|
-
### Code Changes
|
|
24
|
-
<!-- Brief description of the fix approach -->
|
|
25
|
-
|
|
26
|
-
<!-- sniper:managed:fix-summary:end -->
|
|
27
|
-
|
|
28
|
-
## Impact Assessment
|
|
29
|
-
<!-- sniper:managed:impact:start -->
|
|
30
|
-
<!-- Who was affected, for how long, what was the business impact -->
|
|
31
|
-
<!-- sniper:managed:impact:end -->
|
|
32
|
-
|
|
33
|
-
## Prevention
|
|
34
|
-
<!-- sniper:managed:prevention:start -->
|
|
35
|
-
<!-- What should change to prevent similar bugs in the future -->
|
|
36
|
-
|
|
37
|
-
### Process Changes
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
### Code Changes
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
### Monitoring/Alerting
|
|
44
|
-
-
|
|
45
|
-
|
|
46
|
-
<!-- sniper:managed:prevention:end -->
|
|
47
|
-
|
|
48
|
-
## Regression Tests
|
|
49
|
-
<!-- sniper:managed:regression-tests:start -->
|
|
50
|
-
<!-- What tests were added to prevent recurrence -->
|
|
51
|
-
|
|
52
|
-
| Test | File | Verifies |
|
|
53
|
-
|------|------|----------|
|
|
54
|
-
| | | |
|
|
55
|
-
|
|
56
|
-
<!-- sniper:managed:regression-tests:end -->
|
|
57
|
-
|
|
58
|
-
## Timeline
|
|
59
|
-
<!-- sniper:managed:timeline:start -->
|
|
60
|
-
|
|
61
|
-
| Time | Event |
|
|
62
|
-
|------|-------|
|
|
63
|
-
| {timestamp} | Bug reported |
|
|
64
|
-
| {timestamp} | Triage complete |
|
|
65
|
-
| {timestamp} | Investigation complete |
|
|
66
|
-
| {timestamp} | Fix applied |
|
|
67
|
-
| {timestamp} | Regression tests passing |
|
|
68
|
-
|
|
69
|
-
<!-- sniper:managed:timeline:end -->
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# PR Review: #{pr_number} — {pr_title}
|
|
2
|
-
|
|
3
|
-
> **Review ID:** PR-{NNN}
|
|
4
|
-
> **Date:** {date}
|
|
5
|
-
> **Reviewers:** Code Reviewer, Security Reviewer, Test Reviewer
|
|
6
|
-
> **Recommendation:** {approve / request-changes / comment}
|
|
7
|
-
|
|
8
|
-
## Summary
|
|
9
|
-
<!-- sniper:managed:summary:start -->
|
|
10
|
-
<!-- Overall assessment of the PR -->
|
|
11
|
-
<!-- sniper:managed:summary:end -->
|
|
12
|
-
|
|
13
|
-
## Code Quality
|
|
14
|
-
<!-- sniper:managed:code-quality:start -->
|
|
15
|
-
|
|
16
|
-
| Severity | File:Line | Finding | Suggested Fix |
|
|
17
|
-
|----------|-----------|---------|---------------|
|
|
18
|
-
| critical / warning / suggestion | | | |
|
|
19
|
-
|
|
20
|
-
<!-- sniper:managed:code-quality:end -->
|
|
21
|
-
|
|
22
|
-
## Security
|
|
23
|
-
<!-- sniper:managed:security:start -->
|
|
24
|
-
|
|
25
|
-
| Severity | File:Line | Finding | Suggested Fix |
|
|
26
|
-
|----------|-----------|---------|---------------|
|
|
27
|
-
| critical / warning / suggestion | | | |
|
|
28
|
-
|
|
29
|
-
<!-- sniper:managed:security:end -->
|
|
30
|
-
|
|
31
|
-
## Test Coverage
|
|
32
|
-
<!-- sniper:managed:test-coverage:start -->
|
|
33
|
-
|
|
34
|
-
| Severity | Finding | Suggested Fix |
|
|
35
|
-
|----------|---------|---------------|
|
|
36
|
-
| critical / warning / suggestion | | |
|
|
37
|
-
|
|
38
|
-
### Missing Tests
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
### Edge Cases Not Covered
|
|
42
|
-
-
|
|
43
|
-
|
|
44
|
-
<!-- sniper:managed:test-coverage:end -->
|
|
45
|
-
|
|
46
|
-
## Recommendation
|
|
47
|
-
<!-- sniper:managed:recommendation:start -->
|
|
48
|
-
<!-- Final recommendation: approve, request changes, or comment -->
|
|
49
|
-
<!-- List of items that must be addressed before merge (if any) -->
|
|
50
|
-
<!-- sniper:managed:recommendation:end -->
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
# Product Requirements Document: {project_name}
|
|
2
|
-
|
|
3
|
-
> **Version:** 1
|
|
4
|
-
> **Status:** Draft
|
|
5
|
-
> **Last Updated:** {date}
|
|
6
|
-
> **Author:** Planning Team — Product Manager
|
|
7
|
-
> **Source:** `docs/brief.md`, `docs/personas.md`, `docs/risks.md`
|
|
8
|
-
> **Change Log:**
|
|
9
|
-
> - v1 ({date}): Initial version
|
|
10
|
-
|
|
11
|
-
## 1. Problem Statement
|
|
12
|
-
<!-- sniper:managed:problem-statement:start -->
|
|
13
|
-
<!-- Specific problem, who has it, evidence it's real, current alternatives -->
|
|
14
|
-
<!-- sniper:managed:problem-statement:end -->
|
|
15
|
-
|
|
16
|
-
## 2. Solution Overview
|
|
17
|
-
<!-- sniper:managed:solution-overview:start -->
|
|
18
|
-
<!-- High-level description of the product solution -->
|
|
19
|
-
<!-- sniper:managed:solution-overview:end -->
|
|
20
|
-
|
|
21
|
-
## 3. User Stories
|
|
22
|
-
|
|
23
|
-
<!-- sniper:managed:user-stories:start -->
|
|
24
|
-
### P0 — Critical (Must Ship)
|
|
25
|
-
| ID | As a... | I want to... | So that... | Acceptance Criteria |
|
|
26
|
-
|----|---------|-------------|-----------|-------------------|
|
|
27
|
-
| US-001 | | | | |
|
|
28
|
-
|
|
29
|
-
### P1 — Important (Should Ship)
|
|
30
|
-
| ID | As a... | I want to... | So that... | Acceptance Criteria |
|
|
31
|
-
|----|---------|-------------|-----------|-------------------|
|
|
32
|
-
| US-010 | | | | |
|
|
33
|
-
|
|
34
|
-
### P2 — Nice to Have (Could Ship)
|
|
35
|
-
| ID | As a... | I want to... | So that... | Acceptance Criteria |
|
|
36
|
-
|----|---------|-------------|-----------|-------------------|
|
|
37
|
-
| US-020 | | | | |
|
|
38
|
-
<!-- sniper:managed:user-stories:end -->
|
|
39
|
-
|
|
40
|
-
## 4. Functional Requirements
|
|
41
|
-
<!-- sniper:managed:functional-requirements:start -->
|
|
42
|
-
<!-- Detailed functional requirements organized by feature area -->
|
|
43
|
-
|
|
44
|
-
### 4.1 {Feature Area 1}
|
|
45
|
-
- FR-001:
|
|
46
|
-
- FR-002:
|
|
47
|
-
<!-- sniper:managed:functional-requirements:end -->
|
|
48
|
-
|
|
49
|
-
## 5. Non-Functional Requirements
|
|
50
|
-
<!-- sniper:managed:non-functional-requirements:start -->
|
|
51
|
-
| Category | Requirement | Target |
|
|
52
|
-
|----------|------------|--------|
|
|
53
|
-
| Performance | | |
|
|
54
|
-
| Security | | |
|
|
55
|
-
| Scalability | | |
|
|
56
|
-
| Availability | | |
|
|
57
|
-
| Accessibility | | |
|
|
58
|
-
<!-- sniper:managed:non-functional-requirements:end -->
|
|
59
|
-
|
|
60
|
-
## 6. Success Metrics
|
|
61
|
-
<!-- sniper:managed:success-metrics:start -->
|
|
62
|
-
| Metric | Target | Measurement Method |
|
|
63
|
-
|--------|--------|-------------------|
|
|
64
|
-
| | | |
|
|
65
|
-
<!-- sniper:managed:success-metrics:end -->
|
|
66
|
-
|
|
67
|
-
## 7. Scope Boundaries
|
|
68
|
-
|
|
69
|
-
<!-- sniper:managed:scope:start -->
|
|
70
|
-
### In Scope (v1)
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
### Explicitly Out of Scope
|
|
74
|
-
-
|
|
75
|
-
<!-- sniper:managed:scope:end -->
|
|
76
|
-
|
|
77
|
-
## 8. Dependencies & Integrations
|
|
78
|
-
<!-- sniper:managed:dependencies:start -->
|
|
79
|
-
<!-- External services, APIs, third-party tools required -->
|
|
80
|
-
<!-- sniper:managed:dependencies:end -->
|
|
81
|
-
|
|
82
|
-
## 9. Constraints
|
|
83
|
-
<!-- sniper:managed:constraints:start -->
|
|
84
|
-
<!-- Technical, business, regulatory, timeline constraints -->
|
|
85
|
-
<!-- sniper:managed:constraints:end -->
|
|
86
|
-
|
|
87
|
-
## 10. Risks & Mitigations
|
|
88
|
-
<!-- sniper:managed:risks:start -->
|
|
89
|
-
| Risk | Likelihood | Impact | Mitigation |
|
|
90
|
-
|------|-----------|--------|------------|
|
|
91
|
-
| | | | |
|
|
92
|
-
<!-- sniper:managed:risks:end -->
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Refactor Scope: {title}
|
|
2
|
-
|
|
3
|
-
> **Refactor ID:** REF-{NNN}
|
|
4
|
-
> **Status:** Scoping
|
|
5
|
-
> **Date:** {date}
|
|
6
|
-
> **Author:** Impact Analyst
|
|
7
|
-
|
|
8
|
-
## Refactor Summary
|
|
9
|
-
<!-- sniper:managed:summary:start -->
|
|
10
|
-
<!-- What is being changed and why -->
|
|
11
|
-
<!-- sniper:managed:summary:end -->
|
|
12
|
-
|
|
13
|
-
## Blast Radius
|
|
14
|
-
<!-- sniper:managed:blast-radius:start -->
|
|
15
|
-
|
|
16
|
-
### Files Affected
|
|
17
|
-
| Directory | File Count | Impact Level | Notes |
|
|
18
|
-
|-----------|-----------|-------------|-------|
|
|
19
|
-
| | | High / Medium / Low | |
|
|
20
|
-
|
|
21
|
-
### Total: {N} files, {N} instances of the pattern
|
|
22
|
-
|
|
23
|
-
<!-- sniper:managed:blast-radius:end -->
|
|
24
|
-
|
|
25
|
-
## Pattern Inventory
|
|
26
|
-
<!-- sniper:managed:pattern-inventory:start -->
|
|
27
|
-
<!-- Count of each pattern instance that needs migration -->
|
|
28
|
-
|
|
29
|
-
| Pattern | Count | Files | Example |
|
|
30
|
-
|---------|-------|-------|---------|
|
|
31
|
-
| | | | `path/to/file.ts:42` |
|
|
32
|
-
|
|
33
|
-
<!-- sniper:managed:pattern-inventory:end -->
|
|
34
|
-
|
|
35
|
-
## Risk Assessment
|
|
36
|
-
<!-- sniper:managed:risks:start -->
|
|
37
|
-
|
|
38
|
-
| Risk | Likelihood | Impact | Mitigation |
|
|
39
|
-
|------|-----------|--------|------------|
|
|
40
|
-
| | High/Medium/Low | High/Medium/Low | |
|
|
41
|
-
|
|
42
|
-
<!-- sniper:managed:risks:end -->
|
|
43
|
-
|
|
44
|
-
## Compatibility Concerns
|
|
45
|
-
<!-- sniper:managed:compatibility:start -->
|
|
46
|
-
<!-- API consumers, downstream dependencies, database migrations -->
|
|
47
|
-
<!-- sniper:managed:compatibility:end -->
|
|
48
|
-
|
|
49
|
-
## Estimated Effort
|
|
50
|
-
<!-- sniper:managed:effort:start -->
|
|
51
|
-
<!-- S/M/L/XL with justification based on file count and complexity -->
|
|
52
|
-
<!-- sniper:managed:effort:end -->
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
# Release Readiness: {version}
|
|
2
|
-
|
|
3
|
-
> **Date:** {date}
|
|
4
|
-
> **Previous Release:** {previous_version}
|
|
5
|
-
> **Recommendation:** {ready / not-ready}
|
|
6
|
-
> **Version Bump:** {major / minor / patch}
|
|
7
|
-
|
|
8
|
-
## Version Recommendation
|
|
9
|
-
<!-- sniper:managed:version:start -->
|
|
10
|
-
<!-- Recommended version bump with justification -->
|
|
11
|
-
<!-- sniper:managed:version:end -->
|
|
12
|
-
|
|
13
|
-
## Changelog
|
|
14
|
-
<!-- sniper:managed:changelog:start -->
|
|
15
|
-
|
|
16
|
-
### Features
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
### Bug Fixes
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
### Breaking Changes
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
### Internal / Refactoring
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
### Documentation
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
<!-- sniper:managed:changelog:end -->
|
|
32
|
-
|
|
33
|
-
## Breaking Changes
|
|
34
|
-
<!-- sniper:managed:breaking-changes:start -->
|
|
35
|
-
|
|
36
|
-
| Change | Affected | Migration Required |
|
|
37
|
-
|--------|----------|-------------------|
|
|
38
|
-
| | APIs / Schema / Config / Behavior | Yes / No |
|
|
39
|
-
|
|
40
|
-
<!-- sniper:managed:breaking-changes:end -->
|
|
41
|
-
|
|
42
|
-
## Migration Guide
|
|
43
|
-
<!-- sniper:managed:migration-guide:start -->
|
|
44
|
-
<!-- Steps users need to take to upgrade (if breaking changes exist) -->
|
|
45
|
-
<!-- sniper:managed:migration-guide:end -->
|
|
46
|
-
|
|
47
|
-
## Documentation Status
|
|
48
|
-
<!-- sniper:managed:doc-status:start -->
|
|
49
|
-
|
|
50
|
-
| Document | Status | Action Needed |
|
|
51
|
-
|----------|--------|---------------|
|
|
52
|
-
| | Up to date / Outdated / Missing | |
|
|
53
|
-
|
|
54
|
-
<!-- sniper:managed:doc-status:end -->
|
|
55
|
-
|
|
56
|
-
## Release Checklist
|
|
57
|
-
<!-- sniper:managed:release-checklist:start -->
|
|
58
|
-
|
|
59
|
-
- [ ] All tests passing
|
|
60
|
-
- [ ] Breaking changes documented
|
|
61
|
-
- [ ] Migration guide written (if applicable)
|
|
62
|
-
- [ ] Changelog reviewed
|
|
63
|
-
- [ ] Documentation updated
|
|
64
|
-
- [ ] Version bumped in package files
|
|
65
|
-
|
|
66
|
-
<!-- sniper:managed:release-checklist:end -->
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# Sprint Retrospective Template
|
|
2
|
-
# Produced by: retro-analyst
|
|
3
|
-
# Input: completed sprint stories, review gate results, code changes
|
|
4
|
-
|
|
5
|
-
sprint: 0
|
|
6
|
-
date: ""
|
|
7
|
-
stories_completed: 0
|
|
8
|
-
stories_carried_over: 0
|
|
9
|
-
|
|
10
|
-
findings:
|
|
11
|
-
new_conventions:
|
|
12
|
-
# - rule: "Description of the convention"
|
|
13
|
-
# confidence: high | medium
|
|
14
|
-
# evidence: "Which stories demonstrated this pattern"
|
|
15
|
-
# recommendation: codify | monitor | ignore
|
|
16
|
-
# applies_to: [role-1, role-2]
|
|
17
|
-
[]
|
|
18
|
-
|
|
19
|
-
new_anti_patterns:
|
|
20
|
-
# - description: "Description of the anti-pattern"
|
|
21
|
-
# occurrences: 0
|
|
22
|
-
# stories: ["STORY-XXX"]
|
|
23
|
-
# recommendation: codify | monitor | ignore
|
|
24
|
-
# severity: high | medium | low
|
|
25
|
-
# applies_to: [role-1, role-2]
|
|
26
|
-
[]
|
|
27
|
-
|
|
28
|
-
review_gate_failures:
|
|
29
|
-
# - check: "Name of the check that failed"
|
|
30
|
-
# failures: 0
|
|
31
|
-
# pattern: "Common thread across failures"
|
|
32
|
-
# already_tracked: false
|
|
33
|
-
[]
|
|
34
|
-
|
|
35
|
-
estimation_calibration:
|
|
36
|
-
overestimates: []
|
|
37
|
-
underestimates: []
|
|
38
|
-
patterns:
|
|
39
|
-
# - "Description of estimation pattern"
|
|
40
|
-
[]
|
|
41
|
-
|
|
42
|
-
positive_patterns:
|
|
43
|
-
# - "Description of a positive pattern worth reinforcing"
|
|
44
|
-
[]
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
# Risk Assessment: {project_name}
|
|
2
|
-
|
|
3
|
-
> **Status:** Draft
|
|
4
|
-
> **Author:** Discovery Team — Risk Researcher
|
|
5
|
-
> **Date:** {date}
|
|
6
|
-
|
|
7
|
-
## Executive Risk Summary
|
|
8
|
-
<!-- 2-3 sentence overview of the project's risk profile -->
|
|
9
|
-
|
|
10
|
-
## Technical Feasibility
|
|
11
|
-
|
|
12
|
-
### Architecture Risks
|
|
13
|
-
| Risk | Likelihood | Impact | Mitigation |
|
|
14
|
-
|------|-----------|--------|------------|
|
|
15
|
-
| | | | |
|
|
16
|
-
|
|
17
|
-
### Integration Risks
|
|
18
|
-
<!-- Third-party dependencies, API stability, vendor lock-in -->
|
|
19
|
-
|
|
20
|
-
### Scalability Risks
|
|
21
|
-
<!-- Performance bottlenecks, data growth, concurrent user limits -->
|
|
22
|
-
|
|
23
|
-
## Compliance & Regulatory
|
|
24
|
-
|
|
25
|
-
### Regulatory Requirements
|
|
26
|
-
<!-- GDPR, HIPAA, SOC 2, PCI-DSS, industry-specific regulations -->
|
|
27
|
-
|
|
28
|
-
### Data Privacy Risks
|
|
29
|
-
<!-- PII handling, data residency, consent management -->
|
|
30
|
-
|
|
31
|
-
## Operational Risks
|
|
32
|
-
|
|
33
|
-
### Deployment & Infrastructure
|
|
34
|
-
<!-- Cloud dependency, disaster recovery, monitoring gaps -->
|
|
35
|
-
|
|
36
|
-
### Team & Resource Risks
|
|
37
|
-
<!-- Skill gaps, key-person dependencies, timeline pressure -->
|
|
38
|
-
|
|
39
|
-
## Security Risks
|
|
40
|
-
|
|
41
|
-
### Attack Surface
|
|
42
|
-
<!-- Authentication, authorization, injection vectors, data exposure -->
|
|
43
|
-
|
|
44
|
-
### Third-Party Risk
|
|
45
|
-
<!-- Supply chain, dependency vulnerabilities, vendor security posture -->
|
|
46
|
-
|
|
47
|
-
## Risk Matrix
|
|
48
|
-
|
|
49
|
-
| # | Risk | Likelihood (1-5) | Impact (1-5) | Score | Priority | Mitigation Strategy |
|
|
50
|
-
|---|------|-------------------|---------------|-------|----------|---------------------|
|
|
51
|
-
| 1 | | | | | | |
|
|
52
|
-
| 2 | | | | | | |
|
|
53
|
-
| 3 | | | | | | |
|
|
54
|
-
|
|
55
|
-
## Assumptions Requiring Validation
|
|
56
|
-
<!-- List assumptions from the brief that carry risk if wrong -->
|
|
57
|
-
1.
|
|
58
|
-
2.
|
|
59
|
-
3.
|
|
60
|
-
|
|
61
|
-
## Open Questions
|
|
62
|
-
<!-- Unresolved items that affect risk assessment -->
|
|
63
|
-
1.
|
|
64
|
-
2.
|