Add owner-authorized repository-local issue delivery loop #22

Merged
adrian.tkacz merged 2 commits from issue-21-autonomous-loop into develop 2026-10-05 08:40:18 +00:00
Member

Refs #21

Adds /loop with the invoking primary context as sole orchestrator, reusing implement-issue/finish-pr and unchanged review-pr/pr-reviewer. No controller service, product code, dependency, alternate checkout or architecture change.

Selection refreshes all canonical open MI issues each cycle; excludes exactly invalid/wontfix/duplicate case-insensitively before history; verifies explicit gates and owner decisions; orders by explicit comparable priority, required ordering, created_at and issue-number tie break. Issues, not open PRs, select work.

Review uses excluded .task_progress.md delivery ledger with ordinals reserved BEFORE dispatch; max10 whole-PR invocations including initial/COMMENT/invalidations/retries, never reset on reentry. Fresh isolated read-only exact HEAD/base review. Standalone finish does not merge. Explicit owner loop alone may use supported Forgejo PR merge to develop after current exact clean approval/validation, then verify merged ancestry/integrated acceptance before closure and clean develop return.

Owner-requested narrow remediation e3d04be: pre-merge invalid/wontfix/duplicate exclusion uses SELECT's same case-insensitive exact-match filter before other revalidation. No merge or completion; record canonical exclusion, preserve branch/PR history, safely return same checkout to clean current develop, SELECT fresh queue without terminal state. Other labels remain outside this path. Only loop.md and test_workflow_contract.py changed in remediation; no unrelated workflow/architecture changes.

Terminal QUEUE_EMPTY / STOP_AND_ASK / STOP_REVISE / BLOCKED. Genuine owner decisions stop whole invocation. No cross-repository mutation, Scarcity Router operation, main/release/deploy or direct develop push.

Base: 8f503107b8
Final HEAD: e3d04be2b3

Validation: regression reproduced absent transition before fix; focused uv run --no-sync python -m unittest discover -s tests -p test_workflow_contract.py -v PASS10; full make check PASS47 (locked sync, Ruff lint/format, basedpyright0, unittest and whitespace); uv sync --offline --locked --group dev PASS. Full base delta and two-file remediation reviewed, owner effective authorship verified. Normal same-branch additive commit/push, no history rewrite.

Fresh native independent whole-PR reviewer ses_ef4d37d12ffev8wsLT072aSfGS returned APPROVE, empty findings, exact above HEAD/base. Independently ran UV_OFFLINE=1 make check PASS47 and full-range whitespace PASS. Final parent canonical MCP/Git checks match exact reviewed objects, clean checkout, open/unmerged develop target. Terminal READY_TO_MERGE. Earlier abb4e2e review is historical only. Delivery review2, remediation1/3 under CURRENT PRE-MERGE policy; proposed new bound not used for this task. No /loop invocation, PR merge or issue closure authorized/performed.

Limitations: workflow-text consistency/review, not live loop execution or runtime command discovery proof. Config validation reports 'No context found for instance'; workspace reload may be required. Reviewer CLI debug failed because kilo is absent from PATH; native reviewer task succeeded, repository reviewer/standalone review command remain unchanged. No unresolved blocking findings.

Refs #21 Adds `/loop` with the invoking primary context as sole orchestrator, reusing implement-issue/finish-pr and unchanged review-pr/pr-reviewer. No controller service, product code, dependency, alternate checkout or architecture change. Selection refreshes all canonical open MI issues each cycle; excludes exactly invalid/wontfix/duplicate case-insensitively before history; verifies explicit gates and owner decisions; orders by explicit comparable priority, required ordering, created_at and issue-number tie break. Issues, not open PRs, select work. Review uses excluded .task_progress.md delivery ledger with ordinals reserved BEFORE dispatch; max10 whole-PR invocations including initial/COMMENT/invalidations/retries, never reset on reentry. Fresh isolated read-only exact HEAD/base review. Standalone finish does not merge. Explicit owner loop alone may use supported Forgejo PR merge to develop after current exact clean approval/validation, then verify merged ancestry/integrated acceptance before closure and clean develop return. Owner-requested narrow remediation e3d04be: pre-merge invalid/wontfix/duplicate exclusion uses SELECT's same case-insensitive exact-match filter before other revalidation. No merge or completion; record canonical exclusion, preserve branch/PR history, safely return same checkout to clean current develop, SELECT fresh queue without terminal state. Other labels remain outside this path. Only loop.md and test_workflow_contract.py changed in remediation; no unrelated workflow/architecture changes. Terminal QUEUE_EMPTY / STOP_AND_ASK / STOP_REVISE / BLOCKED. Genuine owner decisions stop whole invocation. No cross-repository mutation, Scarcity Router operation, main/release/deploy or direct develop push. Base: 8f503107b8800b0ff007fa81a8137f2e5834ea80 Final HEAD: e3d04be2b35e7467e83e18ad29cbce7a3acfea97 Validation: regression reproduced absent transition before fix; focused `uv run --no-sync python -m unittest discover -s tests -p test_workflow_contract.py -v` PASS10; full `make check` PASS47 (locked sync, Ruff lint/format, basedpyright0, unittest and whitespace); `uv sync --offline --locked --group dev` PASS. Full base delta and two-file remediation reviewed, owner effective authorship verified. Normal same-branch additive commit/push, no history rewrite. Fresh native independent whole-PR reviewer ses_ef4d37d12ffev8wsLT072aSfGS returned APPROVE, empty findings, exact above HEAD/base. Independently ran `UV_OFFLINE=1 make check` PASS47 and full-range whitespace PASS. Final parent canonical MCP/Git checks match exact reviewed objects, clean checkout, open/unmerged develop target. Terminal READY_TO_MERGE. Earlier abb4e2e review is historical only. Delivery review2, remediation1/3 under CURRENT PRE-MERGE policy; proposed new bound not used for this task. No /loop invocation, PR merge or issue closure authorized/performed. Limitations: workflow-text consistency/review, not live loop execution or runtime command discovery proof. Config validation reports 'No context found for instance'; workspace reload may be required. Reviewer CLI debug failed because kilo is absent from PATH; native reviewer task succeeded, repository reviewer/standalone review command remain unchanged. No unresolved blocking findings.
adrian.tkacz deleted branch issue-21-autonomous-loop 2026-10-05 08:40:18 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Creatidy/model-intelligence!22
No description provided.