Skip to content

First workforce run: /api/uptime + /api/version with full-stack receipts#1

Merged
webdevtodayjason merged 2 commits into
mainfrom
feat/workforce-run-001
Jul 7, 2026
Merged

First workforce run: /api/uptime + /api/version with full-stack receipts#1
webdevtodayjason merged 2 commits into
mainfrom
feat/workforce-run-001

Conversation

@webdevtodayjason

@webdevtodayjason webdevtodayjason commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Problem: The Workshop board had no jobs — the full-stack demo needed its first real workforce run.
  • Why it matters: this PR is the capstone proof that all six Frontier Infra tiers compose on one repo.
  • What changed: two endpoints (/api/uptime, /api/version) + tests, built by machine-driver-dispatched claude -p workers under contract; signed AARs, Proctor meta-proof, board data generated from receipts; README case study.
  • What did NOT change (scope boundary): no other routes, no dependencies, no changes to ops/ or the stamped gates.

Change Type

  • Feature

Linked Issue / PR

  • Closes: N/A (demo capstone, operator-ratified)
  • Related: frontier-infra/Maintainer-Gate-Blueprint, frontier-infra/proctor, frontier-infra/adl, frontier-infra/machine-driver, frontier-infra/agentcontrolplane

Root Cause / Regression History

N/A — feature, not a bug fix. One defect found during the run: machine-driver resolved aar_priv relative to its own cwd (ENOENT), alerted loudly per design; fixed by absolute path in harness/goal.json, records signed after the fact.

  • Root cause: N/A
  • Missing detection / guardrail: N/A
  • Prior context: N/A
  • Why this regressed now: N/A
  • If unknown, what was ruled out: N/A

Regression Test Plan

  • Coverage level: unit tests (node:test)
  • Target test or file: test/app.test.mjs — "uptime endpoint answers 200 with up:true" and "version endpoint returns the package.json version" (written by the workers themselves; full suite 7 tests)

Validation

  • npm test — PASS (7/7)
  • AVL validator — PASS (conformance L3)
  • aar.mjs verify on both task AARs + meta-AAR — PASS (L2, live did:web resolution)
  • Proctor goal-verify meta-proof — signed_off: true (3/3 checks)

Human Verification

  • Verified scenarios: operator (Jason, via this session) reviewed the propose-mode diff — 23 insertions, exactly the contracted files (app/server.mjs, test/app.test.mjs), constraints held; board rendered and inspected locally at :4600; /api/uptime and /api/version curled and answered correctly.

Risk and Recovery

Demo repo; no production surface. Recovery = revert the merge commit. Signing key is gitignored, rotate by republishing /.well-known/did.json.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DtpVQr2zSPXaUzbCS2BbW9

webdevtodayjason and others added 2 commits July 7, 2026 12:22
…ck receipts

Two endpoints built by machine-driver-dispatched claude -p workers under
contract (harness/goal.json), verified by npm test (never self-graded), each
with an Ed25519-signed AAR (verdict: verified, ground_truth: confirmed) that
resolves against the live did:web:frontierinfra.org. Proctor's goal-verify
signed the run's meta-proof (3/3 checks) and proof-to-aar.mjs bridged it to a
signed meta-AAR. Board content (data/jobs.json) is generated from receipts by
harness/collect.mjs, which re-verifies every AAR. README documents the run,
including the AAR-signing path defect the driver caught and alerted on.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtpVQr2zSPXaUzbCS2BbW9
@webdevtodayjason
webdevtodayjason merged commit 8a871c7 into main Jul 7, 2026
8 checks passed
@webdevtodayjason
webdevtodayjason deleted the feat/workforce-run-001 branch July 7, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant