Статус: COMPLETED
Структурированная сводка для этой задачи не записана. Показан сохранённый результат без изменений.
I found and fixed the cause, the regression tests pass, and LIT-007 is now READY. The live dispatcher hasn't claimed it yet: it can't start a new cycle until this task (60) finishes. LIT-007 is the only task its ready query returns, so it should be claimed on the next cycle.
Root cause: LIT-007 was added to roadmap item LIT-DRYRUN, which was marked DONE on Oct 4. reconcile_approved (control_plane/runtime.py) never releases approved tasks in DONE items. The supervisor holds them too, as ROADMAP_STOPPED. So Andrey's approval was silently ignored and the task stayed PLANNED with no error. There was also no supported way to approve a task: the console page says "approve through the existing approval workflow", but no such route existed.
Fix:
runtime.reconcile_approved: a DONE item now counts as "earlier work finished". If a task's approval was given after the item was closed, the item is reopened to ACTIVE, a ROADMAP_ITEM_REOPENED event is recorded, and the task is released as before. Fail-closed cases stay held: BLOCKED/CANCELLED items, approvals older than the closure, unapproved tasks, and inactive projects. Dependencies, owner checkpoints, the verification contract and retries are still enforced at claim time, unchanged.runtime.approve_task and POST /tasks/{id}/approve console route: this is the supported approval path. It requires confirmation and an actor name, only accepts PLANNED tasks with no live execution, records an OWNER_TASK_APPROVED event, and releases the task straight away..venv, so the acceptance check could never run. I installed it. Then one existing test failed only under the service environment (AI_FACTORY_MAX_ATTEMPTS=8), because claim() fixed its default when the module loaded. It now reads the limit when called, and the tests pin it to 5.Tests:
Activating LIT-007: I ran the dispatcher's own reconcile step, prepare_dependencies('LIT-CONSOLE'), which used Andrey's existing approval. I made no direct status edits and did not re-approve on their behalf. The event trail shows ROADMAP_ITEM_REOPENED → APPROVED_TASK_RELEASED → TASK_READY. LIT-007 passes every claim check: project active, no dependencies, no live execution, executor deepseek valid, verification contract OK.
For you:
/approve route.cycle() waits for a whole batch, one long task holds back every READY task. That's why LIT-007 has to wait for this one. I left it unchanged as out of scope./home/iovon/ai-factory has no git history, so nothing was committed. The changes are in `co[truncated]
Ожидает вашего решения: принять, вернуть на доработку или отложить.