Expand description
Wizard workflow hooks and next_wizard chain (REQ-0124–0126).
Wizard workflow hooks and next_wizard chain loop (REQ-0124–0126).
Spawn, timeout, and stderr-tail go through crate::extensions::run_script
only — this module must not call std::process::Command::new (ADR-0023).
Structs§
- Allowlist
- Allowlisted roots for workflow script and
next_wizardpaths. - Next
Invocation - Next hop loaded from
next_wizard.path(CLI resolves; host does not). - Workflow
Runner - Runs
workflow.pre/workflow.postthrough Phase F preexec helpers.
Enums§
- Workflow
Error - Workflow / chain failure (stderr via
wyvern_schema::ErrorCode::WorkflowError).
Constants§
- NEXT_
WIZARD_ MAX_ DEPTH - Maximum wizard sessions in one
next_wizardchain (REQ-0126). - WORKFLOW_
SCRIPT_ TIMEOUT - Timeout for every workflow pre/post script (REQ-0124 / REQ-0125).
Functions§
- check_
chain_ depth - Fail when
hopexceedsNEXT_WIZARD_MAX_DEPTH. - merge_
wizard_ config - Deep-merge
base ← input ← config_patch. - resolve_
next_ wizard - Resolve an optional
next_wizardobject on finish JSON.