Use this playbook when you need CI-class confidence that Threadline works end-to-end before a real host pilot. It links the evaluator ladder, the help-desk demo app, automated proofs, and host-owned STG templates.
This is not a substitute for integrator-owned staging evidence. See evaluating-threadline.md for the CI-class vs host-class boundary.
Quick ladder
Contributor gate — from repo root with Postgres up:
DB_PORT=5433 MIX_ENV=test mix ci.allHex install smoke —
mix verify.hex_evaluator(depends on{:threadline, "~> 0.6"}from hex.pm, not a path dep).Reference app (ConnCase) —
mix verify.examplerunsexamples/threadline_phoenixtests including:walkthrough_happy_path_test.exs— WALKTHROUGH §1–§4walkthrough_evidence_test.exs— WALKTHROUGH §5track_a_golden_path_test.exs— first audited write withoutdemo.seedthreadline_evidence_show_example_test.exs—mix threadline.evidence.showon seeded fiction
Browser gaps (optional) —
mix verify.example_browserruns Playwright againstmix phx.server+mix demo.seedfiction.
Demo app tracks
Canonical app: examples/threadline_phoenix/.
| Track | Audience | Requires mix demo.seed? | Proof |
|---|---|---|---|
| A | First audited write on migrated DB | No | track_a_golden_path_test.exs, README Track A |
| B | Maintainer walk / operator surface | Yes | WALKTHROUGH.md, walkthrough *_test.exs |
Tour in five minutes (Track B):
cd examples/threadline_phoenix
mix setup
mix demo.seed
mix phx.server
Then sign in as admin@example.com / password123456 (see DEMO_USERS.md) and open:
/audit— timeline + correlation filter (walk-acme-4521-close)/audit/evidence— retention_run, redaction_policy, trigger_coverage rows/audit/policy/redaction— drift posture (admin)/audit/coverage— trigger coverage dashboard (admin)
Recover drift with mix demo.reset.
Host pilot templates (integrator-owned)
When you move beyond CI-class proof, copy scaffolds from adoption-pilot-backlog.md:
STG-HOST-TOPOLOGY-TEMPLATE— app → pooler → Postgres chainSTG-AUDITED-PATH-RUBRIC— HTTP + job paths with OK / Issue / N/A / Not run
Fill these in your repo or fork. Maintainers review modesty and redaction only.
What this playbook does not claim
- Production topology in your environment
- Your auth/tenancy model
- Legal/compliance sign-off
- External pilot outcomes (see v1.28 signal-gated pilot pack in
.planning/threads/2026-05-29-v1.28-pilot-readiness.md)
Related docs
- evaluating-threadline.md — evaluator mental model
- getting-started-saas.md — wire Threadline into your app
- operator-surface.md —
/auditmount contract - production-checklist.md — host checklist shape