Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
wardyn
command
Command wardyn is the operator CLI for the Wardyn control plane.
|
Command wardyn is the operator CLI for the Wardyn control plane. |
|
wardyn-aws-sso
command
Command wardyn-aws-sso is Wardyn's in-sandbox AWS SSO credential capture helper.
|
Command wardyn-aws-sso is Wardyn's in-sandbox AWS SSO credential capture helper. |
|
wardyn-git-helper
command
Command wardyn-git-helper is the git credential helper for Wardyn-governed agent sandboxes.
|
Command wardyn-git-helper is the git credential helper for Wardyn-governed agent sandboxes. |
|
wardyn-proxy
command
Command wardyn-proxy is the L2 per-workspace egress sidecar: an HTTP forward proxy that enforces Wardyn's default-deny domain allowlist, method rules, and first-use approval; streams decision logs to the control plane; and injects third-party credentials proxy-side so secrets never enter the sandbox.
|
Command wardyn-proxy is the L2 per-workspace egress sidecar: an HTTP forward proxy that enforces Wardyn's default-deny domain allowlist, method rules, and first-use approval; streams decision logs to the control plane; and injects third-party credentials proxy-side so secrets never enter the sandbox. |
|
wardyn-rec
command
Command wardyn-rec is Wardyn's per-workspace PTY session recorder.
|
Command wardyn-rec is Wardyn's per-workspace PTY session recorder. |
|
wardyn-runner
command
|
|
|
wardyn-scan
command
Command wardyn-scan is Wardyn's in-sandbox workspace scanner.
|
Command wardyn-scan is Wardyn's in-sandbox workspace scanner. |
|
wardyn-tetragon-ingest
command
Command wardyn-tetragon-ingest is the host-scoped eBPF GROUND-TRUTH sidecar: the SECOND of Wardyn's three advertised audit streams.
|
Command wardyn-tetragon-ingest is the host-scoped eBPF GROUND-TRUTH sidecar: the SECOND of Wardyn's three advertised audit streams. |
|
wardyn-verify
command
Command wardyn-verify is Wardyn's in-sandbox environment VERIFY step.
|
Command wardyn-verify is Wardyn's in-sandbox environment VERIFY step. |
|
wardynd
command
Command wardynd is the Wardyn control plane: REST API, embedded web UI, policy engine, approval FSM, token broker, and audit ingest.
|
Command wardynd is the Wardyn control plane: REST API, embedded web UI, policy engine, approval FSM, token broker, and audit ingest. |
|
examples
|
|
|
workspaces/github-push
command
Package main is a trivial Go program used as the github-push workspace.
|
Package main is a trivial Go program used as the github-push workspace. |
|
internal
|
|
|
api
Package api wires Wardyn's control-plane REST surface (the wardynd binary).
|
Package api wires Wardyn's control-plane REST surface (the wardynd binary). |
|
approval
Package approval implements the ApprovalRequest FSM service.
|
Package approval implements the ApprovalRequest FSM service. |
|
audit
Package audit defines the append-only audit contract.
|
Package audit defines the append-only audit contract. |
|
audit/sinks
Package sinks provides production audit.Sink implementations (syslog, webhook, file) plus a Fanout multiplexer and config wiring.
|
Package sinks provides production audit.Sink implementations (syslog, webhook, file) plus a Fanout multiplexer and config wiring. |
|
auth/oidc
Package oidc implements human SSO for Wardyn via OpenID Connect (Dex-compatible).
|
Package oidc implements human SSO for Wardyn via OpenID Connect (Dex-compatible). |
|
broker
Package broker implements Wardyn's token broker: the ONLY component that holds long-lived secrets and the sole issuer of short-lived run credentials.
|
Package broker implements Wardyn's token broker: the ONLY component that holds long-lived secrets and the sole issuer of short-lived run credentials. |
|
cliutil
Package cliutil holds tiny env/flag helpers shared by Wardyn's cmd/* main packages (each cmd is its own `main` package, so these can't just live in one of them without the others importing "main").
|
Package cliutil holds tiny env/flag helpers shared by Wardyn's cmd/* main packages (each cmd is its own `main` package, so these can't just live in one of them without the others importing "main"). |
|
component
Package component provides the shared registry that backs Wardyn's pluggable component seams (identity provider, secret store, recording store, policy evaluator, …).
|
Package component provides the shared registry that backs Wardyn's pluggable component seams (identity provider, secret store, recording store, policy evaluator, …). |
|
composer
Package composer turns a natural-language task description into a PROPOSED Wardyn run setup — the same {run, inline_policy} shape the New Run wizard emits — that a human reviews and approves before launch.
|
Package composer turns a natural-language task description into a PROPOSED Wardyn run setup — the same {run, inline_policy} shape the New Run wizard emits — that a human reviews and approves before launch. |
|
composer/backends
Package backends constructs composer.Composer implementations from operator config (the registry of LLM backends).
|
Package backends constructs composer.Composer implementations from operator config (the registry of LLM backends). |
|
composer/backends/anthropic
Package anthropic implements the composer.Composer backend that drives Anthropic's Messages API (first-party API or Amazon Bedrock) to produce a Wardyn run proposal.
|
Package anthropic implements the composer.Composer backend that drives Anthropic's Messages API (first-party API or Amazon Bedrock) to produce a Wardyn run proposal. |
|
composer/backends/cli
Package cli implements a composer.Composer backed by the operator's resident coding-agent CLI (Claude Code or Codex) running under its own logged-in SUBSCRIPTION — no API key is minted or passed.
|
Package cli implements a composer.Composer backed by the operator's resident coding-agent CLI (Claude Code or Codex) running under its own logged-in SUBSCRIPTION — no API key is minted or passed. |
|
composer/backends/composertest
Package composertest holds fixtures shared by the cli, openai, and anthropic backend test suites: a schema-valid proposal JSON blob, a representative ComposeRequest, and the common Proposal assertions every backend's happy-path test needs.
|
Package composertest holds fixtures shared by the cli, openai, and anthropic backend test suites: a schema-valid proposal JSON blob, a representative ComposeRequest, and the common Proposal assertions every backend's happy-path test needs. |
|
composer/backends/openai
Package openai implements the Wardyn Run Composer backend that talks to OpenAI-wire Chat Completions APIs.
|
Package openai implements the Wardyn Run Composer backend that talks to OpenAI-wire Chat Completions APIs. |
|
composer/backends/sandbox
Package sandbox implements a composer.Composer that runs the REAL `claude` binary INSIDE a governed one-shot Wardyn sandbox, credentialed by the Wardyn-managed subscription token injected PROXY-SIDE (never resident).
|
Package sandbox implements a composer.Composer that runs the REAL `claude` binary INSIDE a governed one-shot Wardyn sandbox, credentialed by the Wardyn-managed subscription token injected PROXY-SIDE (never resident). |
|
composer/backends/transport
Package transport provides a hardened, governed HTTP client for the composer's OWN outbound LLM API egress — the control-plane calls each networked composer backend makes to a third-party model provider (Anthropic, OpenAI, Azure, Bedrock, …).
|
Package transport provides a hardened, governed HTTP client for the composer's OWN outbound LLM API egress — the control-plane calls each networked composer backend makes to a third-party model provider (Anthropic, OpenAI, Azure, Bedrock, …). |
|
contentscan
Package contentscan implements Wardyn's OPTIONAL, off-by-default outbound content-inspection layer ("egress content inspection" / inadvertent-leak guardrail).
|
Package contentscan implements Wardyn's OPTIONAL, off-by-default outbound content-inspection layer ("egress content inspection" / inadvertent-leak guardrail). |
|
db
Package db provides Postgres connection bootstrapping and schema migration for the Wardyn control plane.
|
Package db provides Postgres connection bootstrapping and schema migration for the Wardyn control plane. |
|
egress
Package egress defines the L2 proxy decision model shared by cmd/wardyn-proxy and the control plane's policy/approval wiring.
|
Package egress defines the L2 proxy decision model shared by cmd/wardyn-proxy and the control plane's policy/approval wiring. |
|
egress/evaluatortest
Package evaluatortest provides a reusable conformance suite for any egress.Evaluator implementation, so the blessed default (builtin) and a future alternate (OPA/Cedar) are held to the identical policy-verdict contract.
|
Package evaluatortest provides a reusable conformance suite for any egress.Evaluator implementation, so the blessed default (builtin) and a future alternate (OPA/Cedar) are held to the identical policy-verdict contract. |
|
egress/proxy
Package proxy implements the L2 per-workspace egress sidecar (wardyn-proxy): an HTTP forward proxy that enforces the internal/egress decision model (default-deny domain allowlist, method rules, first-use approval), streams decision logs, and injects credentials proxy-side.
|
Package proxy implements the L2 per-workspace egress sidecar (wardyn-proxy): an HTTP forward proxy that enforces the internal/egress decision model (default-deny domain allowlist, method rules, first-use approval), streams decision logs, and injects credentials proxy-side. |
|
gitremote
Package gitremote deterministically detects the git remotes configured in a local directory tree, so Wardyn can ground a composed run's GitHub grant on the workspace's ACTUAL remotes rather than an LLM guess.
|
Package gitremote deterministically detects the git remotes configured in a local directory tree, so Wardyn can ground a composed run's GitHub grant on the workspace's ACTUAL remotes rather than an LLM guess. |
|
groundtruth
Package groundtruth maps kernel-level observations (from an eBPF sensor — specifically Tetragon) into Wardyn's append-only audit vocabulary (types.AuditEvent).
|
Package groundtruth maps kernel-level observations (from an eBPF sensor — specifically Tetragon) into Wardyn's append-only audit vocabulary (types.AuditEvent). |
|
identity
Package identity defines the per-run workload identity contract.
|
Package identity defines the per-run workload identity contract. |
|
identity/embedded
Package embedded implements the default, SPIFFE-shaped JWT-SVID identity provider satisfying identity.Provider.
|
Package embedded implements the default, SPIFFE-shaped JWT-SVID identity provider satisfying identity.Provider. |
|
identity/identitytest
Package identitytest provides a reusable conformance suite for any identity.Provider implementation, so the blessed default (embedded) and a future alternate (SPIRE) are held to the identical security contract.
|
Package identitytest provides a reusable conformance suite for any identity.Provider implementation, so the blessed default (embedded) and a future alternate (SPIRE) are held to the identical security contract. |
|
ipguard
Package ipguard holds the SSRF-blocklist CIDR table shared by the egress proxy's policy guard (internal/egress/proxy) and the composer transport guard (internal/composer/backends/transport).
|
Package ipguard holds the SSRF-blocklist CIDR table shared by the egress proxy's policy guard (internal/egress/proxy) and the composer transport guard (internal/composer/backends/transport). |
|
lifecycle
Package lifecycle implements workspace lifecycle automation: the Reaper loop finds RUNNING agent runs that have been idle past their policy's AutoStopAfterSec threshold and stops them, emitting a "run.autostop" audit event for each.
|
Package lifecycle implements workspace lifecycle automation: the Reaper loop finds RUNNING agent runs that have been idle past their policy's AutoStopAfterSec threshold and stops them, emitting a "run.autostop" audit event for each. |
|
recording
Package recording provides storage and HTTP serving of asciicast session recordings produced by wardyn-rec.
|
Package recording provides storage and HTTP serving of asciicast session recordings produced by wardyn-rec. |
|
recording/recordingtest
Package recordingtest provides a reusable conformance suite for any recording.Store implementation.
|
Package recordingtest provides a reusable conformance suite for any recording.Store implementation. |
|
recordmode
Package recordmode is the deterministic core of Wardyn's "Recording Mode": it OBSERVES what a fully-open (allow-all-egress, broad-grant) run actually used — purely from already-captured audit events — and SYNTHESIZES a tightened, least-privilege RunPolicySpec the operator can review and promote.
|
Package recordmode is the deterministic core of Wardyn's "Recording Mode": it OBSERVES what a fully-open (allow-all-egress, broad-grant) run actually used — purely from already-captured audit events — and SYNTHESIZES a tightened, least-privilege RunPolicySpec the operator can review and promote. |
|
runner
Package runner defines the target-agnostic sandbox lifecycle contract.
|
Package runner defines the target-agnostic sandbox lifecycle contract. |
|
runner/orchestrator
Package orchestrator is the build-tag-free runner.Runner the control plane talks to.
|
Package orchestrator is the build-tag-free runner.Runner the control plane talks to. |
|
runner/substrate
Package substrate defines the confinement-substrate sub-interface: the seam beneath the runner.Runner surface that lets a non-OCI microVM VMM (SmolVM, Firecracker, …) back a Confinement Class alongside the OCI/Docker substrate, without the control plane (or each substrate) re-implementing the runner contract.
|
Package substrate defines the confinement-substrate sub-interface: the seam beneath the runner.Runner surface that lets a non-OCI microVM VMM (SmolVM, Firecracker, …) back a Confinement Class alongside the OCI/Docker substrate, without the control plane (or each substrate) re-implementing the runner contract. |
|
secretmask
Package secretmask implements Wardyn's output-masking layer for PTY capture and asciicast streams.
|
Package secretmask implements Wardyn's output-masking layer for PTY capture and asciicast streams. |
|
secretstore
Package secretstore defines the at-rest secret storage contract.
|
Package secretstore defines the at-rest secret storage contract. |
|
secretstore/pg
Package pg implements secretstore.Store backed by an age-encrypted Postgres column (the `secrets` table in the core schema).
|
Package pg implements secretstore.Store backed by an age-encrypted Postgres column (the `secrets` table in the core schema). |
|
secretstore/secretstoretest
Package secretstoretest provides a reusable conformance suite for any secretstore.Store implementation.
|
Package secretstoretest provides a reusable conformance suite for any secretstore.Store implementation. |
|
setup
Package setup provides host-environment detection for the first-run setup surface (GET /api/v1/setup/status): which resident coding-agent CLIs are present, and the OS/WSL posture the environment-step copy keys off.
|
Package setup provides host-environment detection for the first-run setup surface (GET /api/v1/setup/status): which resident coding-agent CLIs are present, and the OS/WSL posture the environment-step copy keys off. |
|
sidecar
Package sidecar holds the small brokered-PUT plumbing shared by Wardyn's in-sandbox result-uploader binaries (wardyn-scan, wardyn-verify): validate WARDYN_PROXY_URL/WARDYN_RUN_ID, build the brokered result URL, and PUT a JSON body.
|
Package sidecar holds the small brokered-PUT plumbing shared by Wardyn's in-sandbox result-uploader binaries (wardyn-scan, wardyn-verify): validate WARDYN_PROXY_URL/WARDYN_RUN_ID, build the brokered result URL, and PUT a JSON body. |
|
store
Package store provides typed CRUD over the Wardyn schema using pgx/v5.
|
Package store provides typed CRUD over the Wardyn schema using pgx/v5. |
|
subscription
Package subscription yields the operator's LIVE Anthropic subscription OAuth access token from the resident ~/.claude credentials, so the egress proxy can inject a fresh token per request instead of the sandbox holding a COPY that goes stale (access-token expiry + refresh-token rotation lock the copy out).
|
Package subscription yields the operator's LIVE Anthropic subscription OAuth access token from the resident ~/.claude credentials, so the egress proxy can inject a fresh token per request instead of the sandbox holding a COPY that goes stale (access-token expiry + refresh-token rotation lock the copy out). |
|
types
Package types defines Wardyn's core domain vocabulary: the four nouns (AgentRun, RunPolicy, CredentialGrant, ApprovalRequest) plus the audit event shape.
|
Package types defines Wardyn's core domain vocabulary: the four nouns (AgentRun, RunPolicy, CredentialGrant, ApprovalRequest) plus the audit event shape. |
|
workspacescan
Package workspacescan deterministically detects a local directory's (or a cloned repo's) development conventions — languages, package managers, implied egress registries, dev-container/Dockerfile presence, tools, and git remotes — so Wardyn can onboard a workspace with a profile grounded in what's ACTUALLY in the tree, not an LLM guess.
|
Package workspacescan deterministically detects a local directory's (or a cloned repo's) development conventions — languages, package managers, implied egress registries, dev-container/Dockerfile presence, tools, and git remotes — so Wardyn can onboard a workspace with a profile grounded in what's ACTUALLY in the tree, not an LLM guess. |
|
pkg
|
|
|
client
Package client is the public Go SDK for the Wardyn control plane.
|
Package client is the public Go SDK for the Wardyn control plane. |
|
test
|
|
|
awsssofake
Package awsssofake is a local, unsigned fake of the two AWS IAM Identity Center (SSO) HTTP services the AWS CLI/SDK talks to during `aws sso login` and later role-credential resolution:
|
Package awsssofake is a local, unsigned fake of the two AWS IAM Identity Center (SSO) HTTP services the AWS CLI/SDK talks to during `aws sso login` and later role-credential resolution: |
|
conformance
Package conformance is the driver-agnostic parity gate for runner.Runner implementations.
|
Package conformance is the driver-agnostic parity gate for runner.Runner implementations. |
Click to show internal directories.
Click to hide internal directories.


