ProofedMesh/services
CTO (Paperclip) 801c50cfb0 approval-service: dev auth/credentials routes + predicate chain-control fields (DEV-613)
Two changes needed to drive the Phase-1 end-to-end smoke test without a
browser and Pocket-ID:

- Add `-dev-auth-sub` / `APPROVAL_DEV_AUTH_SUB` so a dev / CI run can
  stamp every request with a fixed principal sub instead of refusing
  all callers until Pocket-ID is wired. Mutually exclusive with any
  real auth middleware; the deployment path still fails closed.
- Add `-dev-routes` / `APPROVAL_DEV_ROUTES` which mounts
  `POST /dev/webauthn/credentials` on the Phase-1 in-memory WebAuthn
  store. The smoke test generates an Ed25519 keypair and posts the
  public half here before confirming the approval. Both flags log a
  WARN at startup so a misconfigured prod stands out.

Separately, promote four chain-control fields —
`allowed_transformations`, `allowed_sinks`, `expires_at`,
`workflow_id` — from the signed rendered content into the approval
predicate. The verification-service already requires these on the
approval predicate to enforce the sink / transform allowlists and the
approval TTL; they live inside H_content so promoting them does not
weaken the WebAuthn-bound signature.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-25 20:58:03 +00:00
..
admin-api admin-api: go mod tidy after signing-service go 1.26 bump 2026-10-25 20:00:58 +00:00
approval-service approval-service: dev auth/credentials routes + predicate chain-control fields (DEV-613) 2026-10-25 20:58:03 +00:00
attest-reconciler services: add attest-reconciler Go service (periodic worker re-signs per_diem_rates rows without rate_change_attestation_ref via Signer+TLog, 11/11 go tests pass, go vet clean) 2026-10-25 18:06:36 +00:00
dummy-sink dummy-sink: Phase-1 mock sink (sink:dummy-sink) (DEV-611) 2026-10-25 20:20:40 +00:00
per-diem-calculator services: add per-diem-calculator Go skeleton (deterministic compute core + 5 unit tests, HTTP wire stubbed); README reflects new layout 2026-10-25 17:07:55 +00:00
signing-service ci: bump Go image to 1.26-alpine for signing-service dep 2026-10-25 19:59:05 +00:00
testagent-transform testagent-transform: Phase-1 trust-chain demo agent (DEV-610) 2026-10-25 19:55:02 +00:00
transparency-log transparency-log: add GET /api/v1/log/entries/{hash} + /healthz (DEV-613) 2026-10-25 20:57:52 +00:00
verification-service verification-service: Phase-1 two-stage chain verifier (approval -> transform) (DEV-612) 2026-10-25 20:35:35 +00:00