Expand description
Delivery-layer orchestration shared by the Code System Graph CLI and MCP server.
Modules§
- http_
server - Optional authenticated HTTP delivery for read-only application services.
- mcp
- MCP stdio delivery adapter.
Structs§
- Backup
Summary - Result of an explicit database backup.
- Changes
Input - Read-only local change collection input shared by CLI and MCP.
- Code
Graph Repository Sync - Bounded result for one repository’s local
CodeGraphindex. - Code
Graph Sync Summary - Aggregate
CodeGraphsynchronization result. - Community
Input - Read-only request for one deterministic community page or snapshot comparison.
- Community
Report - Paginated and optionally comparative community result.
- Config
Report - Versioned read-only result returned by
csgraph config show. - Configured
Patterns - Configured pattern list and the precedence layer that selected it.
- Diagnostic
Bundle - Explicit source-free diagnostic bundle suitable for local support handoff.
- Effective
Ignore Rule - One ordered effective discovery rule returned by
config show. - Explore
Input - Ephemeral intra-repository source and flow exploration input.
- Ignore
Policy - Effective exclusion policy for one registered repository.
- Ignore
Policy Report - Complete observable ignore policy for one registered repository.
- Init
Report - Result of creating a new strict workspace manifest.
- Manifest
Mutation Summary - Preview or result of a constrained repository manifest mutation.
- Pull
Request Input - Explicit remote pull-request inspection input shared by CLI and MCP.
- Pull
Request List Input - Explicit hosted pull-request list input shared by delivery adapters.
- Repository
Config Report - Effective configuration report for one repository alias.
- Restore
Summary - Result of an explicit database restore.
- Scan
Overrides - Highest-precedence command-line scan overrides.
- Scan
Summary - Observable result of a successful scan.
- Search
Input - Safe ranked-search input shared by CLI and MCP delivery.
- Sync
Summary - Observable result of one
csgraph syncpass. - Sync
Target - One registered repository that participates in synchronization.
- Trace
Input - Input contract shared by CLI and MCP trace delivery.
- Watcher
Status - Observable finite-watcher status returned by
csgraph status. - Workspace
Mutation Summary - Result of adding or removing a persisted workspace registration.
- Workspace
Registry Item - Compact workspace registry item returned by CLI listing.
- Workspace
Status - Current workspace registry and snapshot health.
Enums§
- Application
Error - Error returned while executing delivery-layer application operations.
- Code
Graph Sync State - Outcome of synchronizing one repository’s local
CodeGraphindex. - Config
Source - Origin of an effective repository configuration value.
- Ignore
Rule Action - Action performed by one effective repository discovery rule.
- Ignore
Rule Source - Origin of one effective repository discovery rule.
- Watcher
State - Persisted lifecycle of the foreground sync watcher.
Constants§
- DEFAULT_
EXCLUDES - Dependency, cache, environment, and build trees excluded unless explicitly re-enabled.
- PROTECTED_
EXCLUDES - Repository metadata and generated state that can never be re-enabled for discovery.
Functions§
- add_
manual_ link_ to_ manifest - Adds one exact manual relationship declaration to a workspace manifest or returns a preview.
- add_
repository_ to_ manifest - Adds a minimal repository entry to a workspace manifest or returns a preview.
- add_
workspace_ to_ registry - Validates and adds a workspace manifest to the persisted registry.
- analyze_
workspace_ changes - Collects local Git state and maps it to bounded semantic graph impact.
- analyze_
workspace_ changes_ with_ cancellation - Analyzes local changes with caller-owned cooperative cancellation.
- application_
exit_ code - Classifies application failures into stable process exit codes.
- backup_
database - Creates a validated online database backup.
- collect_
workspace_ changes - Collects a bounded fingerprinted local Git change set for one registered checkout.
- collect_
workspace_ changes_ with_ cancellation - Collects a local change set with caller-owned cooperative cancellation.
- communities_
workspace - Lists, inspects, or compares persisted communities for the current workspace.
- contracts_
workspace - Inspects, validates, compares, or explains contracts in the current immutable graph.
- create_
diagnostic_ bundle - Creates a redacted, source-free diagnostic bundle only at an explicit output path.
- doctor_
workspace - Consolidates configuration, schema, integrity, and freshness diagnostics.
- explore_
repository - Explores one registered checkout through bounded, ephemeral local code intelligence.
- export_
workspace - Renders one deterministic bounded source-free graph export.
- impact_
workspace - Computes conservative upstream or downstream impact from the current immutable graph.
- impact_
workspace_ with_ codegraph - Computes impact with optional bounded, ephemeral
CodeGraphlocal enrichment. - initialize_
workspace - Creates a strict minimal workspace manifest without overwriting existing files.
- inspect_
pull_ request - Inspects one GitHub or Bitbucket Cloud pull request through the public provider API.
- inspect_
pull_ request_ with_ cancellation - Inspects one pull request with caller-owned cooperative cancellation.
- list_
pull_ requests - Lists one bounded page of source-free hosted pull-request summaries.
- list_
repository_ registry - Lists repository registrations for one persisted workspace.
- list_
workspace_ registry - Lists persisted workspaces without mutating or migrating the database.
- remove_
repository_ from_ manifest - Removes one repository entry from a workspace manifest or returns a preview.
- remove_
workspace_ from_ registry - Removes one workspace and its snapshot state from the persisted registry.
- restore_
database - Restores a validated backup while preserving the replaced database.
- scan_
workspace - Scans the initial HTTP vertical slice and publishes one atomic snapshot.
- scan_
workspace_ with_ overrides - Scans with explicit highest-precedence command-line overrides.
- scan_
workspace_ with_ worker_ executable - Scans through an explicitly selected compatible worker executable.
- search_
workspace - Searches current graph entities with structural, FTS, community, evidence, and freshness signals.
- show_
config - Resolves and reports native discovery exclusions without opening a graph database.
- status_
workspace - Evaluates current repository state against the published snapshot.
- sync_
workspace_ with_ overrides - Synchronizes initialized local
CodeGraphindexes and then publishes an incremental graph snapshot. - sync_
workspace_ with_ worker_ executable - Synchronizes through an explicitly selected compatible worker executable.
- trace_
workspace - Traces the current stored graph and returns a versioned conservative envelope.
- traverse_
workspace - Executes an advanced bounded traversal against the current immutable graph.
- workspace_
sync_ targets - Resolves and validates the repository checkouts selected for synchronization.