docs(runbooks): continuously deployed Kubernetes agents with Actions - #277
Merged
Conversation
The procedure now exists as ai-outfitter/agent-operator/actions/deploy-catalog and has one fully green run behind it (Unsupervisedcom/.agents, fleet of 3 converged), so the runbook may name it: steps 2-5 are the action, step 1 stays the consumer's. Written only after the run existed — a doc pointing at an unproven procedure is the rung-3 failure this arc started from. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ncrmro
enabled auto-merge
August 13, 2026 20:56
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.
A fourth runbook: a merge to a catalog moves the resident agent fleet to that revision, with no stored cluster credential.
Distilled from two independent working implementations — one GitHub Actions → AWS OIDC → EKS, one Forgejo Actions → OIDC → a self-hosted cluster. They agree on every load-bearing detail, which is why this is worth writing down once:
__CATALOG_REVISION__is not a syntax error — it applies cleanly and deploys nothing.Readyalone lies. Convergence isgeneration == observedGeneration && Ready && resolved revision == pushed revision.Also records three failures that produce no useful error, each learned the hard way on both forges: a renamed workflow file breaks the OIDC subject; job-level
envwith${{ }}fails at run creation with no logs; a shallow checkout silently breaks path-based leg selection.Not ready to merge. Two reasons, both deliberate:
agents/<id>/deployment.yamlconvention this assumes exists in zero catalogs today — both references usedeploy/<agent>.yaml. The convention lands first.The "Done when" section deliberately cites no SDLC signal, because
linkhas none for continuous deployment. It verifies against the cluster directly instead. A scanner signal can follow later as its own change.Filename fixes a typo-duplication in the requested name (
deploying … deployed); happy to rename. It also breaks the short-imperative pattern of the other three runbooks — noted, and kept, because it says what it is.🤖 Generated with Claude Code