Skip to content

fix: hide the aws-devops-agent command - #958

Merged
cchu-ld merged 2 commits into
mainfrom
hide-aws-devops-agent
Oct 23, 2026
Merged

cchu-ld merged 2 commits into
mainfrom
hide-aws-devops-agent

Conversation

@cchu-ld

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

Copy link
Copy Markdown
Contributor

This change hides the aws-devops-agent command. It is still in development.

Cobra now leaves the command out of ldcli --help. The root usage listing in cmd/templates.go does not name it. The command still runs, and ldcli aws-devops-agent --help still shows its help.

The change also removes the command from README.md, so no public documentation names it.

🤖 Generated with Claude Code


Note

Overview
Hides the in-development aws-devops-agent command from public discovery while keeping it callable for early use.

The Cobra command is marked Hidden: true, so it no longer appears in default ldcli --help output. The hand-maintained root usage template in cmd/templates.go drops the aws-devops-agent line, and a test asserts it stays out of that listing. The large AWS DevOps Agent section is removed from README.md, so published docs no longer mention the integration.

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

cchu-ld and others added 2 commits October 22, 2026 17:08
The command and its flags can still change. Cobra now leaves the command
out of the help, and the root usage listing does not name it. The command
still runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cchu-ld
cchu-ld marked this pull request as ready for review October 23, 2026 00:12
@cchu-ld
cchu-ld requested a review from a team as a code owner October 23, 2026 00:12
@cchu-ld
cchu-ld requested review from a team and davidbrackbill and removed request for a team October 23, 2026 00:12
@cchu-ld
cchu-ld enabled auto-merge (squash) October 23, 2026 00:12
@cchu-ld
cchu-ld merged commit a6d1132 into main Oct 23, 2026
12 checks passed
@cchu-ld
cchu-ld deleted the hide-aws-devops-agent branch October 23, 2026 15:42
cchu-ld added a commit that referenced this pull request Oct 27, 2026
…sages (#978)

* feat: show the aws-devops-agent command in the help

This reverts the code part of #958. Cobra shows the command in the help
again, and the root usage listing names it. The README section stays out,
because the behavior changed after #958.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: name the MCP server of the agent space in setup messages

Since #968, setup registers a server for each agent space, named
LaunchDarkly-<agent space ID>, and a customer can rename a server. Some plan
lines and log messages still said "MCP server LaunchDarkly":

- The skip and ask plan lines, and the skip log, now say "the MCP server of
  this agent space", like the register line.
- The association logs name the server that setup reused or registered.
- The warning about a server that appeared after the first plan falls back to
  the name of the server of the space.
- The comments on MCPStep.name and MCPStep.Name say which name each one is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: name a server without a name by its ID in the second-plan warning

The warning fell back to MCPServerNameFor of the space when AWS sent no name.
That is the name that a run would register, not a name of the server that
appeared, and the plan text names the same server another way. The warning
now gives only the server ID, which identifies the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants