Skip to content

feat: migrate 6 daily workflows to opencode, crush, and goose engines - #50557

Merged
pelikhan merged 1 commit into
mainfrom
copilot/update-agentic-workflows-again
Aug 5, 2026
Merged

feat: migrate 6 daily workflows to opencode, crush, and goose engines#50557
pelikhan merged 1 commit into
mainfrom
copilot/update-agentic-workflows-again

Conversation

Copilot AI commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Assigns experimental CLI engines to 6 daily workflows as a trial, replacing engine: claude with opencode, crush, or goose and wiring the required shared definitions, model, and permissions.

Engine assignments

Engine Workflows
opencode daily-reliability-review, daily-security-red-team
crush daily-arxiv-researcher, daily-code-metrics
goose daily-team-evolution-insights, daily-token-consumption-report

Changes per workflow

  • engine.id set to target engine
  • model: copilot/claude-sonnet-4.5 added (required by all three engines)
  • imports: shared/<engine>.md prepended to existing imports
  • permissions.copilot-requests: write added where missing (crush, goose)
  • network.allowed: [defaults, github] added where missing (opencode, goose)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title feat: update 6 daily workflows to use opencode, crush, and goose engines feat: migrate 6 daily workflows to opencode, crush, and goose engines Aug 5, 2026
Copilot AI requested a review from pelikhan August 5, 2026 13:19
@pelikhan
pelikhan marked this pull request as ready for review August 5, 2026 13:23
Copilot AI balanced review requested due to automatic review settings August 5, 2026 13:23
@pelikhan
pelikhan merged commit 00b7efb into main Aug 5, 2026
@pelikhan
pelikhan deleted the copilot/update-agentic-workflows-again branch August 5, 2026 13:23
Copilot stopped reviewing on behalf of pelikhan due to an error August 5, 2026 13:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

This PR migrates several GitHub Agentic Workflows from the legacy claude engine to newer engines (goose, crush, opencode) while updating permissions/imports and regenerating lockfiles accordingly.

Changes:

  • Switch workflow frontmatter to engine.id + model (Copilot model) and add copilot-requests: write where needed.
  • Add engine-specific shared imports (e.g., shared/goose.md, shared/crush.md, shared/opencode.md) and network allowlists.
  • Regenerate lock workflows to use Goose/Crush harness + MCP config adapters and remove Claude-specific steps/secrets.
Show a summary per file
File Description
.github/workflows/daily-token-consumption-report.md Move to Goose engine + Copilot model; add copilot-requests permission and goose import/network allowlist.
.github/workflows/daily-team-evolution-insights.md Move to Goose engine + Copilot model; add copilot-requests permission and goose import.
.github/workflows/daily-team-evolution-insights.lock.yml Regenerated lockfile to run via Goose harness, new MCP adapter, updated permissions/env/telemetry fields.
.github/workflows/daily-security-red-team.md Move to OpenCode engine + Copilot model; add network allowlist and opencode import; tool config changed.
.github/workflows/daily-reliability-review.md Move to OpenCode engine + Copilot model; add network allowlist and opencode import.
.github/workflows/daily-code-metrics.md Move to Crush engine + Copilot model; add copilot-requests permission and crush import.
.github/workflows/daily-arxiv-researcher.md Move to Crush engine + Copilot model; add copilot-requests permission and crush import.
.github/workflows/daily-arxiv-researcher.lock.yml Regenerated lockfile to run via Crush harness + MCP adapter; removed Claude + memory-related jobs/steps.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 7/12 changed files
  • Comments generated: 7
  • Review effort level: Lite

Comment on lines +146 to +151
GH_AW_INFO_EXPERIMENTAL: "true"
GH_AW_INFO_SUPPORTS_TOOLS_ALLOWLIST: "false"
GH_AW_INFO_STAGED: "false"
GH_AW_INFO_ALLOWED_DOMAINS: '["*.grafana.net","*.sentry.io","defaults","github"]'
GH_AW_INFO_FIREWALL_ENABLED: "true"
GH_AW_INFO_AWF_VERSION: "v0.27.43"
GH_AW_INFO_FIREWALL_ENABLED: "false"
GH_AW_INFO_AWF_VERSION: ""
Comment on lines +883 to +886
const installDir = mkdtempSync(join(tmpdir(), "goose-"));
const archive = join(installDir, "goose.tar.gz");
const releaseURL = "https://github.com/aaif-goose/goose/releases/download/v1.45.0/goose-x86_64-unknown-linux-gnu.tar.gz";
const checksum = "e0db638ac437ca0a60b0c1622f45322608d228d1a285214c3bf48fd9763346a5";
if (createHash("sha256").update(readFileSync(archive)).digest("hex") !== checksum) {
throw new Error("Goose download checksum did not match");
}
fail(spawnSync("tar", ["-xzf", archive, "-C", installDir], { stdio: "inherit" }), "Goose extraction");
}

const prompt = readFileSync(process.env.GH_AW_PROMPT, "utf8");
fail(spawnSync(join(installDir, command), [...commandArgs, "run", "--no-session", ...extensions, "-t", prompt], { stdio: "inherit", env }), "Goose execution");
Comment on lines +702 to +704
const gatewayOutput = JSON.parse(fs.readFileSync(gatewayOutputPath, "utf8"));
const rawServers = gatewayOutput.mcpServers;
const servers = rawServers && typeof rawServers === "object" && !Array.isArray(rawServers) ? rawServers : {};
Comment on lines +129 to +134
GH_AW_INFO_EXPERIMENTAL: "true"
GH_AW_INFO_SUPPORTS_TOOLS_ALLOWLIST: "false"
GH_AW_INFO_STAGED: "false"
GH_AW_INFO_ALLOWED_DOMAINS: '["defaults"]'
GH_AW_INFO_FIREWALL_ENABLED: "true"
GH_AW_INFO_AWF_VERSION: "v0.27.43"
GH_AW_INFO_FIREWALL_ENABLED: "false"
GH_AW_INFO_AWF_VERSION: ""
Comment on lines +672 to +674
const gatewayOutput = JSON.parse(fs.readFileSync(gatewayOutputPath, "utf8"));
const rawServers = gatewayOutput.mcpServers;
const servers = rawServers && typeof rawServers === "object" && !Array.isArray(rawServers) ? rawServers : {};
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Excellent work on the engine migration trial! This PR successfully assigns experimental CLI engines (opencode, crush, and goose) to 6 daily workflows, which is exactly the kind of focused infrastructure update that keeps gh-aw testing and improving its agentic capabilities.

What's particularly strong here:

  • Focused scope — All 12 changed files are related to the 6 target workflows; no unrelated changes mixed in.
  • Clear documentation — The PR body includes a well-organized table explaining engine assignments and a bulleted list of changes applied per workflow.
  • Structured changes — Each workflow consistently receives: engine ID assignment, model specification, shared imports, and permission/network wiring where needed.
  • Core team process — This PR was correctly created by the Copilot agent (consistent with the agentic development model described in CONTRIBUTING.md).

Notes for future similar migrations:
When rolling out additional engine trials or migrations in the future, consider whether lock file regeneration (the bulk of this diff) would benefit from a companion validation sweep, though the current approach is solid.

The PR is ready for review and appears to follow all contribution guidelines for this agentic-first project. Great collaboration! 🚀

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • patchdiff.githubusercontent.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "patchdiff.githubusercontent.com"

See Network Configuration for more information.

Generated by ✅ Contribution Check · auto · 54.1 AIC · ⌖ 3.87 AIC · ⊞ 8.8K ·

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.85.1

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.

3 participants