Expand description
Core types, configuration, and error handling for the Argus platform.
This crate provides the shared foundation used by all other Argus crates:
ArgusError— unified error type usingthiserrorArgusConfig— configuration loaded from.argus.toml- Shared types:
FileNode,DiffHunk,RiskScore,Severity,ReviewComment,SearchResult,OutputFormat
Structs§
- Argus
Config - Top-level configuration loaded from
.argus.toml. - Diff
Hunk - A single hunk from a unified diff.
- Embedding
Config - Configuration for embedding providers used by semantic search.
- File
Node - A file in the repository with basic metadata.
- LlmConfig
- LLM provider configuration.
- Path
Config - Per-path configuration for monorepo support.
- Review
Comment - A single review comment produced by the AI reviewer.
- Review
Config - Review behavior configuration.
- Risk
Score - Composite risk score for a set of changes.
- Rule
- A custom review rule defined in
.argus.toml. - Search
Result - A result from semantic code search.
Enums§
- Argus
Error - Errors that can occur across the Argus platform.
- Change
Type - Classification of a diff hunk.
- Output
Format - Output format for CLI subcommands.
- Severity
- Issue severity level for review comments.
Type Aliases§
- Result
- A convenience
Resulttype for Argus operations.