Procedure block
A runbook for doing a task as ordered steps — the process unit. Each step carries addressable body fragments.
| Property | Type | Required | Description |
|---|---|---|---|
| id | identifier | yes | |
| title | utf8 | yes | |
| purpose | utf8 | yes | |
| preconditions | list<utf8> | no | |
| verification | utf8 | no | |
| related | list<identifier> | no | |
| audience | Audience | no | |
| tags | list<utf8> | no | |
| flow | list<StepFlow> | yes |
Child blocks
| Slot | Accepts | Multiple | Description |
|---|---|---|---|
| steps | step | yes |
wcl
procedure first_commit {
title = "Make your first commit"
purpose = "Record an initial snapshot in a new repository."
step 1 {
title = "Stage files"
body steps { p "Run `git add .` to stage everything." }
}
step 2 {
title = "Commit"
body steps { p "Run `git commit -m 'initial'`." }
}
verification = "`git log` shows one commit."
}
§ 1.1Step
| Property | Type | Required | Description |
|---|---|---|---|
| id | identifier | yes | |
| n | u32 | yes | |
| title | utf8 | no | |
| shape | StepShape | no |
Child blocks
| Slot | Accepts | Multiple | Description |
|---|---|---|---|
| bodies | body | yes |
wcl
step 1 {
title = "Stage files"
body steps { p "Run `git add .` to stage the changes." }
}