pub struct CortexAuditVerifyTool { /* private fields */ }Expand description
MCP tool: cortex_audit_verify.
Schema:
cortex_audit_verify() -> {
ok: bool,
chain_length: int,
issues: [string],
}Calls cortex_ledger::verify_chain over the configured JSONL event-log
path. ok is true and issues is empty when the chain verified clean.
Any per-row failures are collected into issues as human-readable strings.
The pool is held to satisfy the ToolHandler contract for tools that
carry an open store connection; it is not read during the verify pass
(the JSONL file is the authoritative audit surface).
Implementations§
Trait Implementations§
Source§impl Debug for CortexAuditVerifyTool
impl Debug for CortexAuditVerifyTool
Source§impl ToolHandler for CortexAuditVerifyTool
impl ToolHandler for CortexAuditVerifyTool
Auto Trait Implementations§
impl Freeze for CortexAuditVerifyTool
impl RefUnwindSafe for CortexAuditVerifyTool
impl Send for CortexAuditVerifyTool
impl Sync for CortexAuditVerifyTool
impl Unpin for CortexAuditVerifyTool
impl UnsafeUnpin for CortexAuditVerifyTool
impl UnwindSafe for CortexAuditVerifyTool
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