dci-tool 0.1.0

Direct Corpus Interaction: a sandboxed, ripgrep-backed corpus-search toolset and agent for cyber-focused LLM agents, built on rig.
Documentation
# dci-tool task runner.
#
# Install just: https://github.com/casey/just
#   brew install just
#
# Run `just` with no args to see the recipe list.

# Show all recipes.
default:
    @just --list

# --- Standard recipes ---------------------------------------------------------

# Build all targets with default features.
build:
    cargo build --all-targets

# Format check + clippy + tests + msrv + doc + publish.
check: fmt clippy test msrv doc publish-dry-run

# Verify code is formatted (does not mutate).
fmt:
    cargo fmt --all -- --check

# Clippy across CI feature combos.
clippy:
    cargo clippy --all-targets -- -D warnings
    cargo clippy --all-features --all-targets -- -D warnings
    cargo clippy --no-default-features --features "cli" --all-targets -- -D warnings
    cargo clippy --no-default-features --features "mcp" --all-targets -- -D warnings
    cargo clippy --no-default-features --features "eval" --all-targets -- -D warnings
    cargo clippy --no-default-features --features "telemetry" --all-targets -- -D warnings

# Tests across CI feature combos.
test:
    cargo test --all-targets
    cargo test --all-features --all-targets
    cargo test --no-default-features --features "cli" --all-targets
    cargo test --no-default-features --features "mcp" --all-targets
    cargo test --no-default-features --features "eval" --all-targets

# MSRV gate (Rust 1.85).
msrv:
    cargo +1.85 build --all-targets

# Rustdoc with strict warnings.
doc:
    RUSTDOCFLAGS="-D warnings -D rustdoc::broken_intra_doc_links" cargo doc --all-features --no-deps

# Validate the package as it would be uploaded to crates.io.
publish-dry-run:
    cargo publish --dry-run

# Publish to crates.io. Requires `cargo login` or CARGO_REGISTRY_TOKEN.
publish:
    cargo publish

# Preview what release-plz would bump/changelog without changing anything.
release-preview:
    release-plz update --dry-run

# Run all checks needed for a PR / commit to main locally.
pr-ready: check