Add evidence-aware PR promotion gate - #466
Closed
yaojin3616 wants to merge 11 commits into
Closed
Conversation
Contributor
|
Thanks @yaojin3616 for contributing a tool example — visible, reviewable PRs like this grow the reference for everyone. What happens next
More ways to help — loop-engineering maintainers |
added 10 commits
August 6, 2026 15:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
issue-pr-repairpattern and multi-tool starter installable throughloop-initRepair priority
Flaky/infrastructure failures, sensitive work, exhausted attempts, and non-owned PR branches fail closed or become proposal-only.
Install and dry run
npx @cobusgreyling/loop-init . --pattern issue-pr-repair --tool codex node scripts/install-github-labels.mjs --repository owner/repo node scripts/collect-repair-evidence.mjs \ --repository owner/repo \ --required-check required-check-name \ --output .loop/repair-evidence.json npx @cobusgreyling/loop-gate repair-plan \ --contract repair.yaml \ --evidence .loop/repair-evidence.json \ --jsonThe label and lease adapters are dry-run by default. Repository-specific test deployment and receipt publishing remain explicit.
Verification
npm --prefix tools/loop-init test(66 passing, all pattern/tool combinations)npm --prefix tools/loop-gate test(55 passing)node --test examples/coaligne/test/adapters.test.mjs(16 passing)bash scripts/ci-validate-gates.shpassed across the repositoryidleThe controllers are dry-run by default. Sensitive promotion policy and engine changes remain subject to human review.