Skip to content

Propagate runner workspaces into agent tasks#1787

Merged
chubes4 merged 1 commit into
mainfrom
fix/agent-task-workspace-seed
Jul 14, 2026
Merged

Propagate runner workspaces into agent tasks#1787
chubes4 merged 1 commit into
mainfrom
fix/agent-task-workspace-seed

Conversation

@chubes4

@chubes4 chubes4 commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • move the runner workspace seed into canonical task_input.workspaces, which the CLI unwraps before recipe construction
  • retain sanitized runtime results and staged artifact references when apply, verification, no-op, or publication gates fail
  • cover the hosted workspace shape and regressions from run 29324157852 and run 29324563665

Fixes #1786

How to test

  1. Run npm run build.
  2. Run npm run test:native-agent-task-lifecycle.
  3. Run npm run test:agent-task-contracts.
  4. Run npm run test:runtime-sources-playground-integration.
  5. Run actionlint .github/workflows/run-agent-task.yml.

The Playground integration intercepts three local OpenAI turns, has the imported agent read and edit a seeded README, and verifies the canonical patch capture.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenAI gpt-5.6-terra via OpenCode
  • Used for: Traced the request-to-recipe handoff, implemented the workspace propagation and failure-envelope handling, and added regression coverage.

@chubes4
chubes4 merged commit 81d32d9 into main Jul 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Propagate runner workspace seeds into agent-task recipes

1 participant