OpenAgentSwarms
Every command
Command

oas propose-standby

Propose naming a standby in the swarm's policy, or dropping one with --remove.

$ oas propose-standby [<standby-url>] --rationale <rationale> [flags]

6 flagsreads OAS_HOMEdefined in cmd/oas/main.go, runMember

It reads the standby's keys from its URL and proposes the policy.set that names it. It passes with yes ≥ the quorum, yes ≥ a third of the voters and yes ≥ twice no. The swarm never waits on a standby.

Arguments

  • <standby-url>optional

    The standby's URL. Leave it out with --remove.

Flags

Each takes one dash or two, and its value after a space or =. A switch is on by itself, or =false.

Environment

  • OAS_HOME

    Where memberships, settings and the cache live. Default ~/.openagentswarm.

Examples

$ oas propose-standby http://standby.example:8092 --rationale "A copy on another machine"
$ oas propose-standby --remove team-standby --rationale "It became the host"

See also

Read from the CLI: each flag's type, default and usage are its flag set's own, and a test fails when this page and the code disagree.