-
Notifications
You must be signed in to change notification settings - Fork 1
background pitfalls
The riskiest changes are the ones that alter fact shape, graph resolution, or public JSON output. These areas feed most agent workflows.
Changing src/lode/indexer.py can affect storage rows, FTS search, context packs, graph resolution, embedding queueing, and Kuzu projection. Add tests in both tests/test_lode.py and tests/test_graph.py when parser facts change.
resolve_graph() in src/lode/graph.py deletes and rebuilds edges with resolved confidence. If a new edge kind should persist across resolution, make sure it is emitted with the right confidence and owner path.
src/lode/indexer.py creates ExternalSymbol placeholders when local resolution is not yet known. src/lode/graph.py filters shadowed external placeholders in impact output so local definitions stay visible.
Endpoint changes in src/lode/daemon.py need matching updates to openapi/loded.openapi.yml and generated docs/api/loded.md. CI runs scripts/generate_openapi_docs.py --check.