# Original Behavior Map This map anchors the suite to the supplied `ai-agent-system-bootstrap.SKILL.md` (SHA-256 `620463275a2ea9018e71d6c5410e8383720f6c255af124307fda625b12b4b761`). Preserve the behavior in every row; phase separation changes ownership of the work, not its outcome. | Original capability | Owning suite surface | Preservation gate | |---|---|---| | Understand project purpose, users, stack, modules, data, integrations, quality, delivery, security, runtime, and existing Agent Team | Inspect → `ProjectSnapshot` | Every conclusion carries evidence, assumption, unknown, or blocker; raw evidence and module boundaries remain available | | Keep overall project understanding across the run | `BootstrapRun` + `ProjectSnapshot` + repository-readable Design + traceability | IDs and verbatim constraints remain bound; Design may expand repository evidence; later phases cannot silently replace facts | | Generate the smallest useful yet complete team from actual responsibility boundaries | Design + `agent-team-design.md` | Every domain has a disposition; anti-collapse and count-only-role audits pass; no fixed count or cap | | Treat Agent roles independently from SubAgent execution | Design + generated runtime + workflows | Role existence is decided first; execution mode is recorded separately | | Preserve explicit Agent/Skill precedence | `generated-team-runtime.md`, root template, Validate | Automatic matching runs only when neither is named, except explicit override requests | | Keep global Skills explicitly opt-in | `generated-team-runtime.md`, root template, Validate | Project Skills are `.ai/skills`; no Agent or workflow self-authorizes a global Skill | | Generate project Agents with role, input, output, decisions, execution capability, and return contract | Agent schema/template + Render + Validate | Required headings, references, modes, and return fields validate | | Generate reusable action-oriented project Skills | Skill schema/template + Render + Validate | Skills live only at `.ai/skills//SKILL.md` and pass frontmatter/body checks | | Generate lifecycle workflows as dependency graphs | Workflow schema/template + Render + Validate | Steps declare routing, dependencies, modes, scopes, stable inputs, outputs, verification, and gates; DAG and parallel ownership validate | | Preserve selective SubAgent orchestration, context isolation, concurrency, merging, and independent review | `subagent-execution.md` + `orchestration-scaling.md` + generated runtime | Essential rules always exist; separate policies scale from inline through parallel; sequential fallback remains | | Preserve existing human root instructions and avoid duplicate generated blocks | Ownership policy + direct repository generation | Only the managed block is updated; marker conflicts block writes | | Generate files only after complete design, then verify references and output integrity | Render → `RenderResult`; Validate → `ValidationReport` | Rendering writes managed repository paths; inventory, UTF-8, paths, references, counts, hashes, semantics, and warnings are checked in place | | Report assumptions, partial failures, unresolved risks, and verification honestly | All contracts + Bootstrap failure/final output | Blocked/failed phases stop the run; structured results retain evidence and risks |