diff --git a/.changeset/file-issues-runner-input.md b/.changeset/file-issues-runner-input.md new file mode 100644 index 0000000..e6a04fb --- /dev/null +++ b/.changeset/file-issues-runner-input.md @@ -0,0 +1,4 @@ +--- +"github-agent-workflow": patch +--- +`file-github-issues` now lists `runner` like every other pipeline skill, and the protocol's **Defaults** table names it. `explore-github-repo` passes its runner name on when it dispatches the skill, so the runner no longer falls back to `unknown`. The runner prompts are regenerated. diff --git a/skills/meta/agent-workflow-protocol/SKILL.md b/skills/meta/agent-workflow-protocol/SKILL.md index 6ac3837..1ab402b 100644 --- a/skills/meta/agent-workflow-protocol/SKILL.md +++ b/skills/meta/agent-workflow-protocol/SKILL.md @@ -105,7 +105,7 @@ A key-value pair and free text that name the same thing resolve to the pair. An | `max_review_rounds` | `3` | `review-github-pr` | | `max_item_failures` | `3` | `triage-github-issue`, `implement-github-issue`, `shepherd-github-pr`, `review-github-pr` | | `max_depth` | `1` | `implement-github-issues`, `implement-github-issue` | -| `runner` | `unknown` | `explore-github-repo`, `triage-github-issues`, `triage-github-issue`, `implement-github-issues`, `implement-github-issue`, `shepherd-github-prs`, `shepherd-github-pr`, `review-github-prs`, `review-github-pr`, `reconcile-github-issues` | +| `runner` | `unknown` | `explore-github-repo`, `file-github-issues`, `triage-github-issues`, `triage-github-issue`, `implement-github-issues`, `implement-github-issue`, `shepherd-github-prs`, `shepherd-github-pr`, `review-github-prs`, `review-github-pr`, `reconcile-github-issues` | | `unattended` | `true` | `explore-github-repo`, `file-github-issues`, `triage-github-issues`, `triage-github-issue`, `implement-github-issues`, `implement-github-issue`, `shepherd-github-prs`, `shepherd-github-pr`, `review-github-prs`, `review-github-pr`, `reconcile-github-issues` | | `trusted_authors` | *(none)* | `triage-github-issues`, `triage-github-issue`, `implement-github-issues`, `implement-github-issue`, `shepherd-github-prs`, `shepherd-github-pr`, `review-github-prs`, `review-github-pr`, `reconcile-github-issues`, `setup-github-agent-workflow` | | `write_log` | `true` | `triage-github-issue`, `implement-github-issue`, `shepherd-github-pr`, `review-github-pr`, `reconcile-github-issues` | diff --git a/skills/meta/runner-prompts/references/prompts.md b/skills/meta/runner-prompts/references/prompts.md index ddd93a7..f9406c9 100644 --- a/skills/meta/runner-prompts/references/prompts.md +++ b/skills/meta/runner-prompts/references/prompts.md @@ -32,6 +32,7 @@ limit= repo_guidance=AGENTS.md dedupe_closed_days=30 run_id= +runner=NAME unattended=true title= category= diff --git a/skills/pipeline/file-github-issues/SKILL.md b/skills/pipeline/file-github-issues/SKILL.md index e4add49..f4206ae 100644 --- a/skills/pipeline/file-github-issues/SKILL.md +++ b/skills/pipeline/file-github-issues/SKILL.md @@ -29,7 +29,7 @@ types: evidence: "what the category's Required sections need" related: "optional issue numbers" screenshots: "optional" -params: [candidates, dry_run, limit, parent, repo_guidance, dedupe_closed_days, run_id, title, category, area, impact, confidence, evidence, related, screenshots, unattended] +params: [candidates, dry_run, limit, parent, repo_guidance, dedupe_closed_days, run_id, runner, title, category, area, impact, confidence, evidence, related, screenshots, unattended] requires: - "None: always eligible. It works on candidates, not on an item that could be leased." returns: @@ -78,6 +78,7 @@ terminates: "One pass over the candidates." | `repo_guidance` | `AGENTS.md` | Extra files holding the repository's own agent rules, read in addition to the standard locations (see `references/client-guidance.md`) | | `dedupe_closed_days` | `30` | The "recently closed" window the duplicate search runs over | | `run_id` | *(none)* | Exploring run id to record on filed issues | +| `runner` | `unknown` | Name recorded in the run id and the run log | | `unattended` | `true` | `true`: no human is present, so never ask (see **Unattended runs** in the protocol). `false`: a human may be asked | **One candidate as key-value pairs.** The `candidate` type in the contract is these fields. For several candidates use free text or `candidates`. diff --git a/tests/scenarios/explore-github-repo/a-dry-run-files-nothing.yaml b/tests/scenarios/explore-github-repo/a-dry-run-files-nothing.yaml index 88b5dcb..07c2c82 100644 --- a/tests/scenarios/explore-github-repo/a-dry-run-files-nothing.yaml +++ b/tests/scenarios/explore-github-repo/a-dry-run-files-nothing.yaml @@ -8,7 +8,7 @@ findings: - {title: "Footer link is dead", score: 3} expect: dispatches: - - inputs: {limit: 2, dry_run: true, unattended: true, run_id: "20261109-nightly"} + - inputs: {limit: 2, dry_run: true, unattended: true, runner: nightly, run_id: "20261109-nightly"} candidates: ["Export drops the header row", "Template picker is slow", "Footer link is dead"] results: ["would-file: Export drops the header row", "would-file: Template picker is slow", "deferred: over limit"] result: "0 filed, 0 commented, 0 dropped" diff --git a/tests/scenarios/explore-github-repo/findings-are-ranked-and-the-cap-counts-only-filed.yaml b/tests/scenarios/explore-github-repo/findings-are-ranked-and-the-cap-counts-only-filed.yaml index 783ff44..a510ae6 100644 --- a/tests/scenarios/explore-github-repo/findings-are-ranked-and-the-cap-counts-only-filed.yaml +++ b/tests/scenarios/explore-github-repo/findings-are-ranked-and-the-cap-counts-only-filed.yaml @@ -9,7 +9,7 @@ findings: - {title: "Template picker is slow", score: 8} expect: dispatches: - - inputs: {limit: 2, unattended: true, run_id: "20261109-nightly"} + - inputs: {limit: 2, unattended: true, runner: nightly, run_id: "20261109-nightly"} candidates: ["Export drops the header row", "Template picker is slow", "Undo clears the clipboard", "Footer link is dead"] results: ["filed #101", "duplicate of #12 (commented)", "filed #102", "deferred: over limit"] result: "2 filed, 1 commented, 0 dropped"