fix: bind $W_IDS in program Cypher, readable link labels, tool hints#334
Merged
fix: bind $W_IDS in program Cypher, readable link labels, tool hints#334
Conversation
- Pass working graph to dispatch_cypher so $W_IDS resolves to accumulated concept IDs (seed-then-expand pattern now works) - Resolve link endpoints to concept labels in program/chain output instead of showing raw content-hash IDs - Add cross-tool hints so calling LLMs discover related tools (search→connect→program escalation, source/details for verification) - Sharpen program escalation threshold: "more than 2 concepts or analytical questions → use program directly"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dispatch_cyphernow receives the working graph and passes accumulated concept IDs as a Cypher parameter. The seed-then-expand pattern (API search → Cypher expansion via$W_IDS) was documented but never actually worked — now it does.Infrastructure Sovereignty → INFLUENCES → Geopolitical Computational Resourcesinstead ofsha256:26f76_chunk1_dc5194d6 → INFLUENCES → sha256:26f76_chunk1_1b374980).Test plan
cd cli && npm testfor CLI unit testsdocker exec kg-api-dev pytest tests/ -x -qfor API tests