cmd/

directory
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT

Directories

Path Synopsis
Command agent-runner is the coding-agent runtime inside the ephemeral Job pod.
Command agent-runner is the coding-agent runtime inside the ephemeral Job pod.
Command context-controller reacts to newly opened Findings and enhances their context from first and third parties (CMDB ownership, associated infrastructure) before investigation picks them up.
Command context-controller reacts to newly opened Findings and enhances their context from first and third parties (CMDB ownership, associated infrastructure) before investigation picks them up.
Command egress-broker serves the egress credential broker: the reverse proxy agent pods send all model-API traffic through.
Command egress-broker serves the egress credential broker: the reverse proxy agent pods send all model-API traffic through.
Command evaluation-controller executes remote skill evaluations submitted by evolve: it hosts the bearer-authenticated HTTP API (workspace upload, submission, SSE monitoring, cancellation), expands each submission into EvaluationUnit children, schedules them through the sandboxed agent-Job machinery with bounded concurrency, collects each pod's result stream onto CR statuses and per-unit results ConfigMaps, and expires finished evaluations on a TTL.
Command evaluation-controller executes remote skill evaluations submitted by evolve: it hosts the bearer-authenticated HTTP API (workspace upload, submission, SSE monitoring, cancellation), expands each submission into EvaluationUnit children, schedules them through the sandboxed agent-Job machinery with bounded concurrency, collects each pod's result stream onto CR statuses and per-unit results ConfigMaps, and expires finished evaluations on a TTL.
Command integration-controller is the edge between patchy and its external systems: it terminates the provider webhook paths (the cluster's single internet-facing entry point), turns scanner deliveries into Finding resources, projects Findings as tracking issues, and applies human signals (approvals, closures, merges) back onto Findings.
Command integration-controller is the edge between patchy and its external systems: it terminates the provider webhook paths (the cluster's single internet-facing entry point), turns scanner deliveries into Finding resources, projects Findings as tracking issues, and applies human signals (approvals, closures, merges) back onto Findings.
Command investigation-controller turns enhanced Findings into analysis agent runs: it gates on the accumulation window and minimum age, resolves forge coverage, creates the Repository that source-controller turns into a SHA-pinned artifact, runs the investigation agent Job (bounded concurrency, severity-priority order), and routes each verdict: queue for remediation, hold for approval, dismiss, or hand to humans.
Command investigation-controller turns enhanced Findings into analysis agent runs: it gates on the accumulation window and minimum age, resolves forge coverage, creates the Repository that source-controller turns into a SHA-pinned artifact, runs the investigation agent Job (bounded concurrency, severity-priority order), and routes each verdict: queue for remediation, hold for approval, dismiss, or hand to humans.
Command kubectl-patchy is the kubectl plugin shim.
Command kubectl-patchy is the kubectl plugin shim.
Command patchy is the workstation client for the patchy pipeline: it lists, inspects, reviews and acts on the custom resources that carry the state machine.
Command patchy is the workstation client for the patchy pipeline: it lists, inspects, reviews and acts on the custom resources that carry the state machine.
internal/browser
Package browser opens a URL in the user's default browser.
Package browser opens a URL in the user's default browser.
internal/cli
Package cli builds the patchy command tree.
Package cli builds the patchy command tree.
internal/config
Package config loads the layered patchy configuration the cluster-free command groups (dev, mirror, build) share: one file shape, merged from up to seven locations, least to most preferred:
Package config loads the layered patchy configuration the cluster-free command groups (dev, mirror, build) share: one file shape, merged from up to seven locations, least to most preferred:
internal/devharness
Package devharness is the engine behind `patchy dev`: a local, in-memory stand-in for the pipeline that generic-integration authors test against.
Package devharness is the engine behind `patchy dev`: a local, in-memory stand-in for the pipeline that generic-integration authors test against.
internal/kubecfg
Package kubecfg connects the CLI to a cluster.
Package kubecfg connects the CLI to a cluster.
internal/printer
Package printer turns results into output.
Package printer turns results into output.
internal/render
Package render turns one patchy resource into a printer document.
Package render turns one patchy resource into a printer document.
internal/resource
Package resource is the noun half of the patchy grammar: it maps what a user types (finding, findings, fnd) onto the kind, list type and API resource name the command then works with.
Package resource is the noun half of the patchy grammar: it maps what a user types (finding, findings, fnd) onto the kind, list type and API resource name the command then works with.
internal/tools/docgen command
Command docgen renders the patchy CLI reference from the cobra command tree, one page per command, for humans, search engines and LLMs.
Command docgen renders the patchy CLI reference from the cobra command tree, one page per command, for humans, search engines and LLMs.
Command remediation-controller admits approved and revived Findings to the remediation queue, runs the remediation coding agent in an ephemeral Kubernetes Job in priority order, and pushes the agent's changeset and opens the pull request through the forge write path (the only write credential).
Command remediation-controller admits approved and revived Findings to the remediation queue, runs the remediation coding agent in an ephemeral Kubernetes Job in priority order, and pushes the agent's changeset and opens the pull request through the forge write path (the only write credential).
Command source-controller runs the Forge and Repository reconcilers.
Command source-controller runs the Forge and Repository reconcilers.
Command status-server serves the patchy status page: a web dashboard over the Finding state machine and the FindingRollup statistics, with SSO sign-in and RBAC-gated actions (approve, retry, expedite, suspend, resume).
Command status-server serves the patchy status page: a web dashboard over the Finding state machine and the FindingRollup statistics, with SSO sign-in and RBAC-gated actions (approve, retry, expedite, suspend, resume).

Jump to

Keyboard shortcuts

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