A public-safe Python/FastAPI demo for mapping fake engineering evidence to role requirements, classifying claims by support level, and writing source-backed review reports.
TraceOps Evidence Demo is a small review workflow built around fake demo data. It loads markdown evidence files, extracts requirements from a fake role description, maps requirements to evidence sources, applies a deterministic claim policy, and writes a markdown report that keeps source provenance visible.
The repo is meant to show a practical internal-tool pattern:
- fake demo evidence loading
- requirement extraction from markdown bullets
- supported, partial, and unsupported claim classification
- repo-relative source paths
- reviewable markdown report generation
- simple FastAPI route-level demo
- public-data safety checks
- public-safe agent integration contract for a future private Qwen/vLLM backend
Granular redacted private-workbench preview. Sensitive text values are hidden while preserving the workflow structure.
The public repository contains a smaller fake-data evidence demo.
Published demo: https://traceops-interviewer.lovable.app
TraceOps Interview Command Center is a public-safe React/TanStack UI companion for this evidence-governance workflow.
The UI models applications, requirements, evidence cards, requirement-to-evidence mapping, interview packets, gap tracking, and honest risk framing. It uses anonymized demo data and intentionally disables backend API access in the public build.
The purpose of the UI companion is to show how the TraceOps evidence-governance pattern can become a usable internal-tool dashboard.
- Internal tools UI design
- Requirement-to-evidence mapping
- Evidence policy status rendering
- Gap tracking and safe interview framing
- Interview packet workflow design
- Public-safe anonymized demo data
- Separation between frontend display and backend evidence governance
The published UI companion does not claim autonomous AI verification.
The public Lovable build renders governed demo values only. Backend API access is intentionally disabled in the public build. Future integration with this FastAPI repo would require authenticated backend endpoints where evidence policy, source provenance, safe-claim blocking, and workflow logic are enforced.
flowchart LR
A["Fake role description"] --> B["Requirement extraction"]
B --> C["Demo evidence inventory"]
C --> D["Requirement/evidence mapping"]
D --> E["Claim policy"]
E --> F["Source-backed markdown report"]
F --> G["Unsupported claim review"]
The public repo now exposes a machine-readable contract for the future private agent backend:
GET /agent/contractapp/agent_contract.pydocs/agent_integration_contract.md
The contract documents the boundary between this public fake-data demo and a private Qwen/vLLM FastAPI agent service. The intended private backend pattern is:
Lovable / React UI
-> FastAPI agent backend
-> Python orchestrator
-> Qwen served by vLLM
-> deterministic tools
-> schema validation
-> database run history
-> human review
-> markdown export
This keeps the strongest engineering claim precise: the public repo proves the evidence-governance workflow, while the future private service can add LLM-backed structured extraction without leaking private data.
- Loads fake markdown evidence from
data/demo_evidence/. - Loads a fake role description from
data/demo_evidence/sample_role_description.md. - Extracts requirement bullets into reviewable items.
- Maps requirement terms to fake evidence sources.
- Classifies claims as supported, partial, or unsupported.
- Keeps unsupported claims visible instead of promoting them.
- Writes
outputs/demo_report.mdfrom the demo workflow. - Provides a committed example report at
docs/examples/demo_report_example.md. - Exposes the workflow through simple FastAPI routes.
- Exposes
GET /agent/contractas a public-safe backend/UI integration contract. - Runs pytest coverage for evidence loading, mapping, claim policy, report output, routes, demo execution, public safety scanning, and the agent contract.
Reading evidence is not the same as trusting evidence. This demo keeps those steps separate.
- Supported claims require direct source evidence and at least one source path.
- Partial claims require weak or incomplete source evidence and at least one source path.
- Unsupported claims have no source evidence, remain visible for review, and are not promoted.
- Source paths in reports and API responses are repo-relative and use forward slashes.
- Generated reports must not expose local machine paths.
Run the app with Uvicorn and inspect these routes:
GET /GET /healthGET /evidenceGET /reportGET /agent/contractPOST /demo/report
The UI is intentionally simple. It shows evidence inventory, requirements, decision counts, claim sections, source provenance, public safety status, and the agent integration boundary.
| Requirement | Decision | Source provenance |
|---|---|---|
| Python automation for validation workflows | Supported | data/demo_evidence/python_automation_notes.md |
| Telemetry log review and evidence summaries | Supported | data/demo_evidence/firmware_log_review_notes.md |
| Repeatable failure documentation and operator handoff | Partial | data/demo_evidence/validation_station_notes.md |
| Production ownership claim | Unsupported | No source evidence found |
app/
FastAPI routes, evidence loading, requirement mapping, claim policy,
agent integration contract, and report writing
data/demo_evidence/
fake role description and fake engineering evidence notes
docs/
architecture notes, usage docs, limitations, checklist, agent contract,
and example outputs
scripts/
demo runner and public safety scanner
tests/
pytest coverage for workflow behavior, API contract, and failure modes
python -m pip install -e ".[test]"
python -m uvicorn app.main:app --reloadpython scripts/run_demo.pyThe generated report is written to outputs/demo_report.md. Generated output
stays out of Git.
python -m pytest -q
python scripts/check_public_safety.py
python scripts/run_demo.py
python scripts/check_public_safety.pyKeep local-only and generated files out of the public repo:
.env.env.*.venv/outputs/.private_sensitive_terms.txtCODEX_PUBLIC_DEMO_PROMPT.md.pytest_cache/.pytest_tmp/- private job notes
- real company or recruiter data
- prompt files
- local machine paths
All included evidence is fake demo data. The scanner in
scripts/check_public_safety.py checks public text files for fake blocked
placeholder terms and skips generated output and local cache folders.
- Fake data only.
- Deterministic keyword and rule matching only.
- No LLM integration inside the public repo.
- No external APIs.
- No production retrieval system.
- Public demo only.
- The Qwen/vLLM agent backend is documented as an integration contract, not implemented here.




