Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ploeg-worker
command
ploeg-worker runs as the main container of an executor-spawned Job (docs/contracts/executor.md): it claims one work item from ploegd, drives a headless harness run via the adapter selected by PLOEG_HARNESS (design §5), and reports an OutcomeReport before exit.
|
ploeg-worker runs as the main container of an executor-spawned Job (docs/contracts/executor.md): it claims one work item from ploegd, drives a headless harness run via the adapter selected by PLOEG_HARNESS (design §5), and reports an OutcomeReport before exit. |
|
ploegd
command
ploegd is Ploeg's single daemon: webhook ingest, provider SPI host, lease manager, outcome ingestion.
|
ploegd is Ploeg's single daemon: webhook ingest, provider SPI host, lease manager, outcome ingestion. |
|
pkg
|
|
|
harness
Package harness defines the contract between Ploeg and an agent harness: TaskSpec in, OutcomeReport out.
|
Package harness defines the contract between Ploeg and an agent harness: TaskSpec in, OutcomeReport out. |
|
harness/adapters/claudecode
Package claudecode adapts the Claude Code CLI (backlog #62): a headless `claude -p` run with a JSON result envelope mapped into OutcomeReport usage (cost, tokens, session id).
|
Package claudecode adapts the Claude Code CLI (backlog #62): a headless `claude -p` run with a JSON result envelope mapped into OutcomeReport usage (cost, tokens, session id). |
|
harness/adapters/execbin
Package execbin is the generic escape-hatch adapter: run any binary against the published task contract.
|
Package execbin is the generic escape-hatch adapter: run any binary against the published task contract. |
|
harness/adapters/openhands
Package openhands adapts the OpenHands agent-runner image: the prompt is written to a task file and the image's baked entrypoint runs it headless.
|
Package openhands adapts the OpenHands agent-runner image: the prompt is written to a task file and the image's baked entrypoint runs it headless. |
|
harness/harnesstest
Package harnesstest is the adapter conformance kernel (backlog #69): every CommandAdapter must satisfy these properties regardless of which harness it wraps.
|
Package harnesstest is the adapter conformance kernel (backlog #69): every CommandAdapter must satisfy these properties regardless of which harness it wraps. |
|
httpapi
Package httpapi exposes ploegd's two surfaces: webhook ingest (tracker → queued work) and the run API an agent container uses (claim, renew, checkpoint, outcome) per the worker-claims-at-startup convention (backlog #48).
|
Package httpapi exposes ploegd's two surfaces: webhook ingest (tracker → queued work) and the run API an agent container uses (claim, renew, checkpoint, outcome) per the worker-claims-at-startup convention (backlog #48). |
|
litellm
Package litellm wraps the LiteLLM proxy admin API for per-run key lifecycle (mint + revoke, list + batch delete).
|
Package litellm wraps the LiteLLM proxy admin API for per-run key lifecycle (mint + revoke, list + batch delete). |
|
llmbroker
Package llmbroker is the credential seam between Ploeg and an LLM gateway: mint a budgeted per-run credential before the harness starts, revoke it on every return path, and reconcile leaks from ploegd's sweeps.
|
Package llmbroker is the credential seam between Ploeg and an LLM gateway: mint a budgeted per-run credential before the harness starts, revoke it on every return path, and reconcile leaks from ploegd's sweeps. |
|
provider
Package provider defines Ploeg's SPI.
|
Package provider defines Ploeg's SPI. |
|
provider/vikunja
Package vikunja is the reference TrackerProvider (design §4).
|
Package vikunja is the reference TrackerProvider (design §4). |
|
store
Package store is Ploeg's Postgres data layer: work items, leases, checkpoints, runs, and the audit log.
|
Package store is Ploeg's Postgres data layer: work items, leases, checkpoints, runs, and the audit log. |
|
work
Package work defines Ploeg's core semantics: work items, leases, checkpoints, and outcomes.
|
Package work defines Ploeg's core semantics: work items, leases, checkpoints, and outcomes. |
|
worker
Package worker is the run orchestrator that executes one claimed work item: claim → clone → compose prompt → mint credential → harness adapter run → forge-poll outcome resolution → outcome report.
|
Package worker is the run orchestrator that executes one claimed work item: claim → clone → compose prompt → mint credential → harness adapter run → forge-poll outcome resolution → outcome report. |
Click to show internal directories.
Click to hide internal directories.