Skip to main content

Public presentation manifest

The public ledger API is the source of truth for a scoped decision's canonical state, proofs, commitments, and count-match. A consumer may additionally publish a presentation manifest for human-facing discovery in console.shyware.fyi/inspect.

Presentation metadata is non-canonical. It does not change the scoped decision, its hash, its commitments, or its inspection proof.

Endpoint​

Expose a public HTTPS endpoint:

GET /presentation

The endpoint must:

  • return JSON;
  • allow https://console.shyware.fyi with CORS;
  • require no credentials;
  • use HTTPS for consumer_url, thumbnail_url, and image_url;
  • identify each entry with its canonical scoping_id.

Example:

{
"scoped_decisions": [
{
"scoping_id": "decision-2026-001",
"display_name": "Treasury Allocation Proposal 12",
"consumer_url": "https://consumer.example/decisions/decision-2026-001",
"thumbnail_url": "https://consumer.example/images/decision-2026-001.jpg"
}
]
}

scoped_decisions may also be an object keyed by scoping_id:

{
"scoped_decisions": {
"decision-2026-001": {
"display_name": "Treasury Allocation Proposal 12",
"consumer_url": "https://consumer.example/decisions/decision-2026-001"
}
}
}

React Helmet​

React Helmet remains appropriate for the consumer page itself and for social previews:

  • og:title;
  • og:description;
  • og:image;
  • browser title and description.

It is not the machine-readable contract for Inspect. Inspect cannot reliably read arbitrary cross-origin HTML metadata from the browser. Generate the presentation manifest from the same public catalog used by the consumer page, then use Helmet from that catalog for page previews.

Trust boundary​

Inspect labels presentation fields as consumer-provided discovery metadata. They are not evidence of canonical ledger state. The inspection proof remains authoritative for the scoped decision ID, state, list commitments, and count-match.

Inspect falls back in this order when no presentation entry exists:

canonical display_name → canonical question → scoped decision ID

The deployment-wide public telemetry stream is separate:

GET /stream

It announces public checkpoints and lifecycle changes. Consumers do not need a second metadata SSE channel for the initial presentation manifest.