Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ Every change stores two parallel representations:
| `atomic agent disable` | Remove agent hooks |
| `atomic agent status` | Show active sessions and hook status |
| `atomic agent explain <id>` | Generate AI reasoning summary for a session |
| `atomic agent recall <query>` | Search local prior turns as non-durable evidence |
| `atomic agent attest` | List and inspect attestations |

### Vault Commands
Expand Down
2 changes: 2 additions & 0 deletions atomic-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ uuid = { version = "1.0", features = ["serde", "v4"] }
# Utilities
serde = { workspace = true }
serde_json = { workspace = true }
postcard = { workspace = true }
bytes = { workspace = true }
url = { workspace = true }
zstd = { workspace = true }

# Parallelism
rayon = { workspace = true }
Expand Down
19 changes: 19 additions & 0 deletions atomic-cli/src/commands/agent/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
//! ├── enable — Install agent hooks (e.g., into .claude/settings.json)
//! ├── disable — Remove agent hooks
//! ├── status — Show active sessions, installed agents, watcher state
//! ├── recall — Search local prior turns as non-durable evidence
//! └── hooks — Internal hook handlers (called by agent hooks, hidden)
//! └── <agent> <verb> — e.g., `atomic agent hooks claude-code stop`
//! ```
Expand Down Expand Up @@ -43,6 +44,7 @@ mod enable;
mod explain;
mod hooks;
mod lifecycle;
mod recall;
mod status;

use clap::{Args, Subcommand};
Expand All @@ -55,6 +57,7 @@ pub use disable::Disable;
pub use enable::Enable;
pub use explain::Explain;
pub use lifecycle::Lifecycle;
pub use recall::Recall;
pub use status::AgentStatus;

// Agent Command
Expand Down Expand Up @@ -170,6 +173,20 @@ pub enum AgentCommands {
/// ```
Explain(Explain),

/// Search prior recorded agent work for task-relevant evidence.
///
/// Recall is read-only and searches this repository's recorded turn
/// changes, including saved reasoning when available. Results are
/// historical evidence, not approved Vault Memory or instructions.
///
/// # Examples
///
/// ```text
/// atomic agent recall "authentication timeout"
/// atomic agent recall "authentication timeout" --json
/// ```
Recall(Recall),

/// List and inspect attestations.
///
/// Shows graph-level audit nodes that capture AI cost, token usage,
Expand Down Expand Up @@ -220,6 +237,7 @@ impl Command for Agent {
AgentCommands::Disable(cmd) => cmd.run(),
AgentCommands::Status(cmd) => cmd.run(),
AgentCommands::Explain(cmd) => cmd.run(),
AgentCommands::Recall(cmd) => cmd.run(),
AgentCommands::Attest(cmd) => cmd.run(),
AgentCommands::Lifecycle(cmd) => cmd.run(),
AgentCommands::Hooks(cmd) => cmd.run(),
Expand All @@ -241,5 +259,6 @@ mod tests {
let _disable = AgentCommands::Disable(Disable::default_for_test());
let _status = AgentCommands::Status(AgentStatus::default_for_test());
let _explain = AgentCommands::Explain(Explain::default_for_test());
let _recall = AgentCommands::Recall(Recall::default_for_test());
}
}
Loading
Loading