Skip to content

Architecture Packet Part 3

github-actions[bot] edited this page Nov 19, 2026 · 1 revision

labview-benchmark-actor — Architecture Description (part 3 of 6)

AD Decision Rationale Traces to
AD-1 Extract as a standalone extension, not a fork Clean boundary; independent release cadence LBA-REQ-001
AD-2 One artifact, two install targets Reproducible benchmarking baseline on Codespace and VM LBA-REQ-002
AD-3 Single schema-versioned run-result contract Decouples actor from viewer; enables reproducibility checks LBA-REQ-003
AD-4 Single selected-time source of truth Guarantees cursor↔picture synchronization LBA-REQ-004/005
AD-5 TCP for order, UDP for presence/liveness (advisory time) Reliability where needed, low latency where tolerable LBA-REQ-007
AD-6 Loopback / private-network bind by default Offline, air-gapped, no public exposure LBA-REQ-007
AD-7 Mirror the collab-bus semantics on the new transport Preserve a proven coordination model across a transport change LBA-REQ-007
AD-8 Store all run data in the VM-local mprr ring buffer; bus carries inter-actor comms only Reuse the absorbed mprr model's governed bounded-RAM ring buffer; keep the bus data-agnostic; cleanroom isolation LBA-REQ-009
AD-9 No cross-VM comparison; concentrate runs to the host for an ollama layer Preserve cleanroom isolation; improve comparison on one concentrated corpus LBA-REQ-010
AD-10 Own the mprr ring/timing model in-repo (absorbed, dependency-free); retire the external svelderrainruiz/mprr dependency Self-contained + testable in-repo; no outside schema to track; the mprr name is kept for the local model (ADR-0009) LBA-REQ-003, LBA-REQ-005, LBA-REQ-009
AD-11 Correlate CPU/RAM/disk to the frame timeline with a trigger-anchored pre/post window The resource cost of a benchmarked action is readable against its own run LBA-REQ-011
AD-12 Embed version-pinned agent base instructions in the lbabus binary Same version ⇒ byte-identical, hardenable base instructions across sessions LBA-REQ-012
AD-13 Priority + addressee envelope on the bus, additive and back-read-compatible -- RETIRED (ADR-0048): a GitHub-Discussion transport feature (post --priority/--to, poll --min-priority/--to-me), removed with the transport (ADR-0047); the live-only net bus carries no priority/addressing (no async inbox to triage; net send --hosts targets a peer) Triage without breaking the Discussion-era collab-message schema for older clients (historical; superseded) LBA-REQ-013
AD-14 Deterministic cross-plane benchmark compare (the seriesHash/resultHash must match; the screenshot is a witness) Substrate-independent correctness across LINUX/WIN LBA-REQ-014, LBA-REQ-015
AD-15 GitFlow branch governance (main protected + develop integration) Passes the repo-standards CM gate without weakening CI publish authority (ADR-0010) LBA-REQ-016
AD-16 Version-pin every LabVIEW authoring-lane dependency in a governed manifest Reproducible authoring-lane build on the clean room LBA-REQ-017
AD-17 Delegate validated uplift to a capability-matched cleanroom AI provider over the bus Providers run where the licence/capability lives; the host observes gated outcomes (ADR-0011) LBA-REQ-018
AD-18 Expose the actor's tools to agents via a Model Context Protocol server A standard, agent-discoverable tool surface (ADR-0012) LBA-REQ-019
AD-19 Bidirectional WIN↔LINUX sign-off gates every shared-component publish Neither plane ships an unreviewed shared release LBA-REQ-020
AD-20 Enforce a 42010 correspondence graph as fail-closed CI gates Traceability that cannot silently rot (ADR-0013) LBA-REQ-021
AD-21 Generate the requirement traceability matrix from the canonical sources rather than hand-maintaining it A single derived, gated view that cannot drift from the SRS / RTM / architecture / ADRs (ADR-0013) LBA-REQ-022
AD-22 Corroborate each component release via a multi-witness quorum (the Actor Corroboration Grid) Independent cross-environment agreement raises release confidence and resists forgery (ADR-0014) LBA-REQ-023
AD-23 Score the corroboration quorum as a graded majority over tiered anchors Heterogeneous witnesses compose; one outage tolerated; divergence is actionable (ADR-0015) LBA-REQ-024
AD-24 Sign and verify the whole corroboration provenance chain before consumption No unattested release is installable; tamper-evidence is external (ADR-0016) LBA-REQ-025
AD-25 Require distinct enrolled environments for a valid quorum Agreement cannot be forged by cloning one environment (ADR-0017) LBA-REQ-026
AD-26 Human sign-off is a separate gate atop the machine quorum, on a dual reviewer station A subjective judgment complements but does not replace the deterministic quorum (ADR-0018) LBA-REQ-027
AD-27 Witnesses beacon their verdicts over the lbabus mesh Live, distributed verdict collection reusing the bus, no new transport (ADR-0019) LBA-REQ-028
AD-28 Extend the MCP tool surface with grid-orchestration tools One discoverable agent surface drives the grid (ADR-0020, ADR-0012) LBA-REQ-029
AD-29 Non-release pull requests target develop, not main Prevents the stale main-based pull-request class from dumping integration onto the release branch (ADR-0021, ADR-0010) LBA-REQ-030
AD-30 Publish corroboration provenance to a signed Merkle transparency log and verify inclusion before install Append-only, offline-verifiable provenance; no unattested or un-logged release is installable (ADR-0022, ADR-0016) LBA-REQ-031
AD-31 One-command lba init provisions an Ubuntu 24.04 golden VM with LabVIEW 2026 CE + VIPM; a headless probe VI confirms activation; the VM is minted locally and registered as a mesh actor From-scratch, reproducible Linux onboarding unlocks the OS comparison axis without a shared box registry (ADR-0023) LBA-REQ-033, LBA-REQ-038, LBA-REQ-039, LBA-REQ-044, LBA-REQ-046
AD-32 Govern the bounded ISO/IEC/IEEE 26514 information-for-users set with a fail-closed completeness + command-coverage gate Non-gated documentation drifts from the product; enforcing the bounded product set keeps user information current by construction (ADR-0024) LBA-REQ-034
AD-33 Generate the 29119-3 test report + ISO 10007 status accounting from the verification apparatus and gate it fail-closed on drift The repo recorded a test plan but never the executed outcomes or controlled configuration state; generating them from the enforced apparatus keeps assurance current by construction (ADR-0025) LBA-REQ-035
AD-34 Make the signed, corroborated release procedure a first-class 15289 information item and gate its cited enforcement points + invariants fail-closed The release flow was scattered across the CM plan and the grid requirements with no single procedure; gating it keeps the procedure resolvable and invariant-complete by construction (ADR-0026) LBA-REQ-036
AD-35 Self-audit the five-lens standards posture at clause-evidence granularity and gate 25/25 fail-closed The 25/25 audit was a point-in-time score; a generated, fail-closed self-audit makes full compliance corroborated by construction and closes F4 (non-gated conformance) for all standards (ADR-0027) LBA-REQ-037
AD-36 Distribute the workload across an N-instance ripgrep-only pool (host + codespaces + VMs), dynamically discovered, capacity-weighted, and budget-capped Spreading load off the host toward the North Star distributed mesh; a fail-closed gate replays a real 3-instance receipt (ADR-0028) LBA-REQ-040
AD-37 Route each distributed task only to an instance advertising the capability it requires (LabVIEW to LabVIEW-capable instances, node work anywhere) LabVIEW lives only on capable instances; capability routing makes the heterogeneous fleet do real cross-plane work correctly (ADR-0029) LBA-REQ-041
AD-38 Prove cross-plane LabVIEW liveness by running the known-answer probe on every LabVIEW plane (host + LabVIEW VMs), requiring >= 2 activated planes Real cross-plane comparison needs more than one activated LabVIEW plane; the golden VM (ADR-0023) becomes a proven second plane (ADR-0030) LBA-REQ-042
AD-39 Verify cross-plane benchmark determinism by matching the same VI Analyzer config's resultHash across LabVIEW planes Turns liveness into objective, reproducible comparison (the North Star); a divergent resultHash fails the gate (ADR-0031, LBA-REQ-015) LBA-REQ-043
AD-40 Provide a human-assisted shared-tmux bridge to the golden VM — the agent drives the interactive shell while the human types secrets directly on the VM Agent-driven onboarding needs credentials (LabVIEW/VIPM activation, sudo) that must never transit the agent; a secret-safe bridge keeps the human in the loop for secrets only (ADR-0032) LBA-REQ-045
AD-41 Stream the golden VM live status (CPU busy%, LabVIEW/vipm/Xvfb) over the bridge and analyze captured timelines for idle spans, so no long stretch of "dead time" is invisible to human or agent Human-assisted onboarding has long silent waits (LabVIEW idle while VIPM connects); live visibility plus a deterministic idle-time analysis surface and quantify the dead time to drive it out (ADR-0023) LBA-REQ-047
AD-42 Benchmark the golden VM by mass-compiling a pinned public LabVIEW source (ni/labview-icon-editor) with LabVIEWCLI, recording a timing-invariant result identity plus the compile time A MassCompile of a pinned public source is a real, reproducible LabVIEW workload; a machine-independent result hash makes it cross-plane comparable (the North Star) while the compile time is the performance metric (ADR-0023) LBA-REQ-048
AD-43 Gate the golden-VM provisioner's headless-LabVIEW readiness by statically verifying (against the actual script text) that it installs Xvfb + dual-basename VI Server config + quoted access + reboot A fresh provision was not headless-ready without three manual fixes; binding a fail-closed receipt to the provisioner text keeps the one-command First Win from silently regressing (ADR-0023) LBA-REQ-049
AD-44 Unify the per-benchmark cross-plane receipts into one generated benchmark grid (identity per plane + performance), gated fail-closed on any determinism violation The North Star is a reproducible cross-plane comparison; a single generated grid is the artifact that comparison is for, and a fail-closed gate makes an identity divergence impossible to merge (ADR-0031, roadmap Phase 4) LBA-REQ-050
AD-45 Cover the First Win umbrella (LBA-REQ-033) by composing its Proven slices into one lba init flow, gated by first-win-onboarding on step-realization resolution + a confirmed live activation The one-command golden-VM onboarding is realized by the provision + headless-readiness + activation-receipt + mesh-registration slices; composing them into a single gated flow proves the end-to-end First Win without re-implementing it (ADR-0023 Phase 1) LBA-REQ-033
AD-46 Reproduce the icon-editor's real CI as a 2-actor benchmark grid in the NI LabVIEW container -- the builder actor builds the Editor Packed Library with native LabVIEWCLI ExecuteBuildSpec (no g-cli) A well-known community project's own CI (build PPL + LUnit test) becomes a governed, cross-plane-comparable benchmark; LabVIEW runs licensed + headless in the NI container, so ExecuteBuildSpec builds the PPL directly (ADR-0033, roadmap Phase 2) LBA-REQ-051
AD-47 Build the Linux g-cli launcher from its Rust source (rust-proxy crate) and prove it end-to-end on host LabVIEW -- the enabler for the grid's LUnit tester actor g-cli has no prebuilt Linux binary; building the rust-proxy with cargo and driving a real LabVIEW round-trip (launch VI -> echo args over TCP -> exit 0) proves g-cli works on this plane before wiring g-cli ... lunit (ADR-0033, roadmap Phase 2) LBA-REQ-052
AD-48 Complete the 2-actor icon-editor grid with the LUnit tester -- run g-cli lunit on the project with the LUnit framework from the correct icon-editor-developer.vipc (not the CI-runner runner_dependencies.vipc) The Rust-built g-cli (AD-47) drives the icon-editor's real unit-test suite; the benchmark's machine-independent identity is the test inventory (cross-plane comparable) while pass/fail outcomes are environment-dependent (ADR-0033, roadmap Phase 2) LBA-REQ-053
AD-49 Assemble the whole benchmark suite into one Benchmark Observatory -- a benchmark-type x plane coverage matrix + determinism ledger + data-driven frontier, above the per-benchmark grid As the suite grows along its axes (type x plane x OS x hardware), one governed, fail-closed artifact maps what has been measured where, whether it reproduces, and what to measure next; derived from committed receipts (ADR-0034, roadmap Phase 2) LBA-REQ-054
AD-50 Make the human-in-the-loop a machine-observable signal -- the Handoff Beacon capture-status: the extension emits capture-status.json (capturing -> stopped/failed with a rich payload) that the agent polls (await-handoff.sh) so a human "run a VI, then Stop" step is AWAITED, not guessed, and the agent jumps straight to the peak-write evidence The reviewer VM exists because some steps need a human; without a signal those steps are invisible to the agent except via chat. A beacon turns the Stop into an awaited event + evidence pointer (ADR-0035, first instance of the Handoff Beacon Protocol) LBA-REQ-055

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

Clone this wiki locally