test: verify published admin key metadata contract
Documents the metadata response added by #1095 through the shared published-docs fixture. The new tests call the actual GET route and authentication/query code with synthetic service boundaries, checking both auth envelopes, admin denial, masked read failures, returned key-record counts, no credential fields, and UTC calendar periods.
The companion Marketing reference distinguishes /api/admins/agent-signups from the unavailable /api/admins/agent/signups. Current-email metadata and returned-record counts do not establish signup origin, unique agents/accounts, active keys, adoption or collection completeness. No runtime behavior or live data access changes; Mono #327 / API #428 and held gates remain separate.
Validation: 218 tests / 23 files pass (including 15 new published-contract tests and the 20 metadata owner tests); response-constructor typecheck, full lint, changed-file formatting and whitespace checks pass. Whole-project TypeScript retains exactly the same 211 diagnostic lines, with none added; it is not clean. New tests first failed for the missing fixture. API fixture release precedes the Marketing source pin, then generated retained Docs publication; coordinator owns merge approval and release.
Summary by cubic
Verifies the documented admin key metadata contract by testing the real GET route against a new shared published-docs fixture entry.
- Adds 15 contract tests exercising auth envelopes, admin denial, masked read failures, UTC calendar cutoffs, and schema adherence with synthetic boundaries.
- Documents that the metadata route returns key-record data only and does not establish signup origin, unique agents, adoption, or collection completeness.
- No runtime behavior or live data access changes; tests only.