Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
samverk
command
|
|
|
internal
|
|
|
agent
Package agent provides the agent runtime pool and runner for processing tasks as goroutines with session lifecycle management and cost recording.
|
Package agent provides the agent runtime pool and runner for processing tasks as goroutines with session lifecycle management and cost recording. |
|
api
Package api provides REST API handlers for the web dashboard.
|
Package api provides REST API handlers for the web dashboard. |
|
audit
Package audit provides health-check and freshness auditing for AI providers.
|
Package audit provides health-check and freshness auditing for AI providers. |
|
autonomy
Package autonomy implements the three-tier trust model for agent action evaluation.
|
Package autonomy implements the three-tier trust model for agent action evaluation. |
|
cost
Package cost provides token tracking, budget management, and cost attribution.
|
Package cost provides token tracking, budget management, and cost attribution. |
|
digest
Package digest assembles check-in digests from forge issues.
|
Package digest assembles check-in digests from forge issues. |
|
dispatcher
Package dispatcher watches the issue tracker, routes tasks to agents, and manages dependencies.
|
Package dispatcher watches the issue tracker, routes tasks to agents, and manages dependencies. |
|
forge
Package forge provides the IssueTracker interface and implementations for GitHub, Gitea, and GitLab.
|
Package forge provides the IssueTracker interface and implementations for GitHub, Gitea, and GitLab. |
|
forge/gitea
Package gitea implements the forge.IssueTracker interface for Gitea using the official Gitea Go SDK.
|
Package gitea implements the forge.IssueTracker interface for Gitea using the official Gitea Go SDK. |
|
forge/github
Package github implements the forge.IssueTracker interface for GitHub using the google/go-github SDK.
|
Package github implements the forge.IssueTracker interface for GitHub using the google/go-github SDK. |
|
hostmetrics
Package hostmetrics collects host-level metrics (disk, RAM, CPU load, swap) via /proc reads and syscall.Statfs on Linux, with zero-value stubs on other platforms.
|
Package hostmetrics collects host-level metrics (disk, RAM, CPU load, swap) via /proc reads and syscall.Statfs on Linux, with zero-value stubs on other platforms. |
|
infra
Package infra implements infrastructure probing for known endpoints (Ollama instances, Samverk services, Gitea) and synchronises the results with Synapset machine memories.
|
Package infra implements infrastructure probing for known endpoints (Ollama instances, Samverk services, Gitea) and synchronises the results with Synapset machine memories. |
|
loganalyst
Package loganalyst queries structured logs and produces AI-powered or fallback natural-language summaries of agent sessions, issues, failures, and arbitrary time ranges.
|
Package loganalyst queries structured logs and produces AI-powered or fallback natural-language summaries of agent sessions, issues, failures, and arbitrary time ranges. |
|
mcp
Package mcp implements the Model Context Protocol (MCP) Streamable HTTP handler.
|
Package mcp implements the Model Context Protocol (MCP) Streamable HTTP handler. |
|
provider
Package provider defines the Provider interface and shared types for AI model inference backends (Ollama, Claude, OpenAI).
|
Package provider defines the Provider interface and shared types for AI model inference backends (Ollama, Claude, OpenAI). |
|
provider/claude
Package claude implements the provider.Provider interface using the Anthropic Claude Messages API over raw net/http (no SDK dependency).
|
Package claude implements the provider.Provider interface using the Anthropic Claude Messages API over raw net/http (no SDK dependency). |
|
provider/claudecli
Package claudecli implements provider.Provider by shelling out to the Claude Code CLI (`claude --print`).
|
Package claudecli implements provider.Provider by shelling out to the Claude Code CLI (`claude --print`). |
|
provider/ollama
Package ollama implements the provider.Provider interface using the Ollama REST API over raw net/http (no SDK dependency).
|
Package ollama implements the provider.Provider interface using the Ollama REST API over raw net/http (no SDK dependency). |
|
provider/openai
Package openai implements the provider.Provider interface using the OpenAI Chat Completions API over raw net/http (no SDK dependency).
|
Package openai implements the provider.Provider interface using the OpenAI Chat Completions API over raw net/http (no SDK dependency). |
|
prwatcher
Package prwatcher monitors open pull requests and auto-merges eligible ones.
|
Package prwatcher monitors open pull requests and auto-merges eligible ones. |
|
scaling
Package scaling provides the policy engine for adaptive worker scaling.
|
Package scaling provides the policy engine for adaptive worker scaling. |
|
status
Package status generates status.md content from live project state.
|
Package status generates status.md content from live project state. |
|
synapset
Package synapset provides a client for the Synapset MCP-based semantic memory service.
|
Package synapset provides a client for the Synapset MCP-based semantic memory service. |
|
version
Package version provides build-injected version information.
|
Package version provides build-injected version information. |
|
pkg
|
|
|
models
Package models defines shared types used across the Samverk system.
|
Package models defines shared types used across the Samverk system. |
Click to show internal directories.
Click to hide internal directories.