Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ccg
command
@index Local CLI bootstrap entry point for one-shot commands and stdio MCP.
|
@index Local CLI bootstrap entry point for one-shot commands and stdio MCP. |
|
ccg-server
command
@index Self-hosted HTTP server bootstrap for code-context-graph.
|
@index Self-hosted HTTP server bootstrap for code-context-graph. |
|
internal
|
|
|
adapters/inbound/http
@index Compile-time MCP dependency checks owned by the server runtime.
|
@index Compile-time MCP dependency checks owned by the server runtime. |
|
adapters/inbound/mcp
@index In-memory TTL cache for repeat MCP read-tool responses with background eviction.
|
@index In-memory TTL cache for repeat MCP read-tool responses with background eviction. |
|
adapters/inbound/webhook
@index HTTP webhook intake for repository sync dispatch.
|
@index HTTP webhook intake for repository sync dispatch. |
|
adapters/inbound/wikihttp
@index HTTP handlers for the ccg-server Wiki UI and its viewer-oriented JSON API.
|
@index HTTP handlers for the ccg-server Wiki UI and its viewer-oriented JSON API. |
|
adapters/outbound/contentfiles
@index Symlink-safe atomic filesystem access rooted beneath one generated-content directory.
|
@index Symlink-safe atomic filesystem access rooted beneath one generated-content directory. |
|
adapters/outbound/gitrepo
@index Authentication helpers for webhook-driven git access.
|
@index Authentication helpers for webhook-driven git access. |
|
adapters/outbound/graphgorm
@index GORM persistence adapter for git-diff change-risk analysis.
|
@index GORM persistence adapter for git-diff change-risk analysis. |
|
adapters/outbound/reposyncobs
@index OpenTelemetry and trace-log adapter for repository sync queue lifecycles.
|
@index OpenTelemetry and trace-log adapter for repository sync queue lifecycles. |
|
adapters/outbound/searchsql
@index Shared search backend interface and errors for SQLite FTS5 and PostgreSQL tsvector implementations.
|
@index Shared search backend interface and errors for SQLite FTS5 and PostgreSQL tsvector implementations. |
|
adapters/outbound/treesitter
@index Language-specific grammar specifications and discovery hooks for the Tree-sitter parser.
|
@index Language-specific grammar specifications and discovery hooks for the Tree-sitter parser. |
|
app/analyze
@index Consumer-owned outbound ports shared by graph analysis use cases.
|
@index Consumer-owned outbound ports shared by graph analysis use cases. |
|
app/analyze/changes
@index Application git-diff overlap and deterministic change-risk policy.
|
@index Application git-diff overlap and deterministic change-risk policy. |
|
app/analyze/flow
@index Persisted flow rebuild service for namespace-scoped stored flows.
|
@index Persisted flow rebuild service for namespace-scoped stored flows. |
|
app/analyze/impact
@index Application BFS blast-radius analysis with depth and node-count bounds.
|
@index Application BFS blast-radius analysis with depth and node-count bounds. |
|
app/analyze/query
@index Application graph-query policy for callers, imports, inheritance, summaries, and exact-name fallback.
|
@index Application graph-query policy for callers, imports, inheritance, summaries, and exact-name fallback. |
|
app/crossref
@index Cross-namespace reference sync: materializes @see ccg:// annotation tags into cross_refs rows.
|
@index Cross-namespace reference sync: materializes @see ccg:// annotation tags into cross_refs rows. |
|
app/docs
@index Consumer-owned graph read contracts for generated documentation and lint policy.
|
@index Consumer-owned graph read contracts for generated documentation and lint policy. |
|
app/ingest
@index Consumer-owned transaction ports for graph ingest application workflows.
|
@index Consumer-owned transaction ports for graph ingest application workflows. |
|
app/ingest/incremental
@index Session-local parsed-edge spool for staged incremental reconciliation.
|
@index Session-local parsed-edge spool for staged incremental reconciliation. |
|
app/ingest/resolve
@index Language-specific dispatch hooks used by call edge resolution.
|
@index Language-specific dispatch hooks used by call edge resolution. |
|
app/ingest/workflow
@index Full graph build pipeline: spool, batch persistence, and edge resolution.
|
@index Full graph build pipeline: spool, batch persistence, and edge resolution. |
|
app/reposync
@index Repository/branch admission, ref normalization, and namespace policy for repository sync.
|
@index Repository/branch admission, ref normalization, and namespace policy for repository sync. |
|
app/search/document
@index Pure search-document content construction from graph nodes and annotations.
|
@index Pure search-document content construction from graph nodes and annotations. |
|
app/search/identtoken
Package identtoken splits source identifiers into lowercased sub-tokens on separators, camelCase boundaries, and letter/digit transitions.
|
Package identtoken splits source identifiers into lowercased sub-tokens on separators, camelCase boundaries, and letter/digit transitions. |
|
app/search/rank
Package rank reranks FTS-ranked code-search candidates using dependency-free structural signals (name fuzzy similarity, path proximity), so both the CLI `search` command and the MCP `search` tool share one ranking.
|
Package rank reranks FTS-ranked code-search candidates using dependency-free structural signals (name fuzzy similarity, path proximity), so both the CLI `search` command and the MCP `search` tool share one ranking. |
|
app/search/retrieval
@index retrieval 패키지의 순수 DB 후보 처리 헬퍼 함수 모음.
|
@index retrieval 패키지의 순수 DB 후보 처리 헬퍼 함수 모음. |
|
app/wiki
@index Built-in CCG Wiki eager/lazy tree construction and compatibility snapshot policy.
|
@index Built-in CCG Wiki eager/lazy tree construction and compatibility snapshot policy. |
|
archtest
Package archtest holds executable package-boundary contracts for the CCG modular-hexagonal refactor.
|
Package archtest holds executable package-boundary contracts for the CCG modular-hexagonal refactor. |
|
ctx
@index 요청 범위 값을 context.Context에 안전하게 전파하는 공용 패키지.
|
@index 요청 범위 값을 context.Context에 안전하게 전파하는 공용 패키지. |
|
db
@index Database connection, SQLite WAL/busy_timeout, connection pool, and search-backend selection helpers for SQLite and PostgreSQL.
|
@index Database connection, SQLite WAL/busy_timeout, connection pool, and search-backend selection helpers for SQLite and PostgreSQL. |
|
domain/annotation
@index 커스텀 어노테이션 파서.
|
@index 커스텀 어노테이션 파서. |
|
domain/graph
@index Materialized cross-namespace annotation references for federated graph analysis.
|
@index Materialized cross-namespace annotation references for federated graph analysis. |
|
domain/reference
@index CCG reference parser for cross-namespace annotation links.
|
@index CCG reference parser for cross-namespace annotation links. |
|
obs
@index OpenTelemetry SDK tracer setup and trace-aware logging helpers for server paths.
|
@index OpenTelemetry SDK tracer setup and trace-aware logging helpers for server paths. |
|
pathspec
Package pathspec evaluates lexical path filters without filesystem access.
|
Package pathspec evaluates lexical path filters without filesystem access. |
|
runtime
@index Shared runtime wiring for ccg CLI and ccg-server binaries.
|
@index Shared runtime wiring for ccg CLI and ccg-server binaries. |
|
runtime/mcp
@index Shared MCP runtime assembly for stdio and HTTP server entry points.
|
@index Shared MCP runtime assembly for stdio and HTTP server entry points. |
|
runtime/remote
@index Remote HTTP runtime composition for MCP, Wiki, webhook, and repository sync.
|
@index Remote HTTP runtime composition for MCP, Wiki, webhook, and repository sync. |
|
safepath
@index safepath는 여러 핸들러가 공유하는 저수준 경로 안전 프리미티브를 단일화한다.
|
@index safepath는 여러 핸들러가 공유하는 저수준 경로 안전 프리미티브를 단일화한다. |
Click to show internal directories.
Click to hide internal directories.