Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
graphlume
command
Command graphlume provides deterministic code intelligence & change safety for AI coding agents.
|
Command graphlume provides deterministic code intelligence & change safety for AI coding agents. |
|
fixtures
|
|
|
langs/go
Package sample exercises the ways Go declares something.
|
Package sample exercises the ways Go declares something. |
|
internal
|
|
|
acquire/fs
Package fs is the acquisition layer's front door: it decides which files in a repository are worth indexing and fingerprints them.
|
Package fs is the acquisition layer's front door: it decides which files in a repository are worth indexing and fingerprints them. |
|
acquire/git
Package git acquires repository metadata for the GraphLume indexer.
|
Package git acquires repository metadata for the GraphLume indexer. |
|
analyze
Package analyze turns one parsed file into API and database facts.
|
Package analyze turns one parsed file into API and database facts. |
|
analyze/api
Package api extracts HTTP endpoints from source: the routes a service exposes, and the handler behind each one.
|
Package api extracts HTTP endpoints from source: the routes a service exposes, and the handler behind each one. |
|
analyze/cluster
Package cluster partitions a code graph into communities.
|
Package cluster partitions a code graph into communities. |
|
analyze/config
Package config finds configuration keys: what a service can be configured with, and which code reads each setting.
|
Package config finds configuration keys: what a service can be configured with, and which code reads each setting. |
|
analyze/db
Package db extracts database facts from source: which tables exist, and which code reads or writes them.
|
Package db extracts database facts from source: which tables exist, and which code reads or writes them. |
|
analyze/deps
Package deps reads dependency manifests: what a project declares it needs.
|
Package deps reads dependency manifests: what a project declares it needs. |
|
analyze/events
Package events extracts event bus bindings from source: the topics and queues a service publishes to (EdgePublishes) or consumes from (EdgeConsumes).
|
Package events extracts event bus bindings from source: the topics and queues a service publishes to (EdgePublishes) or consumes from (EdgeConsumes). |
|
analyze/infra
Package infra reads deployment manifests: what the code RUNS AS.
|
Package infra reads deployment manifests: what the code RUNS AS. |
|
analyze/licenses
Package licenses finds the licence of a dependency from what is already on this machine, and says where it found it.
|
Package licenses finds the licence of a dependency from what is already on this machine, and says where it found it. |
|
analyze/metrics
Package metrics computes structural properties of a code graph.
|
Package metrics computes structural properties of a code graph. |
|
arch
Package arch is the declared architecture: which paths belong to which component, and which dependencies between components are permitted.
|
Package arch is the declared architecture: which paths belong to which component, and which dependencies between components are permitted. |
|
arch/adr
Package adr finds and reads Architecture Decision Records: the markdown files a team keeps to record why a structural choice was made.
|
Package adr finds and reads Architecture Decision Records: the markdown files a team keeps to record why a structural choice was made. |
|
autorun
Package autorun records the outcome of the last automatic re-index: the background pass a git hook starts with `graphlume auto-index`.
|
Package autorun records the outcome of the last automatic re-index: the background pass a git hook starts with `graphlume auto-index`. |
|
bench
Package bench measures whether the context engine retrieved the right code.
|
Package bench measures whether the context engine retrieved the right code. |
|
capability
Package capability holds GraphLume's query-layer capabilities: the questions an agent actually asks of an indexed repository.
|
Package capability holds GraphLume's query-layer capabilities: the questions an agent actually asks of an indexed repository. |
|
capability/architecture
Package architecture answers "does the code match the architecture we said we had?" — ArchMind from the product spec.
|
Package architecture answers "does the code match the architecture we said we had?" — ArchMind from the product spec. |
|
capability/captest
Package captest builds in-memory fixtures for the capability packages' tests.
|
Package captest builds in-memory fixtures for the capability packages' tests. |
|
capability/communities
Package communities groups a repository's files by how they refer to each other, and reports the groups.
|
Package communities groups a repository's files by how they refer to each other, and reports the groups. |
|
capability/deadcode
Package deadcode reports definitions nothing in the index points at, and says how far each one can be trusted as actually unused.
|
Package deadcode reports definitions nothing in the index points at, and says how far each one can be trusted as actually unused. |
|
capability/hotspots
Package hotspots ranks files by how often they change against how much code they hold, and reports which files change together without a static edge between them.
|
Package hotspots ranks files by how often they change against how much code they hold, and reports which files change together without a static edge between them. |
|
capability/impact
Package impact answers "what breaks if I change this?" over the shared code knowledge graph.
|
Package impact answers "what breaks if I change this?" over the shared code knowledge graph. |
|
capability/knowledge
Package knowledge reports where the recent work on a directory was done by so few people that losing one of them loses most of what is known about it.
|
Package knowledge reports where the recent work on a directory was done by so few people that losing one of them loses most of what is known about it. |
|
capability/move
Package move plans the move of one top-level Go declaration from one file to another file of the same package.
|
Package move plans the move of one top-level Go declaration from one file to another file of the same package. |
|
capability/ownership
Package ownership answers "who has context on the code a change here reaches" by joining git history to a blast radius.
|
Package ownership answers "who has context on the code a change here reaches" by joining git history to a blast radius. |
|
capability/rename
Package rename decides where a rename must edit and whether it may.
|
Package rename decides where a rename must edit and whether it may. |
|
capability/runtime
Package runtime correlates observed traces with the indexed graph.
|
Package runtime correlates observed traces with the indexed graph. |
|
capability/supplychain
Package supplychain answers two questions about a project's declared dependencies: what are they, written in a form other tools consume (a CycloneDX SBOM), and — given advisories the user supplies — which of them fall in an affected range, and does the indexed code actually use them.
|
Package supplychain answers two questions about a project's declared dependencies: what are they, written in a form other tools consume (a CycloneDX SBOM), and — given advisories the user supplies — which of them fall in an affected range, and does the indexed code actually use them. |
|
capability/testgap
Package testgap joins the two questions the other capabilities answer separately: "what does changing this reach" and "what covers that".
|
Package testgap joins the two questions the other capabilities answer separately: "what does changing this reach" and "what covers that". |
|
capability/tests
Package tests answers "which tests cover this?" over the shared code knowledge graph.
|
Package tests answers "which tests cover this?" over the shared code knowledge graph. |
|
cli
Package cli assembles GraphLume's command-line interface.
|
Package cli assembles GraphLume's command-line interface. |
|
compile
Package compile turns an informal request plus an assembled context pack into an explicit TASK CONTRACT: the brief an AI coding agent should be handed instead of a one-line ask.
|
Package compile turns an informal request plus an assembled context pack into an explicit TASK CONTRACT: the brief an AI coding agent should be handed instead of a one-line ask. |
|
config
Package config loads GraphLume settings from two distinct trust domains.
|
Package config loads GraphLume settings from two distinct trust domains. |
|
context
Package context assembles the minimum sufficient engineering context for a plain-English task.
|
Package context assembles the minimum sufficient engineering context for a plain-English task. |
|
diffgraph
Package diffgraph compares two committed index runs and reports what CHANGED ABOUT THE CODE'S FACTS, not about its lines.
|
Package diffgraph compares two committed index runs and reports what CHANGED ABOUT THE CODE'S FACTS, not about its lines. |
|
docs
Package docs turns the indexed graph into a document a person can read, and does it deterministically enough to commit the result.
|
Package docs turns the indexed graph into a document a person can read, and does it deterministically enough to commit the result. |
|
edit
Package edit rewrites identifiers in source files under one project root.
|
Package edit rewrites identifiers in source files under one project root. |
|
errs
Package errs adds machine-checkable failure kinds to GraphLume's errors.
|
Package errs adds machine-checkable failure kinds to GraphLume's errors. |
|
export
Package export writes a code graph out in interchange formats.
|
Package export writes a code graph out in interchange formats. |
|
graph
Package graph answers "what is reachable from here" over the code knowledge graph, under bounds the caller sets and the results honestly declare.
|
Package graph answers "what is reachable from here" over the code knowledge graph, under bounds the caller sets and the results honestly declare. |
|
indexer
Package indexer orchestrates compiler-backed SCIP indexers: it decides which ones apply to a repository, whether the machine can run them, installs them when the user has authorised that, runs them, and hands the resulting .scip files to internal/resolve/scip.
|
Package indexer orchestrates compiler-backed SCIP indexers: it decides which ones apply to a repository, whether the machine can run them, installs them when the user has authorised that, runs them, and hands the resulting .scip files to internal/resolve/scip. |
|
langdetect
Package langdetect decides which grammar reads a file.
|
Package langdetect decides which grammar reads a file. |
|
mcp
Package mcp serves GraphLume's knowledge graph to AI coding agents over the Model Context Protocol.
|
Package mcp serves GraphLume's knowledge graph to AI coding agents over the Model Context Protocol. |
|
multirepo
Package multirepo federates a READ-ONLY view across several existing index databases and reports the edges that cross between them.
|
Package multirepo federates a READ-ONLY view across several existing index databases and reports the edges that cross between them. |
|
observe
Package observe provides structured logging and telemetry setup.
|
Package observe provides structured logging and telemetry setup. |
|
parse
Package parse turns source files into symbols and unresolved references.
|
Package parse turns source files into symbols and unresolved references. |
|
pipeline
Package pipeline wires discovery and parsing into an indexing run.
|
Package pipeline wires discovery and parsing into an indexing run. |
|
policy
Package policy is the declarative half of policy-as-code: the `policy:` block of .graphlume.yml, its validation, and the catalogue of rule types.
|
Package policy is the declarative half of policy-as-code: the `policy:` block of .graphlume.yml, its validation, and the catalogue of rule types. |
|
policy/check
Package check evaluates a repository's policy: block against an index and a git diff.
|
Package check evaluates a repository's policy: block against an index and a git diff. |
|
portal
Package portal serves the GraphLume portal: a small web application that asks the index the same questions an agent does, through the same tools.
|
Package portal serves the GraphLume portal: a small web application that asks the index the same questions an agent does, through the same tools. |
|
registry
Package registry is GraphLume's write layer: it owns index runs, the two-phase atomic swap that publishes them, and the deterministic digest that proves two indexing passes over the same tree produced the same content.
|
Package registry is GraphLume's write layer: it owns index runs, the two-phase atomic swap that publishes them, and the deterministic digest that proves two indexing passes over the same tree produced the same content. |
|
report
Package report turns GraphLume's analysis results into artefacts other systems read: SARIF for code scanning, Markdown for a pull-request comment.
|
Package report turns GraphLume's analysis results into artefacts other systems read: SARIF for code scanning, Markdown for a pull-request comment. |
|
resolve/gotypes
Package gotypes makes GraphLume's answers about Go code exact by default, using Go's own type checker from the standard library: go/parser, go/build, go/types.
|
Package gotypes makes GraphLume's answers about Go code exact by default, using Go's own type checker from the standard library: go/parser, go/build, go/types. |
|
resolve/infer
Package infer binds unresolved references to symbol definitions using imports and receiver-type inference, and attaches a confidence level to every binding it makes.
|
Package infer binds unresolved references to symbol definitions using imports and receiver-type inference, and attaches a confidence level to every binding it makes. |
|
resolve/scip
Package scip ingests SCIP indexes produced by compiler-backed indexers and translates them into GraphLume symbols and relationships.
|
Package scip ingests SCIP indexes produced by compiler-backed indexers and translates them into GraphLume symbols and relationships. |
|
restapi
Package restapi serves GraphLume's tools over plain HTTP and JSON.
|
Package restapi serves GraphLume's tools over plain HTTP and JSON. |
|
search
Package search provides retrieval over the registry.
|
Package search provides retrieval over the registry. |
|
security
Package security is the last thing that runs before indexed content leaves the machine.
|
Package security is the last thing that runs before indexed content leaves the machine. |
|
store
Package store owns GraphLume's persistence: schema migration, connection setup, and the storage interface the rest of the system codes against.
|
Package store owns GraphLume's persistence: schema migration, connection setup, and the storage interface the rest of the system codes against. |
|
trace
Package trace reads distributed-tracing exports and reduces them to the few facts GraphLume can line up against the static graph: which endpoints were really called, which functions really ran, which tables were really touched, and how long each took.
|
Package trace reads distributed-tracing exports and reduces them to the few facts GraphLume can line up against the static graph: which endpoints were really called, which functions really ran, which tables were really touched, and how long each took. |
|
verify
Package verify answers the question the loop never asked: did the change that was made honour the contract that was compiled?
|
Package verify answers the question the loop never asked: did the change that was made honour the contract that was compiled? |
|
watch
Package watch turns a directory tree into a stream of debounced, coalesced change sets.
|
Package watch turns a directory tree into a stream of debounced, coalesced change sets. |
|
pkg
|
|
|
model
Package model defines GraphLume's language-independent domain entities.
|
Package model defines GraphLume's language-independent domain entities. |
|
tests
|
|
|
scale
Package scale holds GraphLume's size tests: does each query stay bounded when the repository behind it is large?
|
Package scale holds GraphLume's size tests: does each query stay bounded when the repository behind it is large? |
|
soak
Package soak holds GraphLume's endurance tests: the failure modes that only become visible after a process has been running for a long time.
|
Package soak holds GraphLume's endurance tests: the failure modes that only become visible after a process has been running for a long time. |
Click to show internal directories.
Click to hide internal directories.