K1-d fixtures: the exact response bytes graph-service emits on the Reference READ routes
=========================================================================================
source commit:  e8be7eda5a57001e3ecab94278b3029d7b40ecfd (main), graph-service at
                ecosystem/backend/services/universal-services/graph-service
harness:        internal/infrastructure/http/k1_fixture_record_test.go (package http_test), a SCRATCH file in a
                detached worktree, NEVER committed to graph-service (Lane 5's word (b), 2026-10-29)
harness sha256: 681f1c1bba189a4fa266e407457b7afe99d0662fa0a7627860c978806ce9174e
recorded:       2026-10-29T15:50:19Z, Go go1.25.5 darwin/arm64, under the rule 43 light queue (claim slot1)
command:        cd graph-service && env GOPROXY=off GOFLAGS=-mod=readonly GOTOOLCHAIN=local \
                  K1_FIXTURE_OUT=<empty dir> go test ./internal/infrastructure/http/ \
                  -run '^TestK1RecordReferenceReadFixtures$' -count=1 -v
network:        none (GOPROXY=off; the app is driven in-process through fiber's app.Test)

What is REAL: ghttp.NewApp (the router, CORS, correlation-id middleware), ReferenceAuth with the enrolled
service-principal seam armed (WithServicePrincipalVerifier(v, spcontract.Issuer, spcontract.Audience)), its direction
fence and refusal messages, the Reference handlers and their error mapping, and ReferenceService over the in-memory
store (memstore), with a curator gate (only "docs-ingest" may write) and an entitlement gate (only "docs" is readable).
What is FAKE: only the credential VERIFIER. A fixed token maps to the identity a verified credential would carry: the
seam test's machineFacing shape (subject k1-fixture-reader, issuer ccu-service.identity, service token type,
service_identity, metadata direction read|write). "garbage" does not verify.
The 503 comes from the federated resolver's real failure (ReferenceRepository returns graph.ErrStoreUnavailable).
Seeded: three Document nodes shaped as docs-ingest writes them (docs-ingest/src/index.ts: name, title, path,
artifact_id, content_hash, chunks, chunk_set_hash, indexed_content_hash; source key doc:<id>; provenance writer +
derived-from), written through the real service as the docs writer. The service appends writer:service:docs-ingest.

The two error SHAPES (K1-d1: the client parses both):
- handler errors (400/403/404/503): {"error": {"code", "correlation_id", "message"}}
- middleware errors (the 401s): {"error": {"code", "correlation_id", "message", "timestamp"}}
Values that are NOT stable across recordings (never assert them literally): node ids, correlation ids,
created_at/updated_at (Go time from the store, here in the recording host's zone -07:00; a UTC host emits "Z"), and
the middleware timestamp. responses.json maps each file to its method, path, credential label, status, content type
and body sha256.
