Skip to content

feat(task): unify structured subagent execution#5283

Open
vmcall wants to merge 1 commit into
can1357:mainfrom
vmcall:feat/structured-subagent-5279
Open

feat(task): unify structured subagent execution#5283
vmcall wants to merge 1 commit into
can1357:mainfrom
vmcall:feat/structured-subagent-5279

Conversation

@vmcall

@vmcall vmcall commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • route direct task and eval agent() launches through one structured-subagent policy, artifact, isolation, and execution primitive
  • add invocation-specific outputSchema / schemaMode support to flat and heterogeneous task batches with ordered all-settled fan-out
  • allow eval agents in plan mode through a persisted host-enforced capability clamp that excludes mutation, nested spawn, MCP, extension, custom, memory, LSP, and IRC capabilities
  • preserve eval handles/runtime helpers, task background lifecycle/progress, isolation recovery, schema precedence, and user tool-approval policy

Verification

  • bun test focused subagent/schema/eval/isolation/persistence/tool-activation suites: 198 passed, 2 skipped, 0 failed across 23 files
  • bun check in packages/coding-agent: passed
  • independent final security/schema/lifecycle reviews completed; all confirmed blockers addressed

Fixes #5279

@github-actions github-actions Bot added the vouched Passed the vouch gate label Jul 12, 2026
@vmcall

vmcall commented Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

CLANKER: I am not fixing the red Native: Linux x64 (baseline) check because it fails on cargo fmt --check for crates/pi-ast/src/ops.rs, which is not part of this PR's 31-file diff and was not modified by this branch. Adding an unrelated Rust formatting change would expand the PR beyond issue #5279 and obscure the structured-subagent review. The PR-specific check, lint/type/web-build, install smoke, and modern native jobs pass; the baseline job can be rerun after the upstream formatting issue is corrected.

@vmcall vmcall force-pushed the feat/structured-subagent-5279 branch from e15f3ed to f1cca73 Compare July 12, 2026 19:32
- Added per-invocation task schemas with strict and permissive validation.
- Shared task and eval agent policy, artifacts, isolation, and lifecycle handling.
- Enabled host-restricted plan-mode eval agents and persisted their capability clamp.

Fixes can1357#5279
@vmcall vmcall force-pushed the feat/structured-subagent-5279 branch from f1cca73 to 3ae1be5 Compare July 13, 2026 07:05
@vmcall

vmcall commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

@codex u sleeping ??

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

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

Labels

vouched Passed the vouch gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unify task and eval agents behind a structured-subagent primitive

1 participant