Skip to main content

Module paths

Module paths 

Source
Expand description

Disk layout helpers for the ~/.ao-rs/ data dir.

Equivalent of packages/core/src/paths.ts in the reference repo, scoped down to what ao-rs features actually use today. Keep this module minimal: add a helper when a feature needs a new on-disk location, not before.

Functions§

cost_ledger_dir
~/.ao-rs/cost-ledger/ — monthly-rotated cost ledger files. See cost_ledger.rs for the YYYY-MM.yaml layout.
data_dir
Root of the ao-rs data directory: ~/.ao-rs.
default_sessions_dir
~/.ao-rs/sessions — where SessionManager stores per-project session yaml files.
lifecycle_pid_file
~/.ao-rs/lifecycle.pid — pidfile used by ao-rs watch to coordinate a singleton daemon process. See lockfile.rs and packages/cli/src/lib/lifecycle-service.ts in the reference repo.
review_fingerprint_dir
~/.ao-rs/review-fingerprints/ — per-session fingerprints used by ao-rs review-check to detect new PR comments since the last run.
review_fingerprint_file
~/.ao-rs/review-fingerprints/{session_id}.txt — fingerprint file for a single session.