disk-panic-openenv / openenv.yaml
yashppawar's picture
Initial DiskPanic OpenEnv submission
569c142 verified
spec_version: 1
name: disk_panic
description: "SRE incident response RL environment β€” fix a production server with a full disk and crashing services without touching business-critical logs."
version: 0.1.0
author: yashppawar
type: space
runtime: fastapi
app: disk_panic.server.app:app
port: 8000
tasks:
- id: easy
description: "Free the disk by removing a bloated rotated log."
- id: medium
description: "Free the disk, restart the crashed app.service, preserve /var/log/audit."
- id: hard
description: "All of the above + tame a runaway writer via a logrotate config."
action_space:
type: DiskPanicAction
fields:
command: "str β€” a bash-like command (ls, df, du, cat, rm, find, sha256sum, systemctl, or `echo ... > path`)"
observation_space:
type: DiskPanicObservation
fields:
stdout: "str β€” output of the last command"
df_output: "str β€” simulated `df -h /` output"
service_status: "str β€” simulated systemctl state of app.service"
task_id: "str β€” current task (easy/medium/hard)"
step: "int"