ruby_reactor 0.5.3 → 0.6.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.
- checksums.yaml +4 -4
- data/.claude/skills/speckit-agent-context-update/SKILL.md +32 -0
- data/.claude/skills/speckit-analyze/SKILL.md +262 -0
- data/.claude/skills/speckit-checklist/SKILL.md +374 -0
- data/.claude/skills/speckit-clarify/SKILL.md +286 -0
- data/.claude/skills/speckit-constitution/SKILL.md +157 -0
- data/.claude/skills/speckit-converge/SKILL.md +277 -0
- data/.claude/skills/speckit-implement/SKILL.md +224 -0
- data/.claude/skills/speckit-plan/SKILL.md +171 -0
- data/.claude/skills/speckit-specify/SKILL.md +346 -0
- data/.claude/skills/speckit-tasks/SKILL.md +215 -0
- data/.claude/skills/speckit-taskstoissues/SKILL.md +110 -0
- data/.release-please-manifest.json +1 -1
- data/.specify/extensions/.registry +19 -0
- data/.specify/extensions/agent-context/README.md +66 -0
- data/.specify/extensions/agent-context/agent-context-config.yml +5 -0
- data/.specify/extensions/agent-context/commands/speckit.agent-context.update.md +27 -0
- data/.specify/extensions/agent-context/extension.yml +34 -0
- data/.specify/extensions/agent-context/scripts/bash/update-agent-context.sh +282 -0
- data/.specify/extensions/agent-context/scripts/powershell/update-agent-context.ps1 +353 -0
- data/.specify/extensions.yml +23 -0
- data/.specify/feature.json +3 -0
- data/.specify/init-options.json +9 -0
- data/.specify/integration.json +15 -0
- data/.specify/integrations/claude.manifest.json +17 -0
- data/.specify/integrations/speckit.manifest.json +17 -0
- data/.specify/memory/constitution.md +134 -0
- data/.specify/scripts/bash/check-prerequisites.sh +189 -0
- data/.specify/scripts/bash/common.sh +619 -0
- data/.specify/scripts/bash/create-new-feature.sh +299 -0
- data/.specify/scripts/bash/setup-plan.sh +84 -0
- data/.specify/scripts/bash/setup-tasks.sh +91 -0
- data/.specify/templates/checklist-template.md +40 -0
- data/.specify/templates/constitution-template.md +50 -0
- data/.specify/templates/plan-template.md +113 -0
- data/.specify/templates/spec-template.md +131 -0
- data/.specify/templates/tasks-template.md +252 -0
- data/.specify/workflows/speckit/workflow.yml +77 -0
- data/.specify/workflows/workflow-registry.json +13 -0
- data/CHANGELOG.md +14 -0
- data/README.md +146 -65
- data/lib/ruby_reactor/adapters/active_job/compat.rb +24 -0
- data/lib/ruby_reactor/adapters/active_job/map_collector_worker.rb +19 -0
- data/lib/ruby_reactor/adapters/active_job/map_element_worker.rb +19 -0
- data/lib/ruby_reactor/adapters/active_job/router.rb +91 -0
- data/lib/ruby_reactor/adapters/active_job/sweeper_worker.rb +16 -0
- data/lib/ruby_reactor/adapters/active_job/worker.rb +24 -0
- data/lib/ruby_reactor/adapters/sidekiq/map_collector_worker.rb +15 -0
- data/lib/ruby_reactor/adapters/sidekiq/map_element_worker.rb +15 -0
- data/lib/ruby_reactor/adapters/sidekiq/router.rb +91 -0
- data/lib/ruby_reactor/adapters/sidekiq/sweeper_worker.rb +19 -0
- data/lib/ruby_reactor/adapters/sidekiq/worker.rb +25 -0
- data/lib/ruby_reactor/configuration.rb +24 -4
- data/lib/ruby_reactor/dsl/template_helpers.rb +7 -1
- data/lib/ruby_reactor/map/element_executor.rb +1 -1
- data/lib/ruby_reactor/rspec/active_job_helpers.rb +52 -0
- data/lib/ruby_reactor/rspec/async_test_helpers.rb +41 -0
- data/lib/ruby_reactor/rspec/sidekiq_helpers.rb +3 -3
- data/lib/ruby_reactor/rspec/test_subject.rb +11 -7
- data/lib/ruby_reactor/rspec.rb +4 -0
- data/lib/ruby_reactor/step.rb +4 -0
- data/lib/ruby_reactor/sweeper_job.rb +70 -0
- data/lib/ruby_reactor/version.rb +1 -1
- data/lib/ruby_reactor/worker.rb +226 -0
- data/lib/ruby_reactor.rb +40 -1
- data/specs/active_job.md +259 -0
- metadata +54 -6
- data/lib/ruby_reactor/sidekiq_adapter.rb +0 -87
- data/lib/ruby_reactor/sidekiq_workers/map_collector_worker.rb +0 -13
- data/lib/ruby_reactor/sidekiq_workers/map_element_worker.rb +0 -13
- data/lib/ruby_reactor/sidekiq_workers/sweeper_worker.rb +0 -73
- data/lib/ruby_reactor/sidekiq_workers/worker.rb +0 -222
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "speckit-constitution"
|
|
3
|
+
description: "Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync."
|
|
4
|
+
argument-hint: "Principles or values for the project constitution"
|
|
5
|
+
compatibility: "Requires spec-kit project structure with .specify/ directory"
|
|
6
|
+
metadata:
|
|
7
|
+
author: "github-spec-kit"
|
|
8
|
+
source: "templates/commands/constitution.md"
|
|
9
|
+
user-invocable: true
|
|
10
|
+
disable-model-invocation: false
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## User Input
|
|
15
|
+
|
|
16
|
+
```text
|
|
17
|
+
$ARGUMENTS
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
You **MUST** consider the user input before proceeding (if not empty).
|
|
21
|
+
|
|
22
|
+
## Pre-Execution Checks
|
|
23
|
+
|
|
24
|
+
**Check for extension hooks (before constitution update)**:
|
|
25
|
+
- Check if `.specify/extensions.yml` exists in the project root.
|
|
26
|
+
- If it exists, read it and look for entries under the `hooks.before_constitution` key
|
|
27
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
|
|
28
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
29
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
30
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
31
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
32
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
33
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
34
|
+
- **Optional hook** (`optional: true`):
|
|
35
|
+
```
|
|
36
|
+
## Extension Hooks
|
|
37
|
+
|
|
38
|
+
**Optional Pre-Hook**: {extension}
|
|
39
|
+
Command: `/{command}`
|
|
40
|
+
Description: {description}
|
|
41
|
+
|
|
42
|
+
Prompt: {prompt}
|
|
43
|
+
To execute: `/{command}`
|
|
44
|
+
```
|
|
45
|
+
- **Mandatory hook** (`optional: false`):
|
|
46
|
+
```
|
|
47
|
+
## Extension Hooks
|
|
48
|
+
|
|
49
|
+
**Automatic Pre-Hook**: {extension}
|
|
50
|
+
Executing: `/{command}`
|
|
51
|
+
EXECUTE_COMMAND: {command}
|
|
52
|
+
|
|
53
|
+
Wait for the result of the hook command before proceeding to the Outline.
|
|
54
|
+
```
|
|
55
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
56
|
+
|
|
57
|
+
## Outline
|
|
58
|
+
|
|
59
|
+
You are updating the project constitution at `.specify/memory/constitution.md`. This file is a TEMPLATE containing placeholder tokens in square brackets (e.g. `[PROJECT_NAME]`, `[PRINCIPLE_1_NAME]`). Your job is to (a) collect/derive concrete values, (b) fill the template precisely, and (c) propagate any amendments across dependent artifacts.
|
|
60
|
+
|
|
61
|
+
**Note**: If `.specify/memory/constitution.md` does not exist yet, it should have been initialized from `.specify/templates/constitution-template.md` during project setup. If it's missing, copy the template first.
|
|
62
|
+
|
|
63
|
+
Follow this execution flow:
|
|
64
|
+
|
|
65
|
+
1. Load the existing constitution at `.specify/memory/constitution.md`.
|
|
66
|
+
- Identify every placeholder token of the form `[ALL_CAPS_IDENTIFIER]`.
|
|
67
|
+
**IMPORTANT**: The user might require less or more principles than the ones used in the template. If a number is specified, respect that - follow the general template. You will update the doc accordingly.
|
|
68
|
+
|
|
69
|
+
2. Collect/derive values for placeholders:
|
|
70
|
+
- If user input (conversation) supplies a value, use it.
|
|
71
|
+
- Otherwise infer from existing repo context (README, docs, prior constitution versions if embedded).
|
|
72
|
+
- For governance dates: `RATIFICATION_DATE` is the original adoption date (if unknown ask or mark TODO), `LAST_AMENDED_DATE` is today if changes are made, otherwise keep previous.
|
|
73
|
+
- `CONSTITUTION_VERSION` must increment according to semantic versioning rules:
|
|
74
|
+
- MAJOR: Backward incompatible governance/principle removals or redefinitions.
|
|
75
|
+
- MINOR: New principle/section added or materially expanded guidance.
|
|
76
|
+
- PATCH: Clarifications, wording, typo fixes, non-semantic refinements.
|
|
77
|
+
- If version bump type ambiguous, propose reasoning before finalizing.
|
|
78
|
+
|
|
79
|
+
3. Draft the updated constitution content:
|
|
80
|
+
- Replace every placeholder with concrete text (no bracketed tokens left except intentionally retained template slots that the project has chosen not to define yet—explicitly justify any left).
|
|
81
|
+
- Preserve heading hierarchy and comments can be removed once replaced unless they still add clarifying guidance.
|
|
82
|
+
- Ensure each Principle section: succinct name line, paragraph (or bullet list) capturing non‑negotiable rules, explicit rationale if not obvious.
|
|
83
|
+
- Ensure Governance section lists amendment procedure, versioning policy, and compliance review expectations.
|
|
84
|
+
|
|
85
|
+
4. Consistency propagation checklist (convert prior checklist into active validations):
|
|
86
|
+
- Read `.specify/templates/plan-template.md` and ensure any "Constitution Check" or rules align with updated principles.
|
|
87
|
+
- Read `.specify/templates/spec-template.md` for scope/requirements alignment—update if constitution adds/removes mandatory sections or constraints.
|
|
88
|
+
- Read `.specify/templates/tasks-template.md` and ensure task categorization reflects new or removed principle-driven task types (e.g., observability, versioning, testing discipline).
|
|
89
|
+
- Read each command file in `.specify/templates/commands/*.md` (including this one) to verify no outdated references (agent-specific names like CLAUDE only) remain when generic guidance is required.
|
|
90
|
+
- Read any runtime guidance docs (e.g., `README.md`, `docs/quickstart.md`, or agent-specific guidance files if present). Update references to principles changed.
|
|
91
|
+
|
|
92
|
+
5. Produce a Sync Impact Report (prepend as an HTML comment at top of the constitution file after update):
|
|
93
|
+
- Version change: old → new
|
|
94
|
+
- List of modified principles (old title → new title if renamed)
|
|
95
|
+
- Added sections
|
|
96
|
+
- Removed sections
|
|
97
|
+
- Templates requiring updates (✅ updated / ⚠ pending) with file paths
|
|
98
|
+
- Follow-up TODOs if any placeholders intentionally deferred.
|
|
99
|
+
|
|
100
|
+
6. Validation before final output:
|
|
101
|
+
- No remaining unexplained bracket tokens.
|
|
102
|
+
- Version line matches report.
|
|
103
|
+
- Dates ISO format YYYY-MM-DD.
|
|
104
|
+
- Principles are declarative, testable, and free of vague language ("should" → replace with MUST/SHOULD rationale where appropriate).
|
|
105
|
+
|
|
106
|
+
7. Write the completed constitution back to `.specify/memory/constitution.md` (overwrite).
|
|
107
|
+
|
|
108
|
+
8. Output a final summary to the user with:
|
|
109
|
+
- New version and bump rationale.
|
|
110
|
+
- Any files flagged for manual follow-up.
|
|
111
|
+
- Suggested commit message (e.g., `docs: amend constitution to vX.Y.Z (principle additions + governance update)`).
|
|
112
|
+
|
|
113
|
+
Formatting & Style Requirements:
|
|
114
|
+
|
|
115
|
+
- Use Markdown headings exactly as in the template (do not demote/promote levels).
|
|
116
|
+
- Wrap long rationale lines to keep readability (<100 chars ideally) but do not hard enforce with awkward breaks.
|
|
117
|
+
- Keep a single blank line between sections.
|
|
118
|
+
- Avoid trailing whitespace.
|
|
119
|
+
|
|
120
|
+
If the user supplies partial updates (e.g., only one principle revision), still perform validation and version decision steps.
|
|
121
|
+
|
|
122
|
+
If critical info missing (e.g., ratification date truly unknown), insert `TODO(<FIELD_NAME>): explanation` and include in the Sync Impact Report under deferred items.
|
|
123
|
+
|
|
124
|
+
Do not create a new template; always operate on the existing `.specify/memory/constitution.md` file.
|
|
125
|
+
|
|
126
|
+
## Post-Execution Checks
|
|
127
|
+
|
|
128
|
+
**Check for extension hooks (after constitution update)**:
|
|
129
|
+
Check if `.specify/extensions.yml` exists in the project root.
|
|
130
|
+
- If it exists, read it and look for entries under the `hooks.after_constitution` key
|
|
131
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
|
|
132
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
133
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
134
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
135
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
136
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
137
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
138
|
+
- **Optional hook** (`optional: true`):
|
|
139
|
+
```
|
|
140
|
+
## Extension Hooks
|
|
141
|
+
|
|
142
|
+
**Optional Hook**: {extension}
|
|
143
|
+
Command: `/{command}`
|
|
144
|
+
Description: {description}
|
|
145
|
+
|
|
146
|
+
Prompt: {prompt}
|
|
147
|
+
To execute: `/{command}`
|
|
148
|
+
```
|
|
149
|
+
- **Mandatory hook** (`optional: false`):
|
|
150
|
+
```
|
|
151
|
+
## Extension Hooks
|
|
152
|
+
|
|
153
|
+
**Automatic Hook**: {extension}
|
|
154
|
+
Executing: `/{command}`
|
|
155
|
+
EXECUTE_COMMAND: {command}
|
|
156
|
+
```
|
|
157
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "speckit-converge"
|
|
3
|
+
description: "Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it."
|
|
4
|
+
compatibility: "Requires spec-kit project structure with .specify/ directory"
|
|
5
|
+
metadata:
|
|
6
|
+
author: "github-spec-kit"
|
|
7
|
+
source: "templates/commands/converge.md"
|
|
8
|
+
user-invocable: true
|
|
9
|
+
disable-model-invocation: false
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## User Input
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
$ARGUMENTS
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
You **MUST** consider the user input before proceeding (if not empty).
|
|
20
|
+
|
|
21
|
+
## Pre-Execution Checks
|
|
22
|
+
|
|
23
|
+
**Check for extension hooks (before convergence)**:
|
|
24
|
+
|
|
25
|
+
- Check if `.specify/extensions.yml` exists in the project root.
|
|
26
|
+
- If it exists, read it and look for entries under the `hooks.before_converge` key
|
|
27
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
|
|
28
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
29
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
30
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
31
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
32
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
33
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
34
|
+
- **Optional hook** (`optional: true`):
|
|
35
|
+
|
|
36
|
+
```text
|
|
37
|
+
## Extension Hooks
|
|
38
|
+
|
|
39
|
+
**Optional Pre-Hook**: {extension}
|
|
40
|
+
Command: `/{command}`
|
|
41
|
+
Description: {description}
|
|
42
|
+
|
|
43
|
+
Prompt: {prompt}
|
|
44
|
+
To execute: `/{command}`
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
- **Mandatory hook** (`optional: false`):
|
|
48
|
+
|
|
49
|
+
```text
|
|
50
|
+
## Extension Hooks
|
|
51
|
+
|
|
52
|
+
**Automatic Pre-Hook**: {extension}
|
|
53
|
+
Executing: `/{command}`
|
|
54
|
+
EXECUTE_COMMAND: {command}
|
|
55
|
+
|
|
56
|
+
Wait for the result of the hook command before proceeding to the Goal.
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
60
|
+
|
|
61
|
+
## Goal
|
|
62
|
+
|
|
63
|
+
Close the gap between what a feature's specification, plan, and tasks call for and what the
|
|
64
|
+
codebase currently implements. Read `spec.md`, `plan.md`, and `tasks.md` as the **sole
|
|
65
|
+
source of intent** (with the constitution as governing constraints), assess the current
|
|
66
|
+
state of the code, determine which requirements, acceptance criteria, plan decisions, and
|
|
67
|
+
existing tasks are unmet, incomplete, or only partially satisfied, and **append each piece
|
|
68
|
+
of remaining work as a new, traceable task** at the bottom of `tasks.md` so that
|
|
69
|
+
`/speckit-implement` can complete it. This command MUST run only after
|
|
70
|
+
`/speckit-implement` has run on the current `tasks.md`, and after `/speckit-tasks` has produced a complete `tasks.md`.
|
|
71
|
+
|
|
72
|
+
This is **not** a diff tool and does **not** track changes. It assesses the present state
|
|
73
|
+
of the code relative to the feature's artifacts — no git, no branch comparison, no history.
|
|
74
|
+
|
|
75
|
+
## Operating Constraints
|
|
76
|
+
|
|
77
|
+
**APPEND-ONLY, NEVER REWRITE**: The command's **only** write is appending a new
|
|
78
|
+
`## Phase N: Convergence` section to `tasks.md`. It MUST NOT:
|
|
79
|
+
|
|
80
|
+
- modify `spec.md` or `plan.md` in any way;
|
|
81
|
+
- rewrite, renumber, reorder, or delete any existing task (including tasks from a prior
|
|
82
|
+
Convergence phase);
|
|
83
|
+
- modify, create, or delete any application code — completing the appended tasks is the
|
|
84
|
+
job of `/speckit-implement`.
|
|
85
|
+
|
|
86
|
+
When the codebase already satisfies everything, the command MUST leave `tasks.md`
|
|
87
|
+
**byte-for-byte unchanged** (no empty Convergence header) and report a clean result.
|
|
88
|
+
|
|
89
|
+
**Constitution Authority**: The project constitution (`.specify/memory/constitution.md`) is
|
|
90
|
+
**non-negotiable**. Code that violates a MUST principle is the highest-severity finding and
|
|
91
|
+
produces a corresponding remediation task. If the constitution is an unfilled template,
|
|
92
|
+
skip constitution checks gracefully rather than failing.
|
|
93
|
+
|
|
94
|
+
## Execution Steps
|
|
95
|
+
|
|
96
|
+
### 1. Initialize Convergence Context
|
|
97
|
+
|
|
98
|
+
Run `.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks` once from repo root and parse JSON for FEATURE_DIR and AVAILABLE_DOCS. Derive absolute paths:
|
|
99
|
+
|
|
100
|
+
- SPEC = FEATURE_DIR/spec.md
|
|
101
|
+
- PLAN = FEATURE_DIR/plan.md
|
|
102
|
+
- TASKS = FEATURE_DIR/tasks.md
|
|
103
|
+
- CONSTITUTION = `.specify/memory/constitution.md` (if present)
|
|
104
|
+
If `spec.md`, `plan.md`, or `tasks.md` is missing, STOP with a clear, actionable message naming the
|
|
105
|
+
prerequisite command to run (`/speckit-specify` for a missing spec, `/speckit-plan` for a missing plan,
|
|
106
|
+
`/speckit-tasks` for missing tasks). Do not produce partial output.
|
|
107
|
+
For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").
|
|
108
|
+
|
|
109
|
+
### 2. Load Artifacts (Progressive Disclosure)
|
|
110
|
+
|
|
111
|
+
Load only the minimal necessary context from each artifact:
|
|
112
|
+
|
|
113
|
+
**From spec.md:**
|
|
114
|
+
|
|
115
|
+
- Functional Requirements (FR-###)
|
|
116
|
+
- Success Criteria (SC-###) — include only items requiring buildable work; exclude
|
|
117
|
+
post-launch outcome metrics and business KPIs
|
|
118
|
+
- User Stories and their Acceptance Scenarios
|
|
119
|
+
- Edge Cases (if present)
|
|
120
|
+
|
|
121
|
+
**From plan.md:**
|
|
122
|
+
|
|
123
|
+
- Architecture/stack choices and technical decisions
|
|
124
|
+
- Data Model references
|
|
125
|
+
- Phases and named touch-points (files/components the plan says will be created or edited)
|
|
126
|
+
- Technical constraints
|
|
127
|
+
|
|
128
|
+
**From tasks.md:**
|
|
129
|
+
|
|
130
|
+
- Task IDs (to compute the next ID and next phase number)
|
|
131
|
+
- Descriptions, phase grouping, and referenced file paths
|
|
132
|
+
|
|
133
|
+
**From constitution (if not an unfilled template):**
|
|
134
|
+
|
|
135
|
+
- Principle names and MUST/SHOULD normative statements
|
|
136
|
+
|
|
137
|
+
### 3. Build the Intent Inventory
|
|
138
|
+
|
|
139
|
+
Create an internal model (do not echo raw artifacts):
|
|
140
|
+
|
|
141
|
+
- **Requirements inventory**: one stable key per FR-### / SC-### / user-story acceptance
|
|
142
|
+
scenario (e.g. `US1/AC2`), plus the plan decisions and constitution principles that
|
|
143
|
+
impose buildable obligations.
|
|
144
|
+
- **Code-scope map**: from the file paths named in `plan.md` and `tasks.md`, plus a keyword
|
|
145
|
+
search for the concepts each requirement describes, derive the set of source files and
|
|
146
|
+
components in scope for assessment. Bound the assessment to these — do **not** infer
|
|
147
|
+
scope beyond what the artifacts define.
|
|
148
|
+
|
|
149
|
+
### 4. Assess the Codebase and Classify Findings
|
|
150
|
+
|
|
151
|
+
For each item in the intent inventory, inspect the current code in scope and produce a
|
|
152
|
+
`Finding` only where there is a gap. Classify every finding by **gap type**:
|
|
153
|
+
|
|
154
|
+
- **`missing`**: the required work is absent from the code entirely.
|
|
155
|
+
- **`partial`**: the work exists but does not yet fully satisfy the requirement /
|
|
156
|
+
acceptance criterion / plan decision.
|
|
157
|
+
- **`contradicts`**: the code does something that conflicts with stated intent or a
|
|
158
|
+
constitution MUST principle.
|
|
159
|
+
- **`unrequested`**: the code contains work not called for by the spec, plan, or tasks
|
|
160
|
+
(surfaced for awareness — converge does **not** delete code, it only appends a task to
|
|
161
|
+
review/justify or remove it).
|
|
162
|
+
|
|
163
|
+
Each `Finding` records: a stable id, the `source-ref` it traces to, the `gap-type`, a
|
|
164
|
+
severity, and a short human-readable description with the evidence (the file/area observed).
|
|
165
|
+
|
|
166
|
+
**Edge cases:**
|
|
167
|
+
|
|
168
|
+
- **Little or no code yet**: treat the entire specified scope as `missing` remaining work
|
|
169
|
+
rather than failing.
|
|
170
|
+
- **Nothing remains**: produce zero findings and follow the converged branch in Step 7.
|
|
171
|
+
|
|
172
|
+
### 5. Assign Severity
|
|
173
|
+
|
|
174
|
+
- **CRITICAL**: violates a constitution MUST principle, or a `missing`/`contradicts` gap
|
|
175
|
+
that blocks baseline functionality of a P1 user story.
|
|
176
|
+
- **HIGH**: a `missing` or `partial` gap on a core functional requirement or acceptance
|
|
177
|
+
criterion.
|
|
178
|
+
- **MEDIUM**: a `partial` gap on a secondary requirement, or an `unrequested` addition with
|
|
179
|
+
unclear justification.
|
|
180
|
+
- **LOW**: minor partial gaps, polish, or low-risk `unrequested` additions.
|
|
181
|
+
|
|
182
|
+
### 6. Present the In-Session Findings Summary
|
|
183
|
+
|
|
184
|
+
Before appending anything, output a compact, severity-graded summary (no file writes yet):
|
|
185
|
+
|
|
186
|
+
## Convergence Findings
|
|
187
|
+
|
|
188
|
+
| ID | Gap Type | Severity | Source | Evidence | Remaining Work |
|
|
189
|
+
|----|----------|----------|--------|----------|----------------|
|
|
190
|
+
| F1 | missing | HIGH | FR-008 | Example: no append-only guard detected in path/to/module.py when writing tasks.md | Add append-only enforcement |
|
|
191
|
+
|
|
192
|
+
**Summary metrics:**
|
|
193
|
+
|
|
194
|
+
- Requirements / acceptance criteria checked
|
|
195
|
+
- Plan decisions checked
|
|
196
|
+
- Constitution principles checked (or "skipped — template")
|
|
197
|
+
- Findings by gap type (missing / partial / contradicts / unrequested)
|
|
198
|
+
- Findings by severity
|
|
199
|
+
|
|
200
|
+
### 7. Append Convergence Tasks (or report converged)
|
|
201
|
+
|
|
202
|
+
**If there are one or more actionable findings** (`tasks_appended` outcome):
|
|
203
|
+
|
|
204
|
+
Append to the **end** of `tasks.md`, per the append contract:
|
|
205
|
+
|
|
206
|
+
1. Scan all existing task IDs; let `M` be the maximum. Determine the next phase number `N`
|
|
207
|
+
(highest existing phase + 1).
|
|
208
|
+
2. Write a single new section header `## Phase N: Convergence`.
|
|
209
|
+
3. Emit one checklist item per actionable finding, ordered CRITICAL/HIGH first, assigning
|
|
210
|
+
zero-padded IDs `T{M+1:03d}, T{M+2:03d}, …`:
|
|
211
|
+
|
|
212
|
+
```markdown
|
|
213
|
+
- [ ] T042 <imperative description> per <source-ref> (<gap-type>)
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
`<source-ref>` traces the task to its origin: e.g. `FR-003`, `SC-002`,
|
|
217
|
+
`US1/AC2`, `plan: storage decision`, `Constitution II`.
|
|
218
|
+
|
|
219
|
+
`<gap-type>` is one of `missing`, `partial`, `contradicts`, `unrequested`.
|
|
220
|
+
|
|
221
|
+
Constitution-violation tasks MUST be emitted first and described as
|
|
222
|
+
`CRITICAL`.
|
|
223
|
+
4. Never reuse or renumber existing IDs. If a prior Convergence phase exists, add a new,
|
|
224
|
+
separately-numbered one below it — do not touch the old one.
|
|
225
|
+
|
|
226
|
+
**If there are no actionable findings** (`converged` outcome):
|
|
227
|
+
|
|
228
|
+
- Do **not** modify `tasks.md` at all — no empty phase header.
|
|
229
|
+
- Report: **"✅ Converged — the implementation satisfies the spec, plan, and tasks."**
|
|
230
|
+
- Include the summary counts of what was checked.
|
|
231
|
+
|
|
232
|
+
### 8. Provide Next Actions (Handoff)
|
|
233
|
+
|
|
234
|
+
- On `tasks_appended`: state how many tasks were appended under which phase, and recommend
|
|
235
|
+
running `/speckit-implement` to complete them; note that a follow-up converge
|
|
236
|
+
run will find fewer or no remaining items.
|
|
237
|
+
- On `converged`: recommend proceeding to review / opening a PR. No further implement pass
|
|
238
|
+
is needed for this feature's specified scope.
|
|
239
|
+
|
|
240
|
+
### 9. Check for extension hooks
|
|
241
|
+
|
|
242
|
+
After producing the result, check if `.specify/extensions.yml` exists in the project root.
|
|
243
|
+
|
|
244
|
+
- If it exists, read it and look for entries under the `hooks.after_converge` key
|
|
245
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
|
|
246
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
247
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
248
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
249
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
250
|
+
- Report the convergence outcome (`converged` or `tasks_appended`) in-session before listing
|
|
251
|
+
any hooks, so users can decide whether to run optional follow-up commands.
|
|
252
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
253
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
254
|
+
- **Optional hook** (`optional: true`):
|
|
255
|
+
|
|
256
|
+
```text
|
|
257
|
+
## Extension Hooks
|
|
258
|
+
|
|
259
|
+
**Optional Hook**: {extension}
|
|
260
|
+
Command: `/{command}`
|
|
261
|
+
Description: {description}
|
|
262
|
+
|
|
263
|
+
Prompt: {prompt}
|
|
264
|
+
To execute: `/{command}`
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
- **Mandatory hook** (`optional: false`):
|
|
268
|
+
|
|
269
|
+
```text
|
|
270
|
+
## Extension Hooks
|
|
271
|
+
|
|
272
|
+
**Automatic Hook**: {extension}
|
|
273
|
+
Executing: `/{command}`
|
|
274
|
+
EXECUTE_COMMAND: {command}
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "speckit-implement"
|
|
3
|
+
description: "Execute the implementation plan by processing and executing all tasks defined in tasks.md"
|
|
4
|
+
argument-hint: "Optional implementation guidance or task filter"
|
|
5
|
+
compatibility: "Requires spec-kit project structure with .specify/ directory"
|
|
6
|
+
metadata:
|
|
7
|
+
author: "github-spec-kit"
|
|
8
|
+
source: "templates/commands/implement.md"
|
|
9
|
+
user-invocable: true
|
|
10
|
+
disable-model-invocation: false
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## User Input
|
|
15
|
+
|
|
16
|
+
```text
|
|
17
|
+
$ARGUMENTS
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
You **MUST** consider the user input before proceeding (if not empty).
|
|
21
|
+
|
|
22
|
+
## Pre-Execution Checks
|
|
23
|
+
|
|
24
|
+
**Check for extension hooks (before implementation)**:
|
|
25
|
+
- Check if `.specify/extensions.yml` exists in the project root.
|
|
26
|
+
- If it exists, read it and look for entries under the `hooks.before_implement` key
|
|
27
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
|
|
28
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
29
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
30
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
31
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
32
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
33
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
34
|
+
- **Optional hook** (`optional: true`):
|
|
35
|
+
```
|
|
36
|
+
## Extension Hooks
|
|
37
|
+
|
|
38
|
+
**Optional Pre-Hook**: {extension}
|
|
39
|
+
Command: `/{command}`
|
|
40
|
+
Description: {description}
|
|
41
|
+
|
|
42
|
+
Prompt: {prompt}
|
|
43
|
+
To execute: `/{command}`
|
|
44
|
+
```
|
|
45
|
+
- **Mandatory hook** (`optional: false`):
|
|
46
|
+
```
|
|
47
|
+
## Extension Hooks
|
|
48
|
+
|
|
49
|
+
**Automatic Pre-Hook**: {extension}
|
|
50
|
+
Executing: `/{command}`
|
|
51
|
+
EXECUTE_COMMAND: {command}
|
|
52
|
+
|
|
53
|
+
Wait for the result of the hook command before proceeding to the Outline.
|
|
54
|
+
```
|
|
55
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
56
|
+
|
|
57
|
+
## Outline
|
|
58
|
+
|
|
59
|
+
1. Run `.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks` from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").
|
|
60
|
+
|
|
61
|
+
2. **Check checklists status** (if FEATURE_DIR/checklists/ exists):
|
|
62
|
+
- Scan all checklist files in the checklists/ directory
|
|
63
|
+
- For each checklist, count:
|
|
64
|
+
- Total items: All lines matching `- [ ]` or `- [X]` or `- [x]`
|
|
65
|
+
- Completed items: Lines matching `- [X]` or `- [x]`
|
|
66
|
+
- Incomplete items: Lines matching `- [ ]`
|
|
67
|
+
- Create a status table:
|
|
68
|
+
|
|
69
|
+
```text
|
|
70
|
+
| Checklist | Total | Completed | Incomplete | Status |
|
|
71
|
+
|-----------|-------|-----------|------------|--------|
|
|
72
|
+
| ux.md | 12 | 12 | 0 | ✓ PASS |
|
|
73
|
+
| test.md | 8 | 5 | 3 | ✗ FAIL |
|
|
74
|
+
| security.md | 6 | 6 | 0 | ✓ PASS |
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
- Calculate overall status:
|
|
78
|
+
- **PASS**: All checklists have 0 incomplete items
|
|
79
|
+
- **FAIL**: One or more checklists have incomplete items
|
|
80
|
+
|
|
81
|
+
- **If any checklist is incomplete**:
|
|
82
|
+
- Display the table with incomplete item counts
|
|
83
|
+
- **STOP** and ask: "Some checklists are incomplete. Do you want to proceed with implementation anyway? (yes/no)"
|
|
84
|
+
- Wait for user response before continuing
|
|
85
|
+
- If user says "no" or "wait" or "stop", halt execution
|
|
86
|
+
- If user says "yes" or "proceed" or "continue", proceed to step 3
|
|
87
|
+
|
|
88
|
+
- **If all checklists are complete**:
|
|
89
|
+
- Display the table showing all checklists passed
|
|
90
|
+
- Automatically proceed to step 3
|
|
91
|
+
|
|
92
|
+
3. Load and analyze the implementation context:
|
|
93
|
+
- **REQUIRED**: Read tasks.md for the complete task list and execution plan
|
|
94
|
+
- **REQUIRED**: Read plan.md for tech stack, architecture, and file structure
|
|
95
|
+
- **IF EXISTS**: Read data-model.md for entities and relationships
|
|
96
|
+
- **IF EXISTS**: Read contracts/ for API specifications and test requirements
|
|
97
|
+
- **IF EXISTS**: Read research.md for technical decisions and constraints
|
|
98
|
+
- **IF EXISTS**: Read .specify/memory/constitution.md for governance constraints
|
|
99
|
+
- **IF EXISTS**: Read quickstart.md for integration scenarios
|
|
100
|
+
|
|
101
|
+
4. **Project Setup Verification**:
|
|
102
|
+
- **REQUIRED**: Create/verify ignore files based on actual project setup:
|
|
103
|
+
|
|
104
|
+
**Detection & Creation Logic**:
|
|
105
|
+
- Check if the following command succeeds to determine if the repository is a git repo (create/verify .gitignore if so):
|
|
106
|
+
|
|
107
|
+
```sh
|
|
108
|
+
git rev-parse --git-dir 2>/dev/null
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
- Check if Dockerfile* exists or Docker in plan.md → create/verify .dockerignore
|
|
112
|
+
- Check if .eslintrc* exists → create/verify .eslintignore
|
|
113
|
+
- Check if eslint.config.* exists → ensure the config's `ignores` entries cover required patterns
|
|
114
|
+
- Check if .prettierrc* exists → create/verify .prettierignore
|
|
115
|
+
- Check if .npmrc or package.json exists → create/verify .npmignore (if publishing)
|
|
116
|
+
- Check if terraform files (*.tf) exist → create/verify .terraformignore
|
|
117
|
+
- Check if .helmignore needed (helm charts present) → create/verify .helmignore
|
|
118
|
+
|
|
119
|
+
**If ignore file already exists**: Verify it contains essential patterns, append missing critical patterns only
|
|
120
|
+
**If ignore file missing**: Create with full pattern set for detected technology
|
|
121
|
+
|
|
122
|
+
**Common Patterns by Technology** (from plan.md tech stack):
|
|
123
|
+
- **Node.js/JavaScript/TypeScript**: `node_modules/`, `dist/`, `build/`, `*.log`, `.env*`
|
|
124
|
+
- **Python**: `__pycache__/`, `*.pyc`, `.venv/`, `venv/`, `dist/`, `*.egg-info/`
|
|
125
|
+
- **Java**: `target/`, `*.class`, `*.jar`, `.gradle/`, `build/`
|
|
126
|
+
- **C#/.NET**: `bin/`, `obj/`, `*.user`, `*.suo`, `packages/`
|
|
127
|
+
- **Go**: `*.exe`, `*.test`, `vendor/`, `*.out`
|
|
128
|
+
- **Ruby**: `.bundle/`, `log/`, `tmp/`, `*.gem`, `vendor/bundle/`
|
|
129
|
+
- **PHP**: `vendor/`, `*.log`, `*.cache`, `*.env`
|
|
130
|
+
- **Rust**: `target/`, `debug/`, `release/`, `*.rs.bk`, `*.rlib`, `*.prof*`, `.idea/`, `*.log`, `.env*`
|
|
131
|
+
- **Kotlin**: `build/`, `out/`, `.gradle/`, `.idea/`, `*.class`, `*.jar`, `*.iml`, `*.log`, `.env*`
|
|
132
|
+
- **C++**: `build/`, `bin/`, `obj/`, `out/`, `*.o`, `*.so`, `*.a`, `*.exe`, `*.dll`, `.idea/`, `*.log`, `.env*`
|
|
133
|
+
- **C**: `build/`, `bin/`, `obj/`, `out/`, `*.o`, `*.a`, `*.so`, `*.exe`, `*.dll`, `autom4te.cache/`, `config.status`, `config.log`, `.idea/`, `*.log`, `.env*`
|
|
134
|
+
- **Swift**: `.build/`, `DerivedData/`, `*.swiftpm/`, `Packages/`
|
|
135
|
+
- **R**: `.Rproj.user/`, `.Rhistory`, `.RData`, `.Ruserdata`, `*.Rproj`, `packrat/`, `renv/`
|
|
136
|
+
- **Universal**: `.DS_Store`, `Thumbs.db`, `*.tmp`, `*.swp`, `.vscode/`, `.idea/`
|
|
137
|
+
|
|
138
|
+
**Tool-Specific Patterns**:
|
|
139
|
+
- **Docker**: `node_modules/`, `.git/`, `Dockerfile*`, `.dockerignore`, `*.log*`, `.env*`, `coverage/`
|
|
140
|
+
- **ESLint**: `node_modules/`, `dist/`, `build/`, `coverage/`, `*.min.js`
|
|
141
|
+
- **Prettier**: `node_modules/`, `dist/`, `build/`, `coverage/`, `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`
|
|
142
|
+
- **Terraform**: `.terraform/`, `*.tfstate*`, `*.tfvars`, `.terraform.lock.hcl`
|
|
143
|
+
- **Kubernetes/k8s**: `*.secret.yaml`, `secrets/`, `.kube/`, `kubeconfig*`, `*.key`, `*.crt`
|
|
144
|
+
|
|
145
|
+
5. Parse tasks.md structure and extract:
|
|
146
|
+
- **Task phases**: Setup, Tests, Core, Integration, Polish
|
|
147
|
+
- **Task dependencies**: Sequential vs parallel execution rules
|
|
148
|
+
- **Task details**: ID, description, file paths, parallel markers [P]
|
|
149
|
+
- **Execution flow**: Order and dependency requirements
|
|
150
|
+
|
|
151
|
+
6. Execute implementation following the task plan:
|
|
152
|
+
- **Phase-by-phase execution**: Complete each phase before moving to the next
|
|
153
|
+
- **Respect dependencies**: Run sequential tasks in order, parallel tasks [P] can run together
|
|
154
|
+
- **Follow TDD approach**: Execute test tasks before their corresponding implementation tasks
|
|
155
|
+
- **File-based coordination**: Tasks affecting the same files must run sequentially
|
|
156
|
+
- **Validation checkpoints**: Verify each phase completion before proceeding
|
|
157
|
+
|
|
158
|
+
7. Implementation execution rules:
|
|
159
|
+
- **Setup first**: Initialize project structure, dependencies, configuration
|
|
160
|
+
- **Tests before code**: If you need to write tests for contracts, entities, and integration scenarios
|
|
161
|
+
- **Core development**: Implement models, services, CLI commands, endpoints
|
|
162
|
+
- **Integration work**: Database connections, middleware, logging, external services
|
|
163
|
+
- **Polish and validation**: Unit tests, performance optimization, documentation
|
|
164
|
+
|
|
165
|
+
8. Progress tracking and error handling:
|
|
166
|
+
- Report progress after each completed task
|
|
167
|
+
- Halt execution if any non-parallel task fails
|
|
168
|
+
- For parallel tasks [P], continue with successful tasks, report failed ones
|
|
169
|
+
- Provide clear error messages with context for debugging
|
|
170
|
+
- Suggest next steps if implementation cannot proceed
|
|
171
|
+
- **IMPORTANT** For completed tasks, make sure to mark the task off as [X] in the tasks file.
|
|
172
|
+
|
|
173
|
+
9. Completion validation:
|
|
174
|
+
- Verify all required tasks are completed
|
|
175
|
+
- Check that implemented features match the original specification
|
|
176
|
+
- Validate that tests pass and coverage meets requirements
|
|
177
|
+
- Confirm the implementation follows the technical plan
|
|
178
|
+
|
|
179
|
+
Note: This command assumes a complete task breakdown exists in tasks.md. If tasks are incomplete or missing, suggest running `/speckit-tasks` first to regenerate the task list.
|
|
180
|
+
|
|
181
|
+
## Mandatory Post-Execution Hooks
|
|
182
|
+
|
|
183
|
+
**You MUST complete this section before reporting completion to the user.**
|
|
184
|
+
|
|
185
|
+
Check if `.specify/extensions.yml` exists in the project root.
|
|
186
|
+
- If it does not exist, or no hooks are registered under `hooks.after_implement`, skip to the Completion Report.
|
|
187
|
+
- If it exists, read it and look for entries under the `hooks.after_implement` key.
|
|
188
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue to the Completion Report.
|
|
189
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
190
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
191
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
192
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
193
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
194
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
195
|
+
- **Mandatory hook** (`optional: false`) — **You MUST emit `EXECUTE_COMMAND:` for each mandatory hook**:
|
|
196
|
+
```
|
|
197
|
+
## Extension Hooks
|
|
198
|
+
|
|
199
|
+
**Automatic Hook**: {extension}
|
|
200
|
+
Executing: `/{command}`
|
|
201
|
+
EXECUTE_COMMAND: {command}
|
|
202
|
+
```
|
|
203
|
+
- **Optional hook** (`optional: true`):
|
|
204
|
+
```
|
|
205
|
+
## Extension Hooks
|
|
206
|
+
|
|
207
|
+
**Optional Hook**: {extension}
|
|
208
|
+
Command: `/{command}`
|
|
209
|
+
Description: {description}
|
|
210
|
+
|
|
211
|
+
Prompt: {prompt}
|
|
212
|
+
To execute: `/{command}`
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
## Completion Report
|
|
216
|
+
|
|
217
|
+
Report final status with summary of completed work.
|
|
218
|
+
|
|
219
|
+
## Done When
|
|
220
|
+
|
|
221
|
+
- [ ] All tasks in tasks.md completed and marked `[X]`
|
|
222
|
+
- [ ] Implementation validated against specification, plan, and test coverage
|
|
223
|
+
- [ ] Extension hooks dispatched or skipped according to the rules in Mandatory Post-Execution Hooks above
|
|
224
|
+
- [ ] Completion reported to user with summary of completed work
|