@vpxa/aikit 0.1.74 → 0.1.75
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/package.json +6 -1
- package/packages/cli/dist/index.js +2 -2
- package/packages/cli/dist/{init-DQkar6Es.js → init-CuRXmyD9.js} +1 -1
- package/packages/cli/dist/scaffold-WMQ2uQ48.js +2 -0
- package/packages/cli/dist/{user-CopNWxHP.js → user-vbJwa7x2.js} +1 -1
- package/scaffold/dist/adapters/claude-code.mjs +4 -0
- package/scaffold/dist/adapters/copilot.mjs +75 -0
- package/scaffold/dist/adapters/flows.mjs +1 -0
- package/scaffold/dist/adapters/skills.mjs +1 -0
- package/scaffold/{compiled → dist/compiled}/flows-data.mjs +304 -446
- package/scaffold/{compiled → dist/compiled}/skills-data.mjs +554 -2281
- package/scaffold/dist/definitions/agents.mjs +9 -0
- package/scaffold/{definitions → dist/definitions}/bodies.mjs +6 -229
- package/scaffold/dist/definitions/exclusions.mjs +1 -0
- package/scaffold/dist/definitions/hooks.mjs +1 -0
- package/scaffold/dist/definitions/models.mjs +1 -0
- package/scaffold/dist/definitions/plugins.mjs +1 -0
- package/scaffold/{definitions → dist/definitions}/prompts.mjs +9 -149
- package/scaffold/{definitions → dist/definitions}/protocols.mjs +9 -37
- package/scaffold/dist/definitions/tools.mjs +1 -0
- package/packages/cli/dist/scaffold-ukCDW3wQ.js +0 -2
- package/scaffold/_preview/agents/Architect-Reviewer-Alpha.agent.md +0 -132
- package/scaffold/_preview/agents/Architect-Reviewer-Beta.agent.md +0 -132
- package/scaffold/_preview/agents/Code-Reviewer-Alpha.agent.md +0 -112
- package/scaffold/_preview/agents/Code-Reviewer-Beta.agent.md +0 -112
- package/scaffold/_preview/agents/Debugger.agent.md +0 -412
- package/scaffold/_preview/agents/Documenter.agent.md +0 -468
- package/scaffold/_preview/agents/Explorer.agent.md +0 -76
- package/scaffold/_preview/agents/Frontend.agent.md +0 -440
- package/scaffold/_preview/agents/Implementer.agent.md +0 -425
- package/scaffold/_preview/agents/Orchestrator.agent.md +0 -452
- package/scaffold/_preview/agents/Planner.agent.md +0 -481
- package/scaffold/_preview/agents/README.md +0 -57
- package/scaffold/_preview/agents/Refactor.agent.md +0 -435
- package/scaffold/_preview/agents/Researcher-Alpha.agent.md +0 -151
- package/scaffold/_preview/agents/Researcher-Beta.agent.md +0 -152
- package/scaffold/_preview/agents/Researcher-Delta.agent.md +0 -153
- package/scaffold/_preview/agents/Researcher-Gamma.agent.md +0 -152
- package/scaffold/_preview/agents/Security.agent.md +0 -433
- package/scaffold/_preview/agents/_shared/architect-reviewer-base.md +0 -104
- package/scaffold/_preview/agents/_shared/code-agent-base.md +0 -366
- package/scaffold/_preview/agents/_shared/code-reviewer-base.md +0 -87
- package/scaffold/_preview/agents/_shared/decision-protocol.md +0 -27
- package/scaffold/_preview/agents/_shared/forge-protocol.md +0 -90
- package/scaffold/_preview/agents/_shared/researcher-base.md +0 -114
- package/scaffold/_preview/agents/templates/adr-template.md +0 -28
- package/scaffold/_preview/agents/templates/execution-state.md +0 -26
- package/scaffold/_preview/flows/_epilogue/steps/docs-sync/README.md +0 -120
- package/scaffold/_preview/flows/aikit-advanced/README.md +0 -70
- package/scaffold/_preview/flows/aikit-advanced/steps/design/README.md +0 -178
- package/scaffold/_preview/flows/aikit-advanced/steps/execute/README.md +0 -145
- package/scaffold/_preview/flows/aikit-advanced/steps/plan/README.md +0 -122
- package/scaffold/_preview/flows/aikit-advanced/steps/spec/README.md +0 -121
- package/scaffold/_preview/flows/aikit-advanced/steps/task/README.md +0 -119
- package/scaffold/_preview/flows/aikit-advanced/steps/verify/README.md +0 -145
- package/scaffold/_preview/flows/aikit-basic/README.md +0 -51
- package/scaffold/_preview/flows/aikit-basic/steps/assess/README.md +0 -109
- package/scaffold/_preview/flows/aikit-basic/steps/design/README.md +0 -116
- package/scaffold/_preview/flows/aikit-basic/steps/implement/README.md +0 -131
- package/scaffold/_preview/flows/aikit-basic/steps/verify/README.md +0 -123
- package/scaffold/_preview/prompts/aikit-ask.prompt.md +0 -13
- package/scaffold/_preview/prompts/aikit-debug.prompt.md +0 -15
- package/scaffold/_preview/prompts/aikit-design.prompt.md +0 -15
- package/scaffold/_preview/prompts/aikit-flow-add.prompt.md +0 -84
- package/scaffold/_preview/prompts/aikit-flow-create.prompt.md +0 -80
- package/scaffold/_preview/prompts/aikit-flow-manage.prompt.md +0 -24
- package/scaffold/_preview/prompts/aikit-implement.prompt.md +0 -17
- package/scaffold/_preview/prompts/aikit-plan.prompt.md +0 -15
- package/scaffold/_preview/prompts/aikit-review.prompt.md +0 -24
- package/scaffold/_preview/skills/adr-skill/SKILL.md +0 -335
- package/scaffold/_preview/skills/adr-skill/assets/templates/adr-madr.md +0 -89
- package/scaffold/_preview/skills/adr-skill/assets/templates/adr-readme.md +0 -20
- package/scaffold/_preview/skills/adr-skill/assets/templates/adr-simple.md +0 -46
- package/scaffold/_preview/skills/adr-skill/references/adr-conventions.md +0 -95
- package/scaffold/_preview/skills/adr-skill/references/examples.md +0 -193
- package/scaffold/_preview/skills/adr-skill/references/review-checklist.md +0 -77
- package/scaffold/_preview/skills/adr-skill/references/template-variants.md +0 -52
- package/scaffold/_preview/skills/adr-skill/scripts/bootstrap_adr.js +0 -259
- package/scaffold/_preview/skills/adr-skill/scripts/new_adr.js +0 -391
- package/scaffold/_preview/skills/adr-skill/scripts/set_adr_status.js +0 -169
- package/scaffold/_preview/skills/aikit/SKILL.md +0 -754
- package/scaffold/_preview/skills/brainstorming/SKILL.md +0 -265
- package/scaffold/_preview/skills/brainstorming/spec-document-reviewer-prompt.md +0 -49
- package/scaffold/_preview/skills/c4-architecture/SKILL.md +0 -389
- package/scaffold/_preview/skills/c4-architecture/references/advanced-patterns.md +0 -552
- package/scaffold/_preview/skills/c4-architecture/references/c4-syntax.md +0 -510
- package/scaffold/_preview/skills/c4-architecture/references/common-mistakes.md +0 -437
- package/scaffold/_preview/skills/c4-architecture/references/html-design-system.md +0 -337
- package/scaffold/_preview/skills/c4-architecture/references/html-template.html +0 -627
- package/scaffold/_preview/skills/docs/SKILL.md +0 -553
- package/scaffold/_preview/skills/docs/references/diataxis-anti-patterns.md +0 -147
- package/scaffold/_preview/skills/docs/references/diataxis-compass.md +0 -123
- package/scaffold/_preview/skills/docs/references/diataxis-quadrants.md +0 -192
- package/scaffold/_preview/skills/docs/references/diataxis-quality.md +0 -76
- package/scaffold/_preview/skills/docs/references/diataxis-templates.md +0 -120
- package/scaffold/_preview/skills/docs/references/flow-artifacts-guide.md +0 -70
- package/scaffold/_preview/skills/docs/references/project-knowledge-gotchas.md +0 -32
- package/scaffold/_preview/skills/docs/references/project-knowledge-templates.md +0 -281
- package/scaffold/_preview/skills/docs/references/project-knowledge-workflow.md +0 -80
- package/scaffold/_preview/skills/frontend-design/SKILL.md +0 -237
- package/scaffold/_preview/skills/lesson-learned/SKILL.md +0 -113
- package/scaffold/_preview/skills/lesson-learned/references/anti-patterns.md +0 -55
- package/scaffold/_preview/skills/lesson-learned/references/se-principles.md +0 -109
- package/scaffold/_preview/skills/multi-agents-development/SKILL.md +0 -448
- package/scaffold/_preview/skills/multi-agents-development/architecture-review-prompt.md +0 -81
- package/scaffold/_preview/skills/multi-agents-development/code-quality-review-prompt.md +0 -91
- package/scaffold/_preview/skills/multi-agents-development/implementer-prompt.md +0 -93
- package/scaffold/_preview/skills/multi-agents-development/parallel-dispatch-example.md +0 -167
- package/scaffold/_preview/skills/multi-agents-development/spec-review-prompt.md +0 -81
- package/scaffold/_preview/skills/present/SKILL.md +0 -616
- package/scaffold/_preview/skills/react/SKILL.md +0 -309
- package/scaffold/_preview/skills/repo-access/SKILL.md +0 -178
- package/scaffold/_preview/skills/repo-access/references/error-patterns.md +0 -116
- package/scaffold/_preview/skills/repo-access/references/platform-matrix.md +0 -142
- package/scaffold/_preview/skills/requirements-clarity/SKILL.md +0 -333
- package/scaffold/_preview/skills/session-handoff/SKILL.md +0 -199
- package/scaffold/_preview/skills/session-handoff/references/handoff-template.md +0 -139
- package/scaffold/_preview/skills/session-handoff/references/resume-checklist.md +0 -80
- package/scaffold/_preview/skills/session-handoff/scripts/check_staleness.js +0 -269
- package/scaffold/_preview/skills/session-handoff/scripts/create_handoff.js +0 -299
- package/scaffold/_preview/skills/session-handoff/scripts/list_handoffs.js +0 -113
- package/scaffold/_preview/skills/session-handoff/scripts/validate_handoff.js +0 -241
- package/scaffold/_preview/skills/typescript/SKILL.md +0 -405
- package/scaffold/adapters/claude-code.mjs +0 -73
- package/scaffold/adapters/copilot.mjs +0 -292
- package/scaffold/adapters/flows.mjs +0 -27
- package/scaffold/adapters/skills.mjs +0 -25
- package/scaffold/definitions/agents.mjs +0 -266
- package/scaffold/definitions/exclusions.mjs +0 -58
- package/scaffold/definitions/hooks.mjs +0 -43
- package/scaffold/definitions/models.mjs +0 -84
- package/scaffold/definitions/plugins.mjs +0 -147
- package/scaffold/definitions/tools.mjs +0 -250
- package/scaffold/generate.mjs +0 -92
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: plan
|
|
3
|
-
description: Analyze the codebase, design the architecture, and create a detailed implementation plan.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Planning
|
|
7
|
-
|
|
8
|
-
## Prerequisites Check
|
|
9
|
-
|
|
10
|
-
Before starting this step, verify:
|
|
11
|
-
- [ ] Specification approved with clarity score ≥90
|
|
12
|
-
- [ ] `{{artifacts_path}}/spec.md` exists and is complete
|
|
13
|
-
|
|
14
|
-
If prerequisites are NOT met → **backtrack to spec step** (`flow_step({ action: 'redo' })` on previous step)
|
|
15
|
-
|
|
16
|
-
## Purpose
|
|
17
|
-
|
|
18
|
-
Translate the specification into a concrete, phased implementation plan with architecture decisions, file-level scope, and dependency ordering.
|
|
19
|
-
|
|
20
|
-
## Inputs
|
|
21
|
-
|
|
22
|
-
- `{{artifacts_path}}/spec.md` — the validated specification
|
|
23
|
-
|
|
24
|
-
## Process
|
|
25
|
-
|
|
26
|
-
1. **Load spec** — Read and internalize all requirements and acceptance criteria
|
|
27
|
-
2. **Codebase analysis** — `scope_map({ task: "<feature>" })` to identify affected subsystems
|
|
28
|
-
3. **Deep dive** — `file_summary()` + `compact()` on each affected module
|
|
29
|
-
4. **Architecture design** — Decide on:
|
|
30
|
-
- Where new code lives (new files vs extensions)
|
|
31
|
-
- API surface changes
|
|
32
|
-
- Data model changes
|
|
33
|
-
- Integration patterns
|
|
34
|
-
5. **ADR for non-trivial decisions** — Use `adr-skill` for decisions that affect future development
|
|
35
|
-
6. **Phase decomposition** — Break work into 3–10 ordered phases, each independently testable
|
|
36
|
-
7. **Dependency graph** — Map which phases depend on others and which can parallelize
|
|
37
|
-
8. **Risk assessment** — Identify implementation risks per phase
|
|
38
|
-
|
|
39
|
-
## Outputs
|
|
40
|
-
|
|
41
|
-
Write `{{artifacts_path}}/plan.md` to disk. **You MUST create this file** using `create_file` or equivalent — do not just present content in chat.
|
|
42
|
-
|
|
43
|
-
Template:
|
|
44
|
-
|
|
45
|
-
```markdown
|
|
46
|
-
# Implementation Plan: <feature title>
|
|
47
|
-
|
|
48
|
-
## Architecture Overview
|
|
49
|
-
<high-level design with rationale>
|
|
50
|
-
|
|
51
|
-
## Affected Modules
|
|
52
|
-
| Module | Changes | Risk |
|
|
53
|
-
|--------|---------|------|
|
|
54
|
-
| <module> | <what changes> | low/medium/high |
|
|
55
|
-
|
|
56
|
-
## Phases
|
|
57
|
-
### Phase 1: <name>
|
|
58
|
-
- **Files**: <list>
|
|
59
|
-
- **Changes**: <description>
|
|
60
|
-
- **Tests**: <what to test>
|
|
61
|
-
- **Depends on**: none
|
|
62
|
-
- **Parallelizable with**: Phase 2
|
|
63
|
-
|
|
64
|
-
### Phase 2: <name>
|
|
65
|
-
...
|
|
66
|
-
|
|
67
|
-
## Architecture Decisions
|
|
68
|
-
- ADR-<N>: <title> — <chosen option and rationale>
|
|
69
|
-
|
|
70
|
-
## Risks
|
|
71
|
-
| Risk | Likelihood | Impact | Mitigation |
|
|
72
|
-
|------|-----------|--------|------------|
|
|
73
|
-
| <risk> | low/medium/high | <impact> | <mitigation> |
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
## Agents
|
|
77
|
-
|
|
78
|
-
| Agent | Role |
|
|
79
|
-
|-------|------|
|
|
80
|
-
| **Planner** | Creates comprehensive TDD implementation plans with phase decomposition |
|
|
81
|
-
| **Explorer** | Rapid codebase exploration for discovery of affected files and dependencies |
|
|
82
|
-
|
|
83
|
-
Use Explorer for initial breadth (file discovery, dependency tracing), then Planner for depth (phase design, ordering).
|
|
84
|
-
|
|
85
|
-
## Foundation Integration
|
|
86
|
-
|
|
87
|
-
Load these skills BEFORE executing this step:
|
|
88
|
-
|
|
89
|
-
| Skill | Purpose | When |
|
|
90
|
-
|-------|---------|------|
|
|
91
|
-
| `aikit` | Core MCP tools — search, analyze, remember, validate | Always (auto-loaded) |
|
|
92
|
-
| `present` | Rich rendering for any structured output — assessments, reports, comparisons, reviews, status boards, tables, charts, and all artifact content | Use for ANY output that benefits from rich rendering, not just dashboards |
|
|
93
|
-
| `multi-agents-development` | Dispatch templates, task decomposition, review pipeline patterns | Before dispatching any subagent |
|
|
94
|
-
| `brainstorming` | Structured ideation for design/creative decisions | Before any design choice or new feature exploration |
|
|
95
|
-
| `adr-skill` | Architecture Decision Records for non-trivial technical decisions | When plan involves architecture choices that need documentation |
|
|
96
|
-
| `c4-architecture` | C4 model diagrams showing system structure changes | When plan modifies system architecture |
|
|
97
|
-
|
|
98
|
-
### Presentation Rules
|
|
99
|
-
- Use `present` for **any output** that benefits from rich rendering — not limited to dashboards
|
|
100
|
-
- Assessments, reports, comparisons, reviews, status boards → `present({ format: "html" })`
|
|
101
|
-
- Tables, charts, progress tracking, code review findings → always present
|
|
102
|
-
- Artifact content and summaries → present with structured layout
|
|
103
|
-
- Only use plain text for brief confirmations and simple questions
|
|
104
|
-
|
|
105
|
-
## Completion Criteria
|
|
106
|
-
|
|
107
|
-
- [ ] All spec requirements have corresponding plan phases
|
|
108
|
-
- [ ] Each phase has explicit file scope and test strategy
|
|
109
|
-
- [ ] Architecture decisions documented with rationale
|
|
110
|
-
- [ ] Dependency graph has no circular dependencies
|
|
111
|
-
- [ ] Risks identified with mitigations
|
|
112
|
-
- [ ] `{{artifacts_path}}/plan.md` written
|
|
113
|
-
|
|
114
|
-
## Knowledge Capture
|
|
115
|
-
|
|
116
|
-
Before completing this step, persist important findings using `remember()`:
|
|
117
|
-
|
|
118
|
-
- **Task dependencies**: Critical ordering constraints and parallel opportunities
|
|
119
|
-
- **Risk assessment**: Identified risks and mitigation strategies
|
|
120
|
-
- **Resource decisions**: File ownership, module boundaries, and integration points
|
|
121
|
-
|
|
122
|
-
**Every step produces knowledge worth preserving.** If you discovered something that would help a future session, call `remember()` now.
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: spec
|
|
3
|
-
description: Elicit requirements, clarify scope, and define acceptance criteria through structured dialogue.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Specification
|
|
7
|
-
|
|
8
|
-
## Prerequisites Check
|
|
9
|
-
|
|
10
|
-
Before starting this step, verify:
|
|
11
|
-
- [ ] Design decisions approved (design-decisions.md exists with user approval)
|
|
12
|
-
- [ ] FORGE tier assigned and documented
|
|
13
|
-
|
|
14
|
-
If prerequisites are NOT met -> **backtrack to design step** (`flow_step({ action: 'redo' })` on previous step)
|
|
15
|
-
|
|
16
|
-
## Purpose
|
|
17
|
-
|
|
18
|
-
Transform a vague or broad feature request into a precise, testable specification through requirements elicitation and stakeholder dialogue.
|
|
19
|
-
|
|
20
|
-
## Inputs
|
|
21
|
-
|
|
22
|
-
- User's feature request, issue, or idea
|
|
23
|
-
- Codebase context (accessed via aikit MCP tools)
|
|
24
|
-
|
|
25
|
-
## Process
|
|
26
|
-
|
|
27
|
-
1. **Understand intent** — Parse what the user wants and why
|
|
28
|
-
2. **Search for context** — `search()` for related prior decisions, existing patterns, and similar features
|
|
29
|
-
3. **Elicit requirements** — Ask structured questions to clarify:
|
|
30
|
-
- **Functional**: What must the system do?
|
|
31
|
-
- **Non-functional**: Performance, security, accessibility constraints
|
|
32
|
-
- **Scope boundaries**: What is explicitly out of scope?
|
|
33
|
-
- **Acceptance criteria**: How do we know it's done?
|
|
34
|
-
4. **Score clarity** — Use the `requirements-clarity` skill to score 0–100. Iterate questions until ≥ 90.
|
|
35
|
-
5. **Draft specification** — Write formal spec with all requirements resolved
|
|
36
|
-
|
|
37
|
-
## Outputs
|
|
38
|
-
|
|
39
|
-
Write `{{artifacts_path}}/spec.md` to disk. **You MUST create this file** using `create_file` or equivalent — do not just present content in chat.
|
|
40
|
-
|
|
41
|
-
Template:
|
|
42
|
-
|
|
43
|
-
```markdown
|
|
44
|
-
# Specification: <feature title>
|
|
45
|
-
|
|
46
|
-
## Summary
|
|
47
|
-
<1-2 sentence description>
|
|
48
|
-
|
|
49
|
-
## Motivation
|
|
50
|
-
<why this feature is needed>
|
|
51
|
-
|
|
52
|
-
## Functional Requirements
|
|
53
|
-
1. <requirement with acceptance criterion>
|
|
54
|
-
2. ...
|
|
55
|
-
|
|
56
|
-
## Non-Functional Requirements
|
|
57
|
-
- Performance: <constraints>
|
|
58
|
-
- Security: <constraints>
|
|
59
|
-
- Accessibility: <constraints>
|
|
60
|
-
|
|
61
|
-
## Scope
|
|
62
|
-
### In Scope
|
|
63
|
-
- <item>
|
|
64
|
-
|
|
65
|
-
### Out of Scope
|
|
66
|
-
- <item>
|
|
67
|
-
|
|
68
|
-
## Acceptance Criteria
|
|
69
|
-
- [ ] <testable criterion>
|
|
70
|
-
- [ ] ...
|
|
71
|
-
|
|
72
|
-
## Open Questions
|
|
73
|
-
<none — all resolved during elicitation>
|
|
74
|
-
|
|
75
|
-
## Clarity Score: <N>/100
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
## Agents
|
|
79
|
-
|
|
80
|
-
| Agent | Role |
|
|
81
|
-
|-------|------|
|
|
82
|
-
| **Researcher-Alpha** | Deep analysis of existing codebase patterns, prior decisions, and technical constraints |
|
|
83
|
-
|
|
84
|
-
Use the `brainstorming` skill for creative/design exploration before formalizing requirements. Use `requirements-clarity` skill to score and iterate until the spec is unambiguous.
|
|
85
|
-
|
|
86
|
-
## Foundation Integration
|
|
87
|
-
|
|
88
|
-
Load these skills BEFORE executing this step:
|
|
89
|
-
|
|
90
|
-
| Skill | Purpose | When |
|
|
91
|
-
|-------|---------|------|
|
|
92
|
-
| `aikit` | Core MCP tools — search, analyze, remember, validate | Always (auto-loaded) |
|
|
93
|
-
| `present` | Rich rendering for any structured output — assessments, reports, comparisons, reviews, status boards, tables, charts, and all artifact content | Use for ANY output that benefits from rich rendering, not just dashboards |
|
|
94
|
-
| `multi-agents-development` | Dispatch templates, task decomposition, review pipeline patterns | Before dispatching any subagent |
|
|
95
|
-
| `brainstorming` | Structured ideation for design/creative decisions | Before any design choice or new feature exploration |
|
|
96
|
-
| `requirements-clarity` | Score requirements 0-100, iterate until ≥90 before proceeding | Before writing spec — ensures requirements are clear enough |
|
|
97
|
-
|
|
98
|
-
### Presentation Rules
|
|
99
|
-
- Use `present` for **any output** that benefits from rich rendering — not limited to dashboards
|
|
100
|
-
- Assessments, reports, comparisons, reviews, status boards → `present({ format: "html" })`
|
|
101
|
-
- Tables, charts, progress tracking, code review findings → always present
|
|
102
|
-
- Artifact content and summaries → present with structured layout
|
|
103
|
-
- Only use plain text for brief confirmations and simple questions
|
|
104
|
-
|
|
105
|
-
## Completion Criteria
|
|
106
|
-
|
|
107
|
-
- [ ] All functional requirements have acceptance criteria
|
|
108
|
-
- [ ] Scope boundaries are explicit
|
|
109
|
-
- [ ] Requirements clarity score ≥ 90
|
|
110
|
-
- [ ] No open questions remain
|
|
111
|
-
- [ ] `{{artifacts_path}}/spec.md` written
|
|
112
|
-
|
|
113
|
-
## Knowledge Capture
|
|
114
|
-
|
|
115
|
-
Before completing this step, persist important findings using `remember()`:
|
|
116
|
-
|
|
117
|
-
- **Requirements clarified**: Ambiguities resolved and assumptions validated
|
|
118
|
-
- **Scope boundaries**: What the spec covers and explicit exclusions
|
|
119
|
-
- **Acceptance criteria**: Key testable conditions that define "done"
|
|
120
|
-
|
|
121
|
-
**Every step produces knowledge worth preserving.** If you discovered something that would help a future session, call `remember()` now.
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: task
|
|
3
|
-
description: Break the implementation plan into ordered, atomic tasks with dependencies and agent assignments.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Task Breakdown
|
|
7
|
-
|
|
8
|
-
## Prerequisites Check
|
|
9
|
-
|
|
10
|
-
Before starting this step, verify:
|
|
11
|
-
- [ ] Implementation plan approved
|
|
12
|
-
- [ ] `{{artifacts_path}}/plan.md` exists with defined phases
|
|
13
|
-
|
|
14
|
-
If prerequisites are NOT met → **backtrack to plan step** (`flow_step({ action: 'redo' })` on previous step)
|
|
15
|
-
|
|
16
|
-
## Purpose
|
|
17
|
-
|
|
18
|
-
Decompose the implementation plan into small, atomic tasks that agents can execute independently, with clear dependency ordering and acceptance criteria per task.
|
|
19
|
-
|
|
20
|
-
## Inputs
|
|
21
|
-
|
|
22
|
-
- `{{artifacts_path}}/plan.md` — the phased implementation plan
|
|
23
|
-
|
|
24
|
-
## Process
|
|
25
|
-
|
|
26
|
-
1. **Load plan** — Read phases, file scope, and dependency graph
|
|
27
|
-
2. **Decompose phases into tasks** — Each task should:
|
|
28
|
-
- Touch 1–3 files maximum
|
|
29
|
-
- Have a single, testable outcome
|
|
30
|
-
- Take one agent one focused session
|
|
31
|
-
3. **Define dependencies** — Map task-to-task dependencies (not just phase-to-phase)
|
|
32
|
-
4. **Assign agents** — Match each task to the best-fit agent based on scope
|
|
33
|
-
5. **Identify parallelism** — Mark which tasks can run simultaneously
|
|
34
|
-
6. **Architecture review** — Have Architect-Reviewer validate task ordering won't create integration issues
|
|
35
|
-
|
|
36
|
-
## Outputs
|
|
37
|
-
|
|
38
|
-
Write `{{artifacts_path}}/tasks.md` to disk. **You MUST create this file** using `create_file` or equivalent — do not just present content in chat.
|
|
39
|
-
|
|
40
|
-
Template:
|
|
41
|
-
|
|
42
|
-
```markdown
|
|
43
|
-
# Task Breakdown: <feature title>
|
|
44
|
-
|
|
45
|
-
## Task Graph
|
|
46
|
-
|
|
47
|
-
### Phase 1: <name>
|
|
48
|
-
- [ ] **T1.1**: <description>
|
|
49
|
-
- Files: <list>
|
|
50
|
-
- Agent: <agent name>
|
|
51
|
-
- Depends on: none
|
|
52
|
-
- Acceptance: <testable criterion>
|
|
53
|
-
|
|
54
|
-
- [ ] **T1.2**: <description>
|
|
55
|
-
- Files: <list>
|
|
56
|
-
- Agent: <agent name>
|
|
57
|
-
- Depends on: T1.1
|
|
58
|
-
- Acceptance: <testable criterion>
|
|
59
|
-
|
|
60
|
-
### Phase 2: <name>
|
|
61
|
-
- [ ] **T2.1**: <description> (can parallel with T1.2)
|
|
62
|
-
...
|
|
63
|
-
|
|
64
|
-
## Parallelism Map
|
|
65
|
-
| Batch | Tasks | Agents |
|
|
66
|
-
|-------|-------|--------|
|
|
67
|
-
| 1 | T1.1 | Implementer |
|
|
68
|
-
| 2 | T1.2, T2.1 | Implementer, Frontend |
|
|
69
|
-
| 3 | T2.2 | Implementer |
|
|
70
|
-
| ... | ... | ... |
|
|
71
|
-
|
|
72
|
-
## Estimated Batches: <N>
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
## Agents
|
|
76
|
-
|
|
77
|
-
| Agent | Role |
|
|
78
|
-
|-------|------|
|
|
79
|
-
| **Planner** | Decomposes plan phases into atomic tasks with dependency ordering |
|
|
80
|
-
| **Architect-Reviewer-Alpha** | Validates task decomposition won't cause integration issues |
|
|
81
|
-
|
|
82
|
-
Planner does the decomposition, then Architect-Reviewer validates the task graph.
|
|
83
|
-
|
|
84
|
-
## Foundation Integration
|
|
85
|
-
|
|
86
|
-
Load these skills BEFORE executing this step:
|
|
87
|
-
|
|
88
|
-
| Skill | Purpose | When |
|
|
89
|
-
|-------|---------|------|
|
|
90
|
-
| `aikit` | Core MCP tools — search, analyze, remember, validate | Always (auto-loaded) |
|
|
91
|
-
| `present` | Rich rendering for any structured output — assessments, reports, comparisons, reviews, status boards, tables, charts, and all artifact content | Use for ANY output that benefits from rich rendering, not just dashboards |
|
|
92
|
-
| `multi-agents-development` | Dispatch templates, task decomposition, review pipeline patterns | Before dispatching any subagent |
|
|
93
|
-
| `brainstorming` | Structured ideation for design/creative decisions | Before any design choice or new feature exploration |
|
|
94
|
-
|
|
95
|
-
### Presentation Rules
|
|
96
|
-
- Use `present` for **any output** that benefits from rich rendering — not limited to dashboards
|
|
97
|
-
- Assessments, reports, comparisons, reviews, status boards → `present({ format: "html" })`
|
|
98
|
-
- Tables, charts, progress tracking, code review findings → always present
|
|
99
|
-
- Artifact content and summaries → present with structured layout
|
|
100
|
-
- Only use plain text for brief confirmations and simple questions
|
|
101
|
-
|
|
102
|
-
## Completion Criteria
|
|
103
|
-
|
|
104
|
-
- [ ] Every plan phase maps to ≥1 task
|
|
105
|
-
- [ ] Each task touches ≤3 files
|
|
106
|
-
- [ ] Dependencies form a DAG (no cycles)
|
|
107
|
-
- [ ] Parallelism opportunities identified
|
|
108
|
-
- [ ] Architect review confirms no integration risks
|
|
109
|
-
- [ ] `{{artifacts_path}}/tasks.md` written
|
|
110
|
-
|
|
111
|
-
## Knowledge Capture
|
|
112
|
-
|
|
113
|
-
Before completing this step, persist important findings using `remember()`:
|
|
114
|
-
|
|
115
|
-
- **Task decomposition rationale**: Why tasks were split this way and what each accomplishes
|
|
116
|
-
- **Interface contracts**: APIs, types, or data shapes that tasks depend on
|
|
117
|
-
- **Coordination points**: Where tasks interact and handoff requirements
|
|
118
|
-
|
|
119
|
-
**Every step produces knowledge worth preserving.** If you discovered something that would help a future session, call `remember()` now.
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: verify
|
|
3
|
-
description: Dual code review, architecture review, security review, and comprehensive test validation.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Verification (Advanced)
|
|
7
|
-
|
|
8
|
-
## Prerequisites Check
|
|
9
|
-
|
|
10
|
-
Before starting this step, verify:
|
|
11
|
-
- [ ] All tasks marked complete in progress tracker
|
|
12
|
-
- [ ] `check({})` and `test_run({})` pass
|
|
13
|
-
- [ ] `{{artifacts_path}}/progress.md` exists with execution results
|
|
14
|
-
|
|
15
|
-
If prerequisites are NOT met → **backtrack to execute step** (`flow_step({ action: 'redo' })` on previous step)
|
|
16
|
-
|
|
17
|
-
## Purpose
|
|
18
|
-
|
|
19
|
-
Perform thorough multi-perspective validation of all changes through parallel dual code review, architecture review, and security analysis.
|
|
20
|
-
|
|
21
|
-
## Inputs
|
|
22
|
-
|
|
23
|
-
- `{{artifacts_path}}/spec.md` — original requirements and acceptance criteria
|
|
24
|
-
- `{{artifacts_path}}/plan.md` — architecture decisions and phase design
|
|
25
|
-
- `{{artifacts_path}}/tasks.md` — task breakdown with per-task acceptance criteria
|
|
26
|
-
- `{{artifacts_path}}/progress.md` — implementation status and changes made
|
|
27
|
-
|
|
28
|
-
## Process
|
|
29
|
-
|
|
30
|
-
1. **Load all artifacts** — Read spec, plan, tasks, and progress
|
|
31
|
-
2. **Dual code review** (parallel):
|
|
32
|
-
- Code-Reviewer-Alpha: focus on correctness, conventions, quality
|
|
33
|
-
- Code-Reviewer-Beta: focus on edge cases, error handling, maintainability
|
|
34
|
-
3. **Architecture review** (parallel with code review):
|
|
35
|
-
- Architect-Reviewer-Alpha: validate changes align with plan and ADRs
|
|
36
|
-
- Architect-Reviewer-Beta: assess long-term maintainability and evolution
|
|
37
|
-
4. **Security review**:
|
|
38
|
-
- Security agent: OWASP Top 10, auth/authz, input validation, secrets
|
|
39
|
-
5. **Quality gates** — `check({})` + `test_run({})` must pass
|
|
40
|
-
6. **Blast radius** — `blast_radius({ changed_files: [...] })` on all modified files
|
|
41
|
-
7. **Acceptance criteria** — Verify each spec acceptance criterion is met
|
|
42
|
-
8. **FORGE gate** — `evidence_map({ action: "gate" })` for final quality assessment
|
|
43
|
-
9. **Synthesize report** — Merge all reviewer findings into unified verdict
|
|
44
|
-
|
|
45
|
-
## Outputs
|
|
46
|
-
|
|
47
|
-
Write `{{artifacts_path}}/verify-report.md` to disk. **You MUST create this file** using `create_file` or equivalent — do not just present content in chat.
|
|
48
|
-
|
|
49
|
-
Template:
|
|
50
|
-
|
|
51
|
-
```markdown
|
|
52
|
-
# Verification Report: <feature title>
|
|
53
|
-
|
|
54
|
-
## Verdict: PASS | FAIL
|
|
55
|
-
|
|
56
|
-
## Acceptance Criteria
|
|
57
|
-
- [x] <criterion> — verified by <method>
|
|
58
|
-
- [ ] <criterion> — FAILED: <reason>
|
|
59
|
-
|
|
60
|
-
## Quality Gates
|
|
61
|
-
- check: PASS/FAIL
|
|
62
|
-
- test_run: PASS/FAIL (<N> passed, <M> failed)
|
|
63
|
-
- blast_radius: <impact summary>
|
|
64
|
-
- FORGE gate: YIELD/HOLD/HARD_BLOCK
|
|
65
|
-
|
|
66
|
-
## Code Review (Alpha)
|
|
67
|
-
<findings with severity: critical/major/minor/suggestion>
|
|
68
|
-
|
|
69
|
-
## Code Review (Beta)
|
|
70
|
-
<findings with severity>
|
|
71
|
-
|
|
72
|
-
## Architecture Review
|
|
73
|
-
<alignment assessment, any concerns>
|
|
74
|
-
|
|
75
|
-
## Security Review
|
|
76
|
-
<vulnerabilities found, OWASP compliance>
|
|
77
|
-
|
|
78
|
-
## Recommendation
|
|
79
|
-
APPROVE | REQUEST CHANGES
|
|
80
|
-
|
|
81
|
-
### Required Changes (if any)
|
|
82
|
-
1. <change needed>
|
|
83
|
-
2. ...
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## Agents
|
|
87
|
-
|
|
88
|
-
| Agent | Role |
|
|
89
|
-
|-------|------|
|
|
90
|
-
| **Code-Reviewer-Alpha** | Primary code review — correctness, quality, conventions |
|
|
91
|
-
| **Code-Reviewer-Beta** | Secondary code review — edge cases, error handling, maintainability |
|
|
92
|
-
| **Architect-Reviewer-Alpha** | Primary architecture review — alignment with plan and ADRs |
|
|
93
|
-
| **Architect-Reviewer-Beta** | Secondary architecture review — long-term evolution |
|
|
94
|
-
| **Security** | Security analysis — OWASP, auth, input validation |
|
|
95
|
-
|
|
96
|
-
**Parallelism**: All 5 reviewers can run in parallel — they are read-only.
|
|
97
|
-
|
|
98
|
-
## Foundation Integration
|
|
99
|
-
|
|
100
|
-
Load these skills BEFORE executing this step:
|
|
101
|
-
|
|
102
|
-
| Skill | Purpose | When |
|
|
103
|
-
|-------|---------|------|
|
|
104
|
-
| `aikit` | Core MCP tools — search, analyze, remember, validate | Always (auto-loaded) |
|
|
105
|
-
| `present` | Rich rendering for any structured output — assessments, reports, comparisons, reviews, status boards, tables, charts, and all artifact content | Use for ANY output that benefits from rich rendering, not just dashboards |
|
|
106
|
-
| `multi-agents-development` | Dispatch templates, task decomposition, review pipeline patterns | Before dispatching any subagent |
|
|
107
|
-
| `brainstorming` | Structured ideation for design/creative decisions | Before any design choice or new feature exploration |
|
|
108
|
-
| `lesson-learned` | Extract engineering principles from completed work | After verification — capture lessons from the implementation |
|
|
109
|
-
| `session-handoff` | Context preservation for session continuity | When verification spans sessions or for final handoff documentation |
|
|
110
|
-
|
|
111
|
-
### Presentation Rules
|
|
112
|
-
- Use `present` for **any output** that benefits from rich rendering — not limited to dashboards
|
|
113
|
-
- Assessments, reports, comparisons, reviews, status boards → `present({ format: "html" })`
|
|
114
|
-
- Tables, charts, progress tracking, code review findings → always present
|
|
115
|
-
- Artifact content and summaries → present with structured layout
|
|
116
|
-
- Only use plain text for brief confirmations and simple questions
|
|
117
|
-
|
|
118
|
-
### FORGE Quality Gate
|
|
119
|
-
|
|
120
|
-
After all reviews complete:
|
|
121
|
-
1. `evidence_map({ action: "gate", task_id: "<slug>" })` → returns YIELD/HOLD/HARD_BLOCK
|
|
122
|
-
2. YIELD → approved, proceed to commit
|
|
123
|
-
3. HOLD → minor issues, fix then re-gate (max 3 rounds)
|
|
124
|
-
4. HARD_BLOCK → critical issues, escalate to user
|
|
125
|
-
|
|
126
|
-
## Completion Criteria
|
|
127
|
-
|
|
128
|
-
- [ ] Dual code review complete (2 reviewers)
|
|
129
|
-
- [ ] Architecture review complete (2 reviewers)
|
|
130
|
-
- [ ] Security review complete
|
|
131
|
-
- [ ] `check({})` passes
|
|
132
|
-
- [ ] `test_run({})` passes
|
|
133
|
-
- [ ] All spec acceptance criteria verified
|
|
134
|
-
- [ ] FORGE gate passed (YIELD)
|
|
135
|
-
- [ ] `{{artifacts_path}}/verify-report.md` written with clear verdict
|
|
136
|
-
|
|
137
|
-
## Knowledge Capture
|
|
138
|
-
|
|
139
|
-
Before completing this step, persist important findings using `remember()`:
|
|
140
|
-
|
|
141
|
-
- **Test coverage gaps**: Areas that couldn't be fully tested and why
|
|
142
|
-
- **Quality findings**: Issues found during verification and their resolutions
|
|
143
|
-
- **Session checkpoint**: Summarize what was accomplished, decisions made, and any remaining work
|
|
144
|
-
|
|
145
|
-
**Every step produces knowledge worth preserving.** If you discovered something that would help a future session, call `remember()` now.
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# aikit:basic — Quick Development Flow
|
|
2
|
-
|
|
3
|
-
Quick development flow for **bug fixes, small features, and refactoring**.
|
|
4
|
-
|
|
5
|
-
## Steps
|
|
6
|
-
|
|
7
|
-
| # | Step | Skill | Produces | Requires | Agents |
|
|
8
|
-
|---|------|-------|----------|----------|--------|
|
|
9
|
-
| 1 | **Design Gate** | `steps/design/README.md` | `design-decisions.md` | — | Researcher-Alpha/Beta/Gamma/Delta |
|
|
10
|
-
| 2 | **Assessment** | `steps/assess/README.md` | `assessment.md` | `design-decisions.md` | Explorer, Researcher-Alpha |
|
|
11
|
-
| 3 | **Implementation** | `steps/implement/README.md` | `progress.md` | `assessment.md` | Implementer, Frontend |
|
|
12
|
-
| 4 | **Verification** | `steps/verify/README.md` | `verify-report.md` | `progress.md` | Code-Reviewer-Alpha, Security |
|
|
13
|
-
|
|
14
|
-
## How It Works
|
|
15
|
-
|
|
16
|
-
Each step has a **README.md** file that contains the detailed instructions for the agent(s) executing that step. The Orchestrator reads the README.md via `flow_read_instruction` and delegates work accordingly.
|
|
17
|
-
|
|
18
|
-
### Step 1: Design Gate
|
|
19
|
-
- **Auto-skips** for bug fixes and refactors (produces a minimal `design-decisions.md` noting it was skipped)
|
|
20
|
-
- For small features: runs quick brainstorming, FORGE classification, and optional decision protocol
|
|
21
|
-
- Read `steps/design/README.md` for the full decision tree
|
|
22
|
-
|
|
23
|
-
### Step 2: Assessment
|
|
24
|
-
- Explore the codebase to understand scope and impact
|
|
25
|
-
- Use `search`, `scope_map`, `file_summary`, `compact` to gather context
|
|
26
|
-
- Identify the approach and produce `assessment.md`
|
|
27
|
-
|
|
28
|
-
### Step 3: Implementation
|
|
29
|
-
- Write code following the assessment plan
|
|
30
|
-
- The Orchestrator dispatches Implementer/Frontend agents with specific file scopes
|
|
31
|
-
- Follow TDD practices where applicable
|
|
32
|
-
|
|
33
|
-
### Step 4: Verification
|
|
34
|
-
- Code review, test execution, security check
|
|
35
|
-
- Run `check({})` + `test_run({})` + `blast_radius({})`
|
|
36
|
-
- Produce `verify-report.md` with findings
|
|
37
|
-
|
|
38
|
-
## Using Skills Inside Steps
|
|
39
|
-
|
|
40
|
-
When the Orchestrator activates a step:
|
|
41
|
-
|
|
42
|
-
1. **Read the instruction first** — `flow_read_instruction` returns the README.md for the current step
|
|
43
|
-
2. **Follow step instructions** — the README.md is the primary guide for what to do
|
|
44
|
-
3. **Delegate to listed agents** — each step lists which agents are appropriate
|
|
45
|
-
4. **Produce the required artifact** — the step's `produces` field specifies what file to create in the artifacts directory
|
|
46
|
-
5. **Check dependencies** — the step's `requires` field lists artifacts from previous steps that must exist
|
|
47
|
-
6. **Report status** — agents report `DONE` | `DONE_WITH_CONCERNS` | `NEEDS_CONTEXT` | `BLOCKED` to the Orchestrator
|
|
48
|
-
|
|
49
|
-
## Artifacts
|
|
50
|
-
|
|
51
|
-
All artifacts are stored in the run directory under .flows/{topic}/. The template variable `{{artifacts_path}}` resolves to the actual path at runtime.
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: assess
|
|
3
|
-
description: Understand scope, analyze the codebase, and identify the implementation approach.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Assessment
|
|
7
|
-
|
|
8
|
-
## Purpose
|
|
9
|
-
|
|
10
|
-
Analyze the task requirements and codebase to produce a clear, actionable assessment before any code changes begin.
|
|
11
|
-
|
|
12
|
-
## Inputs
|
|
13
|
-
|
|
14
|
-
- User's task description or issue reference
|
|
15
|
-
- Codebase (accessed via aikit MCP tools)
|
|
16
|
-
|
|
17
|
-
## Prerequisites Check
|
|
18
|
-
|
|
19
|
-
Before executing this step, verify:
|
|
20
|
-
|
|
21
|
-
- [ ] Design decisions documented (from the design step)
|
|
22
|
-
- [ ] FORGE classification determined (tier assigned)
|
|
23
|
-
- [ ] If brainstorming was done, session outcomes are recorded
|
|
24
|
-
|
|
25
|
-
If any prerequisites are missing or incomplete:
|
|
26
|
-
1. Inform the Orchestrator with specifics about what's missing
|
|
27
|
-
2. Recommend `flow_step({ action: 'redo' })` on the **design** step
|
|
28
|
-
3. Do NOT proceed with partial inputs — quality degrades downstream
|
|
29
|
-
|
|
30
|
-
## Process
|
|
31
|
-
|
|
32
|
-
1. **Parse the goal** — Extract what needs to change, success criteria, and constraints
|
|
33
|
-
2. **Search for prior work** — `search({ query: "<task keywords>" })` to check for existing decisions or related code
|
|
34
|
-
3. **Map affected scope** — `scope_map({ task: "<description>" })` to identify files and modules involved
|
|
35
|
-
4. **Analyze structure** — `file_summary()` on each affected file; `compact()` for deeper sections
|
|
36
|
-
5. **Identify risks** — Note dependencies, breaking change potential, test coverage gaps
|
|
37
|
-
6. **Draft approach** — Outline the implementation strategy in 3–7 steps
|
|
38
|
-
|
|
39
|
-
## Outputs
|
|
40
|
-
|
|
41
|
-
Write `{{artifacts_path}}/assessment.md` to disk. **You MUST create this file** using `create_file` or equivalent — do not just present content in chat.
|
|
42
|
-
|
|
43
|
-
Template:
|
|
44
|
-
|
|
45
|
-
```markdown
|
|
46
|
-
# Assessment: <task title>
|
|
47
|
-
|
|
48
|
-
## Goal
|
|
49
|
-
<what needs to happen>
|
|
50
|
-
|
|
51
|
-
## Affected Files
|
|
52
|
-
<list of files with brief reason>
|
|
53
|
-
|
|
54
|
-
## Approach
|
|
55
|
-
<numbered implementation steps>
|
|
56
|
-
|
|
57
|
-
## Risks
|
|
58
|
-
<potential issues and mitigations>
|
|
59
|
-
|
|
60
|
-
## Open Questions
|
|
61
|
-
<anything that needs clarification before proceeding>
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## Agents
|
|
65
|
-
|
|
66
|
-
| Agent | Role |
|
|
67
|
-
|-------|------|
|
|
68
|
-
| **Explorer** | Rapid file discovery, dependency tracing, structural context |
|
|
69
|
-
| **Researcher-Alpha** | Deep analysis of complex logic, prior decisions, architectural implications |
|
|
70
|
-
|
|
71
|
-
Use Explorer first for breadth, then Researcher-Alpha for depth on complex areas.
|
|
72
|
-
|
|
73
|
-
## Foundation Integration
|
|
74
|
-
|
|
75
|
-
Load these skills BEFORE executing this step:
|
|
76
|
-
|
|
77
|
-
| Skill | Purpose | When |
|
|
78
|
-
|-------|---------|------|
|
|
79
|
-
| `aikit` | Core MCP tools — search, analyze, remember, validate | Always (auto-loaded) |
|
|
80
|
-
| `present` | Rich rendering for any structured output — assessments, reports, comparisons, reviews, status boards, tables, charts, and all artifact content | Use for ANY output that benefits from rich rendering, not just dashboards |
|
|
81
|
-
| `multi-agents-development` | Dispatch templates, task decomposition, review pipeline patterns | Before dispatching any subagent |
|
|
82
|
-
| `brainstorming` | Structured ideation for design/creative decisions | Before any design choice or new feature exploration |
|
|
83
|
-
| `c4-architecture` | C4 model architecture diagrams — system context, container, component, deployment views | When visualizing system structure during assessment |
|
|
84
|
-
| `adr-skill` | Architecture Decision Records — create, review, maintain ADRs | When assessment reveals non-trivial design decisions |
|
|
85
|
-
|
|
86
|
-
### Presentation Rules
|
|
87
|
-
- Use `present` for **any output** that benefits from rich rendering — not limited to dashboards
|
|
88
|
-
- Assessments, reports, comparisons, reviews, status boards → `present({ format: "html" })`
|
|
89
|
-
- Tables, charts, progress tracking, code review findings → always present
|
|
90
|
-
- Artifact content and summaries → present with structured layout
|
|
91
|
-
- Only use plain text for brief confirmations and simple questions
|
|
92
|
-
|
|
93
|
-
## Completion Criteria
|
|
94
|
-
|
|
95
|
-
- [ ] All affected files identified
|
|
96
|
-
- [ ] Implementation approach is concrete (not vague)
|
|
97
|
-
- [ ] Risks documented with mitigations
|
|
98
|
-
- [ ] No unresolved open questions that block implementation
|
|
99
|
-
- [ ] `{{artifacts_path}}/assessment.md` written
|
|
100
|
-
|
|
101
|
-
## Knowledge Capture
|
|
102
|
-
|
|
103
|
-
Before completing this step, persist important findings using `remember()`:
|
|
104
|
-
|
|
105
|
-
- **Codebase discoveries**: File locations, architecture patterns, or dependency relationships found during assessment
|
|
106
|
-
- **Problem diagnosis**: Root cause analysis, contributing factors, and affected components
|
|
107
|
-
- **Scope decisions**: What's in scope, what's explicitly excluded, and why
|
|
108
|
-
|
|
109
|
-
**Every step produces knowledge worth preserving.** If you discovered something that would help a future session, call `remember()` now.
|