go

module
v0.0.0-...-88b6a2d Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: AGPL-3.0

Directories

Path Synopsis
cmd
compass command
Command compass is the operator-facing Compass CLI: a Cobra subcommand tree that dials the Compass Server's authenticated door and drives fleet-wide operator actions.
Command compass is the operator-facing Compass CLI: a Cobra subcommand tree that dials the Compass Server's authenticated door and drives fleet-wide operator actions.
compass-app command
The Compass desktop shell's IPC bridge service.
The Compass desktop shell's IPC bridge service.
compass-clear-token command
Command compass-clear-token removes the native client's stored bearer token.
Command compass-clear-token removes the native client's stored bearer token.
compass-forge-credential command
Command compass-forge-credential routes Git and jj-vine credentials by repository owner.
Command compass-forge-credential routes Git and jj-vine credentials by repository owner.
compass-gen-cert command
Command compass-gen-cert generates the self-signed TLS keypair the local dogfood path uses for the Server's authenticated network door.
Command compass-gen-cert generates the self-signed TLS keypair the local dogfood path uses for the Server's authenticated network door.
compass-guestd command
Command compass-guestd is the Compass V2a microVM guest init: it runs as guest PID 1 (post-switch_root), installed at /sbin/init, and drives the fail-closed boot sequence — mount API filesystems, bring networking up via an in-process DHCP client, mount the virtio-fs workspace, then serve the GuestControl Connect/h2c Health handshake over AF_VSOCK, and idle until the host tears the VMM down (design RigelBuild/docs:docs/designs/compass/infra/runtime/compass-elastic-session-runtime/ microvm-v2a-guest-image-boot-spike.md, §(d), RIG-2589 T2).
Command compass-guestd is the Compass V2a microVM guest init: it runs as guest PID 1 (post-switch_root), installed at /sbin/init, and drives the fail-closed boot sequence — mount API filesystems, bring networking up via an in-process DHCP client, mount the virtio-fs workspace, then serve the GuestControl Connect/h2c Health handshake over AF_VSOCK, and idle until the host tears the VMM down (design RigelBuild/docs:docs/designs/compass/infra/runtime/compass-elastic-session-runtime/ microvm-v2a-guest-image-boot-spike.md, §(d), RIG-2589 T2).
compass-mint-runner-token command
Command compass-mint-runner-token provisions a Runner bearer token and emits plaintext once, to stdout or a 0600 --token-out file.
Command compass-mint-runner-token provisions a Runner bearer token and emits plaintext once, to stdout or a 0600 --token-out file.
compass-postgres command
Command compass-postgres is the private-database wrapper the stack supervisor spawns as its Postgres child (stack.ComponentPostgres resolves to `compass-postgres` on PATH).
Command compass-postgres is the private-database wrapper the stack supervisor spawns as its Postgres child (stack.ComponentPostgres resolves to `compass-postgres` on PATH).
compass-runner command
Command compass-runner is the Compass Runner entry point: the second binary.
Command compass-runner is the Compass Runner entry point: the second binary.
compass-server command
Command compass-server is the Compass server entry point: it parses the CLI, resolves the socket path, and serves compass.v1 over a Unix domain socket until a termination signal (SIGINT/SIGTERM) drains it.
Command compass-server is the Compass server entry point: it parses the CLI, resolves the socket path, and serves compass.v1 over a Unix domain socket until a termination signal (SIGINT/SIGTERM) drains it.
compass-stack command
Command compass-stack is the operator/integration entry point for the T2 embedded stack supervisor: it resolves a stack.Config from flags/env, wires the real seam adapters into stack.Deps, and dispatches up|down|status|preflight to the internal/stack core.
Command compass-stack is the operator/integration entry point for the T2 embedded stack supervisor: it resolves a stack.Config from flags/env, wires the real seam adapters into stack.Deps, and dispatches up|down|status|preflight to the internal/stack core.
The harness-side CANNED model backend (RIG-1787 H3): a tiny host-side HTTP server that speaks the openai-completions streaming SSE contract the agent's SDK provider dials, so a leg-2 turn settles on a deterministic scripted reply with ZERO live-model egress.
The harness-side CANNED model backend (RIG-1787 H3): a tiny host-side HTTP server that speaks the openai-completions streaming SSE contract the agent's SDK provider dials, so a leg-2 turn settles on a deterministic scripted reply with ZERO live-model egress.
Package events is the server event bus: a monotonic-seq ring buffer plus a per-subscriber live tail, generic over the payload it carries.
Package events is the server event bus: a monotonic-seq ring buffer plus a per-subscriber live tail, generic over the payload it carries.
gen
internal
agentmsg
Package agentmsg holds the size bound on one agent message, shared by the agent→Runner hop (the AgentGateway socket) and the Runner→Server hop (the RunnerService door) so the two caps cannot drift apart.
Package agentmsg holds the size bound on one agent message, shared by the agent→Runner hop (the AgentGateway socket) and the Runner→Server hop (the RunnerService door) so the two caps cannot drift apart.
appconfig
Package appconfig is the native app's config parser (design §A1).
Package appconfig is the native app's config parser (design §A1).
auth
Package auth is the Go re-realization of the Rust compass-daemon auth layer (oss/compass/crates/compass-daemon/src/auth.rs): the F2 token-auth layer for the network door.
Package auth is the Go re-realization of the Rust compass-daemon auth layer (oss/compass/crates/compass-daemon/src/auth.rs): the F2 token-auth layer for the network door.
board
Package board is the Server-side Bridge board: the authoritative projection of agent workstream state.
Package board is the Server-side Bridge board: the authoritative projection of agent workstream state.
bodydeadline
Package bodydeadline carries a request-scoped body deadline release across the HTTP middleware and authentication interceptor.
Package bodydeadline carries a request-scoped body deadline release across the HTTP middleware and authentication interceptor.
bridge
Package bridge implements a framework-neutral gRPC-Web-over-h2c request pump for the Compass native desktop shell.
Package bridge implements a framework-neutral gRPC-Web-over-h2c request pump for the Compass native desktop shell.
certgen
Package certgen generates the self-signed TLS keypair the local dogfood path uses for the Server's authenticated network door.
Package certgen generates the self-signed TLS keypair the local dogfood path uses for the Server's authenticated network door.
comms
The agent-comms *AsAccount family: execute one agent-originated comms operation as a resolved agent account (the RunnerHub resolves the relayed session_id first).
The agent-comms *AsAccount family: execute one agent-originated comms operation as a resolved agent account (the RunnerHub resolves the relayed session_id first).
compute
Package compute is the elastic-compute seam: how a heavy operation acquires the compute it needs to run.
Package compute is the elastic-compute seam: how a heavy operation acquires the compute it needs to run.
delivery
Package delivery fans each posted message out to subscribed live agent sessions as a `deliver` control, timed by the author-split settle gate.
Package delivery fans each posted message out to subscribed live agent sessions as a `deliver` control, timed by the author-split settle gate.
embedded
Package embedded is the embedded-mode launch pipeline.
Package embedded is the embedded-mode launch pipeline.
envelope
Package envelope is the at-rest crypto seam for user-provided secrets: AES-256-GCM under a single master key, with the nonce generated internally per encryption so reuse is structurally impossible.
Package envelope is the at-rest crypto seam for user-provided secrets: AES-256-GCM under a single master key, with the nonce generated internally per encryption so reuse is structurally impossible.
fabric
Package fabric is the NATS eventing substrate under Compass's async layer: one client, one connection per party, three planes.
Package fabric is the NATS eventing substrate under Compass's async layer: one client, one connection per party, three planes.
forge
Package forge is the Server-side adapter to an external git forge/tracker (the issue/PR host the Compass Server drives on an owner's behalf).
Package forge is the Server-side adapter to an external git forge/tracker (the issue/PR host the Compass Server drives on an owner's behalf).
forgecred
Package forgecred defines the on-disk contract shared by the secret materializer and the forge credential helper.
Package forgecred defines the on-disk contract shared by the secret materializer and the forge credential helper.
gatewaycred
Package gatewaycred is the LLM gateway's credential value store: provider credentials sealed at rest, a per-row version for compare-and-set writes, and the own-before-shared pool every gateway request draws on.
Package gatewaycred is the LLM gateway's credential value store: provider credentials sealed at rest, a per-row version for compare-and-set writes, and the own-before-shared pool every gateway request draws on.
gatewaycred/gatewaycredtest
Package gatewaycredtest is the contract suite every credential backend must pass.
Package gatewaycredtest is the contract suite every credential backend must pass.
guestd
Package guestd is the logic behind the compass-guestd binary — the real guest PID-1 init for the V2a microVM runtime spike (design RigelBuild/docs:docs/designs/compass/infra/runtime/compass-elastic-session-runtime/microvm-v2a-guest-image-boot-spike.md, §(d), RIG-2589 T2).
Package guestd is the logic behind the compass-guestd binary — the real guest PID-1 init for the V2a microVM runtime spike (design RigelBuild/docs:docs/designs/compass/infra/runtime/compass-elastic-session-runtime/microvm-v2a-guest-image-boot-spike.md, §(d), RIG-2589 T2).
hostcheck
Package hostcheck is the shared host-capability check core: the /dev/kvm open probe, the version-floor comparator, and the per-check verdicts consumed by both the compass-stack install-time gate (cmd/compass-stack) and the runtime lane's VerifyMicroVMSupport (internal/runtime).
Package hostcheck is the shared host-capability check core: the /dev/kvm open probe, the version-floor comparator, and the per-check verdicts consumed by both the compass-stack install-time gate (cmd/compass-stack) and the runtime lane's VerifyMicroVMSupport (internal/runtime).
ingest
Package ingest drives the forge read-side owner-strip + canonical translation for the Compass Server poll path (#1018): for each raw forge issue it strips the owner header, parses the display attribution, translates to the canonical compass.v1 Issue, stamps the forge coordinate the translator leaves zero, and hands the coordinate-complete Issue to a projection sink.
Package ingest drives the forge read-side owner-strip + canonical translation for the Compass Server poll path (#1018): for each raw forge issue it strips the owner header, parses the display attribution, translates to the canonical compass.v1 Issue, stamps the forge coordinate the translator leaves zero, and hands the coordinate-complete Issue to a projection sink.
linearagent
Package linearagent models Linear's Agent Session webhook payloads and the pure verification helpers the responder uses to authenticate and freshness- check an inbound webhook.
Package linearagent models Linear's Agent Session webhook payloads and the pure verification helpers the responder uses to authenticate and freshness- check an inbound webhook.
otel
Package otel holds the Compass Go span and log-trace helpers.
Package otel holds the Compass Go span and log-trace helpers.
otel/otelsetup
Package otelsetup is the only place a TracerProvider or MeterProvider is constructed for the Compass backend (compass-server and compass-runner), so the repo keeps exactly one tracer/exporter posture.
Package otelsetup is the only place a TracerProvider or MeterProvider is constructed for the Compass backend (compass-server and compass-runner), so the repo keeps exactly one tracer/exporter posture.
preflight
Package preflight is the native app's embedded-mode host preflight: the set of checks that must pass BEFORE spawning the embedded stack (compass-stack up) per the compass-native-embedded-revival design (§A3).
Package preflight is the native app's embedded-mode host preflight: the set of checks that must pass BEFORE spawning the embedded stack (compass-stack up) per the compass-native-embedded-revival design (§A3).
presence
Package presence is the Server-side agent-presence projection (RIG-1569 T8, design record D4).
Package presence is the Server-side agent-presence projection (RIG-1569 T8, design record D4).
refs
Package refs parses and finds work references in text: a tracker key such as RIG-12 and a forge ref such as owner/repo#12.
Package refs parses and finds work references in text: a tracker key such as RIG-12 and a forge ref such as owner/repo#12.
runner
The agent exec tail: StartAgent spawns the first-party agent in a container and drains both its pipes to the diagnostic log.
The agent exec tail: StartAgent spawns the first-party agent in a container and drains both its pipes to the diagnostic log.
runner/gateway
Package gateway serves agent-to-Runner calls over one Unix socket per container.
Package gateway serves agent-to-Runner calls over one Unix socket per container.
runnerhub
RunnerService door auth: a bearer-token interceptor that Kind-gates the presented token to SubjectRunner on every RPC.
RunnerService door auth: a bearer-token interceptor that Kind-gates the presented token to SubjectRunner on every RPC.
runnertest
Package runnertest provides socket-serving test scaffolding shared by the runner integration tests: a sun_path-bounded runtime dir, a real AgentGateway client dialed over a unix socket, and the h2c plumbing those exercise.
Package runnertest provides socket-serving test scaffolding shared by the runner integration tests: a sun_path-bounded runtime dir, a real AgentGateway client dialed over a unix socket, and the h2c plumbing those exercise.
runnertest/runnerloop
Package runnerloop provides the Runner dispatch-loop test scaffolding that must import internal/runner (for ServerLink/SessionHost).
Package runnerloop provides the Runner dispatch-loop test scaffolding that must import internal/runner (for ServerLink/SessionHost).
runtime
Package runtime is the per-agent isolation substrate: each agent runs in its own rootless-podman container with its own full git clone, a scoped $HOME for that agent's credentials, and a default-deny egress firewall — the container is the unit of isolation (design: architecture-lineage).
Package runtime is the per-agent isolation substrate: each agent runs in its own rootless-podman container with its own full git clone, a scoped $HOME for that agent's credentials, and a default-deny egress firewall — the container is the unit of isolation (design: architecture-lineage).
runtime/microvm
Package microvm is the host-side microVM boot harness (design RigelBuild/docs:docs/designs/compass/infra/runtime/compass-elastic-session-runtime/ microvm-v2a-guest-image-boot-spike.md, RIG-2588).
Package microvm is the host-side microVM boot harness (design RigelBuild/docs:docs/designs/compass/infra/runtime/compass-elastic-session-runtime/ microvm-v2a-guest-image-boot-spike.md, RIG-2588).
secrets
Value locations differ by kind.
Value locations differ by kind.
sqlc
Package sqlc provides helpers for sqlc-generated query headers.
Package sqlc provides helpers for sqlc-generated query headers.
stack
Package stack is the embedded-stack supervisor: the single-user Compass ADE backbone (DL-108).
Package stack is the embedded-stack supervisor: the single-user Compass ADE backbone (DL-108).
stack/adapters
Package adapters holds the real seam adapters for the T2 stack supervisor's green-backed effects: the TLS anchor ensured via internal/certgen and the GetServerInfo readiness probe issued via the generated compass.v1 client over the server's unix socket.
Package adapters holds the real seam adapters for the T2 stack supervisor's green-backed effects: the TLS anchor ensured via internal/certgen and the GetServerInfo readiness probe issued via the generated compass.v1 client over the server's unix socket.
store
Package store is the Server's Postgres store of record: accounts, channel groups, channels, agent workspaces, conversation messages, and issued-token hashes, all durable in Postgres from day one (compass v0.6 design.md T1).
Package store is the Server's Postgres store of record: accounts, channel groups, channels, agent workspaces, conversation messages, and issued-token hashes, all durable in Postgres from day one (compass v0.6 design.md T1).
store/internal/schemaparse
Package schemaparse extracts the SDK's credential-marked setting paths from the OMP settings-schema TypeScript source.
Package schemaparse extracts the SDK's credential-marked setting paths from the OMP settings-schema TypeScript source.
tokenstore
Package tokenstore persists the native-client remote bearer token, keyring first with an atomic 0600-file fallback (RIG-1686 T5.2, DL-109).
Package tokenstore persists the native-client remote bearer token, keyring first with an atomic 0600-file fallback (RIG-1686 T5.2, DL-109).
usage
Package usage is the Plane-A token-usage contract: the event the LLM gateway emits, the Store seam every backend satisfies, and the in-memory reference.
Package usage is the Plane-A token-usage contract: the event the LLM gateway emits, the Store seam every backend satisfies, and the in-memory reference.
usage/usagetest
Package usagetest is the contract suite every usage.Store backend must pass.
Package usagetest is the contract suite every usage.Store backend must pass.
vfs
Package vfs manages persistent session volumes and immutable snapshots.
Package vfs manages persistent session volumes and immutable snapshots.
The fleet agent-config declaration handlers on CompassService (RIG-1625 T2).
The fleet agent-config declaration handlers on CompassService (RIG-1625 T2).

Jump to

Keyboard shortcuts

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