Repository navigation
Conversation
cchu-ld
requested review from
zakk-verrilli-ld
and removed request for
a team
October 20, 2026 16:37
This was referenced Oct 20, 2026
If the region already has agent spaces, setup lists them and asks which one to use. On an existing space, setup only registers the LaunchDarkly MCP server and associates it with that space. It does not change the roles, the account association, or the operator app of that space. --agent-space-id picks a space without the list, and it now only connects the MCP server. --new-agent-space provisions another space. Without a terminal, setup reuses the space that matches --agent-space-name, or stops if no space matches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cchu-ld
force-pushed
the
cchu/aws-devops-1-space-choice
branch
from
October 20, 2026 16:55
e469ef6 to
4b6b341
Compare
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.
Requirements
Related issues
This PR is part 1 of a stack of 7 PRs for
ldcli aws-devops-agent. It goes onmain. Review and merge the PRs in order.Describe the solution you've provided
setuplists them and asks which one to use. The list also has a choice to provision a new space.setuponly registers the LaunchDarkly MCP server and associates it with that space. It does not change the IAM roles, the account association, or the operator app of that space.setupreuses the space that matches--agent-space-name. If no space matches, it stops and asks for--agent-space-idor--new-agent-space.Behavior change from
main:--agent-space-idnow only connects the MCP server. Onmain, it ran the full setup on that space. No release has the command yet.Describe alternatives you've considered
None.
Additional context
Testing:
go test ./...andgolangci-lintpass on this branch.🤖 Generated with Claude Code
Note
Overview
ldcli aws-devops-agent setupnow handles accounts that already have DevOps Agent spaces instead of always running full provisioning.In an interactive terminal, it lists existing agent spaces (plus an option to provision a new one), then either runs full
SetuporConnectExisting.ConnectExistingonly registers and associates the LaunchDarkly MCP server on the chosen space—it does not create IAM roles, AWS account associations, or re-enable the operator app (avoiding overwriting sign-in config).--agent-space-idis reframed to connect LaunchDarkly to that space (MCP-only path).--new-agent-spaceskips the prompt and provisions another space. Non-interactive runs (CI / JSON output) reuse a space whose name matches--agent-space-namefor idempotent re-runs, or error with guidance to pass--agent-space-idor--new-agent-spacewhen only unrelated spaces exist.Adds
AgentSpaceslisting ininternal/awsdevops, interactive selection helpers, tests, and README updates for the new behavior.Reviewed by Cursor Bugbot for commit 4b6b341. Bugbot is set up for automated code reviews on this repo. Configure here.