Challenge — Judge / reviewer index

Preferred surface (hosted): https://truelockfa.tech/docs (replace with your live .tech hostname once DNS is pointed). Judges need only a browser.

Start here if you are reviewing or judging TrueLock. This page is the entry point; follow the links in order for a ~5-minute path.

5-minute path

StepWhere (webpage)Markdown (offline pack)What you get
1. Start/docsThis pageScope, ports, and links
2. Run/docs/runbookdocs/demo/runbook.mdLive demo flow + inject-fraud
3. Script/docs/demo-scriptdocs/demo-script.mdSpoken walkthrough (~3–5 min)
4. Contracts/docs/apidocs/contracts/api.mdREST surface (/api/imports/*, /demo/inject-fraud)
5. Training overview/docs/trainingdocs/agent/training.mdPolicy / eval promotion (read-only overview)

Supporting maps:

Upload pack (copies + zip): dist/docs-pack/ — see dist/docs-pack/INDEX.md.

Ports

Hosted (judges — nothing to install)

ServiceURL
App + docshttps://truelockfa.tech (and /docs)
APIhttps://api.truelockfa.tech

Local developer only

ServiceHost
Frontendhttp://localhost:3000 (docs at /docs)
APIhttp://localhost:8000 (OpenAPI: /docs on the API process)
Postgreslocalhost:5433 → container 5432 (docker-compose.yml)
docker compose up -d postgres
export DATABASE_URL='postgresql://truelock:truelock_dev_only@localhost:5433/truelock'

API highlights judges care about

From docs/contracts/api.md:

  • POST /api/imports/cfdi · POST /api/imports/bank · POST /api/imports/efos
  • POST /demo/inject-fraud — inject a hidden scenario; watch detectors / investigation
  • POST /api/investigations/start · POST /api/cases/{case_id}/questions

Working requirement summary

The system must find fraud signals, investigate them, follow money and relationships, build an evidence chain, justify leads, sustain or reject accusations, produce a human-readable case file, and answer grounded Q&A. The demo must let judges introduce or hide a fraud pattern (POST /demo/inject-fraud) and watch the agent respond.

Publish / share (no secrets)

Remote: https://github.com/Apache-61/TrueLock.git

# Prefer a clean branch push of docs-only commits when ready (do not commit .env)
git push -u origin HEAD

# Or hand judges the zip without git:
# dist/truelock-docs-pack.zip

Never commit .env, API keys, or real credentials. Use .env.example only.