Deterministic replay + hallucination blocking for agent traces, with audit-ready evidence.
Current interest: 3 stars → 🌱 New signal 🚀
Want to join? Click here to show support!
ltp inspect trace tools/ltp-inspect/fixtures/replay/trace-replay.jsonl --replay --phase two_phase --color- Phase 1 + Phase 2 guardrails for hallucination prevention/detection.
- Deterministic trace replay with
admissible / drift / rejecteddecisions. - Model-agnostic adapter surface (GPT, Claude, LLaMA, Grok, and future stacks).
- Compliance evidence via JSONL traces + generated logs.
Run LTP Live Demo via workflow_dispatch to produce:
replay.logreplay.gif
| Capability | Regular app logs | Framework tracing | LTP |
|---|---|---|---|
| Deterministic replay | ❌ | ✅ | |
| Hallucination gating (pre + post) | ❌ | ❌ | ✅ |
| Audit evidence format | ✅ | ||
| Model/framework agnostic | ✅ | ❌ | ✅ |
💳 Fintech
- KYC/AML assistant actions with anchored policy checks.
- Transfer and approvals with immediate reject on unanchored claims.
🕵️ OSINT
- Evidence graph summaries blocked when source anchors are missing.
- Replay divergence analysis for investigative chain-of-custody.
⚖️ Legal
- Contract/policy citation enforcement.
- Post-hoc rejection of unsupported conclusions.
🛠️ Infra / SRE
- Incident-agent replay to inspect drift before automated actions.
- Critical runbook actions gated by anchor-backed context.
- DevTools:
docs/devtools/quickstart.md - Compliance:
docs/fintech/Compliance-Inspection.md - Adapters:
adapters/README.md - Example flow:
examples/README.canonical-flow.md - Spec:
specs/LTP-Spec-v0.1.md
For a clean reviewer flow, run:
pnpm install --frozen-lockfile
pnpm test
pnpm test:conformancepnpm test is the curated reviewer-safe validation surface. If you want the broader legacy sweep as well, run pnpm test:full.
Local scratch directories such as .tmp/ are ignored by the repository and excluded from TypeScript test discovery so golden snapshots stay deterministic.
- ✅ Replay analyzer (
ltp inspect trace) - ✅ Two-phase enforcement
- ✅ GitHub Actions interactive demo
- 🟡 Expanded adapter SDKs
- 🟡 Rich replay animation renderer
- 🔴 AutoGen v1.2 reference adapter