Skip to content

LBA REQ 099

github-actions[bot] edited this page Nov 20, 2026 · 3 revisions

LBA-REQ-099: Persistent lbabus autonomous actor service

Status

Proven

Area

Deployment / security / operation (ADR-0082)

Statement

The system shall run each autonomous actor as a persistent cross-platform lbabus service that durably admits one fixed local workload per signed nonce, stores bounded artifacts in guest-local content-addressed storage, and retries cached actor-signed outcomes without re-execution.

Rationale

The signed protocol needs an actor-owned process that survives duplicate delivery, response loss, and restart while preventing request-controlled command execution and concurrent LabVIEW workloads.

Acceptance Criteria

  • The daemon launches lbabus net listen --log and accepts only bus-msg@1 CLAIM frames whose sender and task metadata bind to the signed request.
  • Nonce, signed outcome, and active-task state are atomically persisted; restart does not execute an accepted request twice and turns an interrupted active task into a signed bounded failure.
  • Exactly one fixed local adapter executes at a time without a shell or request-derived argv; another valid request receives an actor-signed BUSY outcome.
  • The actor requires its configured candidate commit, tree, and bundle SHA-256 to equal the signed request.
  • Results are at most 64 KiB; each artifact is at most 16 MiB and stored guest-locally by SHA-256 while only bounded metadata crosses the bus.
  • The receive-log cursor advances only after lbabus net send --message-file succeeds; retries return the cached actor-signed outcome without re-executing.
  • Linux actors run the service under pinned Node 24; Windows actors run only native Windows PowerShell 5 for the daemon and fixed LabVIEWCLI workload, using fixed-path OpenSSL solely for protocol-compatible Ed25519 operations.
  • Windows canonical JSON and SHA-256 output match attest.mjs, the actor key remains guest-local, inbound lbabus is narrowly firewall-scoped to the configured port, and Startup persistence survives reboot and interactive logon.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

TestID

T-099

CodeRef

experiments/mesh-fulfillment/autonomousActorService.mjs; experiments/mesh-fulfillment/autonomousActorService.selftest.mjs; experiments/mesh-fulfillment/autonomousActorDaemon.mjs; experiments/mesh-fulfillment/autonomousActorDaemon.selftest.mjs; experiments/mesh-fulfillment/autonomousActorDaemon.ps1; experiments/mesh-fulfillment/autonomousActorPowerShell.selftest.mjs; experiments/mesh-fulfillment/runLabviewKnownAnswer.ps1; experiments/mesh-fulfillment/autonomousActorProtocol.mjs; scripts/provision-autonomous-linux-actor.sh; scripts/provision-autonomous-windows-actor.ps1; scripts/lba.mjs; experiments/verify-local-gates.mjs; docs/architecture/adr/ADR-0082-persistent-lbabus-autonomous-actor-service.md

RTM Status

Proven

Clone this wiki locally