iterating-to-completion
Prevents premature exit and infinite loops. Three mechanisms: Completion Promises, Scratchpads, Loop Detection.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Prevents premature exit and infinite loops. Three mechanisms: Completion Promises, Scratchpads, Loop Detection.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Deterministic AI development workflow orchestrator. Manages task boards (.jonggrang/jonggrang-tasks.json), runs 16-phase pipelines (BUGFIX/SMALL/MEDIUM/LARGE), installs lifecycle hooks for Claude Code and OpenCode, and coordinates five specialist roles (Lead/Developer/Reviewer/TestLead/Tester). Use when planning features, executing multi-step development workflows, or orchestrating AI coding agents. Run via npx jonggrang.
Drive a real browser from the command line — open pages, snapshot the interactive elements as refs, click and fill by ref, read text, run JS, screenshot. Use when a task needs a live browser: checking a page renders, walking a login or checkout flow, scraping something that only exists after JavaScript runs, or reproducing a UI bug.
Deterministic AI development workflow orchestrator. Manages task boards (.jonggrang/jonggrang-tasks.json), runs 16-phase pipelines (BUGFIX/SMALL/MEDIUM/LARGE), installs lifecycle hooks for Claude Code and OpenCode, and coordinates five specialist roles (Lead/Developer/Reviewer/TestLead/Tester). Use when planning features, executing multi-step development workflows, or orchestrating AI coding agents. Run via npx jonggrang.
| name | iterating-to-completion |
| description | Prevents premature exit and infinite loops. Three mechanisms: Completion Promises, Scratchpads, Loop Detection. |
This skill prevents two failure modes:
Every agent task has an explicit completion signal. The agent outputs this string ONLY when success criteria are truly met:
| Role | Signal | Meaning |
|---|---|---|
| Lead | ARCHITECTURE_PLAN_COMPLETE | Architecture JSON is complete and valid |
| Developer | IMPLEMENTATION_COMPLETE | Code compiles, lints pass, basic sanity checked |
| Reviewer | REVIEW_COMPLETE | Review report generated (approved or rejected) |
| Test Lead | TEST_PLAN_COMPLETE | Test plan JSON is complete |
| Tester | ALL_TESTS_PASSING | All tests pass, coverage met |
Rule: Never output the completion signal unless the criteria are truly met. The orchestrator blocks on this signal.
Maintain a scratchpad file at .jonggrang/.ephemeral/scratchpad-{task_id}.md:
# Task: {task_id} — {title}
## Completed Steps
- [x] Step 1 — what was done
- [x] Step 2 — outcome
## Current Focus
- [ ] Step 3 — what you're working on now
## Failures & Learnings
- Attempt 2: Failed because X. Will try Y instead.
## Next Step
Clear description of what you do next iteration.
Update this EVERY iteration. If you're stuck, the scratchpad shows why.
The orchestrator reads your last 3 outputs. If similarity > 90%, you're stuck.
Signs you're stuck:
When stuck:
BLOCKED: [reason] and stopMax 10 iterations per agent spawn. After 10:
ITERATION_LIMIT_REACHED: [what's left]The feedback-loop.sh / OpenCode session.idle hook enforces this: