iiRecord
Agentic AI Atlas · GAP-PROC-002: Process Nesting and Sub-Process Invocation
page:docs-harness-features-backlog-gaps-process-composition-gap-proc-002a5c.ai
II.
Page JSON

page:docs-harness-features-backlog-gaps-process-composition-gap-proc-002

Structured · live

GAP-PROC-002: Process Nesting and Sub-Process Invocation json

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

File · wiki/docs/harness-features-backlog/gaps/process-composition/gap-proc-002.mdCluster · wiki
Record JSON
{
  "id": "page:docs-harness-features-backlog-gaps-process-composition-gap-proc-002",
  "_kind": "Page",
  "_file": "wiki/docs/harness-features-backlog/gaps/process-composition/gap-proc-002.md",
  "_cluster": "wiki",
  "attributes": {
    "nodeKind": "Page",
    "sourcePath": "docs/harness-features-backlog/gaps/process-composition/GAP-PROC-002.md",
    "sourceKind": "repo-docs",
    "title": "GAP-PROC-002: Process Nesting and Sub-Process Invocation",
    "displayName": "GAP-PROC-002: Process Nesting and Sub-Process Invocation",
    "slug": "docs/harness-features-backlog/gaps/process-composition/gap-proc-002",
    "articlePath": "wiki/docs/harness-features-backlog/gaps/process-composition/GAP-PROC-002.md",
    "article": "\n# GAP-PROC-002: Process Nesting and Sub-Process Invocation\n\n| Field | Value |\n|-------|-------|\n| Category | process-composition |\n| Priority | High |\n| Effort | L |\n| Status | Missing |\n\n## Description\nInvoke a process from within another process as a first-class effect. Sub-processes inherit parent context.\n\n## Current State\nNo sub-process effect. Must use ctx.task() with agent kind as workaround.\n\n## Target State\nctx.subprocess() effect that invokes a child process. Child process inherits parent context. Results returned to parent as effect result. Child runs tracked in parent journal.\n\n## Dependencies\n- [GAP-AGENT-001](../agent-delegation/GAP-AGENT-001.md) -- sub-harness invocation for child execution\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Process context | `packages/sdk/src/runtime/processContext.ts` |\n| Runtime | `packages/sdk/src/runtime/` |\n\n## Recommendation\nPhase 2 implementation. Add ctx.subprocess() as first-class effect. Create child run with parent context inheritance.\n",
    "documents": []
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "page:docs-harness-features-backlog",
      "to": "page:docs-harness-features-backlog-gaps-process-composition-gap-proc-002",
      "kind": "contains_page"
    }
  ]
}