Manage project environments from the workspace - #17
Merged
Merged
Conversation
Add an environment manager sheet to the project workspace so environments can be added, renamed, reordered, protected, and deleted without leaving the vault. Controls follow the authz matrix: members create and edit, owners and admins also delete, read-only members never see the entry point. Deleting an environment that still holds secrets asks for an explicit second confirmation. Project responses now carry the live environment list in display order, so project cards reflect the real environments rather than the defaults setting that only seeds a new project. The workspace pushes manager edits back to the shell so cards update without a reload. Also fix two matrix issues in the cross-environment diff: cells now pack their lines to the top so the presence and change markers line up across columns, and the consistency report orders environments by display order instead of by id. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BYWxxR2NNnYAt3CyVfBpUv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
environmentsarray (id, name, slug, protected, display order). Project cards read it instead ofsettings.defaultEnvironments, and manager edits update the card in place.docs/openapi.jsonregenerated.Test plan
npm run typecheckenvironments.spec.tscovering add, reorder, rename, protect, duplicate-slug error, both delete paths, and card sync)npm run docs:check🤖 Generated with Claude Code
https://claude.ai/code/session_01BYWxxR2NNnYAt3CyVfBpUv