pub struct StatusJsonOutput {
pub schema_version: String,
pub spec_id: String,
pub phase_statuses: Vec<PhaseStatusInfo>,
pub pending_fixups: u32,
pub has_errors: bool,
pub strict_validation: bool,
pub artifacts: Vec<ArtifactInfo>,
pub effective_config: BTreeMap<String, ConfigValue>,
pub lock_drift: Option<LockDrift>,
}Expand description
Status output structure for JSON emission (schema status-json.v2)
Used by xchecker status --json command for Claude Code integration
Includes artifacts with blake3_first8, effective_config, and lock_drift
Fields§
§schema_version: StringSchema version for this status format (e.g., “status-json.v2”)
spec_id: StringUnique identifier for the spec
phase_statuses: Vec<PhaseStatusInfo>List of phase statuses with receipt IDs
pending_fixups: u32Number of pending fixups (0 if none)
has_errors: boolWhether any errors exist in the spec
strict_validation: boolWhether strict validation mode is enabled (validation failures fail phases)
artifacts: Vec<ArtifactInfo>Artifacts with path and blake3_first8 hash (first 8 chars of BLAKE3)
effective_config: BTreeMap<String, ConfigValue>Effective configuration with source attribution (cli/config/programmatic/default)
lock_drift: Option<LockDrift>Lock drift information if lockfile exists and drift detected
Trait Implementations§
Source§impl Clone for StatusJsonOutput
impl Clone for StatusJsonOutput
Source§fn clone(&self) -> StatusJsonOutput
fn clone(&self) -> StatusJsonOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatusJsonOutput
impl Debug for StatusJsonOutput
Source§impl<'de> Deserialize<'de> for StatusJsonOutput
impl<'de> Deserialize<'de> for StatusJsonOutput
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StatusJsonOutput
impl RefUnwindSafe for StatusJsonOutput
impl Send for StatusJsonOutput
impl Sync for StatusJsonOutput
impl Unpin for StatusJsonOutput
impl UnsafeUnpin for StatusJsonOutput
impl UnwindSafe for StatusJsonOutput
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
Mutably borrows from an owned value. Read more