pub struct AgentDocPipeline {
pub turn_id: Option<String>,
pub run_id: Option<String>,
pub step: Option<String>,
pub queue_task_id: Option<String>,
}Expand description
Live finalize-pipeline state tracker (#fm-run-id-step, Phase 5 of
tasks/agent-doc/plans/reentrant-finalize-pipeline.md).
Surfaces the current cycle’s identity and step directly in frontmatter so any
agent-doc invocation — or an editor plugin / JB Run Agent Doc action — can
read where a crashed or resumed cycle left off without replaying the git log or
parsing .agent-doc/cycle_state.
This is ephemeral runtime state, not user configuration: the orchestration layer
writes it at each phase transition and clears it once the cycle reaches a terminal
phase. step is a free-form string (the orchestration CyclePhase rendered
lowercase, e.g. preflight_started / response_captured / write_applied /
committed) so an older core build round-trips a newer phase name without data
loss, and so agent-doc-core need not depend on the orchestration CyclePhase
enum.
Fields§
§turn_id: Option<String>Logical turn identifier — the backlog/queue task ID driving this cycle
(e.g. #fm-run-id-step), or an auto-generated id when the queue prompt has
no backlog match.
run_id: Option<String>Cycle-state run identifier (the cycle-<millis> capture/cycle id) for
correlating frontmatter state with .agent-doc/captures + cycle_state.
step: Option<String>Current pipeline step — the orchestration CyclePhase rendered as a
lowercase string. Free-form so a newer phase round-trips through an older
core build.
queue_task_id: Option<String>Backlog ID for the queued task, when the driving queue prompt resolved to
(or created) a tracked backlog item. Distinct from turn_id only when the
turn id is auto-generated.
Implementations§
Trait Implementations§
Source§impl Clone for AgentDocPipeline
impl Clone for AgentDocPipeline
Source§impl Debug for AgentDocPipeline
impl Debug for AgentDocPipeline
Source§impl Default for AgentDocPipeline
impl Default for AgentDocPipeline
Source§impl<'de> Deserialize<'de> for AgentDocPipeline
impl<'de> Deserialize<'de> for AgentDocPipeline
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for AgentDocPipeline
Source§impl PartialEq for AgentDocPipeline
impl PartialEq for AgentDocPipeline
Source§impl Serialize for AgentDocPipeline
impl Serialize for AgentDocPipeline
impl StructuralPartialEq for AgentDocPipeline
Auto Trait Implementations§
impl Forget for AgentDocPipeline
impl Freeze for AgentDocPipeline
impl RefUnwindSafe for AgentDocPipeline
impl Send for AgentDocPipeline
impl Sync for AgentDocPipeline
impl Unpin for AgentDocPipeline
impl UnsafeUnpin for AgentDocPipeline
impl UnwindSafe for AgentDocPipeline
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.