dashboard

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package dashboard serves a local, read-only web view over the verifiable provenance graph: the runs, their merged timeline, the unified signals/risks, the verify+signature status, and -- the signature view -- the causality DAG (LLM intent -> action -> policy -> risk), which a flat event stream cannot show. It is a thin presentation layer: every JSON endpoint reuses the SAME internal functions as the CLI/AI tools (provenance.Verify, signals.Export, etc.), so the UI never diverges from the contract. Read-only, local-first: the HTML/JS is embedded in the binary and loads no external assets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct{ DB *sql.DB }

Server serves the dashboard over a single read-only *sql.DB.

func (Server) Handler

func (s Server) Handler() http.Handler

Handler returns the dashboard's HTTP routes (static UI + JSON API).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL