Repository navigation
docs(design): ADR-0059 — a place the app runs is an environment, not a stage or a branch - #385
Conversation
…ranch Records that "stage" is Composer's target-neutral term for a deploy-time environment, used on every public surface. Prisma Cloud maps a stage to a Branch; "branch" stays target vocabulary. Renaming --stage to --branch is rejected. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
✅ Gizmo reviewed 29fd604 — posted 0 inline comment(s) this pass. Open findings: none Change walkthroughThis incremental pass reviews the final polish on ADR-0059, the decision that Composer's word for a place the app runs is environment (replacing "stage" on every public surface and rejecting "branch"). The delta fixes the last dangling thread of the rename: a leftover "stage" in the glossary and a stale heading anchor in the ADR. Glossary (docs/design/03-domain-model/glossary.md:279) — The "Container — Project / Branch" entry was the last glossary text still saying "a stage resolves to". It now speaks of an environment and sharpens the Branch resolution rule: ADR-0059 (docs/design/90-decisions/ADR-0059-a-deployment-environment-is-called-an-environment.md:56) — The Related section's glossary link now points at I verified with a repo-wide search that ADR-0059's link is the only cross-document anchor into the glossary's Stage/Environment section, and that no stale |
A stage names any environment the app runs in, including prisma dev's, which can never be a Branch. Adds that to the reasoning and to the rejected --branch alternative. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
…anch # Conflicts: # docs/design/90-decisions/README.md
Every stage is an independent environment. A command's default --stage value is a parameter default, not a special environment, so the ADR no longer describes a nameless default stage. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
The ADR records the term only. A deploy without --stage still resolves as ADR-0024 describes, and the index entry no longer implies every stage is matched by gitName. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
Records the rename from stage to environment agreed in the custom-domains discussion, with the reasons branch stays rejected, and updates the glossary and index entries. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
…e ADR-0059 glossary anchor Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
This ADR records Composer's word for a place the app runs: environment. It replaces "stage" on every public surface (the flag,
destroy's target, guides, errors, the agent skill), and it rejects "branch".An environment is a concept of Composer's core, and the same module graph deploys unchanged to any of them. A deployment target decides what an environment becomes on its platform. On Prisma Cloud,
productionis the Branch the platform marks as the Project's default (created asmain), and any other environment is the Branch of thatgitName.devunderprisma devhas no Branch at all. Every environment has a name and none is special:prisma deploydefaults toproductionandprisma devtodev, as parameter defaults, not as a privileged environment."Branch" stays rejected: it is one target's term, it brings a git workflow with it, production's Branch is called
main, and local development can never be a Branch. "Stage" goes because it is unnatural; "environment" is what users already say, and it matches the dotenv convention Composer's config adapters follow.The ADR also rewrites the glossary's Stage entry as Environment and updates the ADR index.
Numbering: ADR-0057 is claimed by other PRs, so this takes 0059. The custom-domains design in #386 (ADR-0060 to ADR-0062) links to this ADR by its file name.
Agent: ptah-43
🤖 Generated with Claude Code