cxc-loop
Use for PABCD completion loops. Triggers: cxc-loop, continue until done, HOTL, repeated PABCD, 루프 돌려, 끝까지 해줘, docs-first.
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 54
- Forks
- 11
01 前言 Front Matter
- name
- cxc-loop
- metadata
- { "short-description": "Agent-led scoped completion with durable plans and evidence." }
- description
- Use for PABCD completion loops. Triggers: cxc-loop, continue until done, HOTL, repeated PABCD, 루프 돌려, 끝까지 해줘, docs-first.
02 资源文件 6
- 参考文档agents/openai.yaml127 B
- 参考文档references/divergence-tiers.md4.6 KB
- 参考文档references/durable-goalplan.md10.6 KB
- 参考文档references/lane-dispatch.md9.3 KB
- 参考文档references/runtime-lifecycle.md6.3 KB
- 参考文档references/waiting.md6.7 KB
03 SKILL.md 正文
cxc-loop — Scoped completion
Intent before activation
Bare operative cxc-loop means scoped HOTL; explicit HITL keeps human P/A/B pauses. Loading, explanation and review activate nothing. Explicit limits win. HOTL adds persistence, never permissions; report missing authority.
A leaf follows its packet, owns no goal/FSM and needs a grant to spawn. Dispatched tasks own their goal/FSM within their packet's grant. Before dispatch, read Dispatch surfaces (DISPATCH-SURFACE-01).
Use cxc-dev for safety, proof, complete selected reads, peer contact, async questions and installed-skill discovery. Select owners by task/class/risk/phase; preserve explicit-only and leaf-safe restrictions and resolve missing mandatory references before work.
Read before the action
| Action | Owner |
|---|---|
| PABCD work or planning | cxc-pabcd |
| HOTL entry, resumption or completion diagnosis | Runtime lifecycle |
| Goalplan schema, CLI or amendment | Durable goalplan |
| Multi-cycle roadmap | Implementation units |
| Repeated failure, reviewer FAIL or archetype selection | Loop engineering |
| Score optimization, plateau or mechanism comparison | Optimization + loop engineering above |
| Candidate divergence | Divergence tiers |
| Task dispatch or lane observation | Lane dispatch |
| Authorized subagent dispatch | Delegation |
| Waiting on work or external processes | Waiting |
| Composition, response projection or in-context computation | Native execution |
Execution invariants
- ORCH-MANDATE-01 (STRICT): read persisted state before claiming loop entry/re-entry; binding and edges follow Phase control (SESSION-IDENTITY-01).
- HOTL needs an ACTIVE host goal and in-flight cycle; HITL needs no goal. Missing capability/binding is a preflight failure, never armed continuation.
- Follow cxc-pabcd's one-work-phase/one-cycle invariant; hooks neither choose nor advance phases.
- LOOP-CONTINUE-01 (DEFAULT): after D or context loss, read the bound goalplan and ledger; preserve criteria and re-enter P while in-scope work remains under the active goal.
- LOOP-UNIT-CHAIN-01 (DEFAULT): add genuinely new in-scope units through a P amendment to the same goal.
- LOOP-CONTINUITY-01 (DEFAULT): next P quotes the previous D conclusion and direction, explains any change, and resumes from durable evidence.
- LOOP-GIT-01 (DEFAULT): before checkpoints or publication, apply cxc-dev's git rules; declared stacks also read Stacked PRs.
Docs-first multi-cycle entry
LOOP-DOCS-FIRST-01 (DEFAULT): this entry is STRICT for HOTL. Two or more work-phases start with a goalplan skeleton and docs-only roadmap cycle. D locks the roadmap; implementation starts next cycle. Later P consumes/revalidates one prewritten decade doc. Scope discovered later pays this debt at next P. No production patches, deploys or implementation-complete claims in the roadmap cycle. Single-cycle work skips it; cxc-dev owns C0/C1 exceptions.
LOOP-READS-PABCD-01 (STRICT): before multi-cycle execution read implementation units above for roadmap contents/numbering; skeletons or empty decade docs do not satisfy it.
Completion and recovery
Report DONE, NOOP, BLOCKED, UNSAFE, NEEDS_HUMAN or BUDGET_EXHAUSTED as outcomes, not FSM phases or host goal statuses. DONE requires cxc-dev's fresh proof and the runtime-lifecycle completion gate (GOAL-COMPLETE-GATE-01); never weaken criteria. Exhaustion requires an actual stated bound. Compaction, wait timeout and Stop release prove neither success nor exhaustion; preserve evidence and recover through the applicable owner.
04 同仓库更多 Skills
cxc-worktree-guardian
Use for Codex-app worktrees. Triggers: worktree, rename worktree, detached HEAD, ~/.codex/worktrees, 워크트리, 워크트리 이름, 새 워크트리, 브랜치랑 워크트리.
cxc-skill-hub
Deprecated alias. Use cxc-dev.
cxc-search
Use for web/current lookups. Triggers: search, look up, latest, news, prices, docs, status, X/Twitter, deep research, 검색, 검색해, 찾아봐, 찾아줘, 알아봐, 웹검색, 딥리서치, 심층 조사.
cxc-repo-map
Use for repo structure and symbol maps. Triggers: repo map, codebase overview, architecture map, 와꾸.
cxc-remote
Use for Telegram/Discord bridge setup. Triggers: remote, messenger, pairing, tokens, webhooks, 텔레그램 연결, 디스코드 연결, 메신저 연결, 봇 연결, 원격, 페어링.
cxc-recall
Use for past-session context recovery. Triggers: recall, last time, previous session, chat search, memory search, 그때, 지난번, 저번 세션, 예전에 했던, 기억나?, 리콜, 지난 세션, 이전 작업, 뭐였지, 어떻게 했었지.