Create/refine project `specs/dod.md` as the canonical Deployment & Operations Document.
Read for reusable patterns only:
.github/skills/plan-authoring/SKILL.md — planning expectations for technical/deployment context.github/skills/clarify-spec/SKILL.md — batched questions and recommended answers.github/skills/init-project/SKILL.md — shared config creation and preservationRead when present: README.md, project-instructions.md, .github/sddp-config.md, specs/prd.md, specs/sad.md, specs/dod.md.
If .github/sddp-config.md exists:
## Product Document → **Path**: when non-empty and readable## Technical Context Document → **Path**: when non-empty and readable## Deployment & Operations Document → **Path**: when non-empty and different from specs/dod.mdTreat SAD as primary architecture input. Extract deployment model, hosting, cross-cutting concerns, quality targets, architecture decisions affecting operations.
Search most relevant extra deployment/operations inputs:
docs/ files mentioning deployment, infrastructure, DevOps, CI/CD, monitoring, observability, SRE, operations, environments, Docker, Kubernetes, Terraform, or cloud providersDockerfile, docker-compose.yml, .github/workflows/, Makefile, Procfile, Jenkinsfile, or IaC files when presentSummarize as PROJECT_CONTEXT before asking questions.
specs/dod.md exists with substantive content → MODE = REFINE; else CREATEDOD_CONFLICT = true when registered Deployment & Operations Document differs from specs/dod.md and both existInfer deployment complexity from repo context and available docs.
BLOCKING_CHOICES: cloud/provider or hosting choice, deployment model, environment ladder, packaging model, IaC approach, canonical document handlingFOLLOW_UP_DECISIONS: CI/CD design, observability stack, SLI/SLO targets, incident management, security/compliance posture, ownership/process, cost optimizationSkip anything already resolved.
BLOCKING_CHOICES non-empty → ask one batch before research.
DOD_CONFLICT handling when presentRun only after Step 4 answers (unless no blocking choices).
Report: Researching deployment patterns, operational best practices, and reliability engineering.
Delegate: Technical Researcher (.github/agents/_technical-researcher.md):
PROJECT_CONTEXT, deployment complexity, constraints, SAD decisions, Step 4 answers, unresolved FOLLOW_UP_DECISIONSspecs/dod.md and remaining deployment/operations decisions."Use research only for unresolved follow-up decisions and final DOD content.
Unresolved FOLLOW_UP_DECISIONS remain → ask one batch.
Use .github/skills/deployment-operations/assets/dod-template.md as starting structure. Ensure specs/ exists.
The DOD must contain:
DDR-### decisions, risks, assumptions, constraints, open questionsWriting rules:
Registration:
.github/sddp-config.md exists (current shared config structure if missing)specs/dod.md as ## Deployment & Operations Document → **Path**: unless user explicitly keeps another documentspecs/dod.md; report downstream phases keep using registered pathVerify:
specs/dod.md existsDDR-### identifiers.github/sddp-config.md exists; registered paths match chosen canonical sourcesOutput:
MODEspecs/dod.md path and registration outcome/sddp-projectplan — suggested prompt using registered Product Document, Technical Context Document, and specs/dod.md/sddp-init — suggested prompt preserving or adopting specs/dod.md