feat(opencode): add Terra execution subagent - #99
Merged
Merged
Conversation
Chart CI passedRepository hygiene and Helm validation passed. View the workflow run. |
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.
Summary
Adds
terra, a generic OpenCode execution subagent for bounded coding, debugging, and repository tasks. Its routing description explicitly covers the case where the assigning primary agent's execution budget is nearing completion. Terra usesopenai/gpt-5.6-terrawith the default variant; the assigning primary retains task interpretation, safety, delivery decisions, and final synthesis.Fixes #
N/A — owner-approved OpenCode agent capability.
Type of change
Validation
opencode-serverpackage build succeeded.files/agents/*.mdis packaged and mounted by the existing Helm.Files.Globtemplate; no generated source was edited.The chart test target asserts the exact Terra definition, chart version, unchanged default-agent selection, rendered ConfigMap and mount entries, and packaged agent-file path. PR checks validate authored chart content only; runtime agent selection and model availability require later rollout verification.
Impact and rollout
Producer changed:
opencode-serverchart version0.2.0.After the approved merge and successful
mainpackage job, charts publishes immutableoci://ghcr.io/makeitworkcloud/charts/opencode-server:0.2.0. Existing automation then creates or updates the separatemakeitworkcloud/kustomize-clusterOpenCode version-pin PR. Its required checks and auto-merge govern desired-state selection. That PR does not itself prove Argo CD reconciliation, workload health, or Terra behavior.After the GitOps pin merges, validate the root and child Application revisions and health, the Deployment rollout, and a fresh OpenCode session that can select Terra for a bounded task. Rollback is a manual GitOps pin to an earlier immutable chart version.
Safety and secrets
AI-assisted change; reviewer scrutiny requested.