Tasks
tasks15/15
1. Spec And Contract
- 1.1 Add a reference-only requirement for optional grant and trace client metadata.
- 1.2 Validate
openspec validate surface-grant-client-metadata --strict.
2. Reference Surface
- 2.1 Batch-enrich grant and trace correlation summaries with registered client metadata for SQLite and Postgres.
- 2.2 Project the optional
clientobject ongrant_summaryandtrace_summaryentries only. - 2.3 Add operation-level tests for the optional projection and missing-metadata fallback.
3. Console Consumer
- 3.1 Extend the console
GrantSummarytype with optionalclientmetadata. - 3.2 Prefer
grant.client.client_namefor relationship labels while preservingclient_id. - 3.3 Keep the owner-issued-client fallback for already-loaded metadata.
- 3.4 Prefer
trace.client.client_namefor recent-read labels. - 3.5 Prefer client metadata in shared grant/trace list-row labels.
- 3.6 Avoid bolding raw technical client IDs in the calm recent-read fallback.
4. Verification
- 4.1 Run focused reference and console tests.
- 4.2 Run console typecheck and
git diff --check. - 4.3 Deploy under the live-stack mutex and verify the live Standing relationship rows no longer render only raw
cli_...when client metadata exists. - 4.4 Deploy the trace/list-label extension under the live-stack mutex and verify live recent-read rows no longer render raw
cli_...as primary labels when metadata exists.