cy-codex-loop
OfficialIterate techspec execution with resumable checkpoints
System Documentation
What problem does it solve?
cy-codex-loop solves the problem of reliably running long, multi-step Compozy techspecs across many agent restarts without losing progress, by detecting the current phase from durable state and the filesystem, executing exactly one phase action per iteration, and producing an atomic git checkpoint after each Phase B completion.
Core Features & Use Cases
- Resumable iteration driver: Detects the next phase (bootstrap, execution, QA, done) from
state.yamlplus.compozy/tasks/<slug>/truth, then runs one deterministic action and stops for the next restart. - Two execution modes: Runs task-by-task in
mode=tasks, or advances deliverables via time-bounded slices inmode=free, keeping a checklist-backed progress model. - Durable memory + inspectability: Updates
state.yamlonly via the provided scripts and writes workflow memory throughcy-workflow-memoryusing the shared and per-iteration memory paths. - Atomic git checkpoints: After each completed Phase B iteration, commits the resulting work via
commit-checkpoint.pyso completed tasks/slices become restorable snapshots. - Optional frontend/docs delegation lane: When the goal signature contains
delegation=frontend-docs, qualifying Phase B work can be delegated viacompozy execwith strict no-commit and explicitcy-final-verifyPASS evidence requirements.
Quick Start
Use the cy-codex-loop skill for a feature slug that already has a .compozy/tasks/<slug>/_techspec.md and either _tasks.md + task_*.md files (for tasks mode) or no task graph (for free mode).
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cy-codex-loop Download link: https://github.com/compozy/agh/archive/main.zip#cy-codex-loop Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.