ccb-workflow-orchestrate
Plan and activate CCB multi-agent workflow orchestration from ccb_self. Use when the user asks to split work across mounted agents, assign analysis/implementation/review roles, adjust per-agent task memory, coordinate ask dispatch, deduplicate overlapping work, or reload/restart affected panes so new mounted-agent instructions are loaded.
- License 许可
- Apache-2.0
- 最近更新
- 2026-08-14
- Stars
- ★ 19
- Forks
- 2
01 前言 Front Matter
- name
- ccb-workflow-orchestrate
- description
- Plan and activate CCB multi-agent workflow orchestration from ccb_self. Use when the user asks to split work across mounted agents, assign analysis/implementation/review roles, adjust per-agent task memory, coordinate ask dispatch, deduplicate overlapping work, or reload/restart affected panes so new mounted-agent instructions are loaded.
03 SKILL.md 正文
CCB Workflow Orchestrate
Use this skill to design and activate a CCB workflow across mounted agents
without turning ccb_self into the business-task owner. Keep manager ownership,
dispatch contracts, review gates, and runtime refresh decisions visible.
Read references/ccb-workflow-orchestration.md for orchestration patterns,
memory overlay rules, activation gates, and research provenance. Also use
references/runtime-authority.md, references/ccb-command-surface.md, and
references/ccb-role-and-config-system.md when commands or reload/restart
impact matter.
Workflow
- Inventory the live CCB state before planning:
ccb psccb queue --detail allccb pend --inbox --detail allccb config validateccb reload --dry-runwhen config or role assets may be affected
- Classify the user's goal:
- analysis/research only;
- implementation with separate review;
- parallel exploration with synthesis;
- recovery or rebalancing of an existing workflow;
- temporary mounted-agent memory overlay and activation.
- Choose the lightest orchestration pattern:
- single-agent skill chain for small or low-risk work;
- manager-owned worker calls when
ccb_selfmust synthesize the final answer; - parallel consult lanes for independent analysis or design options;
- handoff when one specialist should own a branch;
- analysis -> implementation -> review pipeline for risky code changes.
- Produce a plan before mutation:
- agents and lanes;
- task contract per agent;
- inputs, forbidden changes, expected output, and validation evidence;
- handoff and review gates;
- dedupe rule for overlapping agents;
- activation commands and restart risk.
- If per-agent memory changes are necessary, write only bounded
mounted-agent orchestration overlays:
- target mounted-agent memory, not Role source;
- create a backup first;
- use a clearly delimited block with owner, timestamp, task id, expiry, and removal condition;
- include role lane, task contract, communication contract, validation criteria, and return route;
- do not store secrets, provider state, progress logs, or broad permanent policy changes.
- Activate through CCB control-plane gates:
- run validation after config-like edits;
- run
ccb reload --dry-runbeforeccb reload; - run
ccb reloadonly when the user intended materialization; - restart only affected current-graph agents, one at a time, with
ccb restart <agent>after busy checks pass.
- Dispatch work through CCB:
- use
ccb ask --chain <agent>only when the parent cannot finish without the result; - use
ccb ask --silence <agent>only for independent work where success result is not needed; - do not poll in the same turn unless the user asked for diagnostics.
- use
- Adapt after evidence:
- compare replies against the plan;
- deduplicate overlapping results;
- add a review lane when quality or risk is uncertain;
- reassign or narrow lanes when an agent is blocked, busy, or off-scope;
- return business ownership to the original target agent.
Memory Overlay Template
Use this shape for a temporary mounted-agent overlay:
<!-- ccb-orchestrate:begin owner=ccb_self task=<id> expires=<condition> -->
Lane: analysis | implementation | review | synthesis | support
Mission: ...
Inputs: ...
Must not: ...
Output contract: ...
Validation evidence: ...
Communication: reply to ccb_self; use chain only when result is required
Return route: ...
Removal condition: ...
<!-- ccb-orchestrate:end -->
Keep overlays small. Prefer editing or replacing the existing
ccb-orchestrate block for the same task instead of appending duplicates.
Red Lines
- Do not edit Role source memory to encode a project workflow.
- Do not overwrite an agent's base mounted memory.
- Do not edit lifecycle, lease, mailbox, provider session, pid, socket, or raw tmux authority files.
- Do not run raw tmux mutation or
restart-all. - Do not restart a busy, unknown, stale, or non-current-graph agent.
- Do not store credentials, API keys, auth state, provider sessions, screenshots, traces, or progress logs in memory overlays.
Report
Report:
- selected orchestration pattern;
- agents, lanes, and task contracts;
- memory/config files changed or proposed;
- validation, reload, and restart commands run or blocked;
- dispatch commands submitted;
- review/synthesis result;
- cleanup or overlay removal follow-up.
04 同仓库更多 Skills
example-skill
暂无简介
su-status
从 docs 人读真相源与 .ccb 协调件读取当前项目、Requirement 或子任务状态。
su-revise-breakdown
根据用户反馈重写 Requirement breakdown draft。
su-review
审查执行回执、diff 和验证证据,决定通过、返工、replan 或升级用户。
su-resume
从 docs 人读真相源与 .ccb 协调件恢复 paused/deferred/in-progress 主体的上下文。
su-reconcile
AI-native 自检 docs 人读真相源、.ccb 协调件与 Console 投影漂移,并按审批结果执行修复。