feat: add repository knowledge atlas#1446
Open
lsjfy-open-com wants to merge 1 commit into
Open
Conversation
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
This adds a repository-local knowledge layer and a bundled, read-only topology atlas on top of CodeGraph's existing graph:
sectionnodes without changing or replacing any existing code extractionreferencesedgescodegraph ui [path]with bundled offline assets, loopback-only defaults, semantic/directory/language grouping, progressive labels, node/edge filters, visual-only group aggregation, and a precise inspectorWhy
Repository knowledge is split between source and local documents. Agents and humans need to move from architecture/runbooks to concrete symbols while retaining the original CodeGraph identity and relationship truth. Existing node IDs, qualified names, edge endpoints, edge kinds, and code extraction paths remain unchanged; document nodes are appended and UI aggregation is presentation-only.
Related work
codegraph view— interactive zoomable HTML graph #1198 adds a self-containedcodegraph view. This PR uses a loopback read-only service instead, so search and the inspector query the full SQLite graph while the browser renders a bounded snapshot. The atlas emphasizes macro distribution before node-level inspection.User impact
No CDN, external document fetch, or runtime network dependency is introduced. External URLs stay as source text and are not crawled.
Validation
npm run buildDesign notes are included under
docs/design/repository-documents-v1.mdanddocs/design/repository-topology-ui-v1.md.