ProofedMesh/services
CTO (Paperclip) 9b8f520afc testagent-transform: align with dummy-sink contract + static dev tokens (DEV-613)
The sink client in DEV-610 was built against the architecture-doc shape
(POST canonical bytes to `/api/v1/handover` with headers) but DEV-611's
dummy-sink speaks a different contract: `POST /api/v1/sink/dummy/deliver`
with a JSON wrapper `{decision_id, payload_hash, payload, approval_ref,
transform_ref}`. The two subtasks therefore never actually talked to each
other.

Reconcile on the dummy-sink's wire format because the sink's extra
fields (decision_id, approval_ref, transform_ref) are mandatory for the
verification-service replay guard and chain checks:

- Switch `sink.Client.Deliver` to take a `DeliverRequest` carrying all
  five fields, and parse the handover_ref / log_index out of the sink's
  response for the caller.
- Pull `decision_id` from the handover payload's top-level field inside
  `transform.Runner.Execute` and plumb it through to the sink, surface
  `SinkHandoverRef` on the result.
- Update the mock sink inside `runner_test.go` to accept the new wire
  format and assert every wrapper field survives round-trip.

Additionally add `TRANSFORM_DEV_POCKET_ID_TOKEN` /
`TRANSFORM_DEV_WORKLOAD_TOKEN` env vars so the Phase-1 smoke harness can
drive the agent without a Pocket-ID server or a projected SA token
mount; both short-circuit directly to a `StaticToken`.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-25 20:58:14 +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: align with dummy-sink contract + static dev tokens (DEV-613) 2026-10-25 20:58:14 +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