Skip to main content

cpex_core/elicitation/
mod.rs

1// Location: ./crates/cpex-core/src/elicitation/mod.rs
2// Copyright 2026
3// SPDX-License-Identifier: Apache-2.0
4// Authors: Teryl Taylor
5//
6// Elicitation hook family — human-in-the-loop dispatch (approval,
7// confirmation, step-up, attestation, …).
8//
9// Mirrors the delegation/ module layout: the hook marker (via the
10// generic hooks layer) plus the hook-specific payload + enums. No
11// executor wiring needed — dispatch is free via
12// `mgr.invoke_entries::<ElicitationHook>`. The apl-cpex bridge fills the
13// payload and maps the result back to apl-core's `ElicitationInvoker`
14// return types.
15
16pub mod hook;
17pub mod payload;
18
19pub use hook::{ElicitationHook, HOOK_ELICIT};
20pub use payload::{
21    ElicitationOp, ElicitationOutcomeKind, ElicitationPayload, ElicitationStatusKind,
22};