volt-framework 0.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 +1 -0
- package/dist/bin/cli.d.ts +3 -0
- package/dist/bin/cli.d.ts.map +1 -0
- package/dist/bin/cli.js +27 -0
- package/dist/bin/cli.js.map +1 -0
- package/dist/src/installer/copy.d.ts +4 -0
- package/dist/src/installer/copy.d.ts.map +1 -0
- package/dist/src/installer/copy.js +78 -0
- package/dist/src/installer/copy.js.map +1 -0
- package/dist/src/installer/index.d.ts +8 -0
- package/dist/src/installer/index.d.ts.map +1 -0
- package/dist/src/installer/index.js +150 -0
- package/dist/src/installer/index.js.map +1 -0
- package/dist/src/installer/prompts.d.ts +36 -0
- package/dist/src/installer/prompts.d.ts.map +1 -0
- package/dist/src/installer/prompts.js +171 -0
- package/dist/src/installer/prompts.js.map +1 -0
- package/package.json +48 -0
- package/src/templates/CLAUDE.md +94 -0
- package/src/templates/agent-manifest.csv +8 -0
- package/src/templates/commands/architect.md +256 -0
- package/src/templates/commands/ask.md +51 -0
- package/src/templates/commands/correct-course.md +428 -0
- package/src/templates/commands/debug.md +195 -0
- package/src/templates/commands/dev/spec-template.md +76 -0
- package/src/templates/commands/dev/steps/step-01-clarify-and-route.md +45 -0
- package/src/templates/commands/dev/steps/step-02-plan.md +43 -0
- package/src/templates/commands/dev/steps/step-03-implement.md +40 -0
- package/src/templates/commands/dev/steps/step-04-review.md +45 -0
- package/src/templates/commands/dev/steps/step-05-present.md +45 -0
- package/src/templates/commands/dev/steps/step-oneshot.md +41 -0
- package/src/templates/commands/dev/workflow.md +114 -0
- package/src/templates/commands/dev.md +169 -0
- package/src/templates/commands/devops.md +253 -0
- package/src/templates/commands/help.md +174 -0
- package/src/templates/commands/init-context.md +227 -0
- package/src/templates/commands/map-brownfield/checklist.md +66 -0
- package/src/templates/commands/map-brownfield/steps/step-00-state-check.md +69 -0
- package/src/templates/commands/map-brownfield/steps/step-01-classify.md +51 -0
- package/src/templates/commands/map-brownfield/steps/step-02-scan.md +126 -0
- package/src/templates/commands/map-brownfield/steps/step-03-validate.md +44 -0
- package/src/templates/commands/map-brownfield/steps/step-04-generate.md +89 -0
- package/src/templates/commands/map-brownfield/steps/step-05-scope.md +50 -0
- package/src/templates/commands/map-brownfield/workflow.md +77 -0
- package/src/templates/commands/map-brownfield.md +101 -0
- package/src/templates/commands/new-task/elicitation.md +216 -0
- package/src/templates/commands/new-task/personas/architect.md +50 -0
- package/src/templates/commands/new-task/personas/dev.md +48 -0
- package/src/templates/commands/new-task/personas/devops.md +42 -0
- package/src/templates/commands/new-task/personas/pm.md +41 -0
- package/src/templates/commands/new-task/personas/qa.md +47 -0
- package/src/templates/commands/new-task/personas/tech-writer.md +39 -0
- package/src/templates/commands/new-task/personas/ux.md +41 -0
- package/src/templates/commands/new-task/steps/step-01-context.md +88 -0
- package/src/templates/commands/new-task/steps/step-02-scope.md +71 -0
- package/src/templates/commands/new-task/steps/step-03-roster.md +72 -0
- package/src/templates/commands/new-task/steps/step-04-discussion.md +111 -0
- package/src/templates/commands/new-task/steps/step-05-elicitation.md +91 -0
- package/src/templates/commands/new-task/steps/step-06-questions.md +82 -0
- package/src/templates/commands/new-task/steps/step-07-decision.md +93 -0
- package/src/templates/commands/new-task/steps/step-08-generate.md +106 -0
- package/src/templates/commands/new-task/steps/step-09-azure.md +88 -0
- package/src/templates/commands/new-task/workflow.md +185 -0
- package/src/templates/commands/new-task.md +84 -0
- package/src/templates/commands/pm.md +328 -0
- package/src/templates/commands/qa.md +215 -0
- package/src/templates/commands/quick-dev.md +118 -0
- package/src/templates/commands/quick-spec.md +113 -0
- package/src/templates/commands/review/steps/step-01-gather-context.md +66 -0
- package/src/templates/commands/review/steps/step-02-adversarial-review.md +74 -0
- package/src/templates/commands/review/steps/step-03-triage.md +54 -0
- package/src/templates/commands/review/steps/step-04-present.md +75 -0
- package/src/templates/commands/review/workflow.md +43 -0
- package/src/templates/commands/review.md +82 -0
- package/src/templates/commands/standup.md +276 -0
- package/src/templates/commands/tech-writer.md +270 -0
- package/src/templates/commands/ux.md +241 -0
- package/src/templates/docs/architecture.md +149 -0
- package/src/templates/docs/brownfield.md +151 -0
- package/src/templates/docs/coding-standards.md +124 -0
- package/src/templates/docs/source-tree.md +163 -0
- package/src/templates/docs/tech-stack.md +123 -0
- package/src/templates/registry.csv +19 -0
- package/src/templates/templates/EPIC-template.md +65 -0
- package/src/templates/templates/TASK-template.md +120 -0
- package/src/templates/templates/deferred-work.md +7 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Source Tree
|
|
2
|
+
|
|
3
|
+
> Last updated: {date}
|
|
4
|
+
|
|
5
|
+
<!-- REQUIRED: Definitive map of the project's file structure. Tells developers and AI agents
|
|
6
|
+
WHERE things live, WHAT each directory contains, and HOW modules connect.
|
|
7
|
+
Fill every {placeholder}, remove comments once done. -->
|
|
8
|
+
|
|
9
|
+
## Complete Directory Structure
|
|
10
|
+
|
|
11
|
+
<!-- REQUIRED: Full tree with inline annotations. Mark generated dirs with (generated). -->
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
{root}/
|
|
15
|
+
├── .github/ # CI/CD workflows and PR templates
|
|
16
|
+
│ └── workflows/
|
|
17
|
+
├── prisma/ # database schema and migrations
|
|
18
|
+
│ ├── schema.prisma # source of truth for DB schema
|
|
19
|
+
│ ├── migrations/ # (generated) migration history
|
|
20
|
+
│ └── seed.ts # database seed script
|
|
21
|
+
├── src/
|
|
22
|
+
│ ├── main.ts # application entry point
|
|
23
|
+
│ ├── app.module.ts # root module
|
|
24
|
+
│ ├── common/ # shared utilities across all modules
|
|
25
|
+
│ │ ├── decorators/
|
|
26
|
+
│ │ ├── filters/
|
|
27
|
+
│ │ ├── guards/
|
|
28
|
+
│ │ ├── interceptors/
|
|
29
|
+
│ │ └── utils/
|
|
30
|
+
│ ├── config/ # configuration and env validation
|
|
31
|
+
│ └── modules/ # feature modules (one folder per domain)
|
|
32
|
+
│ ├── auth/
|
|
33
|
+
│ ├── user/
|
|
34
|
+
│ └── {domain}/
|
|
35
|
+
├── test/ # e2e and integration tests
|
|
36
|
+
├── .kc1t/ # framework config, docs, epics, tasks
|
|
37
|
+
│ ├── docs/ # context framework documentation
|
|
38
|
+
│ ├── epics/ # epic specifications
|
|
39
|
+
│ └── tasks/ # task breakdowns
|
|
40
|
+
├── .env.example # environment variable template
|
|
41
|
+
├── package.json
|
|
42
|
+
└── Dockerfile
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Critical Directories
|
|
46
|
+
|
|
47
|
+
<!-- REQUIRED: Deeper description of the top 3-5 most important directories. -->
|
|
48
|
+
|
|
49
|
+
### {src/modules/auth/}
|
|
50
|
+
|
|
51
|
+
| Property | Value |
|
|
52
|
+
|--------------------|--------------------------------------------------------|
|
|
53
|
+
| **Purpose** | {handles user authentication and session management} |
|
|
54
|
+
| **Entry point** | {auth.module.ts} |
|
|
55
|
+
| **Key files** | {auth.service.ts, jwt.strategy.ts} |
|
|
56
|
+
| **Depends on** | {user module, config} |
|
|
57
|
+
| **Depended on by** | {every protected module via AuthGuard} |
|
|
58
|
+
|
|
59
|
+
### {src/modules/user/}
|
|
60
|
+
|
|
61
|
+
| Property | Value |
|
|
62
|
+
|--------------------|--------------------------------------------------------|
|
|
63
|
+
| **Purpose** | {user CRUD operations and profile management} |
|
|
64
|
+
| **Entry point** | {user.module.ts} |
|
|
65
|
+
| **Key files** | {user.service.ts, user.repository.ts} |
|
|
66
|
+
| **Depends on** | {database (Prisma client)} |
|
|
67
|
+
| **Depended on by** | {auth module, billing module} |
|
|
68
|
+
|
|
69
|
+
### {src/common/}
|
|
70
|
+
|
|
71
|
+
| Property | Value |
|
|
72
|
+
|--------------------|--------------------------------------------------------|
|
|
73
|
+
| **Purpose** | {shared infrastructure used across all feature modules}|
|
|
74
|
+
| **Key files** | {auth.guard.ts, validation.pipe.ts, http-exception.filter.ts}|
|
|
75
|
+
| **Depends on** | {nothing -- leaf dependency} |
|
|
76
|
+
| **Depended on by** | {all modules} |
|
|
77
|
+
|
|
78
|
+
## Entry Points
|
|
79
|
+
|
|
80
|
+
| Entry point | Path | Purpose | Trigger |
|
|
81
|
+
|---------------------|-----------------------|---------------------------|---------------------------|
|
|
82
|
+
| **Main app** | {src/main.ts} | {bootstraps the app} | {pnpm start / pnpm dev} |
|
|
83
|
+
| **DB seed** | {prisma/seed.ts} | {populates dev database} | {pnpm db:seed} |
|
|
84
|
+
| **E2E tests** | {test/app.e2e-spec.ts}| {end-to-end test suite} | {pnpm test:e2e} |
|
|
85
|
+
|
|
86
|
+
## Configuration Files
|
|
87
|
+
|
|
88
|
+
| File | Purpose |
|
|
89
|
+
|------------------------|-------------------------------------------|
|
|
90
|
+
| {tsconfig.json} | {TypeScript compiler options + aliases} |
|
|
91
|
+
| {.eslintrc.js} | {linting rules} |
|
|
92
|
+
| {.prettierrc} | {code formatting rules} |
|
|
93
|
+
| {Dockerfile} | {container build definition} |
|
|
94
|
+
| {docker-compose.yml} | {local dev services (DB, Redis)} |
|
|
95
|
+
| {.env.example} | {environment variable template} |
|
|
96
|
+
| {prisma/schema.prisma} | {database schema definition} |
|
|
97
|
+
|
|
98
|
+
## Asset Locations
|
|
99
|
+
|
|
100
|
+
<!-- OPTIONAL: Delete if not applicable. -->
|
|
101
|
+
|
|
102
|
+
| Asset type | Path | Notes |
|
|
103
|
+
|------------------|-------------------------------|---------------------------------|
|
|
104
|
+
| {static files} | {public/} | {served directly by web server} |
|
|
105
|
+
| {user uploads} | {S3 bucket / uploads/} | {presigned URL upload flow} |
|
|
106
|
+
| {generated types}| {node_modules/.prisma/client} | {auto-generated by Prisma} |
|
|
107
|
+
| {build output} | {dist/} | {gitignored, created by build} |
|
|
108
|
+
|
|
109
|
+
## Integration Points Between Modules
|
|
110
|
+
|
|
111
|
+
```mermaid
|
|
112
|
+
graph LR
|
|
113
|
+
Auth --> User
|
|
114
|
+
Billing --> User
|
|
115
|
+
Billing --> Stripe[Stripe API]
|
|
116
|
+
Auth --> Config
|
|
117
|
+
User --> DB[(Database)]
|
|
118
|
+
Billing --> DB
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
| From | To | Method | Notes |
|
|
122
|
+
|------------|----------------|---------------------------|-------------------------|
|
|
123
|
+
| {auth} | {user} | {direct service injection}| {user lookup for login} |
|
|
124
|
+
| {billing} | {notification} | {event emitter / queue} | {payment confirmation} |
|
|
125
|
+
|
|
126
|
+
## File Organization Patterns
|
|
127
|
+
|
|
128
|
+
<!-- REQUIRED: Rules that determine where new files go. -->
|
|
129
|
+
|
|
130
|
+
- **New feature module:** {create src/modules/{feature}/ with controller, service, module, dto/}
|
|
131
|
+
- **Shared utility:** {add to src/common/utils/ and re-export from barrel}
|
|
132
|
+
- **New migration:** {run prisma migrate dev --name {description}}
|
|
133
|
+
- **New env variable:** {add to .env.example, config/env.ts, and tech-stack.md}
|
|
134
|
+
|
|
135
|
+
## Entry Points by Domain
|
|
136
|
+
|
|
137
|
+
<!-- REQUIRED: Quick-reference for jumping into any feature area. -->
|
|
138
|
+
|
|
139
|
+
### {User Management}
|
|
140
|
+
- **Controller:** `{src/modules/user/user.controller.ts}`
|
|
141
|
+
- **Service:** `{src/modules/user/user.service.ts}`
|
|
142
|
+
- **Routes:** {GET /users, GET /users/:id, POST /users, PATCH /users/:id, DELETE /users/:id}
|
|
143
|
+
- **Dependencies:** {Prisma client, auth guard}
|
|
144
|
+
|
|
145
|
+
### {Authentication}
|
|
146
|
+
- **Controller:** `{src/modules/auth/auth.controller.ts}`
|
|
147
|
+
- **Service:** `{src/modules/auth/auth.service.ts}`
|
|
148
|
+
- **Routes:** {POST /auth/login, POST /auth/register, POST /auth/refresh}
|
|
149
|
+
- **Dependencies:** {user service, JWT config}
|
|
150
|
+
|
|
151
|
+
## Available Scripts
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
{pnpm dev} # start with hot reload
|
|
155
|
+
{pnpm build} # compile to dist/
|
|
156
|
+
{pnpm test} # run unit tests
|
|
157
|
+
{pnpm test:cov} # tests with coverage
|
|
158
|
+
{pnpm test:e2e} # end-to-end tests
|
|
159
|
+
{pnpm db:migrate} # apply pending migrations
|
|
160
|
+
{pnpm db:seed} # seed development data
|
|
161
|
+
{pnpm lint} # run ESLint
|
|
162
|
+
{pnpm typecheck} # run tsc --noEmit
|
|
163
|
+
```
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Tech Stack
|
|
2
|
+
|
|
3
|
+
> Last updated: {date}
|
|
4
|
+
|
|
5
|
+
<!-- REQUIRED: Single source of truth for "what do I need installed?" and "what services
|
|
6
|
+
does this project talk to?" Fill every {placeholder}, remove comments once done. -->
|
|
7
|
+
|
|
8
|
+
## Prerequisites
|
|
9
|
+
|
|
10
|
+
<!-- REQUIRED: What must be installed BEFORE anything else. -->
|
|
11
|
+
|
|
12
|
+
| Tool | Version | Install | Notes |
|
|
13
|
+
|-----------|---------|------------------------|--------------|
|
|
14
|
+
| {Node.js} | {>= 20} | {https://nodejs.org} | |
|
|
15
|
+
| {Docker} | {>= 24} | {https://docker.com} | {for local DB}|
|
|
16
|
+
| {pnpm} | {>= 9} | {npm i -g pnpm} | |
|
|
17
|
+
|
|
18
|
+
## Key Commands
|
|
19
|
+
|
|
20
|
+
<!-- REQUIRED: The commands a developer runs every day. -->
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
{pnpm install} # install dependencies
|
|
24
|
+
{pnpm dev} # start development server
|
|
25
|
+
{pnpm build} # build for production
|
|
26
|
+
{pnpm test} # run tests
|
|
27
|
+
{pnpm lint} # run linter
|
|
28
|
+
{pnpm typecheck} # type checking
|
|
29
|
+
{pnpm db:migrate} # apply database migrations
|
|
30
|
+
{pnpm db:seed} # seed database
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Package Manager
|
|
34
|
+
|
|
35
|
+
- **Manager:** {pnpm / npm / yarn / bun}
|
|
36
|
+
- **Lock file:** {pnpm-lock.yaml}
|
|
37
|
+
- **Workspace:** {pnpm workspaces / turborepo / none}
|
|
38
|
+
- **CI notes:** {e.g.: use --frozen-lockfile in CI}
|
|
39
|
+
|
|
40
|
+
## Runtime
|
|
41
|
+
|
|
42
|
+
| Item | Version | Notes |
|
|
43
|
+
|--------------|----------|-----------------------|
|
|
44
|
+
| {Node.js} | {20 LTS} | {specified in .nvmrc} |
|
|
45
|
+
| {TypeScript} | {5.x} | {strict mode enabled} |
|
|
46
|
+
|
|
47
|
+
## Frontend
|
|
48
|
+
|
|
49
|
+
<!-- OPTIONAL: Delete if the project has no frontend. -->
|
|
50
|
+
|
|
51
|
+
| Library / Framework | Version | Usage |
|
|
52
|
+
|---------------------|---------|--------------------------|
|
|
53
|
+
| {React} | {18.x} | {UI library} |
|
|
54
|
+
| {Next.js} | {14.x} | {framework -- app router}|
|
|
55
|
+
| {Tailwind CSS} | {3.x} | {utility-first styling} |
|
|
56
|
+
|
|
57
|
+
## Backend
|
|
58
|
+
|
|
59
|
+
<!-- OPTIONAL: Delete if the project has no backend. -->
|
|
60
|
+
|
|
61
|
+
| Library / Framework | Version | Usage |
|
|
62
|
+
|---------------------|---------|----------------------|
|
|
63
|
+
| {NestJS} | {10.x} | {API framework} |
|
|
64
|
+
| {Prisma} | {5.x} | {ORM + migrations} |
|
|
65
|
+
|
|
66
|
+
## Database
|
|
67
|
+
|
|
68
|
+
| DB | Version | Usage | ORM / Driver | Notes |
|
|
69
|
+
|--------------|---------|-----------------|--------------|----------------|
|
|
70
|
+
| {PostgreSQL} | {15} | {primary store} | {Prisma} | |
|
|
71
|
+
| {Redis} | {7} | {cache + queue} | {ioredis} | {used by BullMQ}|
|
|
72
|
+
|
|
73
|
+
## Infrastructure
|
|
74
|
+
|
|
75
|
+
| Service | Provider | Usage |
|
|
76
|
+
|---------------|----------|---------------------|
|
|
77
|
+
| {ECS Fargate} | {AWS} | {container hosting} |
|
|
78
|
+
| {RDS} | {AWS} | {managed PostgreSQL}|
|
|
79
|
+
| {S3} | {AWS} | {file uploads} |
|
|
80
|
+
|
|
81
|
+
## CI/CD Tooling
|
|
82
|
+
|
|
83
|
+
| Tool / Service | Config file | Purpose |
|
|
84
|
+
|------------------|---------------------------|---------------------------------|
|
|
85
|
+
| {GitHub Actions} | {.github/workflows/*.yml} | {CI: lint, test, build, deploy} |
|
|
86
|
+
| {Docker} | {Dockerfile} | {container build} |
|
|
87
|
+
|
|
88
|
+
## External Services (SaaS and APIs)
|
|
89
|
+
|
|
90
|
+
<!-- REQUIRED: Every third-party service the app calls at runtime. -->
|
|
91
|
+
|
|
92
|
+
| Service | Purpose | Auth | Env var(s) |
|
|
93
|
+
|----------|------------------|-----------|---------------------|
|
|
94
|
+
| {Stripe} | {payments} | {API key} | {STRIPE_SECRET_KEY} |
|
|
95
|
+
| {Sentry} | {error tracking} | {DSN} | {SENTRY_DSN} |
|
|
96
|
+
|
|
97
|
+
## Development Tools
|
|
98
|
+
|
|
99
|
+
| Tool | Config file | Purpose |
|
|
100
|
+
|---------------|----------------|-------------------------------|
|
|
101
|
+
| {ESLint} | {.eslintrc.js} | {code linting} |
|
|
102
|
+
| {Prettier} | {.prettierrc} | {code formatting} |
|
|
103
|
+
| {Husky} | {.husky/} | {git hooks -- pre-commit lint}|
|
|
104
|
+
| {lint-staged} | {.lintstagedrc}| {lint only staged files} |
|
|
105
|
+
|
|
106
|
+
## Packages That Influence Patterns
|
|
107
|
+
|
|
108
|
+
<!-- REQUIRED: Libraries that dictate HOW code is written, not just what it does. -->
|
|
109
|
+
|
|
110
|
+
| Package | Why it matters |
|
|
111
|
+
|-------------------|--------------------------------------------------------------|
|
|
112
|
+
| {zod} | {all validation uses zod schemas -- never manual checks} |
|
|
113
|
+
| {react-hook-form} | {all forms use RHF + zod resolver} |
|
|
114
|
+
| {prisma} | {DB access always through generated client, never raw SQL} |
|
|
115
|
+
|
|
116
|
+
## Environment Variables
|
|
117
|
+
|
|
118
|
+
| Variable | Type | Required | Default |
|
|
119
|
+
|----------------|----------|----------|---------------|
|
|
120
|
+
| {DATABASE_URL} | {string} | {yes} | {none} |
|
|
121
|
+
| {JWT_SECRET} | {string} | {yes} | {none} |
|
|
122
|
+
| {NODE_ENV} | {enum} | {no} | {development} |
|
|
123
|
+
| {PORT} | {number} | {no} | {3000} |
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
command,display-name,menu-code,description,phase,after,before,required,outputs
|
|
2
|
+
help,kc1t Help,H,Analyze project state and recommend next command,anytime,,,false,
|
|
3
|
+
init-context,Init Context,IC,Configure context docs and integrations,1-setup,,,true,docs/*
|
|
4
|
+
map-brownfield,Map Brownfield,MB,Scan existing codebase and generate documentation,1-setup,init-context,,true,docs/* + .kc1t/scan-state.json
|
|
5
|
+
architect,Winston (Architect),AR,Architecture design readiness and project context,anytime,,,false,docs/architecture.md
|
|
6
|
+
pm,John (PM),PM,PRD creation epics stories and scope,2-planning,init-context,,false,docs/prd.md + epics/*
|
|
7
|
+
ux,Sally (UX),UX,UX design flows and consistency,2-planning,init-context,,false,docs/ux-design.md
|
|
8
|
+
new-task,Party Mode,NT,Multi-persona collaborative task planning,2-planning,init-context,,true,epics/* + tasks/*
|
|
9
|
+
dev,Dev Agent,DV,Execute task implementation with full discipline,3-implementation,new-task,,true,code changes + tasks/*
|
|
10
|
+
quick-dev,Quick Dev,QD,Lightweight implement-review-present cycle,3-implementation,,,false,code changes
|
|
11
|
+
quick-spec,Quick Spec,QS,Plan only — produce spec without implementing,3-implementation,,,false,tasks/spec-*.md
|
|
12
|
+
review,Code Review,CR,Adversarial 3-layer code review,3-implementation,dev,,false,review report
|
|
13
|
+
qa,Quinn (QA),QA,Test generation and risk assessment,3-implementation,,,false,test files
|
|
14
|
+
debug,Bug Investigation,DB,Structured evidence-based bug investigation,anytime,,,false,tasks/TASK-fix-*.md
|
|
15
|
+
standup,Daily Briefing,SU,Sprint status risks and priority suggestion,anytime,,,false,
|
|
16
|
+
correct-course,Correct Course,CC,Mid-sprint change management,anytime,,,false,change proposal
|
|
17
|
+
ask,Quick Question,AK,Project-aware conversational answer,anytime,,,false,
|
|
18
|
+
devops,DevOps,DO,Deploy assessment infra audit observability,anytime,,,false,
|
|
19
|
+
tech-writer,Paige (Tech Writer),TW,Documentation validation and diagram generation,anytime,,,false,docs/*
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# EPIC-{N}: {title}
|
|
2
|
+
|
|
3
|
+
**Status:** draft | in-progress | done | superseded
|
|
4
|
+
**Created:** {date}
|
|
5
|
+
**Last updated:** {date}
|
|
6
|
+
**Azure DevOps:** #{ID} (if linked)
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Epic User Story
|
|
11
|
+
|
|
12
|
+
As {user/system}
|
|
13
|
+
I want {goal of the entire epic}
|
|
14
|
+
So that {business value delivered}
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Objective
|
|
19
|
+
|
|
20
|
+
{2-3 sentences describing what this epic delivers and why it exists now.}
|
|
21
|
+
|
|
22
|
+
## Epic Done Criteria
|
|
23
|
+
|
|
24
|
+
- [ ] {verifiable criterion}
|
|
25
|
+
- [ ] {verifiable criterion}
|
|
26
|
+
|
|
27
|
+
## Out of Scope
|
|
28
|
+
|
|
29
|
+
- {what was discussed but consciously left out}
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Architecture Decisions
|
|
34
|
+
|
|
35
|
+
> Recorded during /new-task sessions that generated this epic.
|
|
36
|
+
|
|
37
|
+
- **{date} — {decision}:** {context and consequences}
|
|
38
|
+
|
|
39
|
+
## References
|
|
40
|
+
|
|
41
|
+
- PRD: `.kc1t/docs/prd.md#{section}` (if exists)
|
|
42
|
+
- Architecture: `.kc1t/docs/architecture.md#{section}`
|
|
43
|
+
- Brownfield: `.kc1t/docs/brownfield.md#{affected area}`
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Stories
|
|
48
|
+
|
|
49
|
+
| # | Title | Status | Azure |
|
|
50
|
+
|---|-------|--------|-------|
|
|
51
|
+
| {N}.1 | {title} | ready | #{ID} |
|
|
52
|
+
| {N}.2 | {title} | draft | — |
|
|
53
|
+
| {N}.3 | {title} | draft | — |
|
|
54
|
+
|
|
55
|
+
> Progressive generation — only expand the next story when the previous one is done.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Iteration History
|
|
60
|
+
|
|
61
|
+
### {date} — /new-task session
|
|
62
|
+
{summary of what was discussed and decided}
|
|
63
|
+
|
|
64
|
+
### {date} — /correct-course session (if any)
|
|
65
|
+
{what changed and why}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# TASK {N}.{M}: {title}
|
|
2
|
+
|
|
3
|
+
**Status:** draft | ready | in-progress | done
|
|
4
|
+
**Epic:** `.kc1t/epics/EPIC-{N}-{slug}.md`
|
|
5
|
+
**Created:** {date}
|
|
6
|
+
**Azure DevOps:** #{ID} (if linked)
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## User Story
|
|
11
|
+
|
|
12
|
+
As {user/system}
|
|
13
|
+
I want {specific action for this task}
|
|
14
|
+
So that {value delivered by this task}
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Context
|
|
19
|
+
|
|
20
|
+
{1-2 sentences on where this task fits in the epic and why it comes in this order.}
|
|
21
|
+
|
|
22
|
+
## Learnings from Previous Task
|
|
23
|
+
|
|
24
|
+
> Automatically filled by /dev when completing task {N}.{M-1}
|
|
25
|
+
> If first task in epic: "First task in epic — no prior learnings."
|
|
26
|
+
|
|
27
|
+
{discoveries, patterns found, decisions that affect this task}
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Acceptance Criteria
|
|
32
|
+
|
|
33
|
+
| # | Criterion | Source |
|
|
34
|
+
|---|-----------|--------|
|
|
35
|
+
| AC-1 | {specific, verifiable criterion} | epic #{N} |
|
|
36
|
+
| AC-2 | {specific, verifiable criterion} | architecture §{section} |
|
|
37
|
+
| AC-3 | {specific, verifiable criterion} | brownfield §{area} |
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Implementation
|
|
42
|
+
|
|
43
|
+
### Affected Files
|
|
44
|
+
|
|
45
|
+
| Action | File | Risk Area |
|
|
46
|
+
|--------|------|-----------|
|
|
47
|
+
| create | `src/modules/{x}/{y}.ts` | none |
|
|
48
|
+
| modify | `src/modules/{x}/{z}.ts` | HIGH — see brownfield.md |
|
|
49
|
+
|
|
50
|
+
### Technical Tasks
|
|
51
|
+
|
|
52
|
+
- [ ] T1 — {what to do} `(AC: #1, #2)`
|
|
53
|
+
- [ ] T2 — {what to do} `(AC: #3)`
|
|
54
|
+
- [ ] T3 — {what to do} `(AC: #1)`
|
|
55
|
+
|
|
56
|
+
### Dependencies
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
Depends on: TASK {N}.{M-1} — {reason}
|
|
60
|
+
Next task depends on this: TASK {N}.{M+1} — {reason}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Brownfield Risks
|
|
64
|
+
|
|
65
|
+
- {risk identified by QA or ARCH during /new-task}
|
|
66
|
+
- If none: "Low risk area."
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Dev Agent Record
|
|
71
|
+
|
|
72
|
+
> Filled by /dev during and after implementation.
|
|
73
|
+
|
|
74
|
+
**Started:** {date}
|
|
75
|
+
**Completed:** {date}
|
|
76
|
+
|
|
77
|
+
### What Was Implemented
|
|
78
|
+
|
|
79
|
+
{description of what was done — different from planned? record here}
|
|
80
|
+
|
|
81
|
+
### Code Decisions Made
|
|
82
|
+
|
|
83
|
+
- {decision that wasn't in the plan but was necessary}
|
|
84
|
+
|
|
85
|
+
### Deviations from Original Plan
|
|
86
|
+
|
|
87
|
+
- {what changed and why} or "None."
|
|
88
|
+
|
|
89
|
+
### Learnings for Next Task
|
|
90
|
+
|
|
91
|
+
> This section is automatically copied to TASK {N}.{M+1}
|
|
92
|
+
|
|
93
|
+
- {pattern discovered in the codebase}
|
|
94
|
+
- {pitfall encountered}
|
|
95
|
+
- {decision that impacts the next implementation}
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## QA Risk Assessment
|
|
100
|
+
|
|
101
|
+
> Automatically filled by /dev on completion (brownfield projects).
|
|
102
|
+
> Skip if project.type = greenfield.
|
|
103
|
+
|
|
104
|
+
**Regression probability:** low | medium | high
|
|
105
|
+
**Affected systems:** {list}
|
|
106
|
+
**Rollback complexity:** low | medium | high
|
|
107
|
+
**Test strategy:** {what specifically needs to be tested}
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Done Checklist
|
|
112
|
+
|
|
113
|
+
- [ ] All ACs met
|
|
114
|
+
- [ ] Technical tasks completed
|
|
115
|
+
- [ ] Coding-standards patterns followed
|
|
116
|
+
- [ ] No "do not change" area touched without confirmation
|
|
117
|
+
- [ ] Dev Agent Record filled
|
|
118
|
+
- [ ] Learnings written for next task
|
|
119
|
+
- [ ] QA risk assessment done (brownfield)
|
|
120
|
+
- [ ] Azure card updated (if linked)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Deferred Work
|
|
2
|
+
|
|
3
|
+
> Items discovered during implementation that are out of scope for the current task.
|
|
4
|
+
> Review periodically. Convert to tasks when ready.
|
|
5
|
+
|
|
6
|
+
| # | Source | Description | Discovered during | Priority | Status |
|
|
7
|
+
|---|--------|-------------|-------------------|----------|--------|
|