agentleFS
jellydnjellydn/logpilot/AGENTS.md

logpilot

AGENTS.md2 starsChanged 4 months agoMITView on GitHub

MCP protocol tests (tests/test_mcp_protocol.rs) require pre-built release binary: See docs/MCP_TESTING.md for manual JSON-RPC testing over stdio. Config file: ~/.config/logpilot/config.toml (see config.example.toml)

  • In this repositoryOne other file it gives its agents.

The file

Files
AGENTS.md

AGENTS.md - LogPilot Development

Quick Commands

# Development
just test          # cargo test && cargo clippy
just ci           # fmt + test (parallel)
just lint         # cargo clippy --all-features -- -D warnings
just fmt          # cargo fmt -- --check

# Run
cargo run -- watch <session>   # Start a watch session
cargo run -- mcp-server     # Start MCP server
cargo run -- status         # Show monitored sessions

Key Facts

  • Rust: Min 1.86 (from .github/workflows/ci.yml)
  • MCP: Uses rmcp crate (the official Rust MCP SDK), not legacy custom impl
  • Pre-commit: Runs cargo fmt, cargo test, cargo clippy (install via pre-commit install)
  • CLI subcommands: watch, filter, summarize, ask, mcp-server, status (see src/main.rs)

Testing Quirk

MCP protocol tests (tests/test_mcp_protocol.rs) require pre-built release binary:

cargo build --release
# Then run tests
cargo test --test test_mcp_protocol

Architecture Overview

  • src/analyzer - Anomaly detection, pattern analysis
  • src/buffer - Ring buffer + SQLite persistence
  • src/capture - tmux integration
  • src/cli - CLI command handlers
  • src/mcp - MCP server (rmcp-based)
  • src/models - Data structures
  • src/pipeline - Log processing (parse, dedup, cluster)

MCP Testing

See docs/MCP_TESTING.md for manual JSON-RPC testing over stdio.

Configuration

Config file: ~/.config/logpilot/config.toml (see config.example.toml)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.