11-build-loop

star 345

Iterates build and test until both are green, then captures hlint warnings without gating.

neohaskell By neohaskell schedule Updated 6/3/2026

name: 11-build-loop description: Iterates build and test until both are green, then captures hlint warnings without gating. kind: process executor: haiku model: claude-haiku-4-5-20251001

Build Loop

Drives the implementation to a state where cabal build all and cabal test are green. Hlint runs at the end to collect warnings for the PR body — it does not gate the loop.

Steps

  1. Build — read ./01-build/SKILL.md and follow it. Verify: .pipeline/build.log exists and exit was 0.
  2. Test — read ./02-test/SKILL.md and follow it. Verify: .pipeline/test.log exists and exit was 0.
  3. Fix iter — spawn an Agent (model: sonnet) and instruct it to read ./03-fix-iter/SKILL.md and follow it. Verify: at least one of build/test now passes that did not before, or the iteration counter advances.
  4. Hlint (warning collector) — read ./04-hlint/SKILL.md and follow it. Verify: .pipeline/hlint.log exists (may be empty or non-empty); exit is 0 unless hlint is missing.

Walk these steps in order. If step 1 or 2 fails, jump to step 3 then back to step 1. After step 4 records the log, mark phase 11 complete regardless of how many warnings were captured.

Shared invariants

  • Maximum 10 fix iterations across the entire loop. If still not green after 10, stop and escalate to the maintainer.
  • Build and test are the gates; hlint is informational and surfaced via the PR body at phase 16.
  • Phase 11 is complete when build and test are simultaneously green and .pipeline/hlint.log has been written.
Install via CLI
npx skills add https://github.com/neohaskell/NeoHaskell --skill 11-build-loop
Repository Details
star Stars 345
call_split Forks 11
navigation Branch main
article Path SKILL.md
More from Creator