cmd/

directory
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: MIT

Directories

Path Synopsis
Command agent-runner is the coding-agent runtime that executes inside the ephemeral Job pod: it drives the classification and remediation harness stages against a pre-cloned repository and reports results as an event stream on stdout.
Command agent-runner is the coding-agent runtime that executes inside the ephemeral Job pod: it drives the classification and remediation harness stages against a pre-cloned repository and reports results as an event stream on stdout.
Command context-controller reacts to newly opened security-finding issues and enhances their context from first/third parties (CMDB ownership, associated infrastructure) before remediation picks them up.
Command context-controller reacts to newly opened security-finding issues and enhances their context from first/third parties (CMDB ownership, associated infrastructure) before remediation picks them up.
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, materializes the SHA-pinned repository 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, materializes the SHA-pinned repository 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 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/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 picks up context-enhanced security-finding issues, runs the classification/remediation coding agent in an ephemeral Kubernetes Job, and performs every GitHub side effect on its behalf — issue updates, alert dismissal, branch pushes, and pull requests.
Command remediation-controller picks up context-enhanced security-finding issues, runs the classification/remediation coding agent in an ephemeral Kubernetes Job, and performs every GitHub side effect on its behalf — issue updates, alert dismissal, branch pushes, and pull requests.
Command source-controller receives security findings from external sources (GitHub Advanced Security first) via GitHub webhooks and accumulates them into GitHub issues — the pipeline's state machine.
Command source-controller receives security findings from external sources (GitHub Advanced Security first) via GitHub webhooks and accumulates them into GitHub issues — the pipeline's state machine.
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 approve/suspend/resume actions.
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 approve/suspend/resume actions.

Jump to

Keyboard shortcuts

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