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
Runner-workspace task: gated agent writes don't reach the host workspace; apply outcome not reported #2567
A docs-agent user bootstrap run on run-agent-task.yml@a6fe2d208e990a8d04104aa74aacbb8d1539fbc1 (release v0.12.29) ends with no files in the writable path, even though the agent package now has a completion gate that won't let it finish without at least one workspace_write/workspace_edit/workspace_apply_patch call (Automattic/docs-agent#183, package revision f3d9657). A gated run that completes must have called a write tool. Yet after the runner-workspace apply step, docs/user doesn't exist in the host workspace.
Verification: the caller drift check printed No docs directory at docs/user, and the completion contract printed BOOTSTRAP_GLOB_MINIMUM: Bootstrap glob docs/user/*.md matched 0; 5 required.
failure.stage: verification. That means execution.code === 0 and runtimeResult.success === true, so no apply exception was recorded (no stage: apply failure).
reviewer_evidence.transcript is 121,670 bytes, but the uploaded artifact is a 248-byte projection containing only {execution_index: 4, command: "wordpress.run-php", status: "succeeded"}.
workspaceApply.status / changedFiles aren't projected into agent-task-workflow-result.json at all. From the consumer side it's impossible to tell apart:
(a) the agent's writes produced no codebox-patch / codebox-changed-files artifact refs, so workspaceApply stays the default no-op
(b) refs existed but applyRunnerWorkspacePatch filtered every path against writablePaths (docs/user/**)
(c) the writes landed somewhere outside the seeded /workspace mount
Earlier runs 38178041178 (gpt-5.5, ungated package) and 38178640253 (gpt-6-luna, ungated) failed the same way.
Expected
When the agent writes under a writable path in the sandbox, the change is harvested and applied to the host workspace before verification.
agent-task-workflow-result.json records the apply outcome (status, changedFiles, and how many refs were considered), so a no-op apply is visible instead of looking like "the model wrote nothing".
When verification fails, the uploaded transcript artifact includes at least the tool-call names and their target paths. That's the evidence needed to tell (a), (b) and (c) apart.
More evidence from Extra-Chill/extrachill, a monorepo with writable_paths: plugins/extrachill-shop/docs/user/**, gpt-6-luna, max_turns: 12, docs-agent pin 1f576e6 (package f3d9657):
Bootstrap run 43653766342 (both attempts): BOOTSTRAP_GLOB_MINIMUM: matched 2; 8 required. The workspace was unchanged.
Maintenance run 43717318730 (today): success, with the completion report showing outcome: no_changes. From the consumer side, this looks exactly like a lost write, so a green maintenance run can't be trusted either.
In both, the uploaded transcript.json is a 248-byte projection. reviewer_evidence.transcript points at runtime-…/files/transcript.json (122,724 bytes), which isn't uploaded.
Uploading the canonical transcript, or the tool-call paths and the apply outcome, would show whether the agent wrote files that were then lost or never wrote at all.
Activity
chubes4 commentedon Nov 15, 2026
More evidence from Extra-Chill/extrachill, a monorepo with
writable_paths: plugins/extrachill-shop/docs/user/**,gpt-6-luna,max_turns: 12, docs-agent pin1f576e6(packagef3d9657):BOOTSTRAP_GLOB_MINIMUM: matched 2; 8 required. The workspace was unchanged.success, with the completion report showingoutcome: no_changes. From the consumer side, this looks exactly like a lost write, so a green maintenance run can't be trusted either.transcript.jsonis a 248-byte projection.reviewer_evidence.transcriptpoints atruntime-…/files/transcript.json(122,724 bytes), which isn't uploaded.Uploading the canonical transcript, or the tool-call paths and the apply outcome, would show whether the agent wrote files that were then lost or never wrote at all.
🤖 Extra Chill Bot
fix(agent-task): record runner-workspace apply outcome and upload wri…
fix(workflow): run agent tasks on WP Codebox v0.33.4 (#185)
fix(agent-task): honor caller max_turns over package defaults and rep…