dev-flow-deepseek 0.8.7 → 0.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -20
- package/lib/authorization.mjs +15 -1
- package/lib/index.mjs +10 -5
- package/lib/provisioning-receipt.mjs +163 -0
- package/lib/tool-names.mjs +2 -0
- package/lib/workspace-coordinator.mjs +625 -0
- package/lib/workspace-tool.mjs +118 -0
- package/package.json +4 -1
- package/runtime/darwin-arm64/dev-flow +0 -0
- package/runtime/win32-x64/dev-flow.exe +0 -0
- package/skills/dev-flow/SKILL.md +272 -104
- package/skills/dev-flow/references/method-profiles.md +5 -4
- package/skills/dev-flow/references/node-payloads.md +31 -18
|
@@ -75,18 +75,19 @@ only when actually visible and appropriate to the current authorized artifacts.
|
|
|
75
75
|
| `tasks.decompose` | Decompose the current design into bounded, ordered work items. | Create bounded items with dependencies and expected paths. | `speckit-tasks`. | Revise proposal task artifacts through visible `openspec-propose`. | Current bounded task plan. |
|
|
76
76
|
| `tasks.map_acceptance` | Map every current acceptance criterion to work and verification. | Record acceptance-to-work and verification traceability. | `speckit-tasks`. | Review delta specifications and tasks through visible `openspec-propose`. | Acceptance traceability. |
|
|
77
77
|
| `tasks.analyze_consistency` | Check requirements, design, and tasks for gaps or contradictions. | Perform a direct cross-artifact consistency review. | `speckit-analyze`. | `openspec-validate` plus direct consistency review. | No unresolved blocking consistency gap, or exact findings. |
|
|
78
|
+
| `tasks.plan_verification` | Set initial verification effort after scope, impact, work, and existing tests are understood. | Record intended checks and rationales, expected automatic commands, full-suite expectation, and test-code expectation. | Direct Task Plan work after `speckit-tasks`; no separate capability. | Revise proposal task artifacts through visible `openspec-propose`. | Current `verification_plan` inside the Task Plan baseline. |
|
|
78
79
|
| `implementation.execute_plan` | Execute only the work authorized by the current task plan. | Implement the current authorized slice. | `speckit-implement`. | `openspec-apply`. | Implemented current work slice. |
|
|
79
|
-
| `implementation.record_surface` |
|
|
80
|
+
| `implementation.record_surface` | Reconcile the implementation summary with Core's observed Task surface. | Review the actual worktree state and summarize deviations; Core computes paths. | Direct implementation result; no mandatory capability. | Direct apply result; no mandatory capability. | Implementation summary aligned with the observed Task surface. |
|
|
80
81
|
| `implementation.classify_deviations` | Classify deviations as requirement, design, or complexity concerns. | Record the exact concern and route it through Core facts. | Direct classification; amend active artifacts before continuing when semantics change. | Direct classification and current change-artifact update. | Exact deviations and findings. |
|
|
81
|
-
| `test.run_budgeted_checks` |
|
|
82
|
-
| `test.record_evidence` | Record actual evidence
|
|
82
|
+
| `test.run_budgeted_checks` | Choose the closest necessary checks and adjust insufficient capacity before extra commands run. | Recheck scope before every command; use a justified TEST self-transition before exceeding budget and reassess every full suite. | Direct plan-defined checks; no mandatory Spec Kit capability. | Use `openspec-verify` only when visible and justified; otherwise run plan-defined checks. | Actual bounded result or a recorded pre-run budget increase. |
|
|
83
|
+
| `test.record_evidence` | Record actual evidence or the exact pre-run budget adjustment. | Record actual sources and statuses; full suites include the current reason, while an adjustment records its basis, checks, increment, and reason. | Direct evidence recording; no mandatory capability. | Direct evidence recording; no mandatory capability. | Current evidence summary or budget-adjustment record. |
|
|
83
84
|
| `test.classify_failure` | Classify failures as implementation, design, or requirement problems. | Classify current failures from observed facts. | Direct classification; no mandatory capability. | Direct classification; no mandatory capability. | Exact failure class and findings. |
|
|
84
85
|
| `comprehension.explain` | Explain current behavior, design, and code paths in developer-readable terms. | Present a bounded explanation to the developer. | Direct review; no Spec Kit command owns the verdict. | Direct review; no OpenSpec command owns the verdict. | Developer-readable explanation. |
|
|
85
86
|
| `comprehension.identify_complexity` | Identify unnecessary abstractions and maintenance risks. | List concrete complexity and maintenance concerns. | Direct review; no mandatory capability. | Direct review; no mandatory capability. | Exact abstraction and risk findings. |
|
|
86
87
|
| `comprehension.obtain_user_verdict` | Obtain the developer's explicit understanding or remediation verdict. | Ask the developer and wait for an explicit answer. | Direct user interaction; no Spec Kit capability can answer. | Direct user interaction; no OpenSpec capability can answer. | Explicit current user verdict. |
|
|
87
88
|
| `refactor.simplify` | Remove unnecessary complexity within the approved behavior boundary. | Perform the bounded simplification. | `speckit-implement` only after affected artifacts and tasks are current. | Update change artifacts as needed, then use visible `openspec-apply`. | Bounded simplification. |
|
|
88
89
|
| `refactor.reconcile_artifacts` | Reconcile affected process artifacts with the simplification. | Amend only artifacts affected by the simplification. | Use visible `speckit-clarify`, `speckit-plan`, `speckit-tasks`, or `speckit-analyze` only as needed. | Revise proposal/design/spec/task artifacts through visible `openspec-propose` as needed. | Current affected artifacts. |
|
|
89
|
-
| `refactor.record_surface` |
|
|
90
|
+
| `refactor.record_surface` | Reconcile simplifications with Core's observed Task surface. | Record simplifications and deviations; Core computes paths. | Direct refactor result; no mandatory capability. | Direct apply result; no mandatory capability. | Refactor summary aligned with the observed Task surface. |
|
|
90
91
|
| `delivery.reconcile_acceptance` | Map the latest acceptance criteria to current test and comprehension evidence. | Reconcile every current criterion with current evidence. | `speckit-analyze` or direct final consistency review. | Use visible `openspec-verify` and/or `openspec-validate` as appropriate. | Current acceptance/evidence mapping. |
|
|
91
92
|
| `delivery.reconcile_method_artifacts` | Reconcile method artifacts with delivered behavior. | Ensure current process artifacts describe the delivered behavior. | Direct status reconciliation; `speckit-converge` may be used only when available and appropriate. | Use visible `openspec-sync` and/or `openspec-archive` only when appropriate. | Current reconciled or archived change artifacts. |
|
|
92
93
|
| `delivery.prepare_summary` | Prepare a bounded delivery summary and remaining risks. | Write the final bounded summary and risks. | Direct summary; no mandatory capability. | Direct summary; no mandatory capability. | Delivery summary and remaining risks. |
|
|
@@ -47,33 +47,48 @@ For a file-scope blocker, `dev_flow_resolve_blocker` also requires `choice` (`al
|
|
|
47
47
|
`expand_scope`, or `reject`) and a non-empty `reason`. Omit both members for repository-recovery and
|
|
48
48
|
automatic-verification blockers.
|
|
49
49
|
|
|
50
|
+
For `task_relocation_pending`, provide the retained `relocation_id` and every
|
|
51
|
+
`relocation_destinations[{key,repository_path}]`. For `workspace_history_conflict`, provide
|
|
52
|
+
`history_resolution` with exactly `choice="accept_current_history"` and a non-empty `reason` after
|
|
53
|
+
explicit review. File-scope, relocation, and history members are mutually exclusive; use only the
|
|
54
|
+
branch selected by the current blocker and live schema.
|
|
55
|
+
|
|
50
56
|
## Node-result members
|
|
51
57
|
|
|
52
58
|
Use the live tool schema for types and nested members. These are the closed top-level members:
|
|
53
59
|
|
|
54
60
|
| Submission tool | Required `node_result` members |
|
|
55
61
|
| --- | --- |
|
|
56
|
-
| Requirements | `problem_class`, `baseline`, `unresolved_questions
|
|
57
|
-
| Design | `problem_class`, `baseline`, `findings
|
|
58
|
-
| Tasks | `problem_class`, `baseline`, `findings
|
|
59
|
-
| Implementation | `problem_class`, `completed_work_item_ids`, `
|
|
60
|
-
| Test | `problem_class`, `checks`, `failed_items`, `unverified_items`, `manual_handoff_items`, `findings`, `
|
|
61
|
-
| Comprehension | `problem_class`, `explained_components`, `unresolved_questions`, `unnecessary_abstractions`, `maintenance_risks`, `user_confirmation`, `findings
|
|
62
|
-
| Refactor | `problem_class`, `
|
|
63
|
-
| Delivery | `problem_class`, `unverified_items`, `risks`, `findings
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
`<repository-key>::<repository-relative-path>`. Contract paths use `/` separators on every Host;
|
|
68
|
-
backslashes are invalid even on Windows.
|
|
62
|
+
| Requirements | `problem_class`, `baseline`, `unresolved_questions` |
|
|
63
|
+
| Design | `problem_class`, `baseline`, `findings` |
|
|
64
|
+
| Tasks | `problem_class`, `baseline`, `findings` |
|
|
65
|
+
| Implementation | `problem_class`, `completed_work_item_ids`, `deviations`, `findings` |
|
|
66
|
+
| Test | `problem_class`, `checks`, `failed_items`, `unverified_items`, `manual_handoff_items`, `findings`, `budget_adjustment` |
|
|
67
|
+
| Comprehension | `problem_class`, `explained_components`, `unresolved_questions`, `unnecessary_abstractions`, `maintenance_risks`, `user_confirmation`, `findings` |
|
|
68
|
+
| Refactor | `problem_class`, `simplifications`, `behavior_change_intended`, `findings` |
|
|
69
|
+
| Delivery | `problem_class`, `unverified_items`, `risks`, `findings` |
|
|
70
|
+
|
|
71
|
+
The Host never submits file-effect fields. Core observes the dedicated worktree before applying an
|
|
72
|
+
Action and computes the Action delta and current Task surface from Git facts.
|
|
69
73
|
|
|
70
74
|
Delivery submissions never send `acceptance`, `automated_evidence_ids`, `manual_evidence_ids`,
|
|
71
75
|
`test_record_id`, or `comprehension_record_id`. Core derives those authority members from the current
|
|
72
76
|
Requirements, Test, Comprehension, and Evidence records before canonical validation and Recovery
|
|
73
77
|
retention. A submission containing any of those members violates the closed contract.
|
|
74
78
|
|
|
75
|
-
|
|
76
|
-
`
|
|
79
|
+
The Tasks baseline contains `work_items` plus `verification_plan`. The plan contains `checks[]` with
|
|
80
|
+
`name` and `rationale`, `initial_budget`, `full_suite_expected`, and
|
|
81
|
+
`test_code_changes_expected`. Core fills only `design_revision`.
|
|
82
|
+
|
|
83
|
+
Every Test submission includes `budget_adjustment`. Normal pass/failure transitions send `null`.
|
|
84
|
+
`verification_budget_increased` sends a closed adjustment with `basis`, `additional_checks`,
|
|
85
|
+
`additional_automatic_commands`, `allow_full_suite`, and `allow_manual_handoff`; all check and result
|
|
86
|
+
lists stay empty and the transition reason gives the concrete need. Every check includes
|
|
87
|
+
`full_suite_reason`: it is empty unless `full_suite=true`, in which case it records the current
|
|
88
|
+
suite-specific risk.
|
|
89
|
+
|
|
90
|
+
Completed developer-run verification is a `source="user"` check with `command_count=0`,
|
|
91
|
+
`full_suite=false`, and `full_suite_reason=""`. Put only work nobody has run yet in `manual_handoff_items`.
|
|
77
92
|
|
|
78
93
|
## Requirements example
|
|
79
94
|
|
|
@@ -104,9 +119,7 @@ Completed developer-run verification is a `source="user"` check with `command_co
|
|
|
104
119
|
"constraints": [],
|
|
105
120
|
"assumptions": []
|
|
106
121
|
},
|
|
107
|
-
"unresolved_questions": []
|
|
108
|
-
"changed_paths": [],
|
|
109
|
-
"no_file_changes": true
|
|
122
|
+
"unresolved_questions": []
|
|
110
123
|
}
|
|
111
124
|
}
|
|
112
125
|
```
|