Skip to content

docs(upstream): record the deferred Nix option-path lookup (OD-B47) - #347

Merged
sunerpy merged 1 commit into
mainfrom
docs/known-diffs-nix-lookups
Nov 27, 2026
Merged

sunerpy merged 1 commit into
mainfrom
docs/known-diffs-nix-lookups

Conversation

@sunerpy

@sunerpy sunerpy commented Nov 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a KNOWN_DIFFS.md section for OD-B47, which UPSTREAM.md lists as left for the next round but KNOWN_DIFFS.md never recorded.
  • colby's findAllSymbols reads a dotted lower-case token as a Nix option path (options.<token>, the node <token>, then up to 12 nodes named <token>.*, Nix nodes only) for its callers, callees and impact tools and explore's exact targets. The port reads that convention only for codegraph_explore's named symbols; the MCP engine's find_all_symbols and the CLI's symbol_matches/exact_or_top_matches do not.

Verification

  • The described behavior was checked on the official v0.56.0 binary with the first fixture of upstream 7f325134 (__tests__/nix-option-synthesizer.test.ts): MCP codegraph_callers and codegraph_impact answer "not found" for launchd.user.agents; the CLI's callers and impact find the declaration through the .<token> suffix match and list the write site only as its caller; codegraph explore finds all three symbols.
  • python3 scripts/docs-check.py, oxfmt 0.64.0 check, and the pre-push make pre-ci passed.

Docs only; no code or graph change.

KNOWN_DIFFS.md had no entry for OD-B47, which UPSTREAM.md lists as left for
the next round. Add one next to the Task 22 section: colby's findAllSymbols
reads a dotted lower-case token as a Nix option path (options.<token>, the
node <token>, then up to 12 nodes named <token>.*, Nix nodes only) for its
callers, callees and impact tools and explore's exact targets. The port reads
the convention only for codegraph_explore's named symbols; the MCP engine's
find_all_symbols and the CLI's symbol_matches/exact_or_top_matches do not.

The behavior described was checked on the v0.56.0 binary with the first
fixture of upstream 7f325134 (__tests__/nix-option-synthesizer.test.ts):
MCP codegraph_callers and codegraph_impact answer "not found" for
launchd.user.agents, the CLI finds the declaration through its `.<token>`
suffix match, and explore finds all three symbols.
@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #347   +/-   ##
=======================================
  Coverage   96.40%   96.40%           
=======================================
  Files         368      368           
  Lines      254382   254382           
=======================================
+ Hits       245229   245231    +2     
+ Misses       9153     9151    -2     

see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sunerpy
sunerpy merged commit c00aa17 into main Nov 27, 2026
11 checks passed
@sunerpy
sunerpy deleted the docs/known-diffs-nix-lookups branch November 27, 2026 07:55
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.

1 participant