Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
benchmark
command
Command benchmark is a standalone binary for running Tier 1 external benchmarks against a running Synapses daemon.
|
Command benchmark is a standalone binary for running Tier 1 external benchmarks against a running Synapses daemon. |
|
benchmark/agent
claude_agent.go implements a minimal agent loop that calls the Anthropic Messages API with tool_use.
|
claude_agent.go implements a minimal agent loop that calls the Anthropic Messages API with tool_use. |
|
benchmark/benchmarks
ContextBench runner — measures context retrieval quality on the ContextBench dataset (1,136 tasks, 66 repos, 8 languages).
|
ContextBench runner — measures context retrieval quality on the ContextBench dataset (1,136 tasks, 66 repos, 8 languages). |
|
benchmark/indexer
Package indexer clones and indexes GitHub repositories using the Synapses CLI, caching results to disk so re-runs skip already-indexed repos.
|
Package indexer clones and indexes GitHub repositories using the Synapses CLI, caching results to disk so re-runs skip already-indexed repos. |
|
benchmark/reporter
Package reporter writes benchmark results to disk as JSON and Markdown.
|
Package reporter writes benchmark results to disk as JSON and Markdown. |
|
synapses
command
daemon.go — "synapses daemon" subcommand Manages the singleton daemon and any external background services.
|
daemon.go — "synapses daemon" subcommand Manages the singleton daemon and any external background services. |
|
internal
|
|
|
benchmark
Package benchmark provides a self-validating benchmark harness for Synapses.
|
Package benchmark provides a self-validating benchmark harness for Synapses. |
|
brain
Package brain provides in-process access to the Thinking Brain.
|
Package brain provides in-process access to the Thinking Brain. |
|
brain/archivist
Package archivist synthesizes agent session transcripts into persistent memory entries and code annotations.
|
Package archivist synthesizes agent session transcripts into persistent memory entries and code annotations. |
|
brain/config
Package config provides BrainConfig loading and defaults for synapses-intelligence.
|
Package config provides BrainConfig loading and defaults for synapses-intelligence. |
|
brain/contextbuilder
Package contextbuilder assembles a structured Context Packet from a Synapses graph snapshot, SDLC phase/mode, and the Brain's learned data.
|
Package contextbuilder assembles a structured Context Packet from a Synapses graph snapshot, SDLC phase/mode, and the Brain's learned data. |
|
brain/enricher
Package enricher implements the Context Enricher — Feature 2 of synapses-intelligence.
|
Package enricher implements the Context Enricher — Feature 2 of synapses-intelligence. |
|
brain/guardian
Package guardian implements the Rule Guardian — Feature 3 of synapses-intelligence.
|
Package guardian implements the Rule Guardian — Feature 3 of synapses-intelligence. |
|
brain/ingestor
Package ingestor implements the Semantic Ingestor — Feature 1 of synapses-intelligence.
|
Package ingestor implements the Semantic Ingestor — Feature 1 of synapses-intelligence. |
|
brain/llm
Package llm provides the LLM client abstraction for synapses-intelligence.
|
Package llm provides the LLM client abstraction for synapses-intelligence. |
|
brain/orchestrator
Package orchestrator implements the Task Orchestrator — Feature 4 of synapses-intelligence.
|
Package orchestrator implements the Task Orchestrator — Feature 4 of synapses-intelligence. |
|
brain/pruner
Package pruner strips boilerplate from web content using the Tier 0 (0.8B) model.
|
Package pruner strips boilerplate from web content using the Tier 0 (0.8B) model. |
|
brain/sdlc
Package sdlc provides SDLC phase awareness and quality mode profiles.
|
Package sdlc provides SDLC phase awareness and quality mode profiles. |
|
brain/store
Package store manages the brain's own SQLite database.
|
Package store manages the brain's own SQLite database. |
|
config
Package config loads and validates the synapses.json project configuration.
|
Package config loads and validates the synapses.json project configuration. |
|
contextfile
Package contextfile writes per-project markdown context files to ~/.synapses/context/<hash>.md.
|
Package contextfile writes per-project markdown context files to ~/.synapses/context/<hash>.md. |
|
dataflow
Package dataflow implements source-to-sink data flow analysis on top of the existing CALLS graph.
|
Package dataflow implements source-to-sink data flow analysis on top of the existing CALLS graph. |
|
embed
Package embed provides a fail-silent client for generating vector embeddings from an Ollama-compatible or OpenAI-compatible HTTP endpoint.
|
Package embed provides a fail-silent client for generating vector embeddings from an Ollama-compatible or OpenAI-compatible HTTP endpoint. |
|
federation
Package federation provides cross-project dependency tracking and drift detection.
|
Package federation provides cross-project dependency tracking and drift detection. |
|
graph
Package graph implements the core in-memory graph engine for Synapses.
|
Package graph implements the core in-memory graph engine for Synapses. |
|
logutil
Package logutil provides structured, grep-friendly logging to stderr.
|
Package logutil provides structured, grep-friendly logging to stderr. |
|
mcp
Porter Stemmer — inlined from github.com/reiver/go-porterstemmer (MIT License).
|
Porter Stemmer — inlined from github.com/reiver/go-porterstemmer (MIT License). |
|
metrics
Package metrics enriches graph nodes with code health signals: cyclomatic complexity (computed during parsing), git churn, git blame, and test coverage.
|
Package metrics enriches graph nodes with code health signals: cyclomatic complexity (computed during parsing), git churn, git blame, and test coverage. |
|
namematcher
Package namematcher implements cross-domain entity name matching for Synapses.
|
Package namematcher implements cross-domain entity name matching for Synapses. |
|
parser
Package parser — heuristic.go: post-AST pass that injects synthetic HANDLES edges for framework routing registrations (R1).
|
Package parser — heuristic.go: post-AST pass that injects synthetic HANDLES edges for framework routing registrations (R1). |
|
pulse
Package pulse provides in-process analytics for the Synapses MCP server.
|
Package pulse provides in-process analytics for the Synapses MCP server. |
|
pulse/aggregator
Package aggregator pre-computes daily rollup metrics for fast dashboard queries.
|
Package aggregator pre-computes daily rollup metrics for fast dashboard queries. |
|
pulse/collector
Package collector implements an async event buffer that decouples ingestion from SQLite writes.
|
Package collector implements an async event buffer that decouples ingestion from SQLite writes. |
|
pulse/pstore
Package store implements the SQLite persistence layer for synapses-pulse.
|
Package store implements the SQLite persistence layer for synapses-pulse. |
|
pulse/types
Package types defines the shared event types for the pulse analytics subsystem.
|
Package types defines the shared event types for the pulse analytics subsystem. |
|
resolver
Package resolver — nl_community.go implements topic clustering for knowledge nodes using label propagation.
|
Package resolver — nl_community.go implements topic clustering for knowledge nodes using label propagation. |
|
secrets
Package secrets provides secret-detection utilities shared across the codebase.
|
Package secrets provides secret-detection utilities shared across the codebase. |
|
skills
Package skills provides activation-context prompt templates for Synapses.
|
Package skills provides activation-context prompt templates for Synapses. |
|
store
Package store — deterministic NL description generation for code nodes.
|
Package store — deterministic NL description generation for code nodes. |
|
watcher
Package watcher implements incremental graph updates via filesystem events.
|
Package watcher implements incremental graph updates via filesystem events. |
|
webcache
Package webcache provides a Go-native HTTP fetch + SQLite cache for web documentation.
|
Package webcache provides a Go-native HTTP fetch + SQLite cache for web documentation. |
Click to show internal directories.
Click to hide internal directories.