Skip to content

feat(opencode): read approved private cache entries - #84

Merged
xnoto merged 1 commit into
mainfrom
agent/approved-private-repo-search-policy
Sep 5, 2026
Merged

feat(opencode): read approved private cache entries#84
xnoto merged 1 commit into
mainfrom
agent/approved-private-repo-search-policy

Conversation

@xnoto

@xnoto xnoto commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates every primary agent to prefer repo-search for ordinary cached reads of public repositories and owner-approved private cache entries. Grants the packaged OpenCode configuration the requested /repos/* path permissions and releases opencode-server chart 0.1.65.

Fixes #

None — owner-approved repository-routing change.

Type of change

  • Bug fix
  • Feature / enhancement
  • Documentation
  • Infrastructure (OpenTofu root or module)
  • GitOps desired state (manifests, kustomize, charts, SOPS/KSOPS secrets)
  • Container image
  • CI / reusable workflow
  • Refactor / cleanup
  • Breaking change

Validation

  • Required pull-request checks pass — test run 33945440259 passed repository hygiene and Helm validation.
  • Generated or centrally distributed files were regenerated by their owning automation, not hand-edited — no generated files changed.
  • Manual diff review: all nine primary-agent definitions retain GitHub MCP for access/visibility checks, writes, and freshness-critical reads; the existing read-only repo-search routing remains intact.

No local Helm, OpenTofu, Kubernetes, or live-system operation was run or claimed. CI is the validation authority.

Impact and rollout

Producer: this change packages immutable chart opencode-server 0.1.65; it does not create a new MCP endpoint or change the read-only backend. The separate kustomize-cluster private-cache PR must make the approved private cache entries available before this routing is functionally useful.

Consumer: OpenCode receives the updated primary prompts, documentation, and /repos/* path-scoped permissions. Subagent definitions are unchanged. GitHub MCP remains required for GitHub mutations, access/visibility checks, and freshness-critical source.

Delivery stages: this PR authors and validates chart content only. After an explicitly approved merge, main may publish the immutable OCI chart and automatically open/update the separate kustomize-cluster version-pin PR. That desired-state update, Argo CD reconciliation, workload health, and representative agent behavior require separate evidence.

Rollback: select the previous immutable opencode-server chart version through a reviewed GitOps change; never patch the running ConfigMap or Deployment.

Safety and secrets

  • Contains no plaintext secrets, decrypted SOPS values, state files, kubeconfigs, tokens, or private endpoints.
  • No local OpenTofu init/plan/apply/destroy/import/state operations were run or claimed — plans come from pull-request checks.
  • Breaking or irreversible effects are described above with rollback notes.

GitHub Advanced Security secret scanning is unavailable for this repository; the diff was manually inspected. AI-assisted change: an OpenCode agent materially produced this change; reviewers should verify the exact /repos/* permission expansion, primary-only scope, and chart-version bump before merging.

…o-search

Cover public repositories and owner-approved private repositories present in the repo-search cache for ordinary cached reads in every primary agent's routing policy, keeping GitHub MCP for writes, branches, pull requests, access and visibility checks, and freshness-critical reads. Mirror the /artifacts/* path-scoped permissions for /repos/* and release chart 0.1.65.
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Chart CI passed

Repository hygiene and Helm validation passed. View the workflow run.

@xnoto
xnoto merged commit f75b1d7 into main Sep 5, 2026
4 checks passed
@xnoto
xnoto deleted the agent/approved-private-repo-search-policy branch September 5, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant