Skip to content

safal207/L-THREAD-Liminal-Thread-Secure-Protocol-LTP-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

997 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LTP — Liminal Thread Protocol

Deterministic replay + hallucination blocking for agent traces, with audit-ready evidence.

LTP replay demo preview

🌟 Community Interest

Stars

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

What you get

  • Phase 1 + Phase 2 guardrails for hallucination prevention/detection.
  • Deterministic trace replay with admissible / drift / rejected decisions.
  • Model-agnostic adapter surface (GPT, Claude, LLaMA, Grok, and future stacks).
  • Compliance evidence via JSONL traces + generated logs.

Live demo (GitHub Actions)

Run LTP Demo

Run LTP Live Demo via workflow_dispatch to produce:

  • replay.log
  • replay.gif

LTP vs ordinary logging

Capability Regular app logs Framework tracing LTP
Deterministic replay ⚠️
Hallucination gating (pre + post)
Audit evidence format ⚠️ ⚠️
Model/framework agnostic

Use-case cards

💳 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.

Quick links

  • 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

Local validation

For a clean reviewer flow, run:

pnpm install --frozen-lockfile
pnpm test
pnpm test:conformance

pnpm 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.

Roadmap

  • ✅ Replay analyzer (ltp inspect trace)
  • ✅ Two-phase enforcement
  • ✅ GitHub Actions interactive demo
  • 🟡 Expanded adapter SDKs
  • 🟡 Rich replay animation renderer
  • 🔴 AutoGen v1.2 reference adapter

About

Deterministic orientation & replay protocol for auditable context continuity. Canon v1.0 frozen.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors