[P2][workflow] Revalidate dependency evidence before loop terminal outcomes #39
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Creatidy/model-intelligence#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Extend MI
/loopwith evidence-based dependency-chain tracing and explicit nonterminal recovery narration without changing MI's repository-local workflow boundaries.Why
MI already refreshes its own issue queue and returns a proven untouched prerequisite/producer/contract gate to fresh
SELECT(#29). Currentdevelopstill evaluates explicit dependencies directly; it does not trace backward to the earliest executable predecessor, defineUNVERIFIEDdependency evidence, or state that technical-recovery progress narration must not hand control back to the owner. Scarcity Router issue #202 and merged PR #203 establish the current precedent.Scope
Update
.kilo/command/loop.md,.kilo/rules/10-task-system.md, applicable rule 50 recovery guidance, and semantic guards intests/test_workflow_contract.py. Keep dependency evaluation limited to canonical MI issue/producer evidence relevant to the current/loopqueue.Acceptance Criteria
WAITor terminal decision (BLOCKED,STOP_AND_ASK,QUEUE_EMPTY), refresh canonical dependency and producer-contract evidence; traverse explicit edges backward to the earliest executable predecessor. A gated candidate does not block another eligible MI issue.UNVERIFIED, not readiness and not a proven gate/blocker. Do not claim an empty queue from unknown evidence; name the precise evidence gap and follow existing bounded recovery/terminal rules.#29pre-implementation re-selection/history behavior, explicit/loopfull-queue authority, standalone selected-issue/PR scope, the review ceiling, reviewer independence, secret safety, and merge authority.Constraints
Workflow-only. No MI product selection/calibration/data changes, live inference, new dependencies/services, cross-repository mutation, or Router-specific model/security requirements. Existing acceptance, reviewer, validation, and authority gates remain unchanged.
Links
Implemented and pushed the workflow-only change in PR #40: #40. Base/merge base:
e77f7ae13132c9c202c4cf878bb0e42f2f29680d; head:4d189895a497a3d507c19cd58d08ec8ed637ec55. The change adds backward tracing of explicit MI dependency evidence,UNVERIFIEDhandling, MI-scoped queue-empty requirements, and nonterminal recovery continuation, with six offline semantic guards. Focused workflow tests: 22 passed. Sanitized offlinemake check: PASS (178 tests, lint/format, basedpyright, locked sync, whitespace). The tests guard declarative workflow text, not live/loopexecution. Issue remains open; PR is open and unmerged.