You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d0ce90f
Browse filesBrowse the repository at this point in the historyBrowse files
fix(agent-task): use the caller's publication branch as given and make workspace git status/diff work (#2592)
Publication branch: the head was always `branch_prefix` + workload id with no
separator, so callers passing their branch as the prefix got doubled names such
as `docs-agent/extrachill-shop-user-docsdocs-agent-user-maintenance`. An explicit
`runner_workspace.branch` (or `head_branch`) is now used exactly; otherwise the
prefix and run id are joined with `-` unless the prefix already ends in a
separator. The fresh-branch rule still appends `-<base-sha-12>` once.
PR body: WP Codebox appends a "Changed files" list to the caller body.
Git tools: workspace_git_status/workspace_git_diff required a host-supplied
`workspace_baseline_root` that no production caller provided (the seeded
snapshot also excludes `.git`), so every call failed with baseline_unavailable
-> tool_call_failed. The sandbox executor now records each path's seed content
before its first mutation and compares against that; the diff is a real
context-hunk unified diff that round-trips through workspace_apply_patch.
Closes#2591
AI assistance: Extra Chill Bot (Claude), via a Roadie subagent.
thrownewError(hasConfiguredBase ? "Runner workspace branch configuration is invalid." : "Runner workspace branch configuration is invalid: repository metadata must provide a valid default branch when base is omitted.")
if(!isExactPull(pull,head)||!/^https:\/\/github\.com\//.test(string(pull.html_url)))thrownewError("GitHub publication response did not match the requested repository and branches.")
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,7 @@ a recipe. They cover:
106
106
|`recipe-run`| Repeatable JSON recipes: mounts, workspaces, seeds, steps, assertions, artifacts. `--dry-run` resolves the plan without booting. |[Recipe contract](docs/recipe-contract.md)|
107
107
|`bench` and `artifacts bench-*`| Benchmark matrices and baseline-versus-candidate comparison. |[Benchmark contract](docs/benchmark-contract.md)|
108
108
|`agent-task-run`| One natural-language task through a mounted agent stack, returning a patch and preview. |[Agent runtime contract](docs/agent-runtime-contract.md)|
109
+
|`run-agent-task.yml`| Reusable GitHub Actions workflow: run an agent package against a repository and publish a pull request. Branch, title, and body rules are under *Publication branch, title, and body*; the agent's git-less `workspace_git_status` / `workspace_git_diff` tools are described in the sandbox workspace contract. |[Agent task reusable workflow](docs/agent-task-reusable-workflow.md), [Sandbox workspace contract](docs/sandbox-workspace-contract.md#workspace-status-and-diff-tools)|
109
110
|`run-wordpress-workload`, `run-fuzz-suite`, `adversarial`| Workloads, fuzz suites, and adversarial campaigns with replay. |[Adversarial runtime](docs/adversarial-runtime.md)|
110
111
|`artifacts`, `runs`| Verify, inspect, and recover bundles; poll or cancel recipe runs. |[Artifact bundles](docs/artifact-bundles.md)|
111
112
| TypeScript packages | Embed the runtime: `wp-codebox-workspace/core`, `/playground`, `/cli`, and friends. |[Public API contract](docs/public-api-contract.md)|
0 commit comments