From d7d0ddd8471bffd5e63ac5167a1c64fe8ee8e963 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Sat, 8 Aug 2026 17:55:45 -0500 Subject: [PATCH] docs(agents): document local_config.json setup for bitetrack-api path Adds instructions in AGENTS.md for agents to read .local_config.json to determine the path to the implementation repository, avoiding version-controlling machine-specific absolute paths. Also adds .local_config.json to .gitignore. --- .gitignore | 1 + AGENTS.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 7021f97..89f690a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ .venv/ .obsidian/graph.json .direnv/ +.local_config.json diff --git a/AGENTS.md b/AGENTS.md index da29f43..639fec3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,6 +21,7 @@ The flagship project is a vehicle for learning. **Every recommendation, interact * Both repositories are independent Git repositories. * Documentation in `backend-residency` must remain synchronized with implementation in `bitetrack-api` whenever appropriate. * **Link Portability & Integrity:** All markdown links within repository documents must use relative repository paths (e.g., `[CURRENT.md](CURRENT.md)` or Obsidian links `[[CURRENT]]`). Never write absolute machine-specific file system paths (e.g., `/home/kiskaadee/...` or `file:///home/...`) inside version-controlled files. **When reorganizing directories or renaming files, verify that all relative links pointing to or from those files are updated and valid.** +* **Local Configuration:** Since the repositories reside in separate directories, the absolute path to `bitetrack-api` must NOT be hardcoded in version-controlled files. Instead, agents must look for a machine-local, git-ignored `.local_config.json` at the root of `backend-residency` containing `{"bitetrack_api_path": "/path/to/bitetrack-api"}` to determine the implementation codebase path. ---