internal/

directory
v1.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2026 License: Apache-2.0

Directories

Path Synopsis
Package analyze provides analysis orchestration for MCP tool handlers.
Package analyze provides analysis orchestration for MCP tool handlers.
Package artifactfilter provides a stdlib-only helper for detecting compiled build artifacts that should be excluded from source-level analyses such as coupling, co-change, and dead-code detection.
Package artifactfilter provides a stdlib-only helper for detecting compiled build artifacts that should be excluded from source-level analyses such as coupling, co-change, and dead-code detection.
Package biomarkers exposes deterministic file-level signals used to estimate near-term defect risk.
Package biomarkers exposes deterministic file-level signals used to estimate near-term defect risk.
Package cache provides in-memory caches for parsed ASTs and LLM responses.
Package cache provides in-memory caches for parsed ASTs and LLM responses.
Package callgraph builds and queries call relationships between functions.
Package callgraph builds and queries call relationships between functions.
Package clean provides smart code cleaning for LLM consumption.
Package clean provides smart code cleaning for LLM consumption.
Package codegraph sparse retrieval — Phase P1 stub.
Package codegraph sparse retrieval — Phase P1 stub.
Package compare provides structural and semantic code comparison between repositories.
Package compare provides structural and semantic code comparison between repositories.
Package compound provides high-level compound analysis tools that aggregate multiple lower-level analysis primitives into a single result.
Package compound provides high-level compound analysis tools that aggregate multiple lower-level analysis primitives into a single result.
Package coupling provides stage-2 semantic verification for federated cross-repo co-change candidates: it proves (or fails to prove) that two files in different repos share a real dependency — starting with an offline HTTP route provider↔consumer match.
Package coupling provides stage-2 semantic verification for federated cross-repo co-change candidates: it proves (or fails to prove) that two files in different repos share a real dependency — starting with an offline HTTP route provider↔consumer match.
Package deadcode detects functions and methods with zero incoming calls.
Package deadcode detects functions and methods with zero incoming calls.
internal/designmd/parse.go
internal/designmd/parse.go
Package explore provides a fast, structured overview of a repository.
Package explore provides a fast, structured overview of a repository.
Package federate provides multi-repo fan-out for go-code: resolve a repo pattern to a list of repos, then run per-repo primitives and correlate in Go.
Package federate provides multi-repo fan-out for go-code: resolve a repo pattern to a list of repos, then run per-repo primitives and correlate in Go.
internal/fleet/changelog.go
internal/fleet/changelog.go
docker
Package docker provides a fleet.Probe implementation that discovers running containers via the local Docker Engine unix socket using raw HTTP/1.1.
Package docker provides a fleet.Probe implementation that discovers running containers via the local Docker Engine unix socket using raw HTTP/1.1.
ssh
Package ssh provides a fleet.Probe implementation that discovers running containers on a remote host via the system `ssh` binary and `docker ps`.
Package ssh provides a fleet.Probe implementation that discovers running containers on a remote host via the system `ssh` binary and `docker ps`.
upstream
internal/fleet/upstream/client.go
internal/fleet/upstream/client.go
Package forge defines the Forge interface and shared types for source-code hosting integrations (GitHub, GitLab, …).
Package forge defines the Forge interface and shared types for source-code hosting integrations (GitHub, GitLab, …).
Package freshness parses dependency manifest files for multiple languages and discovers them in repository directory trees.
Package freshness parses dependency manifest files for multiple languages and discovers them in repository directory trees.
Package gitutil provides shared Git repository helpers used across multiple internal packages.
Package gitutil provides shared Git repository helpers used across multiple internal packages.
Package goanalysis provides Go type-aware analysis via go/types.
Package goanalysis provides Go type-aware analysis via go/types.
Package goutil provides shared utility functions used across multiple internal packages (analyze, explore, compare, codegraph).
Package goutil provides shared utility functions used across multiple internal packages (analyze, explore, compare, codegraph).
Package graphx defines the cooperation interfaces between the ephemeral callgraph (internal/callgraph) and the persistent AGE graph (internal/codegraph).
Package graphx defines the cooperation interfaces between the ephemeral callgraph (internal/callgraph) and the persistent AGE graph (internal/codegraph).
Package httputil provides a thin JSON HTTP client shared by promclient, jaegerclient, and dozorclient.
Package httputil provides a thin JSON HTTP client shared by promclient, jaegerclient, and dozorclient.
Package impact computes blast radius for changing a symbol.
Package impact computes blast radius for changing a symbol.
Package importresolve provides a unified import resolver shared by codegraph and analyze.
Package importresolve provides a unified import resolver shared by codegraph and analyze.
Package ingest handles repository ingestion: cloning remote repos, walking the local filesystem, filtering files by language/size/gitignore rules, and producing a normalized file list for downstream parsing.
Package ingest handles repository ingestion: cloning remote repos, walking the local filesystem, filtering files by language/size/gitignore rules, and producing a normalized file list for downstream parsing.
Package investigate provides types and helpers for correlating Prometheus metrics, Jaeger traces, and code symbols into a ranked list of root-cause hypotheses for the debug_investigate MCP tool.
Package investigate provides types and helpers for correlating Prometheus metrics, Jaeger traces, and code symbols into a ranked list of root-cause hypotheses for the debug_investigate MCP tool.
Package langutil provides shared language-aware helpers used across go-code packages.
Package langutil provides shared language-aware helpers used across go-code packages.
Package learnings persists review findings so future reviews on the same repo/symbol can reference prior outcomes.
Package learnings persists review findings so future reviews on the same repo/symbol can reference prior outcomes.
Package lextoken provides the canonical query tokenizer and identifier splitter for go-code.
Package lextoken provides the canonical query tokenizer and identifier splitter for go-code.
Package mcpmeta hints.go — calibrated next-call hint helpers.
Package mcpmeta hints.go — calibrated next-call hint helpers.
Package oxcodes provides an HTTP client for the ox-codes search service.
Package oxcodes provides an HTTP client for the ox-codes search service.
Package parser provides multi-language AST parsing via tree-sitter.
Package parser provides multi-language AST parsing via tree-sitter.
preproc
Package preproc extracts TypeScript-ish code blocks from preprocessor-language files (Svelte, Astro) into a "virtual source" buffer that can be fed to a tree-sitter TypeScript/TSX parser.
Package preproc extracts TypeScript-ish code blocks from preprocessor-language files (Svelte, Astro) into a "virtual source" buffer that can be fed to a tree-sitter TypeScript/TSX parser.
pgtest
Package pgtest holds shared test-only helpers for pgvector store integration tests (analogous in spirit to stdlib's net/http/httptest: a dedicated test-support package, never imported by production code).
Package pgtest holds shared test-only helpers for pgvector store integration tests (analogous in spirit to stdlib's net/http/httptest: a dedicated test-support package, never imported by production code).
Package policy loads .go-code.yaml from a repo root and evaluates simple team rules against a review.DeltaResult.
Package policy loads .go-code.yaml from a repo root and evaluates simple team rules against a review.DeltaResult.
Package polyglot detects multi-language repository structures by scanning manifest files (go.mod, package.json, Cargo.toml, etc.) and grouping source files into language-specific layers.
Package polyglot detects multi-language repository structures by scanning manifest files (go.mod, package.json, Cargo.toml, etc.) and grouping source files into language-specific layers.
pinned
Package pinned extracts container image references from indexed repo files.
Package pinned extracts container image references from indexed repo files.
Package prompts contains domain-specific LLM system prompts for go-code tools.
Package prompts contains domain-specific LLM system prompts for go-code tools.
Package render provides advanced source code rendering modes for LLM context.
Package render provides advanced source code rendering modes for LLM context.
Package repofind discovers git repositories under parent directories.
Package repofind discovers git repositories under parent directories.
Package research implements code-research: multi-signal retrieval that combines keyword (BM25F), semantic (vector embeddings), import-DAG graph expansion, and token-budget pruning to produce a compact, LLM-ready context from a repository.
Package research implements code-research: multi-signal retrieval that combines keyword (BM25F), semantic (vector embeddings), import-DAG graph expansion, and token-budget pruning to produce a compact, LLM-ready context from a repository.
Package scip provides utilities for reading and processing SCIP code intelligence indexes.
Package scip provides utilities for reading and processing SCIP code intelligence indexes.
Package semhealth provides semantic health analysis bridging embeddings search with code quality metrics.
Package semhealth provides semantic health analysis bridging embeddings search with code quality metrics.
Package slugparse provides the canonical parser for source-code repository slugs.
Package slugparse provides the canonical parser for source-code repository slugs.
Package sourcemap fetches and caches JavaScript source maps and resolves minified frames (url, line, column) → original (file, line, function).
Package sourcemap fetches and caches JavaScript source maps and resolves minified frames (url, line, column) → original (file, line, function).
Package strutil provides small string utilities shared across packages.
Package strutil provides small string utilities shared across packages.
Package tier defines the 3-level analysis capability tiers and detects which tier is available based on the active backends.
Package tier defines the 3-level analysis capability tiers and detects which tier is available based on the active backends.
Package websearch provides an HTTP client for go-search MCP server.
Package websearch provides an HTTP client for go-search MCP server.
Package workspace provides a unified Source abstraction for resolving a repo identifier to an on-disk path.
Package workspace provides a unified Source abstraction for resolving a repo identifier to an on-disk path.
Package wphooks provides lookup for WordPress core hook definitions.
Package wphooks provides lookup for WordPress core hook definitions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL