一键导入
source-command-corgi-loop
Run the Corgi Loop — execute Task Group bundles (apply → verify → review-evidence) with automated lifecycle decisions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the Corgi Loop — execute Task Group bundles (apply → verify → review-evidence) with automated lifecycle decisions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Implement tasks from a Corgi change, one Task Group at a time
Archive a completed change, close tracking issues, and sync delta specs
Think through ideas, investigate problems, or clarify requirements
Install, update, or verify Corgi GitFlow assets in a target project
Validate memory health across 14 checks — freshness, size caps, broken links, extraction completeness
Propose a new change — create it and generate all artifacts in one step
| name | source-command-corgi-loop |
| description | Run the Corgi Loop — execute Task Group bundles (apply → verify → review-evidence) with automated lifecycle decisions |
Use this skill when the user asks to run the migrated source command corgi-loop.
Run the Corgi Loop for a change — execute Task Group bundles with automated lifecycle decisions.
Input: Optionally specify a change name (e.g., /corgi:loop add-auth). If omitted, infer from context.
Steps
Determine platform
Read openspec/config.yaml and check the schema field.
Check isolation mode (CRITICAL — do NOT skip)
Read openspec/config.yaml and check isolation.mode.
isolation.mode is worktree: the worktree MUST already exist (created by propose). The skill MUST resolve it and work inside it. If the worktree is missing, stop and report failure — do not create it during loop.isolation section is missing or mode is none: normal operation, no worktree needed.Dispatch to platform skill
schema: gitlab-tracked → Follow the instructions in the corgispec-loop skillschema: github-tracked → Follow the instructions in the corgispec-loop skillThe selected skill owns the internal loop phases, including initialization, group bundle execution (apply → verify → review-evidence), artifact writing, and compaction recovery. This wrapper only reads config, enforces isolation, dispatches by schema, and verifies postconditions.
Pass through all input
Forward the user's input (change name, etc.) to the selected skill as-is.
Verify postconditions
After the skill completes, verify:
state.json exists at .Codex/corgi-loop/<change>/state.json with valid schemaverify.json exists at .Codex/corgi-loop/<change>/groups/<N>/verify.json for the current groupreview.json exists at .Codex/corgi-loop/<change>/groups/<N>/review.json for the current groupchangeName, group, and noncePlatform behavior: On OpenCode, the loop is self-driving and retries failed groups automatically (up to 3 attempts). Codex does not retry — a failure is immediately terminal. Stopping conditions: FAIL verdict, critical/important findings, circuit breaker, or all groups complete.