编辑 | blame | 历史 | 原始文档

Orchestration Scaling Policy

Preserve orchestration capability while scaling its files to the project.

Inline level

Use for small, tightly coupled projects. Put execution-mode choice, bounded handoff fields, the unified return contract, single-writer ownership, sequential fallback, integration authority, and verification gates in root AGENTS.md and workflows. Do not create .ai/orchestration only to repeat those rules.

Coordinated level

Add .ai/orchestration/execution-policy.md when multiple Agents require recurring execution-mode decisions, failure handling, or concurrency limits.

Isolated level

Add subagent-contract.md and context-policy.md when independent review, security/QA isolation, context separation, versioned source-of-truth artifacts, or stale-work handling is material.

Parallel level

Add merge-policy.md when independent writers can run concurrently, worktrees are used, several outputs require integration, or merge order and conflict decisions recur.

Every level keeps role selection separate from thread selection. Parallelism requires stable inputs, dependency-independent tasks, disjoint write scopes, synchronization gates, and one integration owner. When runtime isolation is unavailable, execute the same role and workflow boundaries sequentially inline.