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

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

Structured · live

GAP-PAR-002: Async Effect Execution json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · wiki/docs/harness-features-backlog/gaps/parallelization/gap-par-002.mdCluster · wiki
Record JSON
{
  "id": "page:docs-harness-features-backlog-gaps-parallelization-gap-par-002",
  "_kind": "Page",
  "_file": "wiki/docs/harness-features-backlog/gaps/parallelization/gap-par-002.md",
  "_cluster": "wiki",
  "attributes": {
    "nodeKind": "Page",
    "sourcePath": "docs/harness-features-backlog/gaps/parallelization/GAP-PAR-002.md",
    "sourceKind": "repo-docs",
    "title": "GAP-PAR-002: Async Effect Execution",
    "displayName": "GAP-PAR-002: Async Effect Execution",
    "slug": "docs/harness-features-backlog/gaps/parallelization/gap-par-002",
    "articlePath": "wiki/docs/harness-features-backlog/gaps/parallelization/GAP-PAR-002.md",
    "article": "\n# GAP-PAR-002: Async Effect Execution\n\n| Field | Value |\n|-------|-------|\n| Category | parallelization |\n| Priority | High |\n| Effort | L |\n| Status | Missing |\n\n## Description\nDispatch 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.\n\n## Current State\nAll 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.\n\n## Target State\nEffects 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.\n\n## Dependencies\n- [GAP-PAR-001](../parallelization/GAP-PAR-001.md) -- concurrent execution foundation\n- [GAP-SUBOBS-002](../subagent-observability/GAP-SUBOBS-002.md) -- progress tracking for background effects\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Harness invoker | `packages/sdk/src/harness/invoker.ts` |\n| Scheduler hints | `packages/sdk/src/runtime/types.ts` |\n| Orchestrate iteration | `packages/sdk/src/runtime/orchestrateIteration.ts` |\n\n## Recommendation\nPhase 2 implementation. Add background flag to effect scheduler hints. Babysit skill dispatches background effects without waiting and tracks status via polling.\n",
    "documents": []
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "page:docs-harness-features-backlog",
      "to": "page:docs-harness-features-backlog-gaps-parallelization-gap-par-002",
      "kind": "contains_page"
    }
  ]
}