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

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

Reading · 1 min

GAP-PAR-009: Parallel Effect Execution Strategies reference

Implement hint-driven execution strategies that use EffectSchedulerHints (parallelGroupId, pendingCount, sleepUntilEpochMs) to make intelligent decisions about effect execution order and concurrency.

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

GAP-PAR-009: Parallel Effect Execution Strategies

FieldValue
Categoryparallelization
PriorityHigh
EffortM
StatusPartial

Description

Implement hint-driven execution strategies that use EffectSchedulerHints (parallelGroupId, pendingCount, sleepUntilEpochMs) to make intelligent decisions about effect execution order and concurrency.

Current State

Scheduler hints are written to task definitions but not read by the orchestration loop. All effects execute in dispatch order regardless of hints.

Target State

Multiple execution strategies: parallel strategy (same parallelGroupId concurrently), sleep strategy (skip sleep effects until epoch passes), priority strategy (high-pendingCount groups first), cost strategy (route expensive tasks to cheaper models).

Dependencies

  • None (enables GAP-PAR-001, GAP-PAR-002, GAP-PAR-003)

Key Files

ComponentPath
Scheduler hintspackages/sdk/src/runtime/types.ts
Orchestrate iterationpackages/sdk/src/runtime/orchestrateIteration.ts
Task batchingpackages/sdk/src/tasks/batching.ts

Recommendation

Phase 1 implementation. Read scheduler hints in the babysit skill and implement at least the parallel and sleep strategies.