Contributions are welcome! This project is part of the Agent Receipts ecosystem.
Open a GitHub issue for:
- Bugs in receipt display, filtering, or chain verification
- Missing or incorrect data rendering
- UI/UX improvements
- Documentation gaps
Security vulnerabilities: please report via GitHub Security Advisories, not public issues. See SECURITY.md.
git clone https://github.com/agent-receipts/dashboard.git
cd dashboard
go build ./cmd/dashboard
go test ./...Requirements: Go 1.26+ (no CGO needed — SQLite driver is pure Go).
| Command | Description |
|---|---|
go build ./cmd/dashboard |
Build the binary |
go test ./... -count=1 |
Run all tests (no cache) |
go vet ./... |
Static analysis |
go run ./cmd/dashboard |
Run locally (reads ~/.local/share/agent-receipts/receipts.db by default) |
go run ./cmd/dashboard -db path/to/receipts.db |
Run locally against a specific db |
Or via Make:
| Command | Description |
|---|---|
make build |
Build the binary |
make test |
Run tests |
make lint |
Run go vet |
make run |
Build and run (reads ~/.local/share/agent-receipts/receipts.db by default) |
make run DB=path/to/receipts.db |
Build and run against a specific db |
- Fork the repo and create a branch from
main - Write tests before implementation — the test suite is the source of truth
- Run
go vet ./...andgo test ./...before committing - Open a pull request
- Go standard library preferred — minimize external dependencies
- Pure Go SQLite (
modernc.org/sqlite) — no CGO - All web assets embedded via
//go:embed— the binary is self-contained - Test files colocated as
*_test.goalongside source - The dashboard is read-only — it must never write to receipt SQLite databases
cmd/dashboard/ CLI entry point
internal/server/ HTTP server, routes, handlers
internal/server/static/ Embedded HTML with htmx + Tailwind (no build step)
internal/store/ Read-only SQLite access, queries, filters
internal/verify/ Hash linkage and chain verification
- Add ByAction stats (#4) — small backend change to include action type breakdown in
/api/stats - Align default limit (#11) — change a single constant to match the SDK default
- Improve the README (#15) — add badges, screenshots, ecosystem links
- Improve error messages — clearer messages help everyone debug faster
- Add test cases — especially edge cases for filters and chain verification
AI agents (Claude Code, GitHub Copilot, etc.) are first-class contributors to this project. See AGENTS.md for the full agent safety rules and conventions.
Test-driven workflow — the highest-leverage pattern for agent-assisted development:
- Write a failing test that describes the expected behavior.
- Let the agent implement the fix or feature to make the test pass.
- The test output gives the agent a tight feedback loop — it can iterate without guessing.
Agent boundaries — agents must follow the Agent safety rules. Key constraints: no CI workflow changes without human approval, no real cryptographic keys, the dashboard must remain read-only.
This dashboard depends on the Agent Receipts Go SDK. When the SDK already provides a capability (verification, hashing, taxonomy), use it — do not reimplement. See issues labeled sdk-alignment for current integration work.
Before opening a PR, verify:
-
go test ./...passes -
go vet ./...passes - No real keys or secrets in the diff — use test fixtures only
- New functionality includes tests
- AGENTS.md updated if you changed project structure
Apache 2.0