internal/

directory
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT

Directories

Path Synopsis
Package benchmark provides a self-validating benchmark harness for Synapses.
Package benchmark provides a self-validating benchmark harness for Synapses.
Package brain provides in-process access to the Thinking Brain.
Package brain provides in-process access to the Thinking 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.
config
Package config provides BrainConfig loading and defaults for synapses-intelligence.
Package config provides BrainConfig loading and defaults for synapses-intelligence.
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.
enricher
Package enricher implements the Context Enricher — Feature 2 of synapses-intelligence.
Package enricher implements the Context Enricher — Feature 2 of synapses-intelligence.
guardian
Package guardian implements the Rule Guardian — Feature 3 of synapses-intelligence.
Package guardian implements the Rule Guardian — Feature 3 of synapses-intelligence.
ingestor
Package ingestor implements the Semantic Ingestor — Feature 1 of synapses-intelligence.
Package ingestor implements the Semantic Ingestor — Feature 1 of synapses-intelligence.
llm
Package llm provides the LLM client abstraction for synapses-intelligence.
Package llm provides the LLM client abstraction for synapses-intelligence.
orchestrator
Package orchestrator implements the Task Orchestrator — Feature 4 of synapses-intelligence.
Package orchestrator implements the Task Orchestrator — Feature 4 of synapses-intelligence.
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.
sdlc
Package sdlc provides SDLC phase awareness and quality mode profiles.
Package sdlc provides SDLC phase awareness and quality mode profiles.
store
Package store manages the brain's own SQLite database.
Package store manages the brain's own SQLite database.
Package config loads and validates the synapses.json project configuration.
Package config loads and validates the synapses.json project configuration.
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.
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.
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.
Package federation provides cross-project dependency tracking and drift detection.
Package federation provides cross-project dependency tracking and drift detection.
Package graph implements the core in-memory graph engine for Synapses.
Package graph implements the core in-memory graph engine for Synapses.
Package logutil provides structured, grep-friendly logging to stderr.
Package logutil provides structured, grep-friendly logging to stderr.
Porter Stemmer — inlined from github.com/reiver/go-porterstemmer (MIT License).
Porter Stemmer — inlined from github.com/reiver/go-porterstemmer (MIT License).
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.
Package namematcher implements cross-domain entity name matching for Synapses.
Package namematcher implements cross-domain entity name matching for Synapses.
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).
Package pulse provides in-process analytics for the Synapses MCP server.
Package pulse provides in-process analytics for the Synapses MCP server.
aggregator
Package aggregator pre-computes daily rollup metrics for fast dashboard queries.
Package aggregator pre-computes daily rollup metrics for fast dashboard queries.
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.
pstore
Package store implements the SQLite persistence layer for synapses-pulse.
Package store implements the SQLite persistence layer for synapses-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.
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.
Package secrets provides secret-detection utilities shared across the codebase.
Package secrets provides secret-detection utilities shared across the codebase.
Package skills provides activation-context prompt templates for Synapses.
Package skills provides activation-context prompt templates for Synapses.
Package store — deterministic NL description generation for code nodes.
Package store — deterministic NL description generation for code nodes.
Package watcher implements incremental graph updates via filesystem events.
Package watcher implements incremental graph updates via filesystem events.
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.

Jump to

Keyboard shortcuts

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