Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

docs: plan for GitHub Actions agent automation with opencode - #190

Open
negativeeddy wants to merge 2 commits into
masterfrom
docs/github-actions-agents-plan
Open

negativeeddy wants to merge 2 commits into
masterfrom
docs/github-actions-agents-plan

Conversation

@negativeeddy

Copy link
Copy Markdown
Owner

Summary

Adds docs/PLAN-GITHUB-ACTIONS-AGENTS.md — a complete plan for converting the ARM-Sharp agent fix/review loop (.agents/skills/issue-fixer + pr-reviewer) into GitHub Actions using opencode on standard runners.

What the plan covers

  1. Automation — run the issue fixer when agent-ready/agent-changes-requested is added to an issue; run the PR reviewer when an agent PR is created (plus re-review after rework).
  2. Model strategy — Big Pickle (opencode/big-pickle, free Zen) consumed first; OpenCode Go models (glm-5.3-flash fixer / mimo-v2.5 reviewer) as paid fallback. Same OPENCODE_API_KEY works for both.
  3. Usage gating — no public usage/balance API exists, so the plan uses a probe (tiny max_tokens:1 request) → 200 = use model, 429 = fall back → re-queue label + hourly sweep backstop.
  4. Three workflows — fixer.yml (label-triggered), reviewer.yml (PR-created + re-review), sweep.yml (hourly backstop), all with full YAML in the doc.
  5. Local invocation & disabling — skills stay the single source of truth; AGENT_AUTOMATION_ENABLED repo variable toggle pauses all three workflows without touching files; local runs (Copilot/opencode) keep working for testing.
  6. Rollout & testing — 9-step rollout incl. local-first testing, pilot on a low-priority issue, gate testing, and queue drain.

Notes

  • Uses use_github_token: true — no GitHub App or PAT needed, just the workflow GITHUB_TOKEN with issues/contents/pull-requests: write permissions.
  • No workflow files are created yet — this PR is the plan only; implementation is a follow-up.

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