← Back to Explore

nested-runbook-defer-propagation

3-level DEFER propagation — root aggregates child aggregates grandchild

delegation defer

Rundown


# Root DEFER Propagation (3-Level Chain)

Root of a 3-level DEFER propagation chain. Two DEFER substeps: 1.1
delegates to the child runbook (which in turn composes the grandchild
inline), 1.2 runs locally. Each level's aggregated COMPLETE
feeds the next level up's DEFER.

## 1. Root work

- PASS ALL COMPLETE
- FAIL ANY STOP

### 1.1 Delegated child task

- nested-runbook-defer-propagation-child.runbook.md

### 1.2 Local root task

```bash
rd echo "root local"
```

Run

Root delegates to child which composes the grandchild inline; DEFER aggregation fires at every level; final terminal is COMPLETE at root

Initializing...

Initializing...

Step/1