feat(diagram): cleaner README graph — internal-only, self-doc note, source links#75
Merged
Conversation
…inks - Fix _filter_internal to exclude virtual placeholder nodes (VIRTUAL_FILE_PATH), so --internal-only shows only symbols with real source files - Add self-doc note and node reference table with GitHub links to inject_readme_graph.py - Add --path-prefix arg to inject_readme_graph.py for correct repo-relative URLs - Enable --internal-only in autodoc workflow for the pipeline flow diagram Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
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
--internal-only: was leaking virtual placeholder nodes (list.extend,str.endswith, etc.) because the resolver gives them FQNs likecgis.pipeline.list.extend(INTERNAL namespace). Now also excludes nodes withVIRTUAL_FILE_PATH.> Auto-generated by CGIS parsing its own source — the tool documents itself.src/cgis/pipeline.py#L47) auto-generated below the diagram.--path-prefixarg forinject_readme_graph.pyso URL paths are correct when ingesting from./src.--internal-only,--db,--fqn,--depth,--path-prefixto the relevant steps.Test plan
make type-check && make pytest— 226 passedextend,add,endswithjunk)https://github.com/zaebee/codegraph-brain/blob/main/src/cgis/...