feat(opencode): prefer direct agent-knowledge commits - #85
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
Aligns all nine primary OpenCode prompts with
makeitworkcloud/agent-knowledgegovernance. Named agents with an authorizeddocs/agents/<agent>/subtree now prefer one scoped, descriptive GitHub commit directly tomainfor verified, non-sensitive knowledge updates. They do not open a branch, pull request, or merge operation for that scoped exception.The generic
defaultagent remains read-only for knowledge maintenance because it has no autonomous knowledge subtree. Pull requests remain the path for owner-requested review and changes outside an agent's own subtree. The homesteader exception retains private-access and owner-confirmed-fact safeguards.Fixes #
None — owner-approved agent-knowledge governance alignment.
Type of change
Validation
testrun 33976339312 passed repository hygiene and Helm validation.No local Helm, OpenTofu, Kubernetes, or live-system operation was run or claimed. CI is the validation authority.
Impact and rollout
Producer: this change updates immutable
opencode-serverpackage inputs and bumps the chart version from0.1.65to0.1.66.Consumer: the OpenCode Deployment receives the updated primary-agent prompts only after chart publication and a separate GitOps version pin. Subagent definitions, providers, MCP endpoints, Kubernetes resources, and secrets are unchanged.
Delivery stages: this PR authors and validates chart content. After an explicitly approved merge,
mainmay publish the immutable chart and automatically open or update the separatekustomize-clusterversion-pin PR. That desired-state update, Argo CD reconciliation, workload health, and representative agent behavior require separate verification.Rollback: select the prior immutable chart version through a reviewed GitOps change; never patch the running ConfigMap or Deployment.
Safety and secrets
GitHub Advanced Security secret scanning is unavailable for this repository; changed content was manually reviewed. AI-assisted change: an OpenCode agent materially produced this change; reviewers should verify the direct-main scope, default-agent authority boundary, homesteader safeguards, and chart-version bump before merging.