Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
relay-cli
command
Command relay-cli is the operator-facing CLI for the Frame-to-Frame relay (interchange).
|
Command relay-cli is the operator-facing CLI for the Frame-to-Frame relay (interchange). |
|
internal
|
|
|
version
Package version holds the build-time version string shared by every binary in this repo (nexus, agentfunnel, nexus-comms-mcp, nexus-imap-mcp, nexus-jira-mcp, nexus-watch, aspect, outpost, etc).
|
Package version holds the build-time version string shared by every binary in this repo (nexus, agentfunnel, nexus-comms-mcp, nexus-imap-mcp, nexus-jira-mcp, nexus-watch, aspect, outpost, etc). |
|
nexus
|
|
|
autospawn
Package autospawn scans a directory for aspect home folders and fires off a harness subprocess per aspect.
|
Package autospawn scans a directory for aspect home folders and fires off a harness subprocess per aspect. |
|
broker
Per-aspect bearer-token authentication and identity resolution.
|
Per-aspect bearer-token authentication and identity resolution. |
|
cmd/nexus
command
TLS cert bootstrap subcommand for nexus.
|
TLS cert bootstrap subcommand for nexus. |
|
cmd/outpost
command
Command outpost is the Outpost relay binary.
|
Command outpost is the Outpost relay binary. |
|
credentials
Package credentials manages broker-mediated credentials for external services that aspects need to call (Anthropic, OpenAI, DeepSeek, Jira, IMAP, future kinds).
|
Package credentials manages broker-mediated credentials for external services that aspects need to call (Anthropic, OpenAI, DeepSeek, Jira, IMAP, future kinds). |
|
frame
Package frame holds the Nexus's Frame role: detection, embedding, admin surface, chat routing rules.
|
Package frame holds the Nexus's Frame role: detection, embedding, admin surface, chat routing rules. |
|
frame/funnel
Package funnel is the Frame's deliberation engine — the layer that owns context-window management, comms-inbox folding, summarization triggers, and the deliberation loop itself.
|
Package funnel is the Frame's deliberation engine — the layer that owns context-window management, comms-inbox folding, summarization triggers, and the deliberation loop itself. |
|
frame/funnel/rewriter
Package rewriter implements per-turn distillation of claude-code's session jsonl.
|
Package rewriter implements per-turn distillation of claude-code's session jsonl. |
|
frame/route
Package route codifies the Frame's chat-routing rules.
|
Package route codifies the Frame's chat-routing rules. |
|
frame/templates
Package templates renders the personality bundle (aspect.json + SOUL.md + CLAUDE.md + PRIMER.md) for a new Frame.
|
Package templates renders the personality bundle (aspect.json + SOUL.md + CLAUDE.md + PRIMER.md) for a new Frame. |
|
frames
Package frames defines the on-the-wire frame format used by every Nexus-component WebSocket connection (aspect↔Outpost, aspect↔Nexus, Outpost↔Nexus).
|
Package frames defines the on-the-wire frame format used by every Nexus-component WebSocket connection (aspect↔Outpost, aspect↔Nexus, Outpost↔Nexus). |
|
handqueue
Package handqueue implements the dispatcher's worker-execution queue per hand-dispatch v0.1 §2-§3: a fairness-scheduled FIFO queue with per-aspect active-worker tracking, soft-cap N, hard-ceiling H, and spillover for idle aspects.
|
Package handqueue implements the dispatcher's worker-execution queue per hand-dispatch v0.1 §2-§3: a fairness-scheduled FIFO queue with per-aspect active-worker tracking, soft-cap N, hard-ceiling H, and spillover for idle aspects. |
|
internal/testcerts
Package testcerts mints a self-signed loopback cert + key on disk for tests that need a real TLS server.
|
Package testcerts mints a self-signed loopback cert + key on disk for tests that need a real TLS server. |
|
knowledge
Package knowledge implements the cross-session knowledge store per registration spec §2.8.
|
Package knowledge implements the cross-session knowledge store per registration spec §2.8. |
|
observability
Package observability is the shared core for nexus's per-aspect observability surface — the data layer that both the dashboard SPA and the nexus-watch terminal binary render.
|
Package observability is the shared core for nexus's per-aspect observability surface — the data layer that both the dashboard SPA and the nexus-watch terminal binary render. |
|
observability/jsonlsink
Package jsonlsink persists observability frames as JSONL files for retrospective debugging.
|
Package jsonlsink persists observability frames as JSONL files for retrospective debugging. |
|
operator
Package operator implements the operator-identity substrate for the dashboard-ws-port spec (2026-05-09).
|
Package operator implements the operator-identity substrate for the dashboard-ws-port spec (2026-05-09). |
|
outpost
Package outpost implements the per-host relay process.
|
Package outpost implements the per-host relay process. |
|
roster
Package roster holds the live set of registered aspects.
|
Package roster holds the live set of registered aspects. |
|
sessions
Package sessions owns Nexus's read-only mirror of aspect session trees.
|
Package sessions owns Nexus's read-only mirror of aspect session trees. |
|
storage
Package storage opens the Nexus SQLite database and runs the idempotent schema DDL.
|
Package storage opens the Nexus SQLite database and runs the idempotent schema DDL. |
|
Package relay implements the Nexus-side client for the Frame-to-Frame Relay protocol (v3 spec).
|
Package relay implements the Nexus-side client for the Frame-to-Frame Relay protocol (v3 spec). |
|
runtime
|
|
|
agent
Package agent implements the per-aspect runtime.
|
Package agent implements the per-aspect runtime. |
|
brokercreds
Package brokercreds is the aspect-side client helper for fetching kind-typed credentials from the Nexus broker via the credential.fetch WS frame (NEX-77).
|
Package brokercreds is the aspect-side client helper for fetching kind-typed credentials from the Nexus broker via the credential.fetch WS frame (NEX-77). |
|
cmd/agent
command
Command agent is the single-aspect runtime binary.
|
Command agent is the single-aspect runtime binary. |
|
cmd/agentfunnel
command
|
|
|
cmd/aspect
command
|
|
|
cmd/nexus-comms-mcp
command
Command nexus-comms-mcp bridges nexus's WebSocket chat substrate to stdio MCP.
|
Command nexus-comms-mcp bridges nexus's WebSocket chat substrate to stdio MCP. |
|
cmd/nexus-github-mcp
command
GitHub REST API client.
|
GitHub REST API client. |
|
cmd/nexus-imap-mcp
command
|
|
|
cmd/nexus-issue-mcp
command
Command nexus-issue-mcp bridges the in-process nexus issue tracker to stdio MCP.
|
Command nexus-issue-mcp bridges the in-process nexus issue tracker to stdio MCP. |
|
cmd/nexus-jira-mcp
command
Command nexus-jira-mcp bridges Atlassian Jira REST to stdio MCP.
|
Command nexus-jira-mcp bridges Atlassian Jira REST to stdio MCP. |
|
cmd/nexus-watch
command
Command nexus-watch is a terminal observer for one aspect's observability stream.
|
Command nexus-watch is a terminal observer for one aspect's observability stream. |
|
cmd/nexus-wstest
command
Command nexus-wstest is a comprehensive WS frame tester that exercises every operator + aspect frame the broker exposes.
|
Command nexus-wstest is a comprehensive WS frame tester that exercises every operator + aspect frame the broker exposes. |
|
compactor
Package compactor implements the proactive compaction trigger per registration spec §2.7.
|
Package compactor implements the proactive compaction trigger per registration spec §2.7. |
|
context/tree
Package tree implements the tree-structured session JSONL format per registration spec §2.6.
|
Package tree implements the tree-structured session JSONL format per registration spec §2.6. |
|
handexec
Package handexec implements dispatch-mode execution for the harness binary.
|
Package handexec implements dispatch-mode execution for the harness binary. |
|
obsforward
Package obsforward wires a remote aspect's funnel observability hook to the broker over the existing aspect WS connection.
|
Package obsforward wires a remote aspect's funnel observability hook to the broker over the existing aspect WS connection. |
|
providers
Package providers defines the Nexus Provider interface and the normalised types that flow across the adapter boundary.
|
Package providers defines the Nexus Provider interface and the normalised types that flow across the adapter boundary. |
|
providers/claude-api
Package claudeapi implements the Nexus provider contract against Anthropic's Claude API.
|
Package claudeapi implements the Nexus provider contract against Anthropic's Claude API. |
|
providers/ollama-local
Package ollamalocal implements the embeddings half of the Nexus provider contract against a locally-hosted Ollama instance.
|
Package ollamalocal implements the embeddings half of the Nexus provider contract against a locally-hosted Ollama instance. |
|
wsclient
Package wsclient is the aspect-and-Outpost-side WebSocket client.
|
Package wsclient is the aspect-and-Outpost-side WebSocket client. |
|
scripts
|
|
|
check-chat
command
|
|
|
check-knowledge
command
check-knowledge dumps row counts + a sample from knowledge in the current nexus.db.
|
check-knowledge dumps row counts + a sample from knowledge in the current nexus.db. |
|
check-triage
command
check-triage prints the most recent rows from inbox_triage for diligence verification.
|
check-triage prints the most recent rows from inbox_triage for diligence verification. |
|
cutover-smoke
command
Command cutover-smoke exercises the dashboard-ws-port surface against a running nexus.
|
Command cutover-smoke exercises the dashboard-ws-port surface against a running nexus. |
|
delete-knowledge
command
delete-knowledge removes a single (from_agent, topic) entry.
|
delete-knowledge removes a single (from_agent, topic) entry. |
|
dry-parse-aspect
command
|
|
|
migrate-knowledge
command
migrate-knowledge copies the agent-network broker's `knowledge` rows into nexus.db's `knowledge` table.
|
migrate-knowledge copies the agent-network broker's `knowledge` rows into nexus.db's `knowledge` table. |
|
nexus-tail
command
|
|
|
smoke-e2e
command
Command smoke-e2e exercises the §6.4 cross-aspect stack end-to-end: spawns a Nexus, auto-starts a wren aspect from a test aspect dir, drives a `dispatch` frame over WS, asserts the `dispatch.result` round-trip — everything talks WS.
|
Command smoke-e2e exercises the §6.4 cross-aspect stack end-to-end: spawns a Nexus, auto-starts a wren aspect from a test aspect dir, drives a `dispatch` frame over WS, asserts the `dispatch.result` round-trip — everything talks WS. |
|
shared
|
|
|
schemas
Package schemas defines the on-the-wire shapes shared between the Nexus process and the agent runtime.
|
Package schemas defines the on-the-wire shapes shared between the Nexus process and the agent runtime. |
Click to show internal directories.
Click to hide internal directories.