@dzhechkov/keysarium 1.4.0 → 1.5.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 +50 -3
- package/bin/cli.js +0 -0
- package/package.json +5 -3
- package/templates/.claude/commands/analyst-manual.md +38 -0
- package/templates/.claude/commands/casarium.md +55 -4
- package/templates/.claude/commands/feature-adr.md +8 -0
- package/templates/.claude/rules/trust-tiers.md +5 -0
- package/templates/.claude/shards/feature-adr.shard.md +64 -10
- package/templates/.claude/shards/phase-ai-factory.shard.md +109 -0
- package/templates/.claude/skills/ai-factory-mapper/README.md +90 -0
- package/templates/.claude/skills/ai-factory-mapper/SKILL.md +309 -0
- package/templates/.claude/skills/ai-factory-mapper/assets/report-template.md +123 -0
- package/templates/.claude/skills/ai-factory-mapper/references/catalog.md +230 -0
- package/templates/.claude/skills/ai-factory-mapper/references/coverage-formula.md +219 -0
- package/templates/.claude/skills/ai-factory-mapper/references/decomposition-checklist.md +183 -0
- package/templates/.claude/skills/ai-factory-mapper/references/pattern-library.md +312 -0
- package/templates/.claude/skills/ai-factory-mapper/scripts/build_docx_report.js +423 -0
- package/templates/.claude/skills/analyst-manual-full/SKILL.md +286 -0
- package/templates/.claude/skills/edu-site-generator/SKILL.md +254 -0
- package/templates/.claude/skills/edu-site-generator/examples/sample-course-structure.md +116 -0
- package/templates/.claude/skills/edu-site-generator/modules/00-content-analysis.md +84 -0
- package/templates/.claude/skills/edu-site-generator/modules/01-course-structure.md +75 -0
- package/templates/.claude/skills/edu-site-generator/modules/02-data-generation.md +186 -0
- package/templates/.claude/skills/edu-site-generator/modules/03-scaffold.md +249 -0
- package/templates/.claude/skills/edu-site-generator/modules/04-components.md +130 -0
- package/templates/.claude/skills/edu-site-generator/modules/05-gamification.md +163 -0
- package/templates/.claude/skills/edu-site-generator/modules/06-deploy.md +88 -0
- package/templates/.claude/skills/edu-site-generator/modules/07-verification.md +97 -0
- package/templates/.claude/skills/edu-site-generator/references/component-templates.md +436 -0
- package/templates/.claude/skills/edu-site-generator/references/data-schemas.md +164 -0
- package/templates/.claude/skills/edu-site-generator/references/exercise-catalog.md +110 -0
- package/templates/.claude/skills/edu-site-generator/references/tech-stack.md +69 -0
- package/templates/.claude/skills/feature-adr/SKILL.md +245 -59
- package/templates/.claude/skills/feature-adr/modules/03-adr.md +43 -0
- package/templates/.claude/skills/feature-adr/modules/03.5-ideation-swarm.md +180 -0
- package/templates/.claude/skills/feature-adr/modules/06-implementation-plan.md +56 -7
- package/templates/.claude/skills/feature-adr/modules/08-qe.md +87 -23
- package/templates/.claude/skills/feature-adr/modules/09-fleet-qe.md +305 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/README.md +143 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/brutal-honesty-review.md +240 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/chaos-engineering-resilience.md +163 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/code-goal-planner.md +446 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/enterprise-integration-testing.md +111 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/mutation-testing.md +236 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/performance-testing.md +315 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qcsd-ideation-swarm.md +126 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qcsd-production-swarm.md +108 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-coverage-analysis.md +193 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-requirements-validation.md +254 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/regression-testing.md +233 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/risk-based-testing.md +212 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/security-testing.md +311 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/shift-left-testing.md +231 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/tdd-london-chicago.md +249 -0
- package/templates/.claude/skills/transcript-site-generator/SKILL.md +287 -0
- package/templates/.claude/skills/transcript-site-generator/examples/sample-text-only-site.md +123 -0
- package/templates/.claude/skills/transcript-site-generator/examples/sample-transcript-site.md +134 -0
- package/templates/.claude/skills/transcript-site-generator/modules/00-input-analysis.md +132 -0
- package/templates/.claude/skills/transcript-site-generator/modules/01-content-parsing.md +117 -0
- package/templates/.claude/skills/transcript-site-generator/modules/02-site-generation.md +293 -0
- package/templates/.claude/skills/transcript-site-generator/modules/03-interactivity.md +406 -0
- package/templates/.claude/skills/transcript-site-generator/modules/04-deploy.md +130 -0
- package/templates/.claude/skills/transcript-site-generator/modules/05-verification.md +155 -0
- package/templates/.claude/skills/transcript-site-generator/references/component-catalog.md +86 -0
- package/templates/.claude/skills/transcript-site-generator/references/data-schemas.md +123 -0
- package/templates/.claude/skills/transcript-site-generator/references/tech-stack.md +132 -0
- package/templates/CLAUDE.md +9 -2
- package/templates/docs/edu-site-generator/01-deployment-guide.md +911 -0
- package/templates/docs/edu-site-generator/02-admin-guide.md +901 -0
- package/templates/docs/edu-site-generator/03-user-guide.md +1008 -0
- package/templates/docs/edu-site-generator/04-infrastructure-requirements.md +489 -0
- package/templates/docs/edu-site-generator/05-architecture.md +902 -0
- package/templates/docs/edu-site-generator/06-user-flows.md +759 -0
- package/templates/docs/transcript-site-generator/01-deployment-guide.md +1042 -0
- package/templates/docs/transcript-site-generator/02-admin-guide.md +918 -0
- package/templates/docs/transcript-site-generator/03-user-guide.md +925 -0
- package/templates/docs/transcript-site-generator/04-infrastructure-requirements.md +482 -0
- package/templates/docs/transcript-site-generator/05-architecture.md +1068 -0
- package/templates/docs/transcript-site-generator/06-user-flows.md +855 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Tech Stack Reference
|
|
2
|
+
|
|
3
|
+
## Core Dependencies
|
|
4
|
+
|
|
5
|
+
| Package | Version | Purpose |
|
|
6
|
+
|---------|---------|---------|
|
|
7
|
+
| react | ^19.2.0 | UI framework |
|
|
8
|
+
| react-dom | ^19.2.0 | DOM rendering |
|
|
9
|
+
| react-router-dom | ^7.13.1 | Client-side routing (HashRouter) |
|
|
10
|
+
| zustand | ^5.0.11 | State management with persist |
|
|
11
|
+
| @dnd-kit/core | ^6.3.1 | Drag-and-drop base |
|
|
12
|
+
| @dnd-kit/sortable | ^10.0.0 | Sortable drag-and-drop |
|
|
13
|
+
| @dnd-kit/utilities | ^3.2.2 | DnD utility functions |
|
|
14
|
+
|
|
15
|
+
## Dev Dependencies
|
|
16
|
+
|
|
17
|
+
| Package | Version | Purpose |
|
|
18
|
+
|---------|---------|---------|
|
|
19
|
+
| vite | ^7.3.1 | Build tool |
|
|
20
|
+
| @vitejs/plugin-react | ^5.1.1 | React support for Vite |
|
|
21
|
+
| tailwindcss | ^4.2.1 | CSS framework (v4, CSS-based config) |
|
|
22
|
+
| @tailwindcss/vite | ^4.2.1 | TailwindCSS Vite plugin |
|
|
23
|
+
| eslint | ^9.39.1 | Linting |
|
|
24
|
+
| eslint-plugin-react-hooks | ^7.0.1 | React hooks lint rules |
|
|
25
|
+
| eslint-plugin-react-refresh | ^0.4.24 | Fast refresh lint rules |
|
|
26
|
+
| globals | ^16.1.0 | Global variable definitions |
|
|
27
|
+
|
|
28
|
+
## TailwindCSS v4 Notes
|
|
29
|
+
|
|
30
|
+
- No `tailwind.config.js` — configuration is in CSS via `@theme` directive
|
|
31
|
+
- Custom utilities use `@utility` directive (not `@layer utilities`)
|
|
32
|
+
- Custom animations defined with `@keyframes` + `@utility animate-*`
|
|
33
|
+
- Import: `@import "tailwindcss";` (not individual layers)
|
|
34
|
+
|
|
35
|
+
## Vite Configuration
|
|
36
|
+
|
|
37
|
+
```javascript
|
|
38
|
+
import { defineConfig } from 'vite'
|
|
39
|
+
import react from '@vitejs/plugin-react'
|
|
40
|
+
import tailwindcss from '@tailwindcss/vite'
|
|
41
|
+
|
|
42
|
+
export default defineConfig({
|
|
43
|
+
plugins: [react(), tailwindcss()],
|
|
44
|
+
base: '/<repo-name>/', // CRITICAL for GitHub Pages
|
|
45
|
+
})
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Routing
|
|
49
|
+
|
|
50
|
+
**MUST use HashRouter** for GitHub Pages compatibility:
|
|
51
|
+
```jsx
|
|
52
|
+
import { HashRouter } from 'react-router-dom'
|
|
53
|
+
// NOT BrowserRouter — GitHub Pages doesn't support server-side routing
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## State Persistence
|
|
57
|
+
|
|
58
|
+
Zustand `persist` middleware with localStorage:
|
|
59
|
+
```javascript
|
|
60
|
+
import { persist } from 'zustand/middleware'
|
|
61
|
+
|
|
62
|
+
persist(storeConfig, {
|
|
63
|
+
name: 'unique-storage-key',
|
|
64
|
+
partialize: (state) => ({ /* only persist these fields */ }),
|
|
65
|
+
onRehydrateStorage: () => (state) => {
|
|
66
|
+
// Restore side effects (e.g., dark mode class)
|
|
67
|
+
}
|
|
68
|
+
})
|
|
69
|
+
```
|
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: feature-adr
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
ADR-driven architecture decisions, DDD modeling,
|
|
4
|
+
11-step feature development pipeline with Complexity Router (S/M/L/XL),
|
|
5
|
+
ADR-driven architecture decisions, DDD modeling, QCSD quality swarm,
|
|
6
|
+
SPARC-GOAP planning, brutal-honesty review, and multi-agent fleet QE.
|
|
7
|
+
Integrates 15 agentic-qe skills (9 core + 6 extended) for comprehensive
|
|
8
|
+
quality engineering. Supports 3 modes: Reference (no setup), Direct (--full-qe),
|
|
9
|
+
and Direct Extended (--full-qe-extended).
|
|
6
10
|
Triggers on "реализуй фичу", "feature implementation", "добавь функциональность",
|
|
7
11
|
"implement feature", "/feature-adr".
|
|
8
12
|
trust_tier: 0
|
|
9
13
|
trust_tier_label: "Advisory"
|
|
10
14
|
trust_tier_path: "Run /bto-test to promote to Tier 1"
|
|
15
|
+
agentic_qe_version: "7.5.1"
|
|
16
|
+
agentic_qe_source: "https://github.com/proffesor-for-testing/agentic-qe"
|
|
17
|
+
agentic_qe_skills_core: 9
|
|
18
|
+
agentic_qe_skills_extended: 6
|
|
19
|
+
agentic_qe_modes: ["reference", "direct", "direct-extended"]
|
|
11
20
|
---
|
|
12
21
|
|
|
13
22
|
# Feature ADR — Adaptive Feature Development Pipeline
|
|
14
23
|
|
|
15
|
-
>
|
|
24
|
+
> 11-шаговый pipeline для разработки фич любой сложности.
|
|
16
25
|
> Complexity Router автоматически определяет масштаб (S/M/L/XL) и пропускает ненужные шаги.
|
|
26
|
+
> Интегрирует 15 скиллов из [agentic-qe](https://github.com/proffesor-for-testing/agentic-qe)
|
|
27
|
+
> для shift-left quality engineering на каждом этапе.
|
|
17
28
|
|
|
18
29
|
## When To Activate
|
|
19
30
|
|
|
@@ -23,6 +34,8 @@ Trigger on:
|
|
|
23
34
|
- "добавь функциональность [описание]"
|
|
24
35
|
- "feature [описание]"
|
|
25
36
|
- `/feature-adr [описание или путь к issue]`
|
|
37
|
+
- `/feature-adr --full-qe [описание]` (полная интеграция с agentic-qe)
|
|
38
|
+
- `/feature-adr --full-qe-extended [описание]` (полная + доп. скиллы)
|
|
26
39
|
|
|
27
40
|
## Architecture
|
|
28
41
|
|
|
@@ -33,17 +46,36 @@ Trigger on:
|
|
|
33
46
|
│ ├── 00-complexity-router.md ← Step 0: S/M/L/XL classification
|
|
34
47
|
│ ├── 01-requirements.md ← Step 1: Requirements gathering
|
|
35
48
|
│ ├── 02-research.md ← Step 2: Analogues & patterns research
|
|
36
|
-
│ ├── 03-adr.md ← Step 3:
|
|
49
|
+
│ ├── 03-adr.md ← Step 3: ADR + shift-left validation
|
|
50
|
+
│ ├── 03.5-ideation-swarm.md ← Step 3.5: QCSD quality swarm (NEW)
|
|
37
51
|
│ ├── 04-ddd.md ← Step 4: Domain-Driven Design
|
|
38
52
|
│ ├── 05-architecture.md ← Step 5: Technical architecture
|
|
39
|
-
│ ├── 06-implementation-plan.md ← Step 6:
|
|
53
|
+
│ ├── 06-implementation-plan.md ← Step 6: SPARC-GOAP planning (enhanced)
|
|
40
54
|
│ ├── 07-code.md ← Step 7: Code generation
|
|
41
|
-
│
|
|
55
|
+
│ ├── 08-qe.md ← Step 8: QE + brutal-honesty review (enhanced)
|
|
56
|
+
│ └── 09-fleet-qe.md ← Step 9: Fleet QE assessment (NEW)
|
|
42
57
|
├── references/
|
|
43
58
|
│ ├── complexity-matrix.md ← S/M/L/XL criteria & step activation
|
|
44
59
|
│ ├── adr-template.md ← ADR document template
|
|
45
60
|
│ ├── c4-template.md ← C4 diagram templates
|
|
46
|
-
│
|
|
61
|
+
│ ├── qe-checklist.md ← Quality engineering checklist
|
|
62
|
+
│ └── agentic-qe/ ← Integrated agentic-qe skills (15 total)
|
|
63
|
+
│ ├── README.md ← Skill mapping, modes, install guide
|
|
64
|
+
│ ├── shift-left-testing.md ← Step 3: ADR testability (Tier 3)
|
|
65
|
+
│ ├── qcsd-ideation-swarm.md ← Step 3.5: Quality swarm (Tier 3)
|
|
66
|
+
│ ├── code-goal-planner.md ← Step 6: SPARC-GOAP agent
|
|
67
|
+
│ ├── brutal-honesty-review.md ← Step 8: Code review (Tier 2)
|
|
68
|
+
│ ├── qe-requirements-validation.md ← Step 9: Traceability (Tier 3)
|
|
69
|
+
│ ├── risk-based-testing.md ← Step 9: Risk scoring (Tier 3)
|
|
70
|
+
│ ├── enterprise-integration-testing.md ← Step 9: Integration (Tier 3, condensed)
|
|
71
|
+
│ ├── regression-testing.md ← Step 9: Regression (Tier 3)
|
|
72
|
+
│ ├── qe-coverage-analysis.md ← Step 9: Coverage (Tier 3)
|
|
73
|
+
│ ├── chaos-engineering-resilience.md ← Extended: Chaos (Tier 3)
|
|
74
|
+
│ ├── security-testing.md ← Extended: OWASP (Tier 3)
|
|
75
|
+
│ ├── performance-testing.md ← Extended: Load/stress (Tier 3)
|
|
76
|
+
│ ├── mutation-testing.md ← Extended: Mutation (Tier 3)
|
|
77
|
+
│ ├── tdd-london-chicago.md ← Extended: TDD schools (Tier 3)
|
|
78
|
+
│ └── qcsd-production-swarm.md ← Extended: Prod health (Tier 3, condensed)
|
|
47
79
|
└── examples/
|
|
48
80
|
└── sample-feature-output.md ← Example output for M-tier feature
|
|
49
81
|
```
|
|
@@ -51,28 +83,34 @@ Trigger on:
|
|
|
51
83
|
## Pipeline Overview
|
|
52
84
|
|
|
53
85
|
```
|
|
54
|
-
Step 0 Step 1 Step 2 Step 3
|
|
55
|
-
ROUTER → REQUIREMENTS → RESEARCH → ADR
|
|
56
|
-
(all) (all) (L/XL)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
86
|
+
Step 0 Step 1 Step 2 Step 3 Step 3.5
|
|
87
|
+
ROUTER → REQUIREMENTS → RESEARCH → ADR → QCSD SWARM
|
|
88
|
+
(all) (all) (L/XL) + shift-left (M+)
|
|
89
|
+
(M+) │
|
|
90
|
+
│ Step 4 │
|
|
91
|
+
└──→ DDD ←──┘
|
|
92
|
+
(L/XL)
|
|
93
|
+
│
|
|
94
|
+
Step 5
|
|
95
|
+
ARCHITECTURE
|
|
96
|
+
(M+)
|
|
97
|
+
│
|
|
98
|
+
Step 6
|
|
99
|
+
SPARC-GOAP PLAN
|
|
100
|
+
(all)
|
|
101
|
+
│
|
|
102
|
+
Step 7
|
|
103
|
+
CODE
|
|
104
|
+
(all)
|
|
105
|
+
│
|
|
106
|
+
Step 8
|
|
107
|
+
QE + BRUTAL REVIEW
|
|
108
|
+
+ GAP LOOP
|
|
109
|
+
(all)
|
|
110
|
+
│
|
|
111
|
+
Step 9
|
|
112
|
+
FLEET QE
|
|
113
|
+
(L/XL)
|
|
76
114
|
```
|
|
77
115
|
|
|
78
116
|
## Complexity Tiers
|
|
@@ -80,26 +118,28 @@ ROUTER → REQUIREMENTS → RESEARCH → ADR → DDD
|
|
|
80
118
|
| Tier | Scope | Steps | Example |
|
|
81
119
|
|------|-------|-------|---------|
|
|
82
120
|
| **S** | 1-3 files, single domain | 0→1→6→7→8 | Bug fix, config change, small util |
|
|
83
|
-
| **M** | 4-10 files, 1-2 domains | 0→1→3→5(light)→6→7→8 | New API endpoint, UI component |
|
|
84
|
-
| **L** | 11-30 files, 2-4 domains | 0→1→2→3→4→5→6→7→8 | New module, integration |
|
|
85
|
-
| **XL** | 30+ files, cross-cutting | Full DAG with parallelism | New subsystem, major refactor |
|
|
121
|
+
| **M** | 4-10 files, 1-2 domains | 0→1→3→3.5→5(light)→6→7→8 | New API endpoint, UI component |
|
|
122
|
+
| **L** | 11-30 files, 2-4 domains | 0→1→2→3→3.5→4→5→6→7→8→9 | New module, integration |
|
|
123
|
+
| **XL** | 30+ files, cross-cutting | Full DAG with parallelism + fleet QE | New subsystem, major refactor |
|
|
86
124
|
|
|
87
125
|
See `references/complexity-matrix.md` for detailed classification criteria.
|
|
88
126
|
|
|
89
127
|
## Step Activation Matrix
|
|
90
128
|
|
|
91
129
|
```
|
|
92
|
-
Step
|
|
93
|
-
|
|
94
|
-
0
|
|
95
|
-
1
|
|
96
|
-
2
|
|
97
|
-
3
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
130
|
+
Step | S | M | L | XL | Model | Agentic QE Skill |
|
|
131
|
+
─────────────────────────────────────────────────────────────────────────────────
|
|
132
|
+
0 Complexity Router | ✓ | ✓ | ✓ | ✓ | haiku | — |
|
|
133
|
+
1 Requirements | ✓ | ✓ | ✓ | ✓ | sonnet | — |
|
|
134
|
+
2 Research | - | - | ✓ | ✓ | sonnet | — |
|
|
135
|
+
3 ADR + Shift-Left | - | ✓ | ✓ | ✓ | opus | shift-left-testing |
|
|
136
|
+
3.5 QCSD Ideation Swarm | - | ✓ | ✓ | ✓ | sonnet | qcsd-ideation-swarm |
|
|
137
|
+
4 DDD | - | - | ✓ | ✓ | opus | — |
|
|
138
|
+
5 Architecture | - | ✓ | ✓ | ✓ | opus | — |
|
|
139
|
+
6 SPARC-GOAP Impl Plan | ✓ | ✓ | ✓ | ✓ | sonnet | code-goal-planner |
|
|
140
|
+
7 Code | ✓ | ✓ | ✓ | ✓ | opus | — |
|
|
141
|
+
8 QE + Brutal Honesty | ✓ | ✓ | ✓ | ✓ | sonnet | brutal-honesty-review |
|
|
142
|
+
9 Fleet QE Assessment | - | - | ✓ | ✓ | sonnet | qe-req-val + risk-based + integration + regression + coverage |
|
|
103
143
|
```
|
|
104
144
|
|
|
105
145
|
## DAG Dependencies
|
|
@@ -109,29 +149,33 @@ Steps are NOT purely linear. The DAG defines what can run in parallel:
|
|
|
109
149
|
```
|
|
110
150
|
Group 1 (sequential): Step 0 → Step 1
|
|
111
151
|
Group 2 (parallel): Step 2 ‖ Step 3 (after Step 1)
|
|
112
|
-
Group 3 (
|
|
113
|
-
Group 4 (
|
|
114
|
-
Group 5 (sequential): Step
|
|
115
|
-
Group 6 (sequential): Step
|
|
152
|
+
Group 3 (sequential): Step 3.5 (after Step 3, consumes shift-left output)
|
|
153
|
+
Group 4 (parallel): Step 4 ‖ Step 5 (after Steps 2+3.5)
|
|
154
|
+
Group 5 (sequential): Step 6 (after Step 5, uses QCSD findings)
|
|
155
|
+
Group 6 (sequential): Step 7 (after Step 6)
|
|
156
|
+
Group 7 (sequential): Step 8 (after Step 7, brutal-honesty + gap loop)
|
|
157
|
+
Group 8 (sequential): Step 9 (after Step 8, L/XL only — fleet assessment)
|
|
116
158
|
```
|
|
117
159
|
|
|
118
160
|
For tiers S/M, the DAG collapses to a linear sequence (no parallelism needed).
|
|
119
161
|
|
|
120
162
|
## Agent Swarm Strategy
|
|
121
163
|
|
|
122
|
-
### Per-Step Parallelism
|
|
164
|
+
### Per-Step Parallelism
|
|
123
165
|
|
|
124
166
|
| Step | Agents | Tasks |
|
|
125
167
|
|------|--------|-------|
|
|
126
168
|
| Step 2 | 2 parallel (sonnet) | Codebase patterns ‖ External analogues |
|
|
127
169
|
| Step 3+4 | 2 parallel (opus) | ADR drafting ‖ DDD modeling |
|
|
170
|
+
| Step 3.5 | 3-9 parallel (sonnet) | Core: QC + Risk + Testability ‖ Conditional: A11y + Security + UX |
|
|
128
171
|
| Step 7 | N parallel (opus) | One agent per independent module/file |
|
|
129
|
-
| Step 8 | 3 parallel (sonnet) |
|
|
172
|
+
| Step 8 | 3 parallel (sonnet) | Linus reviewer ‖ Security reviewer ‖ Ramsay reviewer |
|
|
173
|
+
| Step 9 | 4 parallel (sonnet) | Traceability ‖ Risk ‖ Integration ‖ Regression |
|
|
130
174
|
|
|
131
175
|
### Cross-Step Parallelism
|
|
132
176
|
|
|
133
177
|
For L/XL: Steps 2 and 3 run in parallel after Step 1 completes.
|
|
134
|
-
For L/XL: Steps 4 and 5 can overlap if Step 3 finishes before Step 2.
|
|
178
|
+
For L/XL: Steps 4 and 5 can overlap if Step 3.5 finishes before Step 2.
|
|
135
179
|
|
|
136
180
|
## Execution Protocol
|
|
137
181
|
|
|
@@ -158,10 +202,12 @@ Execute protocol
|
|
|
158
202
|
```
|
|
159
203
|
|
|
160
204
|
### 4. Final Verification
|
|
161
|
-
After Step 8 completes, verify:
|
|
205
|
+
After Step 8 (or Step 9 for L/XL) completes, verify:
|
|
162
206
|
- All mandatory artifacts exist per tier
|
|
163
207
|
- QE checks passed
|
|
164
208
|
- ADR decisions are traceable to code (L/XL)
|
|
209
|
+
- QCSD quality risks are mitigated (M+)
|
|
210
|
+
- Gap detection loop closed with zero remaining gaps
|
|
165
211
|
|
|
166
212
|
## Cross-Phase Variables
|
|
167
213
|
|
|
@@ -170,13 +216,17 @@ After Step 8 completes, verify:
|
|
|
170
216
|
| `{COMPLEXITY_TIER}` | Step 0 | All steps | S/M/L/XL |
|
|
171
217
|
| `{ACTIVE_STEPS}` | Step 0 | Orchestrator | list[int] |
|
|
172
218
|
| `{TIME_BUDGET}` | Step 0 | All steps | dict |
|
|
173
|
-
| `{REQUIREMENTS}` | Step 1 | Steps 2-
|
|
219
|
+
| `{REQUIREMENTS}` | Step 1 | Steps 2-9 | structured |
|
|
174
220
|
| `{RESEARCH_FINDINGS}` | Step 2 | Steps 3-5 | structured |
|
|
175
|
-
| `{ADR_DECISIONS}` | Step 3 | Steps
|
|
221
|
+
| `{ADR_DECISIONS}` | Step 3 | Steps 3.5-7 | list[ADR] |
|
|
222
|
+
| `{IDEATION_VERDICT}` | Step 3.5 | Steps 6-9 | GO/CONDITIONAL/NO-GO |
|
|
223
|
+
| `{QUALITY_RISKS}` | Step 3.5 | Steps 6-9 | list[risk] |
|
|
176
224
|
| `{DOMAIN_MODEL}` | Step 4 | Steps 5-7 | structured |
|
|
177
225
|
| `{ARCHITECTURE}` | Step 5 | Steps 6-7 | structured |
|
|
178
|
-
| `{IMPL_PLAN}` | Step 6 | Step 7 | list[task] |
|
|
179
|
-
| `{
|
|
226
|
+
| `{IMPL_PLAN}` | Step 6 | Step 7 | list[task] (SPARC-enhanced) |
|
|
227
|
+
| `{CODE_CHANGES}` | Step 7 | Steps 8-9 | list[file] |
|
|
228
|
+
| `{QE_RESULTS}` | Step 8 | Step 9 | structured |
|
|
229
|
+
| `{FLEET_QE_VERDICT}` | Step 9 | Final report | COMPLETE/NEEDS_REMEDIATION |
|
|
180
230
|
|
|
181
231
|
## Output Directory Structure
|
|
182
232
|
|
|
@@ -190,12 +240,14 @@ features/<feature-slug>/
|
|
|
190
240
|
├── 03_adr/ ← M+ only
|
|
191
241
|
│ ├── 001-<decision>.md
|
|
192
242
|
│ └── ...
|
|
243
|
+
├── 03.5_ideation_report.md ← M+ only (QCSD swarm output)
|
|
193
244
|
├── 04_domain_model.md ← L/XL only
|
|
194
245
|
├── 05_architecture.md ← M+ only
|
|
195
|
-
├── 06_implementation_plan.md ← Always
|
|
246
|
+
├── 06_implementation_plan.md ← Always (SPARC-GOAP enhanced)
|
|
196
247
|
├── 07_code_changes/ ← Always (actual code in repo)
|
|
197
248
|
│ └── change_manifest.md ← List of modified files
|
|
198
|
-
├── 08_qe_report.md ← Always
|
|
249
|
+
├── 08_qe_report.md ← Always (brutal-honesty review)
|
|
250
|
+
├── 09_fleet_qe_assessment.md ← L/XL only (fleet assessment)
|
|
199
251
|
├── diagrams/ ← M+ only
|
|
200
252
|
│ ├── architecture-c4.mermaid
|
|
201
253
|
│ ├── sequence-*.mermaid
|
|
@@ -209,19 +261,149 @@ features/<feature-slug>/
|
|
|
209
261
|
|------|-------------|
|
|
210
262
|
| Step 0 | `<promise>FEATURE_ADR_ROUTED</promise>` |
|
|
211
263
|
| Step 1 | `<promise>FEATURE_ADR_REQUIREMENTS_GATHERED</promise>` |
|
|
212
|
-
| Steps 2-
|
|
264
|
+
| Steps 2-3 | `<promise>FEATURE_ADR_DESIGNED</promise>` |
|
|
265
|
+
| Step 3.5 | `<promise>FEATURE_ADR_QUALITY_ASSESSED</promise>` |
|
|
266
|
+
| Steps 4-5 | `<promise>FEATURE_ADR_ARCHITECTED</promise>` |
|
|
213
267
|
| Step 6 | `<promise>FEATURE_ADR_PLANNED</promise>` |
|
|
214
268
|
| Step 7 | `<promise>FEATURE_ADR_IMPLEMENTED</promise>` |
|
|
215
269
|
| Step 8 | `<promise>FEATURE_ADR_VERIFIED</promise>` |
|
|
270
|
+
| Step 9 | `<promise>FEATURE_ADR_FLEET_VERIFIED</promise>` |
|
|
216
271
|
|
|
217
272
|
## External Skills (loaded as needed)
|
|
218
273
|
|
|
274
|
+
### Keysarium Skills (internal)
|
|
275
|
+
|
|
219
276
|
| Skill | Used In | Purpose |
|
|
220
277
|
|-------|---------|---------|
|
|
221
278
|
| explore | Step 1 | Requirements clarification |
|
|
222
279
|
| problem-solver-enhanced | Step 3 | Trade-off analysis for ADR decisions |
|
|
223
280
|
| frontend-design | Step 7 | UI implementation (if feature has UI) |
|
|
224
281
|
|
|
282
|
+
### Agentic QE Skills (from [proffesor-for-testing/agentic-qe](https://github.com/proffesor-for-testing/agentic-qe))
|
|
283
|
+
|
|
284
|
+
#### Core Pipeline Skills (loaded by default)
|
|
285
|
+
|
|
286
|
+
| Skill | Used In | Purpose | Trust Tier |
|
|
287
|
+
|-------|---------|---------|------------|
|
|
288
|
+
| shift-left-testing | Step 3 | ADR testability validation (Level 4: Risk Analysis in Design) | 3 (Verified) |
|
|
289
|
+
| qcsd-ideation-swarm | Step 3.5 | HTSM quality criteria + SFDIPOT risk + testability scoring | 3 (Verified) |
|
|
290
|
+
| code-goal-planner | Step 6 | SPARC-GOAP milestone decomposition and goal state planning | — (Agent) |
|
|
291
|
+
| brutal-honesty-review | Step 8 | Linus/Ramsay/Bach modes for code + test review | 2 (Validated) |
|
|
292
|
+
| qe-requirements-validation | Step 9 | Traceability matrix, SMART validation, orphan test detection | 3 (Verified) |
|
|
293
|
+
| risk-based-testing | Step 9 | Probability×Impact 5×5 scoring, 4-tier test effort allocation | 3 (Verified) |
|
|
294
|
+
| enterprise-integration-testing | Step 9 | Cross-module contract testing, E2E flow validation | 3 (Verified) |
|
|
295
|
+
| regression-testing | Step 9 | Change-based test selection, impact analysis, regression pyramid | 3 (Verified) |
|
|
296
|
+
| qe-coverage-analysis | Step 9 | Risk-weighted coverage scoring, differential coverage analysis | 3 (Verified) |
|
|
297
|
+
|
|
298
|
+
#### Extended Skills (available in Direct Extended Mode via `--full-qe-extended`)
|
|
299
|
+
|
|
300
|
+
| Skill | Applicable Steps | Purpose | Trust Tier |
|
|
301
|
+
|-------|-----------------|---------|------------|
|
|
302
|
+
| chaos-engineering-resilience | Step 9 | Fault injection, blast radius progression, steady state verification | 3 (Verified) |
|
|
303
|
+
| security-testing | Step 8, 9 | OWASP Top 10, access control, injection, cryptographic failures | 3 (Verified) |
|
|
304
|
+
| performance-testing | Step 8, 9 | Load/stress/spike/endurance testing, SLO definition, k6 integration | 3 (Verified) |
|
|
305
|
+
| mutation-testing | Step 8 | Mutation score analysis, surviving mutant diagnosis, Stryker integration | 3 (Verified) |
|
|
306
|
+
| tdd-london-chicago | Step 7 | TDD school selection (London mocks vs Chicago state), mixed approach | 3 (Verified) |
|
|
307
|
+
| qcsd-production-swarm | Step 9+ | 12-agent post-release health assessment, DORA metrics, feedback loops | 3 (Verified) |
|
|
308
|
+
|
|
309
|
+
Skills are stored in `references/agentic-qe/` and loaded on demand by each module.
|
|
310
|
+
|
|
311
|
+
## Direct Integration Mode (agentic-qe flags)
|
|
312
|
+
|
|
313
|
+
Two flags for integrating with the full agentic-qe package:
|
|
314
|
+
|
|
315
|
+
| Flag | Mode | What it does |
|
|
316
|
+
|------|------|-------------|
|
|
317
|
+
| (none) | Reference | Condensed copies of 9 core skills, no install needed |
|
|
318
|
+
| `--full-qe` | Direct | Full agentic-qe protocols for existing 9 core skills |
|
|
319
|
+
| `--full-qe-extended` | Direct Extended | Full protocols + 6 additional skills (chaos, security, performance, mutation, TDD, production-swarm) |
|
|
320
|
+
|
|
321
|
+
### Installation
|
|
322
|
+
|
|
323
|
+
```bash
|
|
324
|
+
# Install agentic-qe globally
|
|
325
|
+
npm install -g agentic-qe
|
|
326
|
+
|
|
327
|
+
# Initialize in your project (auto-detects tech stack, configures MCP)
|
|
328
|
+
cd your-project && aqe init --auto
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
### Activation
|
|
332
|
+
|
|
333
|
+
```
|
|
334
|
+
/feature-adr [описание фичи] # Reference Mode (default)
|
|
335
|
+
/feature-adr --full-qe [описание фичи] # Direct Mode: full protocols, same skills
|
|
336
|
+
/feature-adr --full-qe-extended [описание фичи] # Direct Extended: full protocols + extra skills
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
Step 0 (Complexity Router) checks:
|
|
340
|
+
1. Is `--full-qe` or `--full-qe-extended` flag present?
|
|
341
|
+
2. Is agentic-qe installed? (check `which aqe` or `node_modules/agentic-qe/`)
|
|
342
|
+
3. If flag + installed → set `{AGENTIC_QE_MODE}` = `direct` or `direct-extended`
|
|
343
|
+
4. If flag present but not installed → WARN and fall back to reference mode
|
|
344
|
+
|
|
345
|
+
### What changes with `--full-qe`
|
|
346
|
+
|
|
347
|
+
Full agentic-qe protocols for the same 9 core skills. No new agents, just deeper methodology.
|
|
348
|
+
|
|
349
|
+
| Step | Reference Mode (default) | Direct Mode (`--full-qe`) |
|
|
350
|
+
|------|--------------------------|---------------------------|
|
|
351
|
+
| Step 3 | Condensed shift-left protocol | Full Level 1-4 shift-left with BDD generators |
|
|
352
|
+
| Step 3.5 | 3 core + flag-based conditionals | Full QCSD swarm with all 9 agents + DDD mapping |
|
|
353
|
+
| Step 6 | SPARC-GOAP goal state analysis | Full agent with milestone tracking + success metrics |
|
|
354
|
+
| Step 7 | Standard code generation | Standard code generation (no change) |
|
|
355
|
+
| Step 8 | Brutal-honesty 3-mode review | Full calibration levels (1-3) + evidence protocol |
|
|
356
|
+
| Step 9 | 4 agents with condensed protocols | 4 agents with full agentic-qe protocols |
|
|
357
|
+
|
|
358
|
+
### What `--full-qe-extended` adds on top
|
|
359
|
+
|
|
360
|
+
Everything from `--full-qe` plus 6 additional skills and up to 3 extra agents in Step 9.
|
|
361
|
+
|
|
362
|
+
| Skill | When Activated | Condition |
|
|
363
|
+
|-------|----------------|-----------|
|
|
364
|
+
| tdd-london-chicago | Step 7 | Always — guides test-first coding |
|
|
365
|
+
| mutation-testing | Step 8 | If test suite exists — validates test effectiveness |
|
|
366
|
+
| security-testing | Step 8, 9 | If `HAS_AUTH` or `HAS_EXTERNAL_API` flags set |
|
|
367
|
+
| performance-testing | Step 8, 9 | If `HAS_PERFORMANCE_SLA` flag set |
|
|
368
|
+
| chaos-engineering-resilience | Step 9 | If `HAS_INFRASTRUCTURE_CHANGE` flag set |
|
|
369
|
+
| qcsd-production-swarm | Post-Step 9 | Advisory — informs future pipeline runs via feedback loops |
|
|
370
|
+
|
|
371
|
+
### When to use
|
|
372
|
+
|
|
373
|
+
| Scenario | Mode |
|
|
374
|
+
|----------|------|
|
|
375
|
+
| S/M tier features | Reference (always) |
|
|
376
|
+
| L tier, standard QE | Reference or `--full-qe` |
|
|
377
|
+
| L tier, high QE maturity | `--full-qe` |
|
|
378
|
+
| XL tier features | `--full-qe` recommended |
|
|
379
|
+
| XL + security-critical (banking, ФЗ-152) | `--full-qe-extended` recommended |
|
|
380
|
+
| XL + regulatory compliance | `--full-qe-extended` recommended |
|
|
381
|
+
| Quick iteration / prototyping | Reference (faster) |
|
|
382
|
+
|
|
383
|
+
## npm Package Init Flags
|
|
384
|
+
|
|
385
|
+
```bash
|
|
386
|
+
# Core only (feature-adr pipeline)
|
|
387
|
+
npx @dzhechkov/skills-feature-adr init
|
|
388
|
+
|
|
389
|
+
# + Reward learning (memory protocol, reward tracker, learning rules)
|
|
390
|
+
npx @dzhechkov/skills-feature-adr init --with-learning
|
|
391
|
+
|
|
392
|
+
# + Knowledge extractor (/harvest command, 5 agents, 7 categories, 8 gates)
|
|
393
|
+
npx @dzhechkov/skills-feature-adr init --knowledge-extractor
|
|
394
|
+
|
|
395
|
+
# All features
|
|
396
|
+
npx @dzhechkov/skills-feature-adr init --with-learning --knowledge-extractor
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
| Flag | Installs | Purpose |
|
|
400
|
+
|------|----------|---------|
|
|
401
|
+
| (none) | Core skill + command + rules + shard | Feature development pipeline |
|
|
402
|
+
| `--with-learning` | + `lib/memory-protocol.md`, `lib/reward-tracker.md`, `.claude/rules/reward-learning.md` | Pipeline learns from checkpoint feedback |
|
|
403
|
+
| `--knowledge-extractor` | + `.claude/skills/knowledge-extractor/`, `.claude/commands/harvest.md` | Extract reusable patterns after feature completion |
|
|
404
|
+
|
|
405
|
+
> **Note:** If `@dzhechkov/keysarium` is already installed, these flags are not needed — keysarium includes all learning and extraction capabilities.
|
|
406
|
+
|
|
225
407
|
## Anti-Patterns
|
|
226
408
|
|
|
227
409
|
| Anti-Pattern | Detection | Fix |
|
|
@@ -233,12 +415,16 @@ features/<feature-slug>/
|
|
|
233
415
|
| Architecture without ADR | Diagram before decisions | Step 5 requires Step 3 output |
|
|
234
416
|
| Code without plan | Start coding without Step 6 | BLOCK — plan is mandatory |
|
|
235
417
|
| No QE | Ship without testing | BLOCK — Step 8 is mandatory |
|
|
418
|
+
| Skip QCSD ideation | No Step 3.5 for M+ | BLOCK — quality assessment mandatory |
|
|
419
|
+
| Ignore NO-GO verdict | Proceed despite Step 3.5 NO-GO | BLOCK — rework required |
|
|
420
|
+
| Skip gap loop | No gap detection in Step 8 | Missing requirements coverage check |
|
|
421
|
+
| Skip fleet QE for L/XL | No Step 9 for large features | BLOCK — fleet assessment mandatory |
|
|
236
422
|
|
|
237
423
|
## Checkpoint Format
|
|
238
424
|
|
|
239
425
|
```
|
|
240
426
|
═══════════════════════════════════════════════════════
|
|
241
|
-
⏸️ STEP N
|
|
427
|
+
⏸️ STEP N: [Step Name] Complete
|
|
242
428
|
<promise>[PROMISE_TAG]</promise>
|
|
243
429
|
Tier: {COMPLEXITY_TIER} | Active Steps: {ACTIVE_STEPS}
|
|
244
430
|
|
|
@@ -126,6 +126,47 @@ Tier: {COMPLEXITY_TIER}
|
|
|
126
126
|
═══════════════════════════════════════════════════════
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
+
## Shift-Left Validation (after ADR creation)
|
|
130
|
+
|
|
131
|
+
After all ADRs are drafted, apply **shift-left-testing** protocol (Level 4: Risk Analysis in Design).
|
|
132
|
+
|
|
133
|
+
> Load: `references/agentic-qe/shift-left-testing.md`
|
|
134
|
+
|
|
135
|
+
### Testability Check per ADR
|
|
136
|
+
|
|
137
|
+
For each ADR decision, run risk analysis:
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
ADR-{NNN}: {Title}
|
|
141
|
+
Testability Questions:
|
|
142
|
+
1. What happens when {chosen option} fails under load?
|
|
143
|
+
2. How do we handle {alternative failure modes}?
|
|
144
|
+
3. What if {external dependency} becomes unavailable?
|
|
145
|
+
4. Can we test this decision in isolation?
|
|
146
|
+
Generated BDD Scenarios:
|
|
147
|
+
Given {precondition from ADR context}
|
|
148
|
+
When {action that exercises the decision}
|
|
149
|
+
Then {expected outcome per ADR consequences}
|
|
150
|
+
Risk Level: LOW | MEDIUM | HIGH
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Shift-Left Gate
|
|
154
|
+
|
|
155
|
+
| Check | Threshold |
|
|
156
|
+
|-------|-----------|
|
|
157
|
+
| All ADRs have testability questions answered | 100% |
|
|
158
|
+
| BDD scenarios generated for non-trivial decisions | ≥1 per ADR |
|
|
159
|
+
| No HIGH risk without mitigation documented | 0 unmitigated |
|
|
160
|
+
|
|
161
|
+
If any ADR has HIGH risk without mitigation → flag at checkpoint for user decision.
|
|
162
|
+
|
|
163
|
+
### Integration with Step 3.5
|
|
164
|
+
|
|
165
|
+
The shift-left validation output feeds directly into Step 3.5 (QCSD Ideation Swarm):
|
|
166
|
+
- BDD scenarios become input for the requirements-validator agent
|
|
167
|
+
- Risk analysis feeds the risk-assessor agent
|
|
168
|
+
- Testability questions inform the quality-criteria-recommender
|
|
169
|
+
|
|
129
170
|
## Quality Gates
|
|
130
171
|
|
|
131
172
|
- [ ] Every ADR has ≥2 alternatives considered
|
|
@@ -133,3 +174,5 @@ Tier: {COMPLEXITY_TIER}
|
|
|
133
174
|
- [ ] Every ADR traces to requirements
|
|
134
175
|
- [ ] Decision matrix used for non-trivial choices
|
|
135
176
|
- [ ] No premature optimization detected
|
|
177
|
+
- [ ] Shift-left testability check passed for all ADRs
|
|
178
|
+
- [ ] BDD scenarios generated for non-trivial ADRs
|