Skip to content

feat(opencode): proactively delegate cost-effective work - #82

Merged
xnoto merged 2 commits into
mainfrom
feat/proactive-subagent-delegation
Sep 5, 2026
Merged

feat(opencode): proactively delegate cost-effective work#82
xnoto merged 2 commits into
mainfrom
feat/proactive-subagent-delegation

Conversation

@xnoto

@xnoto xnoto commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update all nine full-capability primary-agent prompts to proactively delegate bounded, independently verifiable research, extraction, review, and implementation work when a capable lower-cost worker can reduce total cost or latency.
  • Preserve primary ownership of interpretation, architecture, safety, cross-repository impact, mutation authorization, and final conclusions; require scoped delegation prompts, independent parallelism, and verification of material findings.
  • Document the policy in the agent-instruction architecture and bump the immutable opencode-server chart version from 0.1.62 to 0.1.63.

Fixes #

None — owner-approved policy adjustment.

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 — workflow run 33919957833 passed repository hygiene, Helm validation, changed-chart detection, and package opencode-server on rerun.
  • Generated or centrally distributed files were regenerated by their owning automation, not hand-edited — none exist among the changed chart inputs.
  • Reviewed both branch commits and the complete 11-file prompt, architecture, and version diff. No local Helm, OpenTofu, or repository checks were run or claimed; CI is the validation authority.

Impact and rollout

Producer changed: makeitworkcloud/charts owns the packaged OpenCode prompts and non-secret configuration. This authored and validated change updates the nine primary-agent definitions, their architecture document, and chart version 0.1.63; it does not change subagent definitions, default_agent, images, secrets, or GitOps source.

Consumer unchanged until merge: after an explicitly approved merge, the charts main workflow can publish immutable chart 0.1.63 and automatically create or update the separate makeitworkcloud/kustomize-cluster version-pin pull request. That generated desired-state PR, its merge, Argo CD reconciliation, workload health, and representative agent behavior remain separate, unverified stages.

Rollback: select the prior immutable chart version through the canonical kustomize-cluster Application workflow; never overwrite an OCI version.

Safety and secrets

  • Contains no plaintext secrets, decrypted SOPS values, state files, kubeconfigs, tokens, or private endpoints — the diff was manually reviewed. GitHub Advanced Security secret scanning is unavailable for this repository.
  • 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 — no live change is made by this pull request.

AI-assisted change: an OpenCode agent materially produced this prompt-policy and documentation update; reviewers should verify the primary-decision boundaries and all nine role-local prompt copies.

@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 9e6fe4e into main Sep 5, 2026
7 of 8 checks passed
@xnoto
xnoto deleted the feat/proactive-subagent-delegation branch September 5, 2026 02:57
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