Skip to content

Agent CRD

Group/Version: agents.re-cinq.com/v1alpha1 · Kind: Agent · Scope: Namespaced · Short name: agt

One run. It has a spec (your desired run) and a status (owned by the controller).

FieldTypeNotes
stationRefstringRequired. Station to run in (which selects the recipe).
parametersmap[string]stringPer-run values; fill the prompt {placeholder} tokens and pass to the agent.
taskIdstringOptional external id for correlation.
targetRepostringOptional repo in owner/name form.
branchstringOptional git branch.
FieldTypeNotes
phaseenumPending, Running, Succeeded, or Failed.
jobNamestringName of the created Job.
startedAtdate-timeWhen the run began.
completedAtdate-timeWhen the run ended.
exitCodeintProcess exit code (0 = success).
outputstringCaptured summary: the truncated tail of pod logs, capped at MAX_OUTPUT_BYTES (default 256 KiB) to stay under etcd’s per-object limit.
failureReasonstringHuman-readable reason on failure. Also set when a run reaches a terminal phase but its result couldn’t be fully read back, e.g. run output unavailable: pod garbage-collected or run record unavailable: Job garbage-collected before its result was observed.
prUrlstringPull-request URL when applicable.

Phase transitions are driven by the controller lifecycle.