Files
agent-runtime-framework/task-templates/workflow/merge@1.yaml

30 lines
1.3 KiB
YAML

name: merge
version: 1
description: Prepare a reviewed implementation for merge — runs pre-merge checks and marks item merge-ready
# MiniMax M3 (2026-09-02): merge prep is mechanical (checklist + verdict);
# moved off the Anthropic subscription. impl-review stays on Sonnet.
runtime: best-practices-minimax-repo
input:
state: impl-reviewed
tags_forbidden: []
required_artifacts: []
output:
state: merge-ready
scope_budget:
files_modified_max: 1
lines_diff_max: 200
wall_clock_seconds_max: 600
nodes:
- id: agent
kind: agent
template: best-practices-minimax-repo
runtime_env:
AGENT_REPO_URL: "git@gitea.oreillyit.nz-ai-enablement:skynet/agent-runtimes-agents.git"
# AR-39a: fresh task branches seed from live upstream, not the fork mirror
AGENT_UPSTREAM_REPO_URL: "git@gitea.oreillyit.nz-ai-enablement:skynet/agent-runtimes.git"
AGENT_UPSTREAM_BRANCH: "main"
AGENT_BRANCH: "task/${item.uuid}"
AGENT_SKIP_BRANCH_PUSH: "true"
AGENT_EMPTY_DELIVERABLE_CHECK: "false"
prompt: "Review the implementation for '${item.title}' (project: ${item.project_id}). Write a concise merge checklist to /workspace/.agent-output/merge-checklist.md covering: (1) tests pass, (2) scope matches spec, (3) no regressions. End with MERGE_READY or NEEDS_REWORK."