Commit Graph
2 Commits
Author SHA1 Message Date
Hermes Agent 5bd5345469 [pending-judge] test(e2e): authenticated composition-root probes (r2 C blockers)
Judge r2 blockers addressed:
- MOUNTED vs UNKNOWN: probes now carry a REAL JWT minted by the same
  authManager the app wires (sub claim; generated in the boot child,
  emitted on READY). Every mounted-route assertion is compared against a
  live notFoundHandler-404 baseline for a known-nonexistent route on the
  same instance — a fall-through can no longer pass as mounted.
- Route-level behavior asserted with real payloads: /catalog/plex 200
  must contain plexinc/pms-docker AND {{PORT}}:32400; /security/shield 200
  must be success:true.
- OS-assigned ephemeral port (net server listen(0)) replaces the random
  30000-49999 guess; boot-timeout cleared on readiness; SIGTERM+SIGKILL
  shutdown with bounded wait.
- 7 tests (was 5). Suite: 156 suites / 3512 tests green.
2026-10-07 03:09:14 -07:00
Hermes Agent 8744609887 [pending-judge] fix(integration): catalog detail reads app.docker.* (DC-160); Shield committed; composition-root e2e
- DC-160: /catalog/:appId read app.image/ports/env/volumes which live under
  app.docker.* — every detail response was empty. Now reads docker.* and
  surfaces defaultPort/subdomain/healthCheck/mediaMount/claimToken/difficulty/
  setupInstructions for the deploy form. List/search use the templates own
  category field (old hand-rolled CATEGORY_MAP mis-categorized apps).
- Shield (routes/shield.js + 5-line app.js mount) committed to source after
  weeks as prod-only drift; regression test asserts the mount exists.
- New composition-root e2e suite: boots REAL createApp() on an ephemeral
  port, probes the historically-broken routes through the REAL mount table
  (wizard wiring, shield, catalog detail, deploys bridge) — the class of bug
  all 3 P7 dogfood findings belonged to. 5 tests.
- Full suite 3499/3499 (155 suites); table-driven DC-160 test covers all 73
  image templates.
2026-10-07 00:58:03 -07:00