iiRecord
Agentic AI Atlas · GAP-PAR-002: Async Effect Execution
page:docs-harness-features-backlog-gaps-parallelization-gap-par-002a5c.ai
II.
Page reference

page:docs-harness-features-backlog-gaps-parallelization-gap-par-002

Reading · 1 min

GAP-PAR-002: Async Effect Execution reference

Dispatch effects asynchronously so the orchestration loop can continue with other work while long-running effects execute in the background. Reframed from CC background agent dispatch to babysitter async effect model.

Pagewiki/docs/harness-features-backlog/gaps/parallelization/GAP-PAR-002.mdOutgoing · 0Incoming · 1

GAP-PAR-002: Async Effect Execution

FieldValue
Categoryparallelization
PriorityHigh
EffortL
StatusMissing

Description

Dispatch effects asynchronously so the orchestration loop can continue with other work while long-running effects execute in the background. Reframed from CC background agent dispatch to babysitter async effect model.

Current State

All harness invocations via invokeHarness() are synchronous -- the orchestration loop blocks until the invocation returns. No mechanism to dispatch a task and continue with other work.

Target State

Effects can be dispatched with a background flag. The orchestration loop continues processing other effects while background effects execute. Background effect status tracked via polling. Results posted and journal updated when complete.

Dependencies

Key Files

ComponentPath
Harness invokerpackages/sdk/src/harness/invoker.ts
Scheduler hintspackages/sdk/src/runtime/types.ts
Orchestrate iterationpackages/sdk/src/runtime/orchestrateIteration.ts

Recommendation

Phase 2 implementation. Add background flag to effect scheduler hints. Babysit skill dispatches background effects without waiting and tracks status via polling.