specsmd 0.0.0-dev.69 → 0.0.0-dev.70
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.
|
@@ -31,6 +31,45 @@ Supports both single-item and multi-item (batch/wide) runs.
|
|
|
31
31
|
- Batch of work items passed from run-plan
|
|
32
32
|
</triggers>
|
|
33
33
|
|
|
34
|
+
<resume_detection critical="true">
|
|
35
|
+
Before starting execution, check if resuming an interrupted run:
|
|
36
|
+
|
|
37
|
+
<step n="0" title="Check for Active Run">
|
|
38
|
+
<action>Check state.yaml for active_run</action>
|
|
39
|
+
|
|
40
|
+
<check if="no active_run">
|
|
41
|
+
<goto step="1">No active run, start fresh</goto>
|
|
42
|
+
</check>
|
|
43
|
+
|
|
44
|
+
<check if="active_run exists">
|
|
45
|
+
<action>Load run state from .specs-fire/runs/{active_run.id}/run.md</action>
|
|
46
|
+
<action>Get current_item and its status from state.yaml</action>
|
|
47
|
+
<action>Check for existing artifacts and LOAD if present:</action>
|
|
48
|
+
|
|
49
|
+
<substep>design.md → if exists, LOAD from .specs-fire/intents/{intent}/work-items/{id}-design.md</substep>
|
|
50
|
+
<substep>plan.md → if exists, LOAD from .specs-fire/runs/{run-id}/plan.md (skip plan generation)</substep>
|
|
51
|
+
<substep>test-report.md → if exists, tests already passed (skip to Step 6b)</substep>
|
|
52
|
+
<substep>review-report.md → if exists, review done (skip to Step 7)</substep>
|
|
53
|
+
|
|
54
|
+
<determine_resume_point>
|
|
55
|
+
| Artifacts Present | Resume At |
|
|
56
|
+
|-------------------|-----------|
|
|
57
|
+
| None | Step 3 (Generate Plan) |
|
|
58
|
+
| plan.md only | Step 5 (Implementation) |
|
|
59
|
+
| plan.md + test-report.md | Step 6b (Code Review) |
|
|
60
|
+
| plan.md + test-report.md + review-report.md | Step 7 (Complete Item) |
|
|
61
|
+
</determine_resume_point>
|
|
62
|
+
|
|
63
|
+
<output>
|
|
64
|
+
Resuming run {run-id} for work item {current_item}.
|
|
65
|
+
Mode: {mode}
|
|
66
|
+
Loaded existing artifacts: {artifact_list}
|
|
67
|
+
Resuming at: Step {step_number}
|
|
68
|
+
</output>
|
|
69
|
+
</check>
|
|
70
|
+
</step>
|
|
71
|
+
</resume_detection>
|
|
72
|
+
|
|
34
73
|
<degrees_of_freedom>
|
|
35
74
|
Varies by mode:
|
|
36
75
|
- **Autopilot**: LOW — Execute standard patterns decisively
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specsmd",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.70",
|
|
4
4
|
"description": "Multi-agent orchestration system for AI-native software development. Delivers AI-DLC, Agile, and custom SDLC flows as markdown-based agent systems.",
|
|
5
5
|
"main": "lib/installer.js",
|
|
6
6
|
"bin": {
|