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

Agent Team Design Policy

Design the smallest complete Agent Team from current project responsibility boundaries. "Smallest" removes roles with no independent decision value; "complete" preserves every evidenced long-term responsibility with distinct judgment, risk, verification, or module ownership.

Responsibility coverage

Evaluate every domain below and record one disposition in SystemBlueprint.responsibility_coverage:

  • product and requirements
  • architecture
  • frontend and user interaction
  • backend and integrations
  • data, persistence, and migrations
  • security, permissions, secrets, privacy, and safety
  • QA, compatibility, and release confidence
  • build, packaging, deployment, and operations
  • documentation and onboarding
  • final independent review
  • project-specific business or technical domains

Use not-applicable only with repository evidence. Use combined-agent only when the combined responsibilities share the same decisions, artifacts, risks, verification methods, and module ownership. Use dedicated-agent when any of those differ materially. Use workflow-owned only for a bounded lifecycle concern with no durable role ownership.

Role versus execution

Decide whether a role exists before choosing its execution mode. A role may remain a distinct Agent definition while normally running inline. SubAgent startup cost, thread count, and coordination cost control execution planning; they never erase a durable responsibility.

Anti-collapse audit

Before completing Design:

  1. Inspect every general Agent that owns more than two technical domains.
  2. Split it when the domains have different technical judgments, risks, verification methods, or module ownership.
  3. Confirm frontend, backend, data, security, DevOps, documentation, and project-specific domains were not omitted merely because they often execute inline.
  4. Confirm no Agent exists solely to increase count, parallelism, or prompt specialization.
  5. Confirm different repository evidence can produce materially different team sizes and structures.

Small repositories may close the lifecycle with one primary implementation Agent plus one verification role. Complex full-stack or multi-module repositories commonly require more than five Agents when their responsibility boundaries are independent. No numeric target or cap applies.

Skills and workflows

Create project-local Skills for repeated executable procedures, not job titles. Create workflows for real project lifecycles and express dependencies, stable inputs, execution modes, scopes, synchronization, verification, and routing. Keep explicit Agent/Skill selection precedence and global-Skill opt-in in the generated runtime.