Breach-OS / server

Commit History

  1. Fix multi-mode deployment issues

    Naman Gupta
    2cbf425
  2. Updated config.py

    Naman Gupta
    2706e01
  3. Fix turn counting, task-aware max steps in inference, explicit conversation reset, openenv.yaml metadata

    Naman Gupta
    905ac2f

  1. feat : renamed everything to breach OS

    c296117

  1. updated inference.py

    4df57fe
  2. added automatic attack button in UI and improved roleplay

    abd2333
  3. added frontend for the project

    Naman Gupta
    f61eeae

  1. small fixes

    Naman Gupta
    fabaddd

  1. refactor: replace datetime.utcnow() with timezone-aware datetime.now(UTC)

    40e374a
  2. feat(app): add POST /grade endpoint with active-episode guard and programmatic grader

    f5810e8
  3. feat(app): add GET /history endpoint — returns full attack_history list

    7d5c46d
  4. feat(app): add GET /state endpoint — returns current EpisodeState snapshot

    fc70913
  5. feat(app): add POST /step endpoint — executes one attack turn, returns StepResult

    202f5d9
  6. feat(app): add POST /reset endpoint — starts new episode, returns ResetResponse

    0e662d7
  7. feat(app): add GET /health endpoint for HuggingFace Spaces liveness probe

    574fde3
  8. feat(app): wire RewardComputer and run_llm_pipeline into environment on startup

    b0ac794
  9. feat(app): add lifespan hook — creates RedTeamEnvironment on startup

    37ab50f
  10. feat(app): add CORS middleware — allow all origins for Spaces compatibility

    a3c4cc9
  11. feat(app): scaffold FastAPI app with title, version and lifespan hook

    f183aea
  12. feat(environment): add get_history() — returns copy of attack_history

    35c659c
  13. feat(environment): add get_state() — synchronous EpisodeState snapshot

    db1fcf1
  14. feat(environment): build and return StepResult with full observation

    4ec98de
  15. feat(environment): add termination logic — max_turns, attack_success, safety_flagged

    348c096
  16. feat(environment): append turn data to attack_history after each step

    1d7a191
  17. feat(environment): integrate reward_computer call in step() with mock fallback

    333177f
  18. feat(environment): integrate llm_pipeline call in step() with mock fallback

    c6ae20e
  19. feat(environment): add conversation history builder from last 5 attack turns

    8fa387f
  20. feat(environment): add step() skeleton with active episode guard

    6a29bd4
  21. feat(environment): call reward_computer.reset() in reset() to clear novelty scorer

    348c725
  22. feat(environment): implement reset() — zeros state and generates new episode_id

    e4d4c65
  23. feat(environment): add set_llm_pipeline() injection method for Person 3

    d289b48
  24. feat(environment): add set_reward_computer() injection method for Person 2

    061383a
  25. feat(environment): scaffold RedTeamEnvironment class with state fields

    b8bc48b
  26. feat(config): add get_settings() with lru_cache for singleton pattern

    d44c135
  27. feat(config): add LLM fields — hf_token, api_base_url, model_name, provider

    5389086
  28. feat(config): add Settings class extending pydantic BaseSettings

    5726faa
  29. chore(server): add server package __init__.py

    625ed28