Skip to content

feat: add --full-setup to aws-devops-agent setup - #981

Open
cchu-ld wants to merge 3 commits into
mainfrom
cchu/full-setup
Open

cchu-ld wants to merge 3 commits into
mainfrom
cchu/full-setup

Conversation

@cchu-ld

@cchu-ld cchu-ld commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

This change adds a --full-setup flag to ldcli aws-devops-agent setup. Passing this flag will do the full setup of operator apps, etc to an agent space. A space gets the full setup if (1) it's a space set up by ldcli or (2) full setup is passed.

Before this change, --auth-flow did two things. It set the operator app sign-in method, and it also asked for the full setup. Now --auth-flow only sets the sign-in method.

🤖 Generated with Claude Code


Note

Overview
Adds --full-setup to ldcli aws-devops-agent setup so users can run IAM roles, account association, and operator app changes on agent spaces ldcli did not create. --auth-flow now only selects operator app sign-in (iam/idc/idp); it no longer implies full provisioning on third-party spaces.

Connect-only runs error if --auth-flow is set without --full-setup, with guidance to add --full-setup or drop the auth flag. User-facing messages and the setup plan gain a Setup scope line (Full setup vs connect-only, with a pointer to --full-setup).

Breaking: automation that relied on --auth-flow alone to force full setup on an existing space must pass --full-setup as well.

Reviewed by Cursor Bugbot for commit c802b20. Bugbot is set up for automated code reviews on this repo. Configure here.

cchu-ld and others added 3 commits October 27, 2026 15:32
Before this change, --auth-flow also asked for the full setup on an agent
space that setup did not make. Now --full-setup asks for it, and
--auth-flow only sets the operator app sign-in method.

If setup only connects the MCP server to a space, --auth-flow has no
effect. In that case, setup stops with an error that names --full-setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The setup plan now has a Setup line. The line tells if the run is a full
setup. On a run that only connects the MCP server, the line tells the user
to run setup again with --full-setup to update the rest of the space.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The error now names the agent space and gives the two ways to continue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cchu-ld
cchu-ld marked this pull request as ready for review October 27, 2026 23:10
@cchu-ld
cchu-ld requested a review from a team as a code owner October 27, 2026 23:10
@cchu-ld
cchu-ld requested review from a team and btesfamariam and removed request for a team October 27, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant