Skip to content

LBA REQ 039

github-actions[bot] edited this page Nov 19, 2026 · 2 revisions

LBA-REQ-039: Mesh-actor registration gated on activation

Status

Proven

Area

Deployment / onboarding (ADR-0023 Phase 1 — register the golden VM as a mesh actor)

Statement

The system shall register a golden VM as a mesh actor only after its activation receipt confirms LabVIEW is activated, so a fail-closed gate refuses registration for an unconfirmed or tampered receipt.

Rationale

ADR-0023's onboarding invariant is that activation is confirmed before a VM joins the mesh. Binding registration to the LBA-REQ-038 activation receipt enforces that an unactivated or non-operational box cannot be enrolled as a benchmark actor — the confirmation and the enrollment are one fail-closed chain.

Acceptance Criteria

  • registerGoldenActor validates the activation-receipt@1 (schema, digest, verdict) and only then composes the golden mesh-actors.csv row.
  • Registration is idempotent: re-registering the same role + actor_id replaces the row and preserves existing mesh rows.
  • An unactivated or tampered receipt is REFUSED and the registry is left untouched (proven by the self-test).

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

The registrar experiments/activation/registerMeshActor.mjs plus its self-test are gated by mesh-actor-registration-requires-activation in verify-local-gates and mapped in the RTM. Authored under the singular-requirement directive (one shall).

TestID

T-039

CodeRef

experiments/activation/registerMeshActor.mjs; experiments/activation/registerMeshActor.selftest.mjs; experiments/activation/fixtures/activation-receipt.json; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally