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(installs this tree'smix hex.buildpackage from a throwaway local registry, 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_browserresets/seeds demo fiction, startsmix phx.server, and runs Playwright.
Demo app tracks
The Phoenix reference application is available from the Adopt section of the generated HexDocs navigation. Its repository proof files support this playbook; the Getting Started guide remains the canonical adopter procedure.
| 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 | Repository walkthrough and walkthrough_*_test.exs proofs |
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 (the repository's
DEMO_USERS.md records these fictional accounts) 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
- Results from staging or production-like environments outside this repository
Next steps
- Return to the Operator Surface guide for the Operate lane.
- Turn CI-class proof into an honest host record with the adoption pilot backlog.
- Revisit the evaluation boundary before describing what Threadline proves.