Skip to content

Apply Proposal

POST
/api/v1/self-improvement/proposals/{proposal_id}/apply

Apply an approved proposal. Chairman-only.

For budget_rebalance proposals: also invokes BudgetService.reallocate AFTER the proposal flips to applied. If the budget coordinator raises, returns 503 and the proposal STAYS in approved so the chairman can retry.

For model_reroute and prompt_ab_winner: applying flips the status + emits SELF_IMPROVEMENT_APPLIED. The downstream agent config / prompt-override change is informational for v1; full auto-apply is a v2 extension (see Plan 204-03 SUMMARY).

Authorizations

Parameters

Path Parameters

proposal_id
required
string format: uuid

Responses

200

Successful Response

Returned by POST /proposals/{id}/apply on success.

object
after
required
object
key
additional properties
any
applied_at
required
string format: date-time
before
required
object
key
additional properties
any
proposal_id
required
string format: uuid
proposal_type
required
string
Allowed values: prompt_ab_winner model_reroute budget_rebalance
role
required
Any of:
string
run_log_id
required
Any of:
string format: uuid

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string