Each loop pack lives under loops/<loop-id>/.
Required files:
LOOP.md
SKILL.md
journal.md
examples/input.json
examples/run-brief.md
evals/contract.json
LOOP.md is the business contract.
Required frontmatter:
---
name: bug-autofix
title: Bug Autofix
description: Watch production errors and open verified fix PRs.
category: engineering
required_connectors:
- github
- sentry
default_authority: ask_first
---Required headings:
GoalWhen This RunsSignalsDiagnosisAllowed ActionsAuthorityExecutor InstructionsVerificationAdaptive SchedulingJournalMemory Update
SKILL.md is the executor workflow for Codex, Claude Code, or win.sh Cloud.
The skill should execute a scoped run brief. It should not decide the whole business strategy.
The journal is append-only loop memory.
Each entry should record:
- signal
- diagnosis
- action
- expected outcome
- verification date
- actual outcome
- learning
Every run must end with:
{
"nextRun": {
"at": "2026-06-16T14:00:00.000Z",
"reason": "manual trigger created an execution brief; follow up after the executor reports an artifact",
"confidence": "medium"
}
}Cron can wake the scheduler. The loop decides whether the next run is useful.