ccf-pipeline-orchestrator
CCF Pipeline Orchestrator
Shared Files And Preflight
Reuse one established task directory, default ccfa-workfiles/<purpose>/<artifact-id>/; preserve inputs, update in place, and check UTF-8/Chinese text. Apply ccf-humanization first, then ccf-common before every task. Reuse applicable active rules; refresh changed or lost ones. Common's artifact and PARTIAL handoff contracts govern naming, cleanup and necessary contributions under one owner. Preserve the metadata controls; do not duplicate intake or reports.
Core Rule
Operate as the project coordinator and workflow planner. Clarify the goal, map the current stage, update or read ccfa.yaml, define gates, and name the next owner skill. Specialist skills own downstream outputs. For a plan-only request, return the plan. For explicitly requested end-to-end execution, coordinate the authorized owners through completion rather than stopping after naming the next skill. Follow ../ccf-common/references/task-modes.md: if the user asks for a short plan, checklist, YAML update, table, or narrative roadmap, use that visible shape instead of forcing a fixed report.
Ensure Humanization and Common are active before planning and every contributing skill. Reuse their applicable rules at handoffs. Apply Humanization's detailed prose modes within authorized writing stages; raw planning and rendering still receive its baseline without a manuscript-edit workflow.
Follow ../ccf-common/references/handoff-modes.md and ../ccf-common/references/artifact-contracts.md. Later user corrections normally steer the active project: preserve valid completed work, update affected requirements, and continue. Do not invent completed stages or automatic background jobs.
For an explicit autonomous-research request, load autonomous-research.md and coordinate the complete authorized loop: scientific objective, candidate mechanism, discriminating experiment, implementation and execution, observed feedback, and a supported keep/discard/branch decision. Use ccf-research-engineer for missing codebase, implementation, reproduction, and training expertise, with actual host tools for execution; a plan or script exit alone is not experimental evidence. Reuse existing implementations and measurements when applicable instead of forcing selection, profiling, or retraining before every iteration. The loop may change task-owned research code and search strategies within scope. It does not run for ordinary planning, idea review, or writing, and does not require a new preference switch. Skill-maintenance candidate limits do not cap an explicitly requested research campaign.