Preserve incomplete workflow coverage

This commit is contained in:
Wayner Barrios
2026-07-27 15:08:31 -04:00
parent a3714c09a5
commit 5f6f2e2531
2 changed files with 10 additions and 1 deletions
+4 -1
View File
@@ -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
+6
View File
@@ -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);