Run a whole project: project runs in manual and auto-confirm mode (RBT-WP-0008-T10)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 295952@bnt-lap001 Assistant-Session: e93f64ad-516c-46eb-9666-aad8d300c477
This commit is contained in:
parent
1d1087fa7f
commit
eff75a303c
14 changed files with 1112 additions and 15 deletions
|
|
@ -181,6 +181,22 @@ still need values. Instantiating a template creates a project file with **its ow
|
|||
came from, and shows which required attributes are still needed. Nothing of the template's own title, goal or description is copied into the
|
||||
project: a project is not a copy of its template, it only remembers where it came from. Templates make a set of runbooks reusable as a product.
|
||||
|
||||
### Project runs
|
||||
|
||||
A **project run** runs every member runbook of a project once, in `after` order, in one mode. The record lives next to the project
|
||||
(`.local/project-runs/`); its state is derived from the member runs, which carry it in their context.
|
||||
|
||||
- **Snapshot.** When it starts, the project's resolved attributes are snapshotted per member. Every member run uses the snapshot, so editing the
|
||||
project meanwhile cannot make member runs inconsistent; the page says when the project has changed since. A new project run picks up the new values.
|
||||
- **Manual.** You start each member yourself, one at a time. Starting a member before what it waits for is an override: a reason and an
|
||||
acknowledged risk, recorded on the project run.
|
||||
- **Auto-confirm.** The engine starts the next ready member, ticks its run, closes it when it finishes cleanly and moves on (`Run until it waits`).
|
||||
It stops wherever a person is needed: a v0.1 member (always manual), a manual-only or irreversible step, a check that does not pass. A member
|
||||
that finished only by pushing through problems counts as done for its dependents, but the project run can then no longer succeed.
|
||||
- **Member status**: `waiting`, `ready`, `running`, `succeeded`, `pushed`, `failed`, `abandoned`. A failed or abandoned member blocks its dependents.
|
||||
- **Closing.** `succeeded` needs every member run to have succeeded; `failed` needs a failed, abandoned or pushed member (or an open member run);
|
||||
`abandoned` any time. Closing abandons an open member run, locks the record and seals it like a run. Only one project run per project is open at a time.
|
||||
|
||||
### Modes
|
||||
|
||||
Any project run can use any mode: **manual** (operator confirms everything), **auto-confirm** (the engine confirms when
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue