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.
This commit is contained in:
kiskaadee committed 2026-08-08 17:55:45 -05:00
1 parent a811ad57da
commit d7d0ddd847
2 files changed
+2

No files matched your search

+1
View File
@@ -4,3 +4,4 @@
.venv/
.obsidian/graph.json
.direnv/
.local_config.json
+1
View File
@@ -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.
---