Breach-OS / server /app.py

Commit History

feat(app): add POST /grade endpoint with active-episode guard and programmatic grader
f5810e8

subhdotsol commited on

feat(app): add GET /history endpoint β€” returns full attack_history list
7d5c46d

subhdotsol commited on

feat(app): add GET /state endpoint β€” returns current EpisodeState snapshot
fc70913

subhdotsol commited on

feat(app): add POST /step endpoint β€” executes one attack turn, returns StepResult
202f5d9

subhdotsol commited on

feat(app): add POST /reset endpoint β€” starts new episode, returns ResetResponse
0e662d7

subhdotsol commited on

feat(app): add GET /health endpoint for HuggingFace Spaces liveness probe
574fde3

subhdotsol commited on

feat(app): wire RewardComputer and run_llm_pipeline into environment on startup
b0ac794

subhdotsol commited on

feat(app): add lifespan hook β€” creates RedTeamEnvironment on startup
37ab50f

subhdotsol commited on

feat(app): add CORS middleware β€” allow all origins for Spaces compatibility
a3c4cc9

subhdotsol commited on

feat(app): scaffold FastAPI app with title, version and lifespan hook
f183aea

subhdotsol commited on