CLI reference / resources / adopt

stado resources adopt

Invocation

stado resources adopt --owner <OWNER> --policy-ref <POLICY_REF> --expect-revision <EXPECT_REVISION> <RESOURCE_ID>

Purpose

Explicitly adopt one observed resource into Stado ownership

Required inputs and options

Input or optionContract
<RESOURCE_ID>Canonical `stado://` resource id from `resources show`
--owner <OWNER>Accountable owner recorded on every autonomous action
--policy-ref <POLICY_REF>Versioned autonomy policy governing the adopted resource
--expect-revision <EXPECT_REVISION>Exact provider revision observed during review

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.