carlos / platform Public

region-ha-p3b2-ops

Follow-up to the merged P3b-2 (e129f535, v0.34.5 on dev). It builds the pieces the dev Standby witness card was blocked on (B1, B2, B5). It changes no fixed-box behaviour, and no AWS resource is created by merging.

  • B1 probe driver (scripts/region-group-probe.py): the witness Step 0 Enter/Exit Standby probe on an unchanged member. It holds the group lock, keeps a hash-chained probe journal and makes no box write. It reuses the roll tool's State, Journal, AWS and its single classify() decider. Pending:Wait means divergence, a default ABANDON means FAIL, and nothing ever completes a lifecycle action. Probe and roll journals refuse each other. The driver prints a candidate provider-observation record; the controller installs it.
  • B2 approved session document (infra/modules/region-group-operator-document): a NonInteractiveCommands document with runAsElevated. Its allowedPattern admits only the roll tool's framed commands. A harness branch is added only while harness_bundle_sha256 is set. Tests show other commands are refused.
  • B5 fault harness (scripts/region-group-fault/): - one nft table with kernel element timeouts; - an expiry timer, armed and verified before any drop; - an edge ExecStartPre one-shot bound to the iid, boot and permit transaction, which never restarts anything; - a pause mode that cuts only the edge user; - fault-now. It was rehearsed live on throwaway root runners (3 runs, all terminated). Final run: prestart, consumed marker, kernel fail-safe, pause and repair survival all PASS.
  • R10: roll --transaction <id>, so the harness can be armed with the roll's transaction before the roll.
  • Witness runbook and operator note updated.

Reviews: Opus task reviews for B1 (clean, plus 3 minor follow-ups) and B5 (one fix round). The whole-branch review is in progress. A census is needed for the new module.

Not in this branch: the pinfra PR #66 (operator role, host and document instance) is open and not merged or applied. There is no release, apply or drill.

Human

Region HA P3b-2 operability: Standby probe driver, approved maintenance session document, Step 3 fault harness (rehearsed), roll --transaction. Pinfra PR #66 stays open.

Commits 15
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity