Skip to content

get_api_projects_id_automations

GET
/api/projects/{id}/automations
curl --request GET \
--url https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/automations \
--cookie supacloud_session=<supacloud_session>

List project automation configuration in the selected workspace.

id
required
string format: uuid

Project id

Effective automations for the project

Media typeapplication/json
object
automations
required
Array<object>

ADR 0045 Stage 1b — the consolidated automation READ surface: the EFFECTIVE automation row for every kind (the new project_automations row when present, else the legacy-derived view), so the project-edit Automation section renders one uniform shape. webhook_secret is #[serde(skip_serializing)] on the model, so the response never leaks a secret. Spec-only projection of one effective project_automations row — the fields the ProjectAutomation model serializes (it omits webhook_secret, which is #[serde(skip_serializing)]). ProjectAutomation is a persistence model owned by another vertical without a ToSchema derive, so this mirrors its wire shape for the OpenAPI spec while the field keeps serializing the full model at runtime.

object
agent_profile_id
string | null format: uuid
autonomy_override
integer | null format: int32
candidate_profile_ids

#534 WS-2 — the backlog arm’s multi-agent work-lane candidate pool.

Array<string> | null
close_source_issue
boolean | null
completion_action
required

#538 L12 — close | comment | nothing (the legacy 3-way action; #708 C1 superseded it with the two booleans below, kept as the dual-read fallback).

string
created_at
required
string format: date-time
denied_tools
required
Array<string>
enabled
required
boolean
environment_scope
required
string
id
required
string format: uuid
kind
required

pr_review | intake | backlog (the exact AUTOMATION_KINDS wire set).

string
pipeline_config
required

#538 feinschliff — the dev-pipeline knobs blob (return_to_sender / convergence_level / max_rounds / max_cost_usd / per-stage overrides).

object
ci_gate
One of:

SC-1 — the arm’s CI gate (ci_gate): the required / owner / ignored context globs, the unconfigured behaviour, the timeout and the merge-retry budget. The RAW value is kept so the resolver can tell “absent” (inherit the built-in) from “invalid” (refused on write, strict built-in on read); the typed contract is backlog::ci_gate::CiGateOverride.

object
enabled

Only true is accepted; the gate cannot be switched off.

boolean | null
human_contexts

Context globs an owner turns green (e.g. gate-class*): waited for, never reworked.

Array<string> | null
ignored_contexts

Reported context globs that never block.

Array<string> | null
merge_retry_max

1..=10; default 5.

integer | null format: int32
required_contexts

Context globs that must be green; empty = the base branch’s protection.

Array<string> | null
timeout_minutes

5..=10080; default 240.

integer | null format: int32
when_unconfigured
One of:

What the gate does when no required context can be resolved.

string
Allowed values: all_reported_min_1 none
concurrency
One of:

SC-25 — the backlog arm’s path-overlap serialization and update re-verification (concurrency). RAW, like ci_gate: absent = serialization off; the typed contract is backlog::overlap::ConcurrencyOverride.

object
revalidate_on_update
Array<string> | null
serialize_globs
Array<string> | null
serialize_unknown
boolean | null
convergence_level

Batch 4 — the ITEM-severity threshold that gates loop ENTRY: a failed audit only re-dispatches when the ITEM’s classified severity is AT OR ABOVE this level (an item below it is not worth the budget and stays blocked). The loop does NOT inspect any audit FINDING severity — see [Self::convergence_decision]. None = no severity gate (the loop runs for every item severity, bounded only by max_rounds / max_cost_usd).

string | null
gates
One of:

SC-26 — the arm’s GATE MANIFEST: the commands, capture step and rules the gated templates’ implement and audit prompts are rendered from (auto_developer_gates::GateManifest). Kept RAW so the strict read-time resolver (auto_developer_gates::resolve_gate_manifest) can tell “absent” from “invalid”; validated on write (validate_gate_manifest, 422 naming the key). None = no manifest (SupaCloud’s built-in list for its own repository, else the repo-neutral instruction).

object
builtin
One of:

A built-in list that replaces every other key (they must then be absent).

string
Allowed values: supacloud neutral
capture
One of:

The visual-capture step; None declares none.

object
auto_pass_threshold

SC-9 — the odiff mismatch ratio (0..=1) at or below which a CHANGED surface passes without the judge; the arm’s visual.auto_pass_threshold when absent.

number | null format: float
kind
required

Who produces the capture.

string
Allowed values: web unity blender
manifest

SC-9 — where the capture writes its manifest v2 (supacloud.capture/v2, relative to the repository root). Set, the rendered step also diffs against the baselines (odiff, on the capture runner) and uploads the captures, the diff images and the manifest through the artifact store (mode: baseline).

string | null
noise_floor

SC-9 — the odiff mismatch ratio (0..=1) at or below which a surface is UNCHANGED; the arm’s visual.noise_floor when absent.

number | null format: float
paths

The engagement paths: the capture runs only for a diff touching one of them.

Array<string>
run

The single-line capture command (web only, required there).

string | null
runner_labels

The edge-runner labels of a unity / blender capture (required there).

Array<string>
commands

The declared commands, in order.

Array<object>

One declared gate command.

object
ci_context

The CI status context that verifies a ci_only command (a trailing * is a prefix match); required for ci_only, refused otherwise.

string | null
cwd

The working directory, relative to the repository root (default .).

string | null
mode
required

Who runs the command.

string
Allowed values: self_check audit_rerun ci_only
name
required

A short stable id ([a-z0-9][a-z0-9_.-]{0,63}), unique in the manifest.

string
required_labels

The runner labels the command needs (informs SC-13 re-verify only).

Array<string>
run

The single-line shell command; required unless mode is ci_only.

string | null
timeout_s

The time limit in seconds (1..=21600).

integer | null format: int32
i18n_parity

Locale file pairs that must stay in parity; empty is off.

Array<object>

Two locale files that must stay structurally identical.

object
source
required

The reference locale file, relative to the repository root.

string
target
required

The locale file that must carry every key of source.

string
include_item_commands

Whether the item’s own ## Commands block joins the self-check list.

boolean
loc_cap

The per-file line cap; None imposes none.

integer | null format: int32
rules

Extra single-line rules both agents must hold (a forbidden pattern, say).

Array<string>
judge_threshold

#705 2.4d — the arm’s machine-judge pass threshold (0–100) FALLBACK for the visual-verify gate. This is the ARM tier of the per-FIELD first-non-null resolution: the per-profile judge_threshold wins, this arm value is the fallback consulted only when the profile authored none. None ⇒ no arm bar (a bare machine PASS releases unless the profile sets one).

integer | null format: int32
judge_tier

SC-16 - resolve the visual gate’s judge through a calibrated LANE tier instead of a pinned model. The only accepted value is vision_judge; anything else (including a non-string) reads as absent, which is this struct’s fail-open parse AND the safe direction here: an unparsable tier leaves the judge on the pinned/default ladder it used before SC-16, never on a model nobody chose. The write validator (validate_judge_tier) refuses any other value with a 422, so the fail-open read only ever sees a value a write accepted.

string | null
max_cost_usd

Batch 4 — the operator-bounded $ ceiling across the loop. None falls back to the arm’s daily budget / engine default.

number | null format: double
max_rounds

Batch 4 — the operator-bounded ceiling on self-improvement rounds. None falls back to the engine default. The EFFECTIVE ceiling is floored at 1 when the loop is on (see [Self::convergence_decision]), so max_rounds = 0 still allows the single baseline escalation rather than being strictly weaker than leaving the loop off.

integer | null format: int32
return_to_sender

Batch 4 — when true and Review is enabled, a failing audit RE-DISPATCHES the implement stage (the self-improvement loop) instead of routing straight to blocked, until the audit converges or a ceiling is hit.

boolean
reverify
One of:

SC-13 — tool re-verification of labelled audit_rerun gate commands on the bound desktop host (reverify): the unavailability policy, the queue timeout and the per-command tool / paths / CI-coverage settings. RAW so “absent” (the strict default) differs from “invalid” (refused on write, the strict default on read); the typed contract is backlog::reverify::ReverifyOverride, read by reverify::ReverifyConfig::resolve.

object
commands

Per gate-command settings, keyed by the gate command name.

object
key
additional properties

One gate command’s re-verify settings.

object
ci_context

Skip the re-run when this CI context is green on the head (* globs).

string | null
paths

Re-verify only when the diff touches one of these globs (empty = always).

Array<string>
tool

The desktop declaration key on the host (default: the command name).

string | null
on_unavailable
One of:

What the gate does when no desktop host can re-verify in time.

string
Allowed values: block rework
queue_timeout_minutes

How long a job may wait for its host (10..=1440 minutes, default 240).

integer | null format: int64
reviews
One of:

SC-4 — the independent review slots (reviews): up to three read-only reviewers from vendors other than the implementer’s, run in parallel with the audit and joined by the merge gate. RAW so “absent” (one audit, as before) differs from “invalid” (refused on write); the typed contract is sc_kernel::review_slots::ReviewSlotsConfig.

object
default_required

How many slots an item without a matching label rule engages (0..=slots).

integer format: int32
0
required_by_label

Label -> slot count; the largest count among the item’s labels wins.

object
key
additional properties
integer format: int32
slots

At most three slots, in slot order (review_1..3).

Array<object>
default:

One review slot.

object
harness

Optional pinned harness (set together with model).

string | null
lenses

Focus lenses: forensic, security, spec_conformance, performance, tests, ux (empty = forensic).

Array<string>
default:
model

Optional pinned model (set together with harness).

string | null
tier

independent_review (default) or security_review.

string | null
when_classes

SC-5 path classes that make a security_review slot required (empty = any sensitive change).

Array<string>
default:
vendor_rule

distinct_all (default: every slot from its own vendor, none from the implementer’s) or distinct_from_implementer.

string
""
stages
One of:

Batch 3 — the per-stage harness / model / effort overrides. None (absent in the partial JSONB) = no per-stage overrides.

object
implement
One of:

One stage’s optional auto-agent overrides. An absent / empty field means “no override” — the materialized node keeps the template’s project-default harness and the profile / runner default model + effort.

object
agent_profile_id

#708 stage_affinity — the agent PROFILE (a agent_profiles.id UUID string) to run this stage under. Pins WHO per stage (e.g. a backend-expert implement + a reviewer review) instead of the pipeline-wide routed_profile_id. Stamped onto the stage node’s config.agent_profile_id, which wins over the run’s trigger-context profile fill. Membership-validated against the workspace on save.

string | null
approval

#708 Rev 2.3/2.4a — the PLAN-stage APPROVAL flag: stop for a human approve_plan before implement. Meaningful on stages.plan (implies enabled). Maps from the legacy approval_mode='concept'.

boolean | null
council

#708 B1 (K1) — the COUNCIL flag: run this stage as a multi-agent COUNCIL (several candidate agents propose, a judge synthesizes) instead of a single agent. Stamped onto the stage node’s config (the COUNCIL_CONFIG_KEY); the run-time invocation (B2) reads it. Meaningful on the deliberative plan/draft stage only: refused on implement and on review (SC-4 replaced council-on-review with independent review slots, pipeline_config.reviews). None/false = a single-agent stage (the default).

boolean | null
council_judge

AUD-INT-033 — the council’s pinned JUDGE (an agent profile id string); it must be one of council_participants. None = the first participant judges. Stamped onto the stage node’s config.council_judge; meaningful only with council: true.

string | null
council_participants

AUD-INT-033 — the council’s pinned PARTICIPANTS (agent profile id strings, at most three). They must span at least two distinct providers (validated on save against the workspace’s profiles, and again at run time). None/empty = the vendor-diverse default (the first enabled profile of each provider). Stamped onto the stage node’s config.council_participants; meaningful only with council: true.

Array<string> | null
draft_pr_approval

#708 Rev 2.3/2.4a — the IMPLEMENT-stage DRAFT-PR-APPROVAL flag: the PR is opened as a draft and a human draft_review node stops after implement. Meaningful on stages.implement. Maps from the legacy approval_mode='pr_draft' / auto_developer_draft_first. Orthogonal to (combinable with) the plan gate — both on = stop at the concept AND see the draft PR (the additive-gate new capability).

boolean | null
effort

The reasoning effort (minimal | low | medium | high | max) for this stage.

string | null
enabled

#708 Rev 2.3/2.4a — the PLAN-stage RUN flag: run the plan/concept round at all. Meaningful on stages.plan. approval implies enabled (a stop needs a round); enabled without approval is “plan-then-go” (a plan round runs but never stops for a human). The K2 legacy approval_mode='concept' maps to enabled + approval.

boolean | null
harness

The harness (agent_type, e.g. claude / codex) to run this stage with.

string | null
mode

Axis 2 (mig 272) — the harness-native MODE (build | plan) to run this stage with. The DRAFT stage DEFAULTS to plan (overridable per arm) on harnesses that expose a native plan-mode; implement defaults to build, review keeps the default. DECOUPLED from execution_mode/effort — both can be set on a stage node.

string | null
model

The model id to run this stage with.

string | null
runner

SC-6 — per-stage runner routing {required_labels, backend, on_no_runner, license_pool}, stamped onto the stage node’s config.runner.

The step task inherits it verbatim (materialize_step forwards runner), so the dispatcher places the stage by its labels and applies its on_no_runner policy (queue | fail | local). Validated on save (validate_pipeline_stage_runner).

object | null
sidecars

AUD-INT-038 — the sidecar kinds (registry ids, e.g. test-db, redis) this stage’s agent task requests. None = no choice at this stage (the review stage then takes the implement stage’s list); Some([]) = explicitly none. Stamped onto the stage node’s config.sidecars; the instance ceiling and the project’s sidecar override still narrow what actually runs at launch. Validated on save (registered ids only, no duplicates); backlog arm only.

Array<string> | null
tier

SC-3 (the Tier-binding ADR) — the calibrator TIER (flagship | balanced | fast | independent_review) this stage runs on, resolved AT STEP LAUNCH to the first reachable entry of the workspace’s chain for it, so a calibration apply reaches queued work. An explicit stage model wins over it; it wins over the label route and the stage profile’s policy. With a stage harness the chain is narrowed to that harness. Validated on save (validate_pipeline_stage_tiers).

string | null
plan
One of:

The plan/concept stage (the deliberative first round). #708 Rev 2.4a renamed the JSON key draft → plan (the canonical stage vocabulary plan|implement|review); the #[serde(alias = "draft")] keeps stored pipeline_config blobs written under the old key deserializing losslessly (K2 dual-read — pipeline_config is only ever read, never re-serialized back into the column, so no data migration is required for the rename).

object
agent_profile_id

#708 stage_affinity — the agent PROFILE (a agent_profiles.id UUID string) to run this stage under. Pins WHO per stage (e.g. a backend-expert implement + a reviewer review) instead of the pipeline-wide routed_profile_id. Stamped onto the stage node’s config.agent_profile_id, which wins over the run’s trigger-context profile fill. Membership-validated against the workspace on save.

string | null
approval

#708 Rev 2.3/2.4a — the PLAN-stage APPROVAL flag: stop for a human approve_plan before implement. Meaningful on stages.plan (implies enabled). Maps from the legacy approval_mode='concept'.

boolean | null
council

#708 B1 (K1) — the COUNCIL flag: run this stage as a multi-agent COUNCIL (several candidate agents propose, a judge synthesizes) instead of a single agent. Stamped onto the stage node’s config (the COUNCIL_CONFIG_KEY); the run-time invocation (B2) reads it. Meaningful on the deliberative plan/draft stage only: refused on implement and on review (SC-4 replaced council-on-review with independent review slots, pipeline_config.reviews). None/false = a single-agent stage (the default).

boolean | null
council_judge

AUD-INT-033 — the council’s pinned JUDGE (an agent profile id string); it must be one of council_participants. None = the first participant judges. Stamped onto the stage node’s config.council_judge; meaningful only with council: true.

string | null
council_participants

AUD-INT-033 — the council’s pinned PARTICIPANTS (agent profile id strings, at most three). They must span at least two distinct providers (validated on save against the workspace’s profiles, and again at run time). None/empty = the vendor-diverse default (the first enabled profile of each provider). Stamped onto the stage node’s config.council_participants; meaningful only with council: true.

Array<string> | null
draft_pr_approval

#708 Rev 2.3/2.4a — the IMPLEMENT-stage DRAFT-PR-APPROVAL flag: the PR is opened as a draft and a human draft_review node stops after implement. Meaningful on stages.implement. Maps from the legacy approval_mode='pr_draft' / auto_developer_draft_first. Orthogonal to (combinable with) the plan gate — both on = stop at the concept AND see the draft PR (the additive-gate new capability).

boolean | null
effort

The reasoning effort (minimal | low | medium | high | max) for this stage.

string | null
enabled

#708 Rev 2.3/2.4a — the PLAN-stage RUN flag: run the plan/concept round at all. Meaningful on stages.plan. approval implies enabled (a stop needs a round); enabled without approval is “plan-then-go” (a plan round runs but never stops for a human). The K2 legacy approval_mode='concept' maps to enabled + approval.

boolean | null
harness

The harness (agent_type, e.g. claude / codex) to run this stage with.

string | null
mode

Axis 2 (mig 272) — the harness-native MODE (build | plan) to run this stage with. The DRAFT stage DEFAULTS to plan (overridable per arm) on harnesses that expose a native plan-mode; implement defaults to build, review keeps the default. DECOUPLED from execution_mode/effort — both can be set on a stage node.

string | null
model

The model id to run this stage with.

string | null
runner

SC-6 — per-stage runner routing {required_labels, backend, on_no_runner, license_pool}, stamped onto the stage node’s config.runner.

The step task inherits it verbatim (materialize_step forwards runner), so the dispatcher places the stage by its labels and applies its on_no_runner policy (queue | fail | local). Validated on save (validate_pipeline_stage_runner).

object | null
sidecars

AUD-INT-038 — the sidecar kinds (registry ids, e.g. test-db, redis) this stage’s agent task requests. None = no choice at this stage (the review stage then takes the implement stage’s list); Some([]) = explicitly none. Stamped onto the stage node’s config.sidecars; the instance ceiling and the project’s sidecar override still narrow what actually runs at launch. Validated on save (registered ids only, no duplicates); backlog arm only.

Array<string> | null
tier

SC-3 (the Tier-binding ADR) — the calibrator TIER (flagship | balanced | fast | independent_review) this stage runs on, resolved AT STEP LAUNCH to the first reachable entry of the workspace’s chain for it, so a calibration apply reaches queued work. An explicit stage model wins over it; it wins over the label route and the stage profile’s policy. With a stage harness the chain is narrowed to that harness. Validated on save (validate_pipeline_stage_tiers).

string | null
review
One of:

One stage’s optional auto-agent overrides. An absent / empty field means “no override” — the materialized node keeps the template’s project-default harness and the profile / runner default model + effort.

object
agent_profile_id

#708 stage_affinity — the agent PROFILE (a agent_profiles.id UUID string) to run this stage under. Pins WHO per stage (e.g. a backend-expert implement + a reviewer review) instead of the pipeline-wide routed_profile_id. Stamped onto the stage node’s config.agent_profile_id, which wins over the run’s trigger-context profile fill. Membership-validated against the workspace on save.

string | null
approval

#708 Rev 2.3/2.4a — the PLAN-stage APPROVAL flag: stop for a human approve_plan before implement. Meaningful on stages.plan (implies enabled). Maps from the legacy approval_mode='concept'.

boolean | null
council

#708 B1 (K1) — the COUNCIL flag: run this stage as a multi-agent COUNCIL (several candidate agents propose, a judge synthesizes) instead of a single agent. Stamped onto the stage node’s config (the COUNCIL_CONFIG_KEY); the run-time invocation (B2) reads it. Meaningful on the deliberative plan/draft stage only: refused on implement and on review (SC-4 replaced council-on-review with independent review slots, pipeline_config.reviews). None/false = a single-agent stage (the default).

boolean | null
council_judge

AUD-INT-033 — the council’s pinned JUDGE (an agent profile id string); it must be one of council_participants. None = the first participant judges. Stamped onto the stage node’s config.council_judge; meaningful only with council: true.

string | null
council_participants

AUD-INT-033 — the council’s pinned PARTICIPANTS (agent profile id strings, at most three). They must span at least two distinct providers (validated on save against the workspace’s profiles, and again at run time). None/empty = the vendor-diverse default (the first enabled profile of each provider). Stamped onto the stage node’s config.council_participants; meaningful only with council: true.

Array<string> | null
draft_pr_approval

#708 Rev 2.3/2.4a — the IMPLEMENT-stage DRAFT-PR-APPROVAL flag: the PR is opened as a draft and a human draft_review node stops after implement. Meaningful on stages.implement. Maps from the legacy approval_mode='pr_draft' / auto_developer_draft_first. Orthogonal to (combinable with) the plan gate — both on = stop at the concept AND see the draft PR (the additive-gate new capability).

boolean | null
effort

The reasoning effort (minimal | low | medium | high | max) for this stage.

string | null
enabled

#708 Rev 2.3/2.4a — the PLAN-stage RUN flag: run the plan/concept round at all. Meaningful on stages.plan. approval implies enabled (a stop needs a round); enabled without approval is “plan-then-go” (a plan round runs but never stops for a human). The K2 legacy approval_mode='concept' maps to enabled + approval.

boolean | null
harness

The harness (agent_type, e.g. claude / codex) to run this stage with.

string | null
mode

Axis 2 (mig 272) — the harness-native MODE (build | plan) to run this stage with. The DRAFT stage DEFAULTS to plan (overridable per arm) on harnesses that expose a native plan-mode; implement defaults to build, review keeps the default. DECOUPLED from execution_mode/effort — both can be set on a stage node.

string | null
model

The model id to run this stage with.

string | null
runner

SC-6 — per-stage runner routing {required_labels, backend, on_no_runner, license_pool}, stamped onto the stage node’s config.runner.

The step task inherits it verbatim (materialize_step forwards runner), so the dispatcher places the stage by its labels and applies its on_no_runner policy (queue | fail | local). Validated on save (validate_pipeline_stage_runner).

object | null
sidecars

AUD-INT-038 — the sidecar kinds (registry ids, e.g. test-db, redis) this stage’s agent task requests. None = no choice at this stage (the review stage then takes the implement stage’s list); Some([]) = explicitly none. Stamped onto the stage node’s config.sidecars; the instance ceiling and the project’s sidecar override still narrow what actually runs at launch. Validated on save (registered ids only, no duplicates); backlog arm only.

Array<string> | null
tier

SC-3 (the Tier-binding ADR) — the calibrator TIER (flagship | balanced | fast | independent_review) this stage runs on, resolved AT STEP LAUNCH to the first reachable entry of the workspace’s chain for it, so a calibration apply reaches queued work. An explicit stage model wins over it; it wins over the label route and the stage profile’s policy. With a stage harness the chain is narrowed to that harness. Validated on save (validate_pipeline_stage_tiers).

string | null
vision_judge_model

#708 B5 — the arm’s vision judge model for the visual-verify gate. Since #708 X2a this is the SOLE source (the legacy projects.backlog_vision_judge_model column was dropped, migration 297); None ⇒ no judge-model override.

#705 2.4d — this is the ARM tier of the per-FIELD first-non-null visual resolution: the per-profile vision_judge_model wins, this arm value is the FALLBACK.

string | null
vision_judge_staffing
One of:

An explicit native Vision profile or durable team role; malformed values refuse.

object
agent_profile_id

Enabled workspace profile UUID or slug bound to vision_judge.

string | null
staffing_role

Durable workspace team UUID-or-slug/role bound to vision_judge.

string | null
visual

SC-9 — the visual gate block (visual): mode (it wins over the legacy visual_verify), producers, auto_pass_threshold, noise_floor, judge_tier and on_capture_failure. RAW; read tolerantly by backlog::visual_verify::VisualSettings::parse.

object | null
visual_verify

#708 B5 — the arm’s visual-verify mode (off | machine | ...). Since #708 X2a (Phase 8) this is the SOLE source — the legacy projects.backlog_visual_verify fallback column was dropped (migration 297); None/empty ⇒ off.

string | null
post_completion_comment

#708 C1 — the two ADDITIVE completion booleans (mig 295): post the closing comment × close/transition the source issue. null on a not-yet-backfilled row (the FE decodes completion_action as the fallback). Together they express the previously-inexpressible “silent close” (close WITHOUT a comment).

boolean | null
project_id
required
string format: uuid
review_enabled
required

#538 feinschliff — the Review (audit) toggle.

boolean
severity_min
string | null
source_filter
required

The backlog dispatch/classifier blob (source_filter) — an open map.

object
key
additional properties
trigger
required

webhook | schedule | manual.

string
updated_at
required
string format: date-time
workflow_binding
required

managed for platform templates, selected for a project workflow chosen by the user.

string
workflow_id
string | null format: uuid
workspace_id
required
string format: uuid
backlog_merge_supported
required

AUD-WIR-031 — does this project’s git provider wire the backlog pull-request calls (ensure-PR, changed files, merge; PullRequests::supports_backlog_merge)? false means backlog dispatch and any merge policy other than pr_only are refused on save; the approval/merge row shows why instead of offering them.

boolean
ineffective_source_filter_keys
required

#838 — per arm kind, the source_filter gate-FILTER keys this lane STORES but cannot EVALUATE, so the UI can say so instead of showing a filter that silently does nothing. Derived from the one lane registry (auto_developer_lane_filters::ineffective_filter_keys_on) that the save-time rejection also reads, so the display and the write path can never disagree about which key is dead.

A lane with nothing dead is OMITTED, so a non-empty map IS the warning condition. Newly configuring such a key is refused on save; this reports the rows that acquired one before that rule existed (they heal on the next authoritative save, because the PATCH-merge preserve list is lane-scoped and no longer re-injects it).

object
key
additional properties
Array<string>
issue_listing_credential_present
required

#708 Rev 2.4g (B1.5 credential precondition) — is an issue-LISTING credential configured for this project’s issue source (tracker OAuth, else a git access token)? false means an armed Issues-intake/backlog automation would scan nothing; the automation UI renders a “connect a credential” precondition warning on the intake row. Fail-soft true on a transient lookup error (never a spurious warning). Independent of whether any arm is currently enabled — the FE gates the warning on the intake toggle.

boolean

Example

{
"automations": [
{
"pipeline_config": {
"ci_gate": null,
"concurrency": null,
"convergence_level": null,
"gates": null,
"judge_threshold": null,
"judge_tier": null,
"max_cost_usd": null,
"max_rounds": null,
"return_to_sender": false,
"reverify": null,
"reviews": null,
"stages": null,
"vision_judge_model": null,
"vision_judge_staffing": null,
"visual": null,
"visual_verify": null
}
}
]
}

Authentication required

Media typeapplication/json

The canonical JSON body of every error response. Every AppError serializes as this exact shape; code is the generated stable machine-readable vocabulary.

object
cap
One of:

Present only on an MCP budget refusal (429) — the refusing layer + retry hint.

object
layer
required

The refusing layer.

string
limit
required

The layer’s budget.

integer format: int64
retry_after_seconds

Seconds until a retry can pass, or null when it never will for this session.

integer | null format: int64
used
required

Calls already counted in the layer.

integer format: int64
code
required

Machine-readable, stable error code.

string
Allowed values: not_found unauthorized forbidden license_required license_expired fresh_auth_required source_not_released bad_request unprocessable precondition_failed conflict artifact_staging_busy artifact_staging_store_unavailable intervention_attachment_limit method_not_allowed rate_limited too_many_requests quota_exceeded mcp_cap_exceeded form_schema_invalid autosave_not_offered submit_not_offered idempotency_key_reused response_cap_reached required_missing database_error docker_error vault_error internal_error artifact_frames_unavailable identity_native_custody_unconfigured launch_concurrency_limit launch_already_active launch_not_pending launch_budget_exhausted launch_draining launch_side_effects_disabled launch_dispatch_disabled no_eligible_runner launch_image_unavailable pull_request_no_git_branch pull_request_no_project project_credential_missing project_credential_expired project_credential_revoked project_credential_substitution project_parent_credential_not_current project_lineage_invalid project_binding_missing project_binding_mismatch project_not_found project_capability_not_granted project_capability_unknown project_capabilities_required project_history_is_not_authority project_task_not_found project_task_project_missing project_task_not_active project_native_origin_missing project_broader_scope_required project_system_scope_required project_lifetime_invalid project_lifetime_not_finite project_lifetime_exceeds_maximum project_delegation_exceeds_parent project_renewal_not_allowed project_delegation_widened project_audience_mismatch project_deployment_claim_missing project_authority_disabled project_issuer_not_current project_operation_not_durable project_dispatch_gate_refused
details
One of:

Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.

object
key
required

The entitlement feature key that was hit, e.g. apps.max_count.

string
limit
required

The plan’s limit for this key.

integer format: int64
upgrade_url
required

Where to send the user to upgrade.

string
used
required

Current usage (count or bytes, per the key).

integer format: int64
error
required

Human-readable message (the server’s English text; the client may localize by code).

string
launch
One of:

Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.

object
active

Weighted workspace slots already held by starting/running agent runs.

integer | null format: int64
cap_usd

The budget cap that refused.

number | null format: double
effective_spend_usd

Effective spend of the refusing budget scope (spend + in-flight reservations).

number | null format: double
max

The workspace’s configured agent-concurrency cap.

integer | null format: int64
provider

The provider whose budget cap refused; absent for the workspace-wide cap.

string | null
required_labels

Runner labels a fail-policy placement required and no runner offered.

Array<string>

Example

{
"code": "not_found"
}

Project not found

Media typeapplication/json

The canonical JSON body of every error response. Every AppError serializes as this exact shape; code is the generated stable machine-readable vocabulary.

object
cap
One of:

Present only on an MCP budget refusal (429) — the refusing layer + retry hint.

object
layer
required

The refusing layer.

string
limit
required

The layer’s budget.

integer format: int64
retry_after_seconds

Seconds until a retry can pass, or null when it never will for this session.

integer | null format: int64
used
required

Calls already counted in the layer.

integer format: int64
code
required

Machine-readable, stable error code.

string
Allowed values: not_found unauthorized forbidden license_required license_expired fresh_auth_required source_not_released bad_request unprocessable precondition_failed conflict artifact_staging_busy artifact_staging_store_unavailable intervention_attachment_limit method_not_allowed rate_limited too_many_requests quota_exceeded mcp_cap_exceeded form_schema_invalid autosave_not_offered submit_not_offered idempotency_key_reused response_cap_reached required_missing database_error docker_error vault_error internal_error artifact_frames_unavailable identity_native_custody_unconfigured launch_concurrency_limit launch_already_active launch_not_pending launch_budget_exhausted launch_draining launch_side_effects_disabled launch_dispatch_disabled no_eligible_runner launch_image_unavailable pull_request_no_git_branch pull_request_no_project project_credential_missing project_credential_expired project_credential_revoked project_credential_substitution project_parent_credential_not_current project_lineage_invalid project_binding_missing project_binding_mismatch project_not_found project_capability_not_granted project_capability_unknown project_capabilities_required project_history_is_not_authority project_task_not_found project_task_project_missing project_task_not_active project_native_origin_missing project_broader_scope_required project_system_scope_required project_lifetime_invalid project_lifetime_not_finite project_lifetime_exceeds_maximum project_delegation_exceeds_parent project_renewal_not_allowed project_delegation_widened project_audience_mismatch project_deployment_claim_missing project_authority_disabled project_issuer_not_current project_operation_not_durable project_dispatch_gate_refused
details
One of:

Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.

object
key
required

The entitlement feature key that was hit, e.g. apps.max_count.

string
limit
required

The plan’s limit for this key.

integer format: int64
upgrade_url
required

Where to send the user to upgrade.

string
used
required

Current usage (count or bytes, per the key).

integer format: int64
error
required

Human-readable message (the server’s English text; the client may localize by code).

string
launch
One of:

Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.

object
active

Weighted workspace slots already held by starting/running agent runs.

integer | null format: int64
cap_usd

The budget cap that refused.

number | null format: double
effective_spend_usd

Effective spend of the refusing budget scope (spend + in-flight reservations).

number | null format: double
max

The workspace’s configured agent-concurrency cap.

integer | null format: int64
provider

The provider whose budget cap refused; absent for the workspace-wide cap.

string | null
required_labels

Runner labels a fail-policy placement required and no runner offered.

Array<string>

Example

{
"code": "not_found"
}

Structured server error

Media typeapplication/json

The canonical JSON body of every error response. Every AppError serializes as this exact shape; code is the generated stable machine-readable vocabulary.

object
cap
One of:

Present only on an MCP budget refusal (429) — the refusing layer + retry hint.

object
layer
required

The refusing layer.

string
limit
required

The layer’s budget.

integer format: int64
retry_after_seconds

Seconds until a retry can pass, or null when it never will for this session.

integer | null format: int64
used
required

Calls already counted in the layer.

integer format: int64
code
required

Machine-readable, stable error code.

string
Allowed values: not_found unauthorized forbidden license_required license_expired fresh_auth_required source_not_released bad_request unprocessable precondition_failed conflict artifact_staging_busy artifact_staging_store_unavailable intervention_attachment_limit method_not_allowed rate_limited too_many_requests quota_exceeded mcp_cap_exceeded form_schema_invalid autosave_not_offered submit_not_offered idempotency_key_reused response_cap_reached required_missing database_error docker_error vault_error internal_error artifact_frames_unavailable identity_native_custody_unconfigured launch_concurrency_limit launch_already_active launch_not_pending launch_budget_exhausted launch_draining launch_side_effects_disabled launch_dispatch_disabled no_eligible_runner launch_image_unavailable pull_request_no_git_branch pull_request_no_project project_credential_missing project_credential_expired project_credential_revoked project_credential_substitution project_parent_credential_not_current project_lineage_invalid project_binding_missing project_binding_mismatch project_not_found project_capability_not_granted project_capability_unknown project_capabilities_required project_history_is_not_authority project_task_not_found project_task_project_missing project_task_not_active project_native_origin_missing project_broader_scope_required project_system_scope_required project_lifetime_invalid project_lifetime_not_finite project_lifetime_exceeds_maximum project_delegation_exceeds_parent project_renewal_not_allowed project_delegation_widened project_audience_mismatch project_deployment_claim_missing project_authority_disabled project_issuer_not_current project_operation_not_durable project_dispatch_gate_refused
details
One of:

Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.

object
key
required

The entitlement feature key that was hit, e.g. apps.max_count.

string
limit
required

The plan’s limit for this key.

integer format: int64
upgrade_url
required

Where to send the user to upgrade.

string
used
required

Current usage (count or bytes, per the key).

integer format: int64
error
required

Human-readable message (the server’s English text; the client may localize by code).

string
launch
One of:

Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.

object
active

Weighted workspace slots already held by starting/running agent runs.

integer | null format: int64
cap_usd

The budget cap that refused.

number | null format: double
effective_spend_usd

Effective spend of the refusing budget scope (spend + in-flight reservations).

number | null format: double
max

The workspace’s configured agent-concurrency cap.

integer | null format: int64
provider

The provider whose budget cap refused; absent for the workspace-wide cap.

string | null
required_labels

Runner labels a fail-policy placement required and no runner offered.

Array<string>

Example

{
"code": "not_found"
}