Skip to content

fix: replace hardcoded bm_local_path with env var#11

Merged
phernandez merged 3 commits intomainfrom
fix/remove-hardcoded-bm-local-path
Mar 15, 2026
Merged

fix: replace hardcoded bm_local_path with env var#11
phernandez merged 3 commits intomainfrom
fix/remove-hardcoded-bm-local-path

Conversation

@groksrc
Copy link
Member

@groksrc groksrc commented Mar 15, 2026

Summary

  • Replace hardcoded /Users/phernandez/... path in justfile with BM_LOCAL_PATH env var (via env_var_or_default)
  • When BM_LOCAL_PATH is unset, --bm-local-path flag is omitted entirely (CLI already defaults to None)
  • Works with .env since dotenv-load is already enabled in the justfile
  • Update README and docs/benchmarks.md to use generic placeholder paths

Test plan

  • uv run pytest -q — all 22 tests pass
  • just --list — justfile parses correctly
  • just --dry-run bench-run-short — no --bm-local-path when unset
  • BM_LOCAL_PATH=/tmp/test just --dry-run bench-run-short — flag passed correctly
  • rg phernandez — no remaining hardcoded paths

🤖 Generated with Claude Code

groksrc and others added 3 commits March 14, 2026 21:04
The justfile had a user-specific path hardcoded for bm_local_path.
Now reads from BM_LOCAL_PATH env var (or .env via dotenv-load),
defaulting to empty which omits --bm-local-path entirely.
Also updates docs and README to use generic placeholder paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace git+https pin to @main with basic-memory>=0.20.2 from PyPI.
This is the current production release.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Both smoke and nightly workflows use `just` but never installed it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@groksrc groksrc requested a review from phernandez March 15, 2026 02:48
@phernandez phernandez merged commit 77c0b65 into main Mar 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants