specflow-cc 1.11.0 → 1.11.1
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/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@ All notable changes to SpecFlow will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.11.1] - 2026-02-10
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **Orchestrator premature state advancement** — executor agents could advance STATE.md beyond "review", skipping the review step entirely
|
|
13
|
+
- After `/sf:run` completion, the orchestrator would sometimes perform `/sf:done` logic (moving spec to Completed, activating next spec)
|
|
14
|
+
- Root cause: vague instructions in STATE.md update step allowed LLM agents to over-interpret "update STATE.md"
|
|
15
|
+
- Added explicit boundary instructions ("DO NOT move to Completed, DO NOT activate next spec") to all three executor agents
|
|
16
|
+
- Added post-execution state verification guard in `/sf:run` command handler
|
|
17
|
+
- Affected files: `sf-spec-executor-orchestrator.md`, `spec-executor-orchestrator.md`, `spec-executor.md`, `run.md`
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
8
21
|
## [1.11.0] - 2026-02-06
|
|
9
22
|
|
|
10
23
|
### Added
|
package/README.md
CHANGED
|
@@ -385,9 +385,17 @@ Append Execution Summary to specification:
|
|
|
385
385
|
|
|
386
386
|
## Step 8: Update STATE.md
|
|
387
387
|
|
|
388
|
+
Update ONLY the Current Position section:
|
|
388
389
|
- Status → "review"
|
|
389
390
|
- Next Step → "/sf:review"
|
|
390
391
|
|
|
392
|
+
**CRITICAL — DO NOT go beyond this:**
|
|
393
|
+
- Do NOT move the spec to Completed Specifications table
|
|
394
|
+
- Do NOT remove the spec from Queue table
|
|
395
|
+
- Do NOT activate the next specification in the queue
|
|
396
|
+
- Do NOT archive the spec file
|
|
397
|
+
- These actions belong to `/sf:done`, not to execution
|
|
398
|
+
|
|
391
399
|
</process>
|
|
392
400
|
|
|
393
401
|
<output>
|
|
@@ -687,10 +687,18 @@ rm .specflow/execution/SPEC-XXX-state.json
|
|
|
687
687
|
|
|
688
688
|
## Step 7: Update STATE.md
|
|
689
689
|
|
|
690
|
-
|
|
691
|
-
-
|
|
690
|
+
Update ONLY the Current Position section:
|
|
691
|
+
- Status → "review"
|
|
692
|
+
- Next Step → "/sf:review"
|
|
692
693
|
- Remove or update Execution Status row
|
|
693
694
|
|
|
695
|
+
**CRITICAL — DO NOT go beyond this:**
|
|
696
|
+
- Do NOT move the spec to Completed Specifications table
|
|
697
|
+
- Do NOT remove the spec from Queue table
|
|
698
|
+
- Do NOT activate the next specification in the queue
|
|
699
|
+
- Do NOT archive the spec file
|
|
700
|
+
- These actions belong to `/sf:done`, not to execution
|
|
701
|
+
|
|
694
702
|
</process>
|
|
695
703
|
|
|
696
704
|
<output>
|
package/agents/spec-executor.md
CHANGED
|
@@ -233,9 +233,17 @@ Append to specification:
|
|
|
233
233
|
|
|
234
234
|
## Step 9: Update STATE.md
|
|
235
235
|
|
|
236
|
+
Update ONLY the Current Position section:
|
|
236
237
|
- Status → "review"
|
|
237
238
|
- Next Step → "/sf:review"
|
|
238
239
|
|
|
240
|
+
**CRITICAL — DO NOT go beyond this:**
|
|
241
|
+
- Do NOT move the spec to Completed Specifications table
|
|
242
|
+
- Do NOT remove the spec from Queue table
|
|
243
|
+
- Do NOT activate the next specification in the queue
|
|
244
|
+
- Do NOT archive the spec file
|
|
245
|
+
- These actions belong to `/sf:done`, not to execution
|
|
246
|
+
|
|
239
247
|
</process>
|
|
240
248
|
|
|
241
249
|
<output>
|
package/commands/sf/run.md
CHANGED
|
@@ -239,7 +239,13 @@ The agent will:
|
|
|
239
239
|
2. Create atomic commits
|
|
240
240
|
3. Handle deviations
|
|
241
241
|
4. Add Execution Summary to spec
|
|
242
|
-
5. Update STATE.md to "review"
|
|
242
|
+
5. Update STATE.md status to "review"
|
|
243
|
+
|
|
244
|
+
**After agent returns, verify STATE.md is correct:**
|
|
245
|
+
- Active Specification must still be the SAME spec (not advanced to next)
|
|
246
|
+
- Status must be "review" (not "done" or "draft")
|
|
247
|
+
- Spec must still be in Queue (not moved to Completed)
|
|
248
|
+
- If agent over-advanced the state, revert to: active=SPEC-XXX, status=review, next=/sf:review
|
|
243
249
|
|
|
244
250
|
## Step 9.5: Check STATE.md Size and Rotate if Needed
|
|
245
251
|
|