fix(opencode): allow bounded live-system diagnostics - #94
Open
xnoto wants to merge 6 commits into
Open
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
Allows OpenCode agents to retrieve, print, and summarize raw live-system output for authorized diagnostic work. The packaged policy now requires a bounded source, fields, and time range to reasonably exclude protected material; it retains the prohibition on credentials, decrypted secrets, auth material, private keys, kubeconfigs, OpenTofu state, and sensitive plans. It also prohibits printing, summarizing, attaching, committing, or persisting unexpectedly returned protected material.
The chart version is bumped from
0.1.72to0.1.73, and the chart README documents the runtime diagnostic boundary.Fixes N/A — owner-requested correction to the packaged OpenCode policy.
Type of change
Validation
test), changed-chart detection, andopencode-serverpackaging all passed.files/AGENTS.mddirectly.Impact and rollout
Producer:
opencode-server/files/AGENTS.md; consumer: the chart ConfigMap and resulting OpenCode runtime configuration. The immutable chart version bump is included.After an explicitly confirmed merge, the main workflow will publish the
0.1.73OCI chart and automatically create or update the separatekustomize-clusterversion-pin PR. That desired-state PR, its merge, Argo CD reconciliation, rollout health, and functional verification are unchanged and not completed by this PR.Rollback before merge: close this PR. After any future selection, select a prior chart version through the canonical GitOps owner and verify reconciliation separately.
Safety and secrets
AI-assisted change; independent adversarial, QA, release, and infrastructure-security reviews completed. The infrastructure-security reviewer’s High finding on unbounded diagnostic retrieval was resolved before this PR.