Heimdal is a worktree-aware browser QA harness for coding agents. It keeps Playwright as the browser and test authority while providing stable sessions, compact semantic observations, reproducible evidence, and bounded artifacts.
go install github.com/coadan/heimdal/cmd/heimdal@latest
heimdal doctor --dir /path/to/project --jsonIf the project does not already provide the Playwright agent CLI:
heimdal install --dir /path/to/project agent-cliRun an existing Playwright test:
heimdal run --dir /path/to/project -- tests/browser/example.spec.ts
heimdal report --run latest --jsonExplore interactively:
heimdal session start --dir /path/to/project --name qa --url http://127.0.0.1:3000
heimdal session observe --name qa
heimdal session click e12 --name qa
heimdal session diagnose --name qa --json
heimdal session stop --name qaRefs such as e12 come from the latest semantic observation. Re-observe after
navigation or meaningful DOM changes.
- isolated artifacts and free ports per run;
- persistent named browser sessions across agent commands;
- compact semantic deltas instead of repeated full page dumps;
- traces, screenshots, videos, logs, and failure fingerprints;
- explicit waits, assertions, reconnect testing, and multi-actor sessions;
- deterministic graduation from exploration to a Playwright test draft.
- Documentation index
- Getting started
- Interactive sessions
- Runs, reports, and artifacts
- Project configuration
- Fixture coordination
- Agent efficiency measurements
Run heimdal help or heimdal session --help for the complete command
reference.
go test ./...
go vet ./...
go build ./cmd/heimdalHeimdal is released under the MIT License.
