You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(repo-providers): add AWS CodeCommit as a third git platform (#529)
Adds CodeCommit support symmetrically with GitHub and GitLab so agent tasks
can clone, push, and open PRs against repos hosted in AWS CodeCommit.
- Extend GitPlatformType to include "codecommit" and parseRepoUrl/parsePrUrl
to recognise git-codecommit.<region>.amazonaws.com plus console PR URLs.
- New CodeCommitPlatform implementing the full GitPlatform interface via
@aws-sdk/client-codecommit (PR get/list, comments, approval states, three
merge modes, repo metadata, folder listing).
- New codecommit-credential-service that resolves AWS creds from secrets
(workspace -> global -> env vars) with a "workload-identity" sentinel for
IRSA / instance-profile fallback.
- Pod runtime: install AWS CLI v2 in the agent base image and wire
`aws codecommit credential-helper` for HTTPS clone auth in repo-init.sh
and agent-entrypoint.sh.
- Prompt templates: new GIT_PLATFORM_CODECOMMIT / CODECOMMIT_REPO /
BASE_BRANCH vars; agent uses `aws codecommit create-pull-request` and
`update-pull-request-approval-state` instead of gh/glab.
- Setup wizard: new CodeCommit panel with region + access key + secret +
session token inputs, validate button (sts:GetCallerIdentity +
codecommit:ListRepositories), and repo picker integration.
- Helm: document EKS IRSA via serviceAccount.annotations
(eks.amazonaws.com/role-arn).
Closes#527
Copy file name to clipboardExpand all lines: CLAUDE.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ Optio is an orchestration system for AI coding agents. Think of it as "CI/CD whe
19
19
8. Auto-resumes agent when reviewer requests changes (if enabled)
20
20
9. Auto-completes on merge, auto-fails on close
21
21
22
+
Supported git platforms: **GitHub**, **GitLab** (incl. self-hosted via `GITLAB_HOSTS`), and **AWS CodeCommit**. CodeCommit auths via AWS access keys (or IRSA / instance profile when running on EKS) and uses the AWS CLI credential helper for clones; PR ops go through `@aws-sdk/client-codecommit`. CodeCommit has no native CI or issues — `getCIChecks` returns `[]` (auto-merge still fires on `checksStatus="none"`), `listIssues` returns `[]`, and `reviewTrigger="on_pr"` is recommended over the default `on_ci_pass` for CodeCommit repos.
23
+
22
24
-**Standalone Task** — no `Where`. The agent runs in an isolated pod with no repo checkout, producing logs and side effects (e.g., queries Slack, posts to a database). Scheduled/webhook-driven runs of this flavor are the common case.
23
25
24
26
-**Persistent Agent** — long-lived, named, message-driven agent process that does _not_ terminate after running. Halts after each turn and waits to be re-woken by a user message, an agent message, a webhook, a cron tick, or a ticket event. Addressable by other agents in the same workspace via the inter-agent HTTP API (`/api/internal/persistent-agents/*`). Three configurable pod lifecycle modes: `always-on`, `sticky` (default, with idle warm window), and `on-demand`. UI at `/agents`. Schema: `persistent_agents`, `persistent_agent_turns`, `persistent_agent_messages`, `persistent_agent_pods`. See `docs/persistent-agents.md` and the demo in `demos/the-forge/`.
0 commit comments