services/

directory
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0

Directories

Path Synopsis
Package copilotadapter is the HTTP adapter that fronts a Copilot CLI session with the contract in openapi.yaml.
Package copilotadapter is the HTTP adapter that fronts a Copilot CLI session with the contract in openapi.yaml.
adaptertest
Package adaptertest is a generated GoMock package.
Package adaptertest is a generated GoMock package.
copilotbridge
Package copilotbridge is the concrete ICopilotBridge over the Copilot Go SDK.
Package copilotbridge is the concrete ICopilotBridge over the Copilot Go SDK.
gen/api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
kanban
Package kanban mounts shared task planning into an existing HTTP server.
Package kanban mounts shared task planning into an existing HTTP server.
kanban/card
Package card is the generated KanbanCard widget.
Package card is the generated KanbanCard widget.
store
Package store carries the adapter's schema.
Package store carries the adapter's schema.
terminaladapter
Package terminaladapter owns interactive PTYs for the Copilot workbench.
Package terminaladapter owns interactive PTYs for the Copilot workbench.
workbench
Package workbench composes the existing Copilot service for caller-owned hosts.
Package workbench composes the existing Copilot service for caller-owned hosts.
worktreeadapter
Package worktreeadapter implements configured git repository and worktree operations for the Copilot adapter.
Package worktreeadapter implements configured git repository and worktree operations for the Copilot adapter.
Package cron is the cron service: the durable in-process scheduler that mounts into a host runtime, fires each declared trigger on its schedule and records every occurrence through csfpg.
Package cron is the cron service: the durable in-process scheduler that mounts into a host runtime, fires each declared trigger on its schedule and records every occurrence through csfpg.
crontest
Package crontest opens the cron store on pgmem, CSF's in-process substitute for PostgreSQL, with CSF's real schema applied: the store a spec grants when it needs cron state without a database.
Package crontest opens the cron store on pgmem, CSF's in-process substitute for PostgreSQL, with CSF's real schema applied: the store a spec grants when it needs cron state without a database.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package deploy contains the small, durable domain model shared by Deploy controllers and user-facing applications.
Package deploy contains the small, durable domain model shared by Deploy controllers and user-facing applications.
component
Package component defines the public bring-up contract for services an embedding repository composes alongside deploy.
Package component defines the public bring-up contract for services an embedding repository composes alongside deploy.
config
Package config resolves deploy's environment into its canonical Liquid Proto contract.
Package config resolves deploy's environment into its canonical Liquid Proto contract.
control
Package control is deploy's control-plane composition root beneath main.
Package control is deploy's control-plane composition root beneath main.
fleet
Package fleet is deploy's read-only view of Warden's cluster membership.
Package fleet is deploy's read-only view of Warden's cluster membership.
internal/storedb
Package storedb is the sqlc-generated query layer over the deploy control schema.
Package storedb is the sqlc-generated query layer over the deploy control schema.
operator
Package operator owns deploy's agent turn: policy, approvals, and run state.
Package operator owns deploy's agent turn: policy, approvals, and run state.
reconcile
Package reconcile turns approved desired state into fenced node-agent calls.
Package reconcile turns approved desired state into fenced node-agent calls.
store
Package store is Deploy's durable control-plane state.
Package store is Deploy's durable control-plane state.
Package dispatch is the intent-ranked work queue of one harness process: a slice graph, its frontier, and the list scheduling that dispatches the frontier onto agent sessions.
Package dispatch is the intent-ranked work queue of one harness process: a slice graph, its frontier, and the list scheduling that dispatches the frontier onto agent sessions.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package email provides a composable, host-configured email capability.
Package email provides a composable, host-configured email capability.
Package harness defines the public behavior boundary between deploy and a compiled-in agent runtime implementation.
Package harness defines the public behavior boundary between deploy and a compiled-in agent runtime implementation.
chat
Package chat is the Workbench chat for harness sessions: a gotth-live page that shows one session's transcript as its event log grows and sends the operator's messages into the open session through the harness service, in process.
Package chat is the Workbench chat for harness sessions: a gotth-live page that shows one session's transcript as its event log grows and sends the operator's messages into the open session through the harness service, in process.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
opencode
Package opencode implements the built-in OpenCode agent runtime behind the public deploy harness seam.
Package opencode implements the built-in OpenCode agent runtime behind the public deploy harness seam.
routing
Package routing maps virtual sessions onto real sessions.
Package routing maps virtual sessions onto real sessions.
session
Package session is the agent harness's session runner: it runs an agent's session for an assignment on a turn executor, in a git worktree of its own, with the session gates installed and every event logged under the run's trace.
Package session is the agent harness's session runner: it runs an agent's session for an assignment on a turn executor, in a git worktree of its own, with the session gates installed and every event logged under the run's trace.
session/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
sessiongate
Package sessiongate holds the session gates the agent harness installs into every session it runs: structural checks Claude Code calls as hooks around a tool call.
Package sessiongate holds the session gates the agent harness installs into every session it runs: structural checks Claude Code calls as hooks around a tool call.
Package housekeeping is the housekeeping service: the default cron triggers that keep a harness host's disk healthy.
Package housekeeping is the housekeeping service: the default cron triggers that keep a harness host's disk healthy.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package intake wakes the agent that owns a pull request or issue when something actionable happens to it: a comment, a review, an inline review comment, or a failed CI run.
Package intake wakes the agent that owns a pull request or issue when something actionable happens to it: a comment, a review, an inline review comment, or a failed CI run.
Package jobs is the harness job ledger: the durable record of requests admitted to external executors, kept in the tables csf_jobs, csf_job_budgets, csf_job_metric_definitions, csf_job_measurements and csf_job_trace_deliveries.
Package jobs is the harness job ledger: the durable record of requests admitted to external executors, kept in the tables csf_jobs, csf_job_budgets, csf_job_metric_definitions, csf_job_measurements and csf_job_trace_deliveries.
jobsmock
Package jobsmock is a generated GoMock package.
Package jobsmock is a generated GoMock package.
client
Package client is deploy's transport to one node agent.
Package client is deploy's transport to one node agent.
Package opsview is the ops view: a gotth-live page that shows every harness session on this machine as a live card, read from the run directories under the harness state directory.
Package opsview is the ops view: a gotth-live page that shows every harness session on this machine as a live card, read from the run directories under the harness state directory.
Package relay delivers messages between agents.
Package relay delivers messages between agents.
relaytest
Package relaytest holds the conformance specs every relay.IRegistry implementation must pass, and the messaging specs every relay.Relay[Body] must pass over such a registry.
Package relaytest holds the conformance specs every relay.IRegistry implementation must pass, and the messaging specs every relay.Relay[Body] must pass over such a registry.
Package warden defines the shared contracts for the candacenet warden service: core types, the wire protocol, and the interfaces that the election, watchdog, notification, dashboard, and configuration packages implement or consume.
Package warden defines the shared contracts for the candacenet warden service: core types, the wire protocol, and the interfaces that the election, watchdog, notification, dashboard, and configuration packages implement or consume.
config
Package config loads warden node configuration from built-in defaults, an optional YAML file, and environment overrides, in that precedence order (env beats file beats defaults).
Package config loads warden node configuration from built-in defaults, an optional YAML file, and environment overrides, in that precedence order (env beats file beats defaults).
dashboard
Package dashboard renders the operator-facing observability surface of a warden node: a server-side-rendered, HTMX-refreshed dashboard, an HTMX partial for live cluster refresh, and a JSON status API.
Package dashboard renders the operator-facing observability surface of a warden node: a server-side-rendered, HTMX-refreshed dashboard, an HTMX partial for live cluster refresh, and a JSON status API.
discovery
Package discovery implements warden.IPeerDiscoverer: the sources that report which nodes are candidate members of the cluster.
Package discovery implements warden.IPeerDiscoverer: the sources that report which nodes are candidate members of the cluster.
election
Package election implements Raft-style leader election (terms and votes, no log replication) over a static peer set, plus the peer-liveness tracking that feeds the cluster ClusterView.
Package election implements Raft-style leader election (terms and votes, no log replication) over a static peer set, plus the peer-liveness tracking that feeds the cluster ClusterView.
grpcmux
Package grpcmux multiplexes the warden gRPC plane and the existing HTTP surface onto a SINGLE bound port using soheilhy/cmux.
Package grpcmux multiplexes the warden gRPC plane and the existing HTTP surface onto a SINGLE bound port using soheilhy/cmux.
grpcserver
Package grpcserver implements the candacenet.warden.v1 WardenService: the three unary cluster RPCs (Vote/Heartbeat/Identify) delegating to the existing warden.IRPCHandler through the wireconv boundary, and the server-streaming WatchCluster that pushes full ClusterView snapshots from a warden.IViewSource.
Package grpcserver implements the candacenet.warden.v1 WardenService: the three unary cluster RPCs (Vote/Heartbeat/Identify) delegating to the existing warden.IRPCHandler through the wireconv boundary, and the server-streaming WatchCluster that pushes full ClusterView snapshots from a warden.IViewSource.
grpctransport
Package grpctransport is the gRPC client side of the warden cluster wire protocol: it implements warden.ITransport (RequestVote/SendHeartbeat/Identify) over the candacenet.warden.v1 WardenService, replacing the retired HTTP/JSON HTTPTransport.
Package grpctransport is the gRPC client side of the warden cluster wire protocol: it implements warden.ITransport (RequestVote/SendHeartbeat/Identify) over the candacenet.warden.v1 WardenService, replacing the retired HTTP/JSON HTTPTransport.
httpserver
Package httpserver builds the single gin.Engine every warden node serves its HTTP surface from (dashboard + /api/status + /metrics).
Package httpserver builds the single gin.Engine every warden node serves its HTTP surface from (dashboard + /api/status + /metrics).
internal/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
internal/transportidentity
Package transportidentity carries transport-observed peer identity between Warden's gRPC adapter and election state machine.
Package transportidentity carries transport-observed peer identity between Warden's gRPC adapter and election state machine.
metrics
Package metrics exposes a warden node's cluster state as Prometheus metrics.
Package metrics exposes a warden node's cluster state as Prometheus metrics.
notify
Package notify implements the warden.INotifier delivery backends used by the watchdog:
Package notify implements the warden.INotifier delivery backends used by the watchdog:
proto/warden/v1
Package wardenv1 holds the generated Go bindings for the candacenet warden wire contracts (candacenet.warden.v1).
Package wardenv1 holds the generated Go bindings for the candacenet warden wire contracts (candacenet.warden.v1).
store
Package store provides persistence for warden.PersistentState (the Raft current term and vote).
Package store provides persistence for warden.PersistentState (the Raft current term and vote).
testclock
Package testclock provides a deterministic, manually-advanced implementation of warden.IClock for tests.
Package testclock provides a deterministic, manually-advanced implementation of warden.IClock for tests.
watchdog
Package watchdog turns cluster views into operator alerts.
Package watchdog turns cluster views into operator alerts.
wireconv
Package wireconv provides total, composable conversions between the frozen warden domain types (services/warden) and the generated candacenet.warden.v1 protobuf messages (services/warden/proto/warden/v1).
Package wireconv provides total, composable conversions between the frozen warden domain types (services/warden) and the generated candacenet.warden.v1 protobuf messages (services/warden/proto/warden/v1).
Package workcontinuity validates and records task checkpoints so work can resume across agents and sessions.
Package workcontinuity validates and records task checkpoints so work can resume across agents and sessions.

Jump to

Keyboard shortcuts

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