Przejdź do treści
Biblioteka skilli
AI i agenci · Przegląd i audyt

audit-loop-scaffold

/audit-loop-scaffold

Sprawdza, czy pliki szkieletu pętli nie rozjechały się z szablonami przypiętymi do pochodzenia, bez zmian zdalnych, poświadczeń, publikacji ani wdrożeń.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
28.09.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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Sprawdza, czy pliki szkieletu pętli nie rozjechały się z szablonami przypiętymi do pochodzenia, bez zmian zdalnych, poświadczeń, publikacji ani wdrożeń.

Oryginalny opis (EN)

Use when loop scaffold files have drifted from their provenance-pinned templates. Not for remote, credential, publish, deploy, or irreversible changes.

Jak działa

  1. Contract
  2. Inputs
  3. Procedure
  4. Failure and recovery
  5. Output
Sekcje z nagłówków SKILL.md, w oryginale · 81 linii, 735 słów
Podgląd SKILL.md
---
name: audit-loop-scaffold
description: 'Use when loop scaffold files have drifted from their provenance-pinned templates. Not for remote, credential, publish, deploy, or irreversible changes.'
disable-model-invocation: true
---

# Audit loop scaffold

## Contract

| Field | Bound contract |
|---|---|
| Trigger | Loop scaffold files have drifted from their templates or from each other |
| Authority | Reversible local: writes only the four named auto-fixable files; rollback is restoring retained pre-write content. No remote mutation. Retains pre-write content (including the absence state for newly created files) and rolls back on verification failure. |
| Side effect | Rewrites only STATE.md, gate.yaml, loop-budget.md, loop-run-log.md from templates; reports every other drifted file |
| Done | Scaffold files match their templates or drift is reported with its exact file; nothing outside the fixed set was written |

## Inputs

| Input | Required | Description |
|---|---|---|
| loop_dir | yes | path to the loop directory containing scaffold files |
| templates | yes | STATE.md.template, gate.yaml.template, loop-budget.md.template, loop-run-log.md.template from the loop-engineering provenance |

Templates must be sourced from cobusgreyling/loop-engineering at revision d03dcb92. No other skill, module, AGENTS file, or planning artifact is required.

## Procedure

1. Resolve `loop_dir` to an absolute path. Fail with `loop_dir_unavailable` if it does not exist or is not a directory. Done when: `loop_dir` resolves to an existing directory.
2. Read the four template files into memory. Fail with `template_unavailable` if any template cannot be read. Done when: all four templates are in memory.
3. List every file in `loop_dir` at depth 1 (direct children only). Done when: the direct-child file list is complete.
4. Back up pre-write state for the four auto-fixable files. For each name (STATE.md, gate.yaml, loop-budget.md, loop-run-log.md): if the target file exists, record its content and hash; if it does not exist, record its absence. This backup is the rollback source. Done when: pre-write state for all four auto-fixable files is recorded, including absence states.
5. Converge the four files to template content. For each auto-fixable name:
   a. Compute the target path as `loop_dir/<name>`.
   b. If the target does not exist or its hash differs from the template hash, write the template content to the target path.
   c. Record the write in the action log with before/after hashes and `before_content` copied from the step-4 backup (null for newly created files).
   Done when: every auto-fixable file matches its template or is written from it, and before/after hashes are recorded.
6. For every other file in `loop_dir` not in the auto-fixable set: compute the file hash. If the hash matches none of the four template hashes, record the file path and hash in the drift report. Done when: every non-auto-fixable drifted file is in the drift report.
7. Verify every written auto-fixable file matches its template byte-for-byte by re-reading and comparing hashes. If any verification fails, roll back every file written in step 5 to its pre-write content from the step 4 backup: restore existing files to their recorded content, and delete files that were newly created (whose pre-write state was absence). Fail with `auto_fix_verify_failed`. Done when: every written file matches its template byte-for-byte.
8. Assert: every auto-fixable file matches its template; every other drifted file is in the drift report. If the assertion fails, fail with `non_converged`. Done when: the assertion holds.
9. Return the complete drift report. Done when: the drift report is returned.

## Failure and recovery

| Class | Partial-result rule | Rollback |
|---|---|---|
| loop_dir_unavailable | return `blocked`; no writes performed | n/a |
| template_unavailable | return `blocked`; no writes performed | n/a |
| auto_fix_verify_failed | return `non_converged`; include the failing file and full action log, including each `before_content` value | restore each written file to its step 4 backup state: existing files to recorded content, newly created files deleted |
| non_converged | return `non_converged`; include the full action log and drift report | restore all auto-fixable files to their step 4 backup state |

On any failure, the result reports exactly what was attempted, what succeeded, and what must be done manually.

## Output

```
{
  "status": "converged" | "non_converged" | "blocked",
  "loop_dir": "<resolved absolute path>",
  "auto_fixed": [
    {
      "file": "STATE.md" | "gate.yaml" | "loop-budget.md" | "loop-run-log.md",
      "before_hash": "<hex or null>",
      "after_hash": "<hex>"
    }
  ],
  "drift_reported": [
    {
      "file": "<relative path>",
      "hash": "<hex>"
    }
  ],
  "failure": "<failure class or null>",
  "failing_files": ["<file name>"],
  "action_log": [
    {
      "file": "STATE.md" | "gate.yaml" | "loop-budget.md" | "loop-run-log.md",
      "before_hash": "<hex or null>",
      "before_content": "<string or null>",
      "after_hash": "<hex or null>"
    }
  ],
  "converged": true | false
}
```
Pliki w paczce (2)
  • SKILL.md 5 KB
  • agents/openai.yaml 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · OutlineDriven/outline-driven-development100Apache-2.0
outlinedriven/odin-claude-plugin100Apache-2.0

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

Pobrania w ostatnich 30 dniach: 2 · ranking

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

Podobne skille

  • 98strict-validation-setup
    Konfiguruje pętlę walidacji w trybie ścisłym lub weryfikowalnych celów, bez zmian zdalnych, poświadczeń, publikacji, wdrożeń ani nieodwracalnych operacji.
  • 90create-plugin-scaffold
    Tworzy lokalne drzewo katalogów pluginu agenta lub paczkę marketplace, bez zmian zdalnych, poświadczeń i nieodwracalnych.
  • 98strict-validation-setup
    Konfiguruje rygorystyczną pętlę walidacji i weryfikowalnych celów dla zmian, bez działań zdalnych, publikacji i nieodwracalnych operacji.
  • 90pr-walkthrough
    Tworzy interaktywną mapę PR w formie grafu, by zorientować się w zmianie, bez działań zdalnych, publikacji ani wdrożeń.

Uwagi i zgłoszenia

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