pub(crate) struct RootReport {Show 18 fields
pub(crate) root: String,
pub(crate) detection_source: String,
pub(crate) db_path: String,
pub(crate) config_path: Option<String>,
pub(crate) config_project_root: Option<String>,
pub(crate) db_project_root: Option<String>,
pub(crate) mcp_config_path: String,
pub(crate) claude_mcp_config_path: String,
pub(crate) opencode_config_path: String,
pub(crate) runtime_executable: Option<String>,
pub(crate) runtime_version: String,
pub(crate) project_instance_id: Option<String>,
pub(crate) transition: Option<RootTransition>,
pub(crate) previous_root: Option<String>,
pub(crate) identity_changed: Option<bool>,
pub(crate) publication_invalidated: Option<bool>,
pub(crate) verified: bool,
pub(crate) mismatches: Vec<String>,
}Expand description
Project-local root identity report.
Fields§
§root: StringCanonical project root ProjectAtlas will use.
detection_source: StringDetection source for the selected root.
db_path: StringDurable SQLite database path.
config_path: Option<String>Config path used for project policy.
config_project_root: Option<String>Root stored in config, when config exists.
db_project_root: Option<String>Root stored in the DB metadata, when the DB exists.
mcp_config_path: StringGenerated generic MCP config path.
claude_mcp_config_path: StringGenerated Claude Code MCP config path.
opencode_config_path: StringGenerated OpenCode MCP config path.
runtime_executable: Option<String>Current runtime executable path, when available.
runtime_version: StringCurrent runtime version.
project_instance_id: Option<String>Durable identity of this local project instance, when initialized.
transition: Option<RootTransition>Explicit transition completed by this request.
previous_root: Option<String>Previously recorded root for move or detach.
identity_changed: Option<bool>Whether the transition created or rotated project identity.
publication_invalidated: Option<bool>Whether the transition invalidated derived publication trust.
verified: boolWhether config and DB roots agree with the selected root.
mismatches: Vec<String>Root mismatches that must be fixed before trusting the binding.
Trait Implementations§
Source§impl Debug for RootReport
impl Debug for RootReport
Auto Trait Implementations§
impl Freeze for RootReport
impl RefUnwindSafe for RootReport
impl Send for RootReport
impl Sync for RootReport
impl Unpin for RootReport
impl UnwindSafe for RootReport
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more