pkg/

directory
v0.0.0-...-2c871a6 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package bm25 provides Okapi BM25 ranking for code-aware corpora.
Package bm25 provides Okapi BM25 ranking for code-aware corpora.
Package concurrency computes the concurrency blast radius of a symbol: every module that affects or is affected by it via the contract's five concurrency edge types (spawns, sends_to, recvs_from, acquires_lock, accessed_under_lock), BFS in both directions over a store.Reader.
Package concurrency computes the concurrency blast radius of a symbol: every module that affects or is affected by it via the contract's five concurrency edge types (spawns, sends_to, recvs_from, acquires_lock, accessed_under_lock), BFS in both directions over a store.Reader.
Package evidence — cache.go amortises the per-call corpus indexing across BuildPack invocations.
Package evidence — cache.go amortises the per-call corpus indexing across BuildPack invocations.
Package hunkmodifies computes the H2 line-overlap `modifies` edges that connect git Hunk nodes to the code nodes they touch.
Package hunkmodifies computes the H2 line-overlap `modifies` edges that connect git Hunk nodes to the code nodes they touch.
Package impact is the shared "impact_of_change" implementation used by both internal/mcp.impact_of_change and internal/server's HTTP /api/impact handler.
Package impact is the shared "impact_of_change" implementation used by both internal/mcp.impact_of_change and internal/server's HTTP /api/impact handler.
Package mcphandlers exposes ckg's MCP tool handlers as a public, reusable surface so sister repos (code-knowledge-system / cks, code-knowledge-vector / ckv) can wire their own mcp-go servers to the same eight-tool set without re-implementing the bodies.
Package mcphandlers exposes ckg's MCP tool handlers as a public, reusable surface so sister repos (code-knowledge-system / cks, code-knowledge-vector / ckv) can wire their own mcp-go servers to the same eight-tool set without re-implementing the bodies.
Package policy loads governance/protocol policy metadata from a YAML file and converts it into NodePolicy + EdgeGovernedBy rows that fold into the main CKG graph.
Package policy loads governance/protocol policy metadata from a YAML file and converts it into NodePolicy + EdgeGovernedBy rows that fold into the main CKG graph.
Package security loads security risk pattern annotations from a YAML file and converts them into NodeSecurityPattern + EdgeHasSecurityPattern rows that fold into the main CKG graph.
Package security loads security risk pattern annotations from a YAML file and converts them into NodeSecurityPattern + EdgeHasSecurityPattern rows that fold into the main CKG graph.
Package smartctx is the shared "smart 1-shot retrieval" implementation used by both internal/mcp.get_context_for_task and internal/eval's δ baseline.
Package smartctx is the shared "smart 1-shot retrieval" implementation used by both internal/mcp.get_context_for_task and internal/eval's δ baseline.

Jump to

Keyboard shortcuts

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