Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

repository-completion-proof

/repository-completion-proof

Dowodzi ukończenia pull requestu w ai-agents po przeglądzie, odzyskiwaniu lub weryfikacji zaufania.

Repozytorium
ai-agents ↗
Licencja
MIT
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Dowodzi ukończenia pull requestu w ai-agents po przeglądzie, odzyskiwaniu lub weryfikacji zaufania.

Oryginalny opis (EN)

Prove ai-agents PR completion after review, recovery, or trust verification. Do NOT use for consumer behavior (use repository-consumer-proof).

Jak działa

  1. Triggers
  2. Process
  3. Verification
  4. Anti-Patterns
  5. Evolution
Sekcje z nagłówków SKILL.md, w oryginale · 140 linii, 936 słów
Podgląd SKILL.md
---
name: repository-completion-proof
version: 1.0.0
description: Prove ai-agents PR completion after review, recovery, or trust verification. Do NOT use for consumer behavior (use repository-consumer-proof).
license: MIT
metadata:
  distribution: repo-local
  capability:
    kind: orchestrator
    status: active
  routing:
    role: front-door
    invoker: autoplan
    trigger: autoplan selects this repository outcome composition from its intents
    user-facing: true
    intents:
      - prove an ai-agents PR is complete
      - verify before dispatching review commands
      - review is finished but completion is uncertain
      - completion verified true unresolved threads
      - PR already merged completion gate
      - verify only security threads
---

# Repository completion proof

Requires the `rjmurillo/ai-agents` checkout and its contributor-only sibling skills.

Inputs: PR number, intended acceptance criteria, and authorized task scope.
Apply the [common execution contract](../repository-pr-recovery/references/library.md#common-execution-contract).
Reuse the review config, `pr-comment-responder`, and the existing completion dispatcher.
This shortcut joins execution trust, criterion results, and platform acceptance.

## Triggers

- `prove an ai-agents PR is complete`
- `verify before dispatching review commands`
- `review is finished but completion is uncertain`

## Process

### Phase 1: Prove execution trust before dispatching review commands

Read config resolution in [pr-review](../../../.claude/skills/pr-review/SKILL.md).
Use that documentation without invoking its standalone orchestration workflow.
Use its command map for that host rather than inventing a launcher.
Resolve the selected config's absolute path through that maintained resolution procedure.
For each invocation, bind `PR_NUMBER` and `PR_REVIEW_CONFIG` from the current task.
Do not rely on variables surviving separate tool shells.
From the repository root, the POSIX checkout form is:

```bash
GITHUB_SCRIPTS="${COPILOT_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-.claude}}/skills/github/scripts"
: "${PR_NUMBER:?Set the task PR number in this invocation}"
: "${PR_REVIEW_CONFIG:?Set the selected absolute config path in this invocation}"
uv run python "$GITHUB_SCRIPTS/pr/run_completion_gate.py" --config "$PR_REVIEW_CONFIG" --pull-request "$PR_NUMBER" --verify-config-only --json
```

Keep the default trusted remote-tracking ref unless the selected base requires another.
Any alternate anchor must resolve under `refs/remotes/`.
Do not substitute `HEAD` or a movable local branch to silence divergence.
Check anchor freshness against the selected remote revision through supported reads.
Fetching changes local Git state and requires the task's authority.

| Observation | Branch |
|---|---|
| Successful verification and `verified: true` | Begin verified finding handling. No completion claim follows yet. |
| Untrusted config or command file | Preserve the surfaced difference for human inspection. |
| Verification impossible | Restore verifiable Git evidence through an authorized owner; do not dispatch. |
| Installed config accepted by origin | Retain origin and command-trust evidence; run criteria before claiming success. |

Path containment does not establish execution trust.
A plugin root containing the consumer checkout is not disjoint.
The [dispatcher trust contract](../../../.claude/skills/github/scripts/pr/run_completion_gate.py)
checks the origin, remote anchor, and tracked command files separately.
Use `--approve-untrusted-config` only after explicit human inspection and approval.
Never use it for an unverifiable Git state.

### Phase 2: Execute completion criteria after verified review work

First read the current merged state through the verified `test_pr_merged.py` producer.
Use the selected config's launcher with `--output-format json`.
Inspect its JSON `merged` field, rather than treating exit zero as unmerged.
When `merged` is true, inspect the merged artifact and the requested downstream result, then stop Phase 2.
Do not invoke `pr-comment-responder` or the open-PR completion gate on that branch.
Continue only with Phase 3.

When the merged-state read is unavailable, stop Phase 2 and report the decision unresolved.
Do not dispatch open-PR criteria while `merged` is unknown.

When `merged` is false, continue with the open-PR steps below.

Pass trust evidence and the selected config to `pr-comment-responder`.
For actual findings, let `reviewer-findings` verify claims before responder changes.
Reconcile outcomes per comment ID through `pr-comment-responder`.
An acknowledged thread or local reviewer verdict is an intermediate result.

After the final push or resolution, run the selected config's `wait_for_settled_zero`.
Require three consecutive complete-and-zero readings before trusting thread completion.
Use its configured interval; a one-shot completion gate does not settle bot scans.
Skip settling only when no live bot reviewer can reopen threads.
Record that condition explicitly, rather than assuming a current zero is stable.
See [the settling contract](../../../.claude/skills/pr-review/SKILL.md#process).

Then execute the same dispatcher without verify-only:

Bind the task PR and the same selected absolute config in this invocation.

```bash
GITHUB_SCRIPTS="${COPILOT_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-.claude}}/skills/github/scripts"
: "${PR_NUMBER:?Set the task PR number in this invocation}"
: "${PR_REVIEW_CONFIG:?Set the selected absolute config path in this invocation}"
uv run python "$GITHUB_SCRIPTS/pr/run_completion_gate.py" --config "$PR_REVIEW_CONFIG" --pull-request "$PR_NUMBER" --json
```

This command dispatches configured verifiers; inspect their effects before execution.
Do not run it merely to test this library under a read-only task.
Use an existing authorized evidence destination if persistence is required.

Require successful execution, `all_passed: true`, and every configured criterion's result.
Inspect fail-open criteria and dispatch errors before claiming measured completion.
Check pagination completeness, suppressed-finding dispositions, and reachable resolution SHAs.
The [executable criteria](../../../.claude/skills/pr-review/pr-review-config.yaml)
currently require zero unresolved threads, including security threads.
Its nearby exemption comment does not override that predicate or platform policy.
Preserve unresolved security work for the responsible owner; do not force-resolve it.

For failures, route only the failing criterion back to its producer.
Use [repository-pr-recovery](../repository-pr-recovery/SKILL.md) when CI or policy attribution is uncertain.
Use existing dispositions procedures for deliberately unaddressed findings.
Do not manufacture approval markers or weaken predicates to make the gate green.
Run focused verification after edits, then the required full gate at the final head.

### Phase 3: Distinguish readiness, acceptance, and downstream completion

Join the criterion result with the effective-policy proof from `repository-pr-recovery`.
Verify required checks on the revision and event that GitHub evaluates.
Re-read readiness after a new commit, base update, or policy change.
If the PR already merged, inspect the merged artifact instead of failing its old readiness goal.
The open-PR completion config deliberately requires `merged == false`.

For authorized shipping, hand off to [ship](../../../.claude/skills/ship/SKILL.md).
Observe the merged state separately when the user requested a merged change.
For releases or consumer behavior, hand off to [repository-consumer-proof](../repository-consumer-proof/SKILL.md).
Keep operator-owned publication or adoption work visible until independently verified.

Report three separate results: execution trusted, criteria passed, requested outcome observed.
Name any inaccessible policy read and its responsible operator.
A successful verify-only invocation proves only the first result.

## Verification

- [ ] Trust evidence identifies the config, command files, and remote anchor.
- [ ] Executed criteria and platform evidence prove the requested outcome separately.

## Anti-Patterns

Follow the [shared outcome boundary](../repository-pr-recovery/references/library.md#common-execution-contract).

## Evolution

Follow the [shared maintenance policy](../repository-pr-recovery/references/library.md#maintenance).

Wersje

W bazie nie ma innych skilli o nazwie repository-completion-proof.

Migawka bazy z 13.11.2026 · wersja paczki dea7010270ab (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100repository-pr-recovery
    Ustala przyczyny zablokowanych pull requestów ai-agents, brakujących checków i anulowanych baseline'ów.
  • 100repository-consumer-proof
    Weryfikuje hooki ai-agents, zainstalowany dispatch i zachowanie systemu wykraczające poza zielone buildy, z wyłączeniem analizy blokad pull requestów.
  • 90verification-before-completion
    Planuje, wdraża i przegląda weryfikację przed zakończeniem pracy w istniejącym kodzie, z kontrolą zgodności, bezpieczeństwa i weryfikacji.
  • 100verification-before-completion
    Blokuje deklarację ukończenia bez wyniku poleceń weryfikacyjnych, przed commitem i tworzeniem pull requestu.
  • 100proof
    Doprowadza zadanie do ukończenia popartego dowodami: zamraża kontrakt akceptacyjny, weryfikuje niezależnie i stosuje deterministyczną bramkę ukończenia w pętli kontrakt, budowa, weryfikacja.
  • 100v1-prove-work
    Nagrywa dowód w przeglądarce albo demo GIF dla gotowej zmiany w interfejsie, np. do pull requestu.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.