Skip to main content

Crate pathfinder_common

Crate pathfinder_common 

Source
Expand description

Pathfinder Common — shared types, errors, and infrastructure.

This crate provides the foundational building blocks used by all Pathfinder crates:

  • Error taxonomy — standardized MCP error codes (PRD §5)
  • Domain typesSemanticPath, VersionHash, WorkspaceRoot
  • Configuration — zero-config defaults + optional JSON override
  • Sandbox — three-tier file access control
  • Git integration — changed-file detection for repo map filtering

Modules§

config
The config module containing configuration structures and functions. Configuration loading for Pathfinder.
error
Module for error types and related functionality. Pathfinder error taxonomy.
git
A module for interacting with Git repositories.
sandbox
Sandbox module. Three-tier sandbox enforcement for file access control.
types
Domain types used across Pathfinder crates. Shared domain types for Pathfinder.