mirror of
https://github.com/waybarrios/opencode-power-pack.git
synced 2026-11-18 18:03:43 +00:00
Preserve incomplete workflow coverage
This commit is contained in:
@@ -47,6 +47,8 @@ Require each child response to start with `Status: complete | partial | blocked`
|
||||
|
||||
Maintain a coverage ledger containing assignment, focus, status (`pending | valid | blocked | failed | local-fallback`), dispatch count, resume count, retry count, evidence received, uncovered items, and fallback action.
|
||||
|
||||
Any uncovered scope must remain non-valid until recovered or completed through parent fallback. Never convert missing coverage into a valid result; carry any unresolved coverage into the final summary.
|
||||
|
||||
Use this recovery order:
|
||||
|
||||
1. Dispatch independent assignments in parallel.
|
||||
@@ -145,9 +147,10 @@ Goal: Ensure the code is simple, DRY, elegant, readable, and correct.
|
||||
|
||||
Goal: Document what was accomplished.
|
||||
|
||||
1. Mark all todos complete.
|
||||
1. Mark only completed todos complete; leave todos tied to unresolved coverage incomplete.
|
||||
2. Summarize:
|
||||
- What was built
|
||||
- Key decisions made
|
||||
- Files modified
|
||||
- Unresolved coverage and its impact
|
||||
- Suggested next steps
|
||||
|
||||
@@ -42,6 +42,12 @@ test("feature-dev captures the complete before-state before implementation", ()
|
||||
assert.match(feature, /implementation delta/i);
|
||||
});
|
||||
|
||||
test("feature-dev never converts missing coverage into a clean result", () => {
|
||||
assert.match(feature, /uncovered scope.*remain.*non-valid.*recovered.*parent fallback/is);
|
||||
assert.match(feature, /unresolved coverage.*final summary/is);
|
||||
assert.doesNotMatch(feature, /mark all todos complete/i);
|
||||
});
|
||||
|
||||
test("explorer and architect implement the feature-dev handoff", () => {
|
||||
for (const [name, skill] of [["code-explorer", explorer], ["code-architect", architect]]) {
|
||||
assert.match(skill, /Feature-dev handoff contract/i, name);
|
||||
|
||||
Reference in New Issue
Block a user