credentials: a credential issued from the panel carries its look — the display block is filled at issue, and a wallet can read the marks (#1989) #1990

Merged
ben merged 1 commit from session/issuance-fills-the-credential-look into main 2026-09-29 03:50:27 +00:00
Owner

Refs #1989 (left open until it is proven on a live community).

The defect

A credential issued from the control panel carried no look. On Whakatōhea Demo (2026-09-29) Administrator — handshake icon on #b9d4c7 — was drawn in the wallet like Membership.

DDR 0217 amendment ruling 11 puts the look in the credential's own a.display, fixed at issue. #1758 shipped the schema and the verifier and left the fill to #1759, which landed without it. No issuing path wrote display.

The change

  • app/src/lib/credentialDisplay.ts — a definition's appearance in, the closed display block out: icon + background; an uploaded image by the digest its served name carries; the community logo by the digest of the bytes served at issue. A field that would not validate is dropped, never signed.
  • KomitiCredentialDriver and StewardApproveDriver carry display.
  • The steward bundle fills it on issue, approve, approveWithCredentials and readmit.
  • The panel passes the definition's look at every issuing call site.
  • GET /brand/logo and GET /credential-images/{name} answer Access-Control-Allow-Origin: *. The wallet is an app on another origin and reads the bytes to check the digest; without the header it draws the seal.

Trust

Display grants nothing. No verifier, door or trust row changes. The two routes given the header already serve public bytes with no session; * does not permit a credentialed cross-origin read.

Verification

  • app: 177 files, 2191 tests passing; vue-tsc clean.
  • dashboard: 160 files, 2113 passing, 2 skipped; vue-tsc clean.
  • eslint . at the repo root: clean.
  • gofmt, go build ./..., go vet, go test ./...: clean.
  • Not run: golangci-lint, the dev-tag build, the broker module, the OpenAPI/mermaid/shell stages. Not proven on a live community.

Note

A held credential keeps the look it was issued with, so credentials issued before this stay plain until re-issued. STATUS.md and GOTCHAS #368 are in this commit; if main takes another GOTCHAS entry first, #368 needs renumbering.

Pairs with Matou/matou-app#685.

🤖 Generated with Claude Code

Refs #1989 (left open until it is proven on a live community). ## The defect A credential issued from the control panel carried no look. On Whakatōhea Demo (2026-09-29) Administrator — handshake icon on `#b9d4c7` — was drawn in the wallet like Membership. DDR 0217 amendment ruling 11 puts the look in the credential's own `a.display`, fixed at issue. #1758 shipped the schema and the verifier and left the fill to #1759, which landed without it. No issuing path wrote `display`. ## The change - `app/src/lib/credentialDisplay.ts` — a definition's appearance in, the closed display block out: icon + background; an uploaded image by the digest its served name carries; the community logo by the digest of the bytes served at issue. A field that would not validate is dropped, never signed. - `KomitiCredentialDriver` and `StewardApproveDriver` carry `display`. - The steward bundle fills it on `issue`, `approve`, `approveWithCredentials` and `readmit`. - The panel passes the definition's look at every issuing call site. - `GET /brand/logo` and `GET /credential-images/{name}` answer `Access-Control-Allow-Origin: *`. The wallet is an app on another origin and reads the bytes to check the digest; without the header it draws the seal. ## Trust Display grants nothing. No verifier, door or trust row changes. The two routes given the header already serve public bytes with no session; `*` does not permit a credentialed cross-origin read. ## Verification - app: 177 files, 2191 tests passing; `vue-tsc` clean. - dashboard: 160 files, 2113 passing, 2 skipped; `vue-tsc` clean. - `eslint .` at the repo root: clean. - `gofmt`, `go build ./...`, `go vet`, `go test ./...`: clean. - Not run: `golangci-lint`, the dev-tag build, the broker module, the OpenAPI/mermaid/shell stages. Not proven on a live community. ## Note A held credential keeps the look it was issued with, so credentials issued before this stay plain until re-issued. STATUS.md and GOTCHAS #368 are in this commit; if main takes another GOTCHAS entry first, #368 needs renumbering. Pairs with Matou/matou-app#685. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
credentials: a credential issued from the panel carries its look — the display block is filled at issue, and a wallet can read the marks (#1989)
All checks were successful
ci / seam (pull_request) Successful in 11m28s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
adf07ee6a8
On Whakatōhea Demo the Administrator card was drawn in the wallet like
Membership: same logo, same colour. DDR 0217 amendment ruling 11 puts the look
in the credential's own a.display, fixed at issue; #1758 shipped the schema and
the verifier and left the fill to #1759, which landed without it. No issuing
path wrote display.

- app/src/lib/credentialDisplay.ts: a definition's appearance in, the closed
  display block out. Icon + background; an uploaded image by the digest its
  served name carries; the community logo by the digest of the bytes served at
  issue. A field that would not validate is dropped, never signed.
- KomitiCredentialDriver and StewardApproveDriver carry display; the steward
  bundle fills it on issue, approve, approveWithCredentials and readmit.
- The panel passes the definition's look at every issuing call site.
- GET /brand/logo and GET /credential-images/{name} answer
  Access-Control-Allow-Origin: * — the wallet is an app on another origin and
  reads the bytes to check the digest. Public bytes, no session.

Display grants nothing: no verifier, door or trust row changes. A held
credential keeps the look it was issued with, so credentials issued before
this stay plain until re-issued.

Not proven live. GOTCHAS #368, STATUS.md.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
ben merged commit 0f11386fd9 into main 2026-09-29 03:50:27 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss!1990
No description provided.