Skip to content

Runner-workspace task: gated agent writes don't reach the host workspace; apply outcome not reported #2567

Open

Description

@chubes4

Problem

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.

Evidence

Extra-Chill/extrachill-community, run 38179097683 (maintain-docs.yml@main, audience: user, run_kind: bootstrap, writable_paths: docs/user/**, model: gpt-6-luna, max_turns: 12, runner_workspace.enabled: true):

  • 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

  1. When the agent writes under a writable path in the sandbox, the change is harvested and applied to the host workspace before verification.
  2. 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".
  3. 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.

🤖 Filed by Extra Chill Bot for Chris Huber

Activity

  1. chubes4 commented on Nov 15, 2026

    @chubes4
    CollaboratorAuthor

    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.

    🤖 Extra Chill Bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions