Skip to content

docs(adr): subagent harness schema and sandboxed execution lifecycle #3982

Description

@maruiz93

What happens

There is no ADR covering how subagents should be defined, spawned, and executed in isolated sandboxes. The design decisions — which harness fields apply to subagents, how spawn-time parameters work, how the output contract is defined, and how the parent discovers and invokes subagent profiles — are undocumented.

What should happen

An ADR should be written covering:

  • Which existing harness fields apply to subagents and which don't
  • New fields needed: params (spawn-time parameters), output (result contract with schema + files), subagent_harnesses (parent-side profile declarations)
  • The fullsend subagent run lifecycle and how it differs from fullsend run
  • How the parent agent discovers available subagent profiles and their input/output contracts
  • How subagent providers are scoped independently from the parent
  • The fullsend-agent CLI tool as the sandbox-side interface

Context

ADR 0020 established that each agent step gets its own sandbox. #3978 tracks the implementation gap. This ADR captures the design decisions needed before implementation can begin.

A draft design is available in the #3978 discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/docsUser-facing documentationcomponent/harnessAgent harness, config, and skills loadingcomponent/sandboxOpenShell sandbox environmentready-to-codeTriaged and ready for the code agenttype/featureNew capability request

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions