Repository navigation
Conversation
Add the --github-repo and --repo-dir flags to setup. With --github-repo, setup finds the GitHub registration of the AWS account, or opens the console and waits for it. Then it connects the repository to the agent space. With the gh CLI, it stores the Kiro API key as a secret, lets GitHub Actions open pull requests, writes the three Kiro files, and asks before it protects the default branch. This is a prototype. It has no tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When the AWS account has no GitHub registration, setup now opens the console form that registers GitHub, not the console home page. It prints two or three steps: choose Organization for an organization repository, choose Submit, and authorize the app in GitHub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
This prototype adds a GitHub and Kiro step to
ldcli aws-devops-agent setup. The step runs when you pass--github-repo owner/name. The goal is to replace guide Steps 3 to 6 of Automating the experimentation lifecycle with AWS DevOps Agent with one command. Then the in-app setup page can skip the link to the guide.The step does these actions after the usual setup:
RegisterServicedoes not acceptgithub. If there is no registration, setup opens the console form at#/services/register/githuband prints two or three steps: choose Organization for an organization repository, choose Submit, and authorize the app in GitHub. Then it pollsListServicesuntil the registration appears.AssociateServiceand aGitHubConfiguration.KIRO_API_KEYrepository secret. It reads the key from theKIRO_API_KEYenvironment variable, or it asks for the key with hidden input. It sends the key togh secret seton stdin..kiro/agents/flag-implementer.json,.github/workflows/kiro-implement.ymland.github/workflows/merge-pr.ymlinto--repo-dir. The files are copies from the guide.--basegets the real default branch of the repository, notmain. Setup keeps a file that exists and does not commit.workflow_dispatchtrigger.These are the open questions:
AssociateServicewhen the GitHub App is not on the repository is not known.ghCLI as the person who runs setup, and they need admin access. A version for release can use the GitHub API directly.launchdarkly/ai-tooling, the same as the skill.This prototype has no tests.
🤖 Generated with Claude Code