iiRecord
Agentic AI Atlas · GAP-PERF-007: Aggressive Parallelism
page:docs-harness-features-backlog-gaps-performance-gap-perf-007a5c.ai
II.
Page reference

page:docs-harness-features-backlog-gaps-performance-gap-perf-007

Reading · 1 min

GAP-PERF-007: Aggressive Parallelism reference

Maximize parallel execution of independent effects within and across iterations, moving beyond conservative sequential execution.

Pagewiki/docs/harness-features-backlog/gaps/performance/GAP-PERF-007.mdOutgoing · 0Incoming · 1

GAP-PERF-007: Aggressive Parallelism

FieldValue
Categoryperformance
PriorityMedium
EffortL
StatusPartial

Description

Maximize parallel execution of independent effects within and across iterations, moving beyond conservative sequential execution.

Current State

ctx.parallel.all()/ctx.parallel.map() provides effect batching, but the babysit skill executes pending effects sequentially. Scheduler hints (parallelGroupId) exist but are not used for runtime parallelism.

Target State

The orchestration loop detects independent effects and executes them concurrently. Multiple harness invocations run simultaneously. Results are posted as they complete.

Dependencies

Key Files

ComponentPath
Process contextpackages/sdk/src/runtime/processContext.ts
Task batchingpackages/sdk/src/tasks/batching.ts
Harness invokerpackages/sdk/src/harness/invoker.ts

Recommendation

Phase 4 implementation. Modify babysit skill to execute parallel-grouped effects concurrently using multiple harness invocations.