Add owner-authorized repository-local issue delivery loop #22
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Creatidy/model-intelligence!22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-21-autonomous-loop"
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?
Refs #21
Adds
/loopwith 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:
8f503107b8Final HEAD:
e3d04be2b3Validation: regression reproduced absent transition before fix; focused
uv run --no-sync python -m unittest discover -s tests -p test_workflow_contract.py -vPASS10; fullmake checkPASS47 (locked sync, Ruff lint/format, basedpyright0, unittest and whitespace);uv sync --offline --locked --group devPASS. 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 checkPASS47 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. Earlierabb4e2ereview 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.