spec-editor gate (Pro)
Pro command. Available with the spec-editor Pro plugin; the open core does not include it.
Gate approvals: risk-based auto/consensus/human policy per stage.
Usage
spec-editor gate [OPTIONS] COMMAND [ARGS]...
Subcommands
| Subcommand | Description |
|---|---|
approve |
Approve a pending gate request for ELEMENT_ID. |
list |
List pending gate approval requests. |
reject |
Reject a pending gate request for ELEMENT_ID. |
release |
Lift the release-check hold on REVISION; it is checked again. |
risk |
Compute (read-only) the deterministic risk assessment for ELEMENT_ID. |
spec-editor gate approve
Approve a pending gate request for ELEMENT_ID.
spec-editor gate approve <id> --gate promote --by human:cli
Usage
spec-editor gate approve [OPTIONS] ELEMENT_ID
Arguments
| Argument | Required |
|---|---|
ELEMENT_ID |
yes |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--gate |
text | Gate name (formulate/plan/promote/…) Required. | |
--by |
text | human:cli |
Approver identity (human:* for human gates) |
--path, -p |
path | . |
Path to project (or SPEC_EDITOR_PROJECT) |
--json |
flag | Output as JSON |
spec-editor gate list
List pending gate approval requests.
spec-editor gate list -p . --json
Usage
spec-editor gate list [OPTIONS]
Options
| Option | Type | Default | Description |
|---|---|---|---|
--path, -p |
path | . |
Path to project (or SPEC_EDITOR_PROJECT) |
--json |
flag | Output as JSON |
spec-editor gate reject
Reject a pending gate request for ELEMENT_ID.
spec-editor gate reject <id> --gate promote --by human:cli
Usage
spec-editor gate reject [OPTIONS] ELEMENT_ID
Arguments
| Argument | Required |
|---|---|
ELEMENT_ID |
yes |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--gate |
text | Gate name (formulate/plan/promote/…) Required. | |
--by |
text | human:cli |
Approver identity (human:* for human gates) |
--path, -p |
path | . |
Path to project (or SPEC_EDITOR_PROJECT) |
--json |
flag | Output as JSON |
spec-editor gate release
Lift the release-check hold on REVISION; it is checked again.
spec-editor gate release 3f9a1c2 -p .
Usage
spec-editor gate release [OPTIONS] REVISION
Arguments
| Argument | Required |
|---|---|
REVISION |
yes |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--by |
text | human:cli |
Who lifts the hold |
--path, -p |
path | . |
Path to project (or SPEC_EDITOR_PROJECT) |
--json |
flag | Output as JSON |
spec-editor gate risk
Compute (read-only) the deterministic risk assessment for ELEMENT_ID.
Never writes: no journal event, no gate request.
spec-editor gate risk <id> -p .
Usage
spec-editor gate risk [OPTIONS] ELEMENT_ID
Arguments
| Argument | Required |
|---|---|
ELEMENT_ID |
yes |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--path, -p |
path | . |
Path to project (or SPEC_EDITOR_PROJECT) |
--json |
flag | Output as JSON |