Przejdź do treści

Operator-task-plan-consent.v1

Source schema: doc/schemas/operator-task-plan-consent.v1.schema.json

Approval of the complete exact immutable plan of ONE admitted run, including patch addresses. It cannot be reused for a second run. Delegation additionally requires a live signed loop mandate; rollback never requires live consent.

Governing Basis

Project Lineage

Fields

Field Required Shape Description
schema yes const: operator-task-plan-consent.v1
schema/v yes const: 1
run/ref yes ref: operator-task-common.v1.schema.json#/$defs/ref
plan/ref yes ref: operator-task-common.v1.schema.json#/$defs/ref
plan/digest yes ref: operator-task-common.v1.schema.json#/$defs/digest
pins yes object
valid/until yes ref: operator-task-common.v1.schema.json#/$defs/timestamp
confirmation/mode yes enum: direct, delegated
confirmation/ref no ref: operator-task-common.v1.schema.json#/$defs/ref
supersedes/digest no ref: operator-task-common.v1.schema.json#/$defs/digest A new direct approval commits to the retained delegated consent. It preserves the same run, plan and pins, without replaying completed steps or renewing the mandate.

Conditional Rules

Rule 1

When:

{
  "required": [
    "confirmation/mode"
  ],
  "properties": {
    "confirmation/mode": {
      "const": "delegated"
    }
  }
}

Then:

{
  "required": [
    "confirmation/ref"
  ],
  "not": {
    "required": [
      "supersedes/digest"
    ]
  }
}

Field Semantics

schema

  • Required: yes
  • Shape: const: operator-task-plan-consent.v1

schema/v

  • Required: yes
  • Shape: const: 1

run/ref

  • Required: yes
  • Shape: ref: operator-task-common.v1.schema.json#/$defs/ref

plan/ref

  • Required: yes
  • Shape: ref: operator-task-common.v1.schema.json#/$defs/ref

plan/digest

  • Required: yes
  • Shape: ref: operator-task-common.v1.schema.json#/$defs/digest

pins

  • Required: yes
  • Shape: object

valid/until

  • Required: yes
  • Shape: ref: operator-task-common.v1.schema.json#/$defs/timestamp

confirmation/mode

  • Required: yes
  • Shape: enum: direct, delegated

confirmation/ref

  • Required: no
  • Shape: ref: operator-task-common.v1.schema.json#/$defs/ref

supersedes/digest

  • Required: no
  • Shape: ref: operator-task-common.v1.schema.json#/$defs/digest

A new direct approval commits to the retained delegated consent. It preserves the same run, plan and pins, without replaying completed steps or renewing the mandate.