docs(design): ADR-0059 — a deployment environment is a stage, not a branch #385
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.60) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 208 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.320
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #385"
general
weight: 0.35
wmadden-electric
This ADR records that Composer's word for a deploy-time environment is stage, and that it stays that way on every public surface: the
--stageflag, thedestroyoperation's{ kind: 'stage', stage }target, the guides, errors and the agent skill.A stage is a concept of Composer's core. The same module graph deploys unchanged to any stage, and the deploy state is kept per stage. Alchemy, the deploy engine underneath, uses the same word. A deployment target decides what a stage becomes on its platform. On Prisma Cloud a stage resolves to a Branch, as ADR-0024 describes; this ADR does not change that. A stage also names local development (
prisma dev), which has no Branch and never can."Branch" is Prisma Cloud's term, and it brings a GitHub-shaped workflow with it: a pushed git branch becomes a Branch. Not every project deploying to Prisma Cloud with Composer works that way, and
--branch stagingreads as "the git branch called staging". So the Prisma Cloud term stays inside the Prisma Cloud extension and in output that reports what the platform did.The ADR also adds a line to the glossary's Stage entry and an entry to the ADR index.
Numbering: ADR-0057 is claimed by #382, #383 and #384, so this takes 0059 to leave room for them.
Alternatives considered (in the ADR): rename to
--branchwith a deprecated--stagealias; keep both words as synonyms; call it "environment". All three are rejected.Agent: ptah-43
🤖 Generated with Claude Code