Repository navigation
ADR 0029
github-actions[bot] edited this page Nov 19, 2026
·
2 revisions
- Status: Accepted
- Date: 2026-08-02
- Deciders: operator directive (2026-08, "LabVIEW runs on capable instances, non-LabVIEW parts on codespaces") + agent
- Relates to: LBA-REQ-041, ADR-0028 (distributed N-instance workload), ADR-0023 (mesh actors), docs/roadmap.md (North Star cross-plane mesh)
The distributed executor (ADR-0028) spreads a workload across a heterogeneous
pool, but it assumed every instance could run every task. That is false for the
real cross-plane workload: LabVIEW lives only on capable instances — this host
(and, later, LabVIEW VMs) — while codespaces are node-only. A VI task
(LabVIEWCLI RunVI / VI Analyzer) sent to a codespace would simply fail. The
operator directed that LabVIEW runs on capable instances and the non-LabVIEW parts
run on codespaces.
-
Instances advertise capabilities: the host advertises
labviewiff LabVIEWCLI is installed, plusnode; a codespace advertisesnodeonly. -
Tasks declare required capabilities: a LabVIEW task requires
labview; a node task requiresnode. -
routeByCapabilitygroups tasks by their required-capability signature and capacity-weight-splits each group (reusing the ADR-0028 partition) across only the instances that advertise those capabilities — throwing if no instance can satisfy a required capability (fail-closed on an impossible routing). - Ripgrep-only on every instance, as in ADR-0028.
-
Fail-closed gate (
capability-aware-routing): the committed real receipt must validate — every task ran on a capability-matching instance, the re-route from the recorded capabilities + weights reproduces the shards, the shards are disjoint + cover every task + distinct-instance + ripgrep-only, and every task passed.
This is requirement LBA-REQ-041.
- The fleet does real cross-plane work correctly: LabVIEW tasks never land on an instance that cannot run them, and non-LabVIEW work still spreads across the whole pool.
- Proven live: a real
LabVIEWCLI RunVIactivation probe routed to the LabVIEW-capable host while 43 node self-tests spread across the host + two codespaces — all passed concurrently, receipt gated. - This is the routing substrate for the North Star cross-plane benchmark mesh: the next step is a second LabVIEW-capable instance (a Windows or Linux VM) so LabVIEW tasks themselves distribute across planes for real cross-plane comparison.
Generated from docs/architecture/adr/ADR-0029-capability-aware-routing.md on develop. Edit the source in the repository, not this page.