Spaces:
Sleeping
Sleeping
Commit History
-
Phase 7: replay traces for HF Space demo
colabe60c2d2 -
Phase 7: replay traces for HF Space demo
colaba4470c7 -
feat: HF Space replay backend — trace store, /api endpoints, Docker, Cell 9
- env/replay.py: TraceStore loads pre-recorded JSON traces from data/traces/ - env/server.py: /api/attack-types, /api/attack, /api/stream/{type}/{steps}, /api/highlight, /api/stats; static frontend mount; INJECTARENA_MODE switch - Dockerfile: switch CMD to uvicorn env.server:app, set INJECTARENA_MODE=replay - README.md: HF Space frontmatter (sdk: docker, app_port: 7860) - scripts/generate_traces.py: runs trained attacker against scenarios on Colab, captures stage-by-stage timeline and outcomes into JSON traces - notebooks: Cell 9 to invoke the trace generator and push results to GitHub Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8c536e6