open-standards/.github/workflows
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science ba523f293b jcp-gateway: test tree-metered calls against an oracle on real servers
tests/upstream_tree.rs relays tools/call through Gateway::relay to real
MCP-ish servers it spawns: awk answering each JSON-RPC line itself, and a
shell answering each with an awk worker it forks and reaps before it
replies. The oracle shares no code with the meter or the gateway: the
server's proc_pid_rusage into a raw buffer at the SDK's offsets (energy at
336, reaped-descendant time at 96 and 104), read before and after each
relay once the server is quiet by pti_numrunning at byte 88 of a raw
PROC_PIDTASKINFO buffer. A server blocked on its next request does not
move its count, so each call's figure must be the oracle's advance rounded
down to the µJ, and it was: 99 of 99 readings over 9 runs at load ~150.

A declared single-process server is sealed HwShunt and whole; the same
server undeclared is HwShunt/Partial with not-declared-self-contained; the
reaping shell is HwShunt/Partial with reaped-descendant even when
declared, its figure the shell's own advance; an upstream naming a pid
this process may not read (launchd) is metered machine-wide. Each call's
plaintext grade equals its sealed one, and each receipt log verifies.

The jcp-rs matrix entry runs on Linux, where no tree meter exists, so the
macos-energy-backend job gains a jcp-gateway step that fails unless the
test printed its `upstream tree:` line. libc is a dev-dependency for the
oracle.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-09 10:49:24 -04:00
..
conformance.yml ci: one run per branch at a time — no workflow declared a concurrency group 2026-10-05 12:01:57 -04:00
energy-hardware.yml ci: energy-hardware.yml declares its concurrency group 2026-10-06 02:30:35 -04:00
joule-code-conformance.yml joule-moq: receipt chains recover (P-J2, P-J3); public text by capability; the conformance gate parses its count 2026-10-06 10:39:21 -04:00
jouleclaw-public-surface-documented.yml ci: one run per branch at a time — no workflow declared a concurrency group 2026-10-05 12:01:57 -04:00
no-vanity-metrics.yml ci: touch one workflow to test that the new group supersedes its own queue 2026-10-05 12:03:07 -04:00
standards-build.yml jcp-gateway: test tree-metered calls against an oracle on real servers 2026-10-09 10:49:24 -04:00
wai-byte-equality.yml ci: one run per branch at a time — no workflow declared a concurrency group 2026-10-05 12:01:57 -04:00
wai-conformance.yml Merge origin/main (1cf132ec) into wai/w5-4-measure-web 2026-10-07 21:32:49 -04:00
wai-energy-receipts.yml Leave wai-quantum on its own verifier; the rule goes back into wai-rs 2026-10-07 14:33:18 -04:00
wai-formal-verification.yml ci: one run per branch at a time — no workflow declared a concurrency group 2026-10-05 12:01:57 -04:00
wai-http.yml Merge main (#186 merged as ae9a1ca6: strict Ed25519) into wai/w5-4-measure-web 2026-10-08 02:00:51 -04:00
wai-jpegai-e2e.yml ci: one run per branch at a time — no workflow declared a concurrency group 2026-10-05 12:01:57 -04:00
wai-neural-e2e.yml ci: one run per branch at a time — no workflow declared a concurrency group 2026-10-05 12:01:57 -04:00
wai-neural-gates.yml ci: one run per branch at a time — no workflow declared a concurrency group 2026-10-05 12:01:57 -04:00
wai-pack.yml ci: a rebase ran every path-filtered workflow, because paths: matches the push delta 2026-10-08 11:40:23 -04:00
wai-section-refs.yml ci: one run per branch at a time — no workflow declared a concurrency group 2026-10-05 12:01:57 -04:00
wai-sota-vectors.yml ci: one run per branch at a time — no workflow declared a concurrency group 2026-10-05 12:01:57 -04:00
wai-web-wasm.yml ci: wai-web's native test count is 24, with the WAI2 classical-length test 2026-10-08 07:42:21 -04:00
workflow-hygiene.yml ci: a rebase ran every path-filtered workflow, because paths: matches the push delta 2026-10-08 11:40:23 -04:00