Skip to content

Software Requirements Specification Part 9

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

labview-benchmark-actor — Software Requirements Specification (part 9 of 11)

ID Requirement Rationale Fit Criterion Verification
LBA-REQ-095 The system shall bind extension, AGENTS, lbabus, and human-task SemVer to one release definition, emit deterministic noninteractive task receipts, and admit a stable Marketplace release only after its bytes match the canonical GitHub Release, so review chronology and released system identity cannot drift. Signed 1.4.1 review rejected unindexed task output, ambiguous clocks, independent internal versions, and Marketplace-first publication. release-components.json is checked by a repository precommit hook and local gate; tasks use dedicated terminals and indexed UTC/monotonic receipt events; the publish workflow requires and hashes the existing GitHub Release VSIX before stable vsce publish. test/human-task-runner.mjs, test/release-components.mjs, and the release-component-versioning local gate prove clock/index receipts, drift rejection, final staged metadata, target-main release cutting, and GitHub-first stable publication.
LBA-REQ-096 The generated agent contract shall preserve the exact standards-workbench score and conservatively overlay every - Missing Proof cell with evidence-counted candidate risk and artifact-dependent forward actions, so a static PASS cannot be mistaken for release readiness. repo-standards-review correctly found the repository artifacts mature, but its six - cells did not represent human, hosted, cross-plane, immutable-release, Marketplace, or experiment-lifecycle proof. standards-score-baseline.json and release-risk-baseline.json retain both score layers; a pure evaluator derives 12/28 BLOCKED, requires committed artifacts for present proof, and fails on drift; Governance Review and AGENTS expose all six risks/actions. test/release-risk.mjs plus standards-release-risk-baseline prove score derivation, artifact resolution, gate completeness, exact workbench identity, AGENTS awareness, and receipt wiring.
LBA-REQ-097 The system shall classify every experiment lifecycle and continuously verify before verdict that prohibited experiments do not reach production and the local CHANGELOG/system-version/test/gate/correspondence/package KPI is current, so prototypes cannot silently become active implementations. Historical and exploratory directories outlive their learning; without lifecycle and production boundaries they can be reused accidentally, while end-loaded release checks allow incremental documentation drift. RTM paths govern active experiments; an override manifest classifies the remainder; a pure verifier rejects gaps/references; quick/full local KPI scripts retain machine receipts and AGENTS states numeric targets. test/experiment-governance.mjs plus experiment-lifecycle-local-kpi prove full inventory, prohibited-reference rejection, superseded replacement, KPI wiring, and agent guidance.
LBA-REQ-098 The system shall gate autonomous actor benchmark execution through an enrolled-signer protocol that binds freshness, target plane, allowlisted workload, exact candidate identity, replay state, plus an actor-signed outcome to one request digest. The governed mesh binds dispatch through fulfillment, but host-driven SSH and hypervisor controls cannot prove that an actor independently authorized the task or prevent a captured request from being replayed against another candidate. autonomousActorProtocol.mjs builds and validates Ed25519-signed request/response envelopes over the existing bounded bus-msg@1 transport, requiring a short expiry, requester nonce, candidate commit/tree/bundle SHA-256, local workload allowlist, one-task concurrency, content-addressed artifacts, and bounded failure codes. node experiments/mesh-fulfillment/autonomousActorProtocol.selftest.mjs proves an authorized request plus signed success/BUSY outcomes while rejecting expiry, replay, unallowlisted work, tampering, un-enrolled requesters, request rebinding, and unbounded failures; gated by mesh-autonomous-actor-protocol.
LBA-REQ-099 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. A signed protocol alone does not own live delivery, restart state, one-task concurrency, constrained subprocess invocation, or response loss; SSH-per-task would retain the host as the execution plane. Linux uses the Node 24 service/daemon with systemd; Windows uses a native Windows PowerShell 5 daemon, Startup persistence, fixed-path Git OpenSSL Ed25519, and a fixed PowerShell LabVIEWCLI workload. Both bind the same bus-msg@1 metadata and signed protocol without request-derived commands. node scripts/lba.mjs actor-service-check runs 31 protocol/service/daemon/PowerShell cases, including canonical JSON and digest parity with attest.mjs; live Windows evidence proves reboot persistence, enrolled request verification, fixed LabVIEW result 3, and an actor-signed response accepted by validateActorResponse; gated by mesh-autonomous-actor-service.
LBA-REQ-100 The system shall reduce a complete signed cross-plane autonomous actor response set of at least three distinct actors to one fail-closed candidate-bound consume decision. The live N=3 proof required manual request/result correlation and decision assembly, so a missing, duplicated, forged, wrong-task, wrong-answer, or candidate-drifted response could be mishandled outside the actor protocol. autonomousN3Controller.mjs builds one signed actor-bound request per roster entry and revalidates every requester envelope, actor signature, task, plane, exact candidate, unique response, SUCCESS, and fixed known answer before emitting autonomous-n3-decision@1 with consume:true. node experiments/mesh-fulfillment/autonomousN3Controller.selftest.mjs proves the complete N=3 path across ten cases; lba actor-n3-decide emits the same decision from explicit dispatch/response/key/sealed-descriptor files; gated by mesh-autonomous-n3-controller.
LBA-REQ-101 The system shall expose the lifecycle and ordered evidence of a local active LabVIEW capture through a pathless, read-only MCP resource contract. ProjectBuddy #250 needs timely frame/event reads while LBA capture remains active, but the separate stdio MCP server cannot access the extension process's in-memory activeCapture and host-specific storage paths are not a stable consumer interface. active-capture-session@1 assigns an opaque UUID and lifecycle (capturing, finalizing, stopped, failed) to each run. resources/list exposes only bounded metadata/session URIs; resources/read returns a session/batch or an explicitly requested frame resource. Batches preserve frame/sample sequence and capture timestamps, mark gaps/partial writes, enforce a per-frame size bound, and never expose absolute paths or frame bytes by default. Reads never mutate capture. test/active-capture-mcp.mjs exercises fake Global Storage roots and spawned stdio MCP for pathless discovery, lifecycle, ordered batch cursors, explicit frame resources, and fail-closed malformed/partial/path-traversal cases; gated in npm test.

| LBA-REQ-102 | The system shall record an explicitly requested Windows desktop workload at a bounded operator-selected cadence without locating or launching LabVIEW. | A standalone synthetic UI live proof must not depend on NI activation or inherit an unreviewable 12-fps inference queue. | A separate Capture Desktop command records desktop-capture with an integer interval of 1 through 120 seconds (default 60), emits the existing pathless lifecycle/resources, and uses the existing stop/finalization path; Capture LabVIEW Launch retains its 12-fps behavior. | Host-free activation, argument, cadence, and lifecycle fixtures in npm test; Windows desktop execution remains a separate live-proof gate. | | LBA-REQ-103 | The system shall publish the repository wiki as an Obsidian vault generated from docs/ by the shared repo-standards-review generator, in which every requirement page links its test. | The operator could not open the wiki in Obsidian (1.5.2 Marketplace rejection, #64), and hand-maintained pages drift from the governed sources, so the wiki is derived from docs/; the ecosystem wiki standard and its registry export need the one shared generator. | .repo-standards-review/wiki_generate.py under .wiki-generator.json passes with no problem and writes one page per RTM requirement and per test-plan item, every requirement page lists its TestID, two runs are byte-identical, .obsidian/app.json and the open-in-Obsidian how-to are present, no aliased wikilink remains outside code in the generated wiki, --out refuses the member root, its parent and an unrelated non-empty directory, and three negative controls fail closed; after publishing, --check finds no drift in a fresh wiki clone. | The wiki-vault gate in verify-local-gates (T-103); the wiki-publish workflow verifies the published wiki with --check. | | LBA-REQ-104 | The system shall verify a fork's wiki-submission issue against upstream's own test definitions, treating fork content strictly as data, and label it attested or not-attested, with a partner allow-list, held outside the repository, that rejects everything while unset or empty. | Only evidence that upstream re-verified without running fork code may be called attested (#112). | scripts/wiki_submission.py rejects an unlisted submitter first, then oversize, malformed, tampered, traversing or unknown-test submissions, and accepts a matching one, in offline fixtures; an unset or garbage allow-list rejects all, and a canary login never appears in any output or in the tree. | node test/wiki-submission.mjs (T-104). |


Each requirement has its own page (104 requirements):


Generated from docs/requirements/srs.md on develop. Edit the source in the repository, not this page.

Clone this wiki locally