ag_session/task_plan.rs
1//! Explicit acceptance of an immutable Planner response version.
2
3/// Producing task and attempt selected by the user for plan acceptance.
4///
5/// The host reads the plan body from the persisted response. Neither caller
6/// text nor successful task completion establishes acceptance. Only the latest
7/// successful, question-free Planner attempt is eligible.
8#[derive(Clone, Debug, Eq, PartialEq)]
9pub struct AcceptTaskPlanRequest {
10 /// Exact response version to accept.
11 pub attempt_id: String,
12 /// Planner task that produced the version.
13 pub task_id: String,
14}