-
Notifications
You must be signed in to change notification settings - Fork 10
44 lines (40 loc) · 1.86 KB
/
Copy pathissue-implement.yml
File metadata and controls
44 lines (40 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: issue-implement
# Dev agent **wiwi** — now DELEGATES to the shared olympus mechanism
# (Netis/olympus). This repo's implement policy — the default branch wiwi
# branches off, the build+test command it must make green, the scope ceiling,
# the `auto-agent` label on the DRAFT PR, and the agent name — all live in
# `.olympus.json`. The agent code + reusable workflow live in olympus,
# pinned to a tag. Upgrading the mechanism = bumping the @ref below (and
# `olympus_ref`) in lockstep.
#
# This is heron dogfooding the framework it spun out: olympus was extracted
# FROM heron's in-tree scripts/agent-bot/run_wiwi.sh, which has since been
# removed now that this delegation is proven (same staged approach as
# issue-triage.yml).
#
# wiwi still fires only when label `agent:try` lands on an issue — added by the
# triage agent on verdict=do, or by a human bypassing triage. The reusable
# workflow checks out THIS repo with the PAT, implements within the triaged
# scope, runs the build, and opens a DRAFT PR labelled `auto-agent`. Auto-merge
# gating remains downstream in pr-review.yml.
#
# Behavioral note (intentional): the in-tree workflow used
# `concurrency: cancel-in-progress: true` (re-labelling cancelled an in-flight
# wiwi). olympus's implement.yml fixes concurrency to cancel-in-progress:
# false — safer, since it never kills wiwi mid-push/half-PR. To retry a stuck
# run, cancel it explicitly via `gh run cancel` rather than re-labelling.
on:
issues:
types: [labeled]
permissions:
contents: write
issues: write
pull-requests: write
jobs:
implement:
if: ${{ github.event.label.name == 'agent:try' }}
uses: Netis/olympus/.github/workflows/implement.yml@v0.4.0
with:
olympus_ref: v0.4.0
runner_labels: '["self-hosted","heron"]'
secrets: inherit # LITELLM_BASE_URL / API_KEY / NO_PROXY + AGENT_GH_TOKEN + AUTO_MERGE_TEAM