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 reference

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

Reading · 1 min

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

Invoke a process from within another process as a first-class effect. Sub-processes inherit parent context.

Pagewiki/docs/harness-features-backlog/gaps/process-composition/GAP-PROC-002.mdOutgoing · 0Incoming · 1

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

FieldValue
Categoryprocess-composition
PriorityHigh
EffortL
StatusMissing

Description

Invoke a process from within another process as a first-class effect. Sub-processes inherit parent context.

Current State

No sub-process effect. Must use ctx.task() with agent kind as workaround.

Target State

ctx.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.

Dependencies

Key Files

ComponentPath
Process contextpackages/sdk/src/runtime/processContext.ts
Runtimepackages/sdk/src/runtime/

Recommendation

Phase 2 implementation. Add ctx.subprocess() as first-class effect. Create child run with parent context inheritance.