Skip to content

LBA REQ 074

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

LBA-REQ-074: GitHub-native mesh-run dispatch transport (repository_dispatch)

Status

Proven

Area

Deployment / mesh (ADR-0055 -- GitHub-native mesh-run dispatch transport, roadmap Phase 3)

Statement

The system shall dispatch a cross-plane benchmark run GitHub-natively via a repository_dispatch event carrying a validated mesh-run-dispatch@1 request bound to its fulfillment, and gate the returned receipts on cross-plane fulfillment -- so a fail-closed gate proves the dispatch->fulfill loop is wired with no central server (the repo IS the queue).

Rationale

LBA-REQ-073 governs the FULFILLMENT half of the North Star loop, but the GitHub-native DISPATCH transport did not exist -- no .github/workflows/ used repository_dispatch, and there was no committed dispatch-request contract binding a dispatch to its fulfillment. The roadmap dispatches on-demand runs through the repo (repository_dispatch / Actions as the queue) -- no server, fully auditable, "coordinate runs, don't hoard data".

Acceptance Criteria

  • meshDispatch.mjs validates a mesh-run-dispatch@1 request (benchmarkId + { metric, workload, n } spec + minActors >= 1 + a non-empty valid requestedPlanes set + a dispatchId) fail-closed, and carries the same launchIdentity (LBA-REQ-072) as the fulfillment so a dispatch + its fulfillment are provably the SAME run.
  • .github/workflows/mesh-run.yml triggers on repository_dispatch (event type mesh-run; the client_payload IS the request), validates the dispatch (meshDispatch.mjs), then gates the returned receipts on cross-plane fulfillment (meshFulfillment.mjs, LBA-REQ-073).
  • The gate mesh-run-dispatch-wired proves offline: the request validates + fails closed on a malformed request; the committed request BINDS to the LBA-REQ-073 fulfillment (same benchmarkId + identity + minActors + planes); and mesh-run.yml is wired (triggers on repository_dispatch[mesh-run] + runs both verifiers).

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

the verifier + selftest + committed request live under experiments/mesh-fulfillment/ (meshDispatch.mjs / .selftest.mjs / mesh-run-dispatch-request.json); the workflow is .github/workflows/mesh-run.yml; gate mesh-run-dispatch-wired in verify-local-gates. The live fan-out (actor tasking + receipt collection as Actions artifacts) is the next Phase-3 increment. Authored under the singular-requirement directive (one shall).

TestID

T-074

CodeRef

experiments/mesh-fulfillment/meshDispatch.mjs; experiments/mesh-fulfillment/meshDispatch.selftest.mjs; experiments/mesh-fulfillment/mesh-run-dispatch-request.json; .github/workflows/mesh-run.yml; experiments/mesh-fulfillment/meshFulfillment.mjs; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally