Spaces:
Sleeping
Sleeping
Commit History
-
SystemTruth rebrand: bigger UI, new diagrams, theme-cohesive HF Space
- Rebrand sre-env -> SystemTruth across user-facing surfaces: * GitHub: github.com/Madhav-GPT/SystemTruth * HF Space: huggingface.co/spaces/Madhav189/SystemTruth * Live URL: Madhav189-SystemTruth.hf.space * HF Space header brand mark + tagline Internal package name (sre_gym/) is preserved as backwards-compat; the user-facing surface is fully renamed. - README rewrite: much bigger "what's in the box" section explaining the three-tier USP (Triage compute / Strategy horizon / Operations realism). Embeds the 4 visual assets: * docs/blog/system_architecture.png (architecture diagram) * docs/blog/episode_lifecycle.png (lifecycle diagram) * eval/results/qwen25_7b_comparison_hero.png (hero bar) * eval/results/qwen25_7b_comparison_per_template.png (per-template) Adds the Colab badge link to colab.research.google.com/drive/1Re9pwkabEP4Cearc2hCMMqGdEjSSUjGu for the training notebook. - HF Space UI fixes per user critique: * Inputs ligh…6583a07 -
finalization: blog + README + execution rewrite, drop 3B + openclaw shim
- Add BLOG.md at repo root with 6 blog assets in docs/blog/. Trimmed to ~1.5k words, opens with "why this matters", embeds an agent transcript, drops the dashed-pending rectangle for the real eval table, ends on a claim instead of "watch this space". - Rewrite README around env -> reward -> coliseum -> training (honest weak point) arc, with the new tier names (Triage/Strategy/Operations) and the Madhav-GPT/sre-env GitHub URL. Adds the world-modelling framing to the reward section. - Rewrite execution.md as a leaner operator runbook. Reflects the actual current state (training executed, results landed) instead of the old "to be executed externally" framing. Drops openclaw_integration mentions. - Delete openclaw_integration/ shim entirely (rename to coliseum/ already shipped). Drop the legacy 3B Qwen2.5 notebook (01_triage_train_grpo.ipynb + .py) and the old basic/advanced/max-named variants (01_basic_train_grpo_unsloth, 02_basic_eval_comparison, 03_advanced_bluep…0058c94
-
hackathon sprint: grader collapse + coliseum rename + training pipeline
- 5-component grader (outcome 0.45 + valid 0.20 + format 0.10 + anti 0.15 + eff 0.10) - openclaw_integration renamed to coliseum (ArenaClient/ArenaPool, COLISEUM_* env) - sre_gym tier renames: basic→triage, advanced→strategy, max→operations - README rewrite with Triage/Strategy/Operations vocabulary - training pipeline: build_corpus.py + run_expert_collection.py + 01_triage_train_grpo notebook - 30 expert trajectories for the 6 missing templates (sonnet_missing6.jsonl) - 120-episode SFT corpus at 60/20/20 expert/mediocre/failure split - notebook bootstrap clones from Madhav-GPT/sre-env Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>c9baa73 -
honesty pass: README + execution.md + manifests now match the codebase
Peer review surfaced ~20 verifiable gaps between the v3 marketing README and the actual codebase. Programmatic re-checks confirmed almost all of them. This commit fixes what's fixable in code/docs without faking work. Verified-and-fixed: - "12 templates × 5 procgen = 72" arithmetic was wrong; the catalogue is actually 12 templates × 6 entries each (1 base + 5 procgen variants). Fixed across README, sre_gym/__init__.py, and openenv.yaml description. - openenv.yaml said advanced/max runnable=false even though both have runnable Python orchestrators. Updated to runnable=true with explicit runnable_kind fields (live_environment / python_orchestrator / python_simulator). - openenv.yaml space_id was dakshdoesdev/sre-gym; current Space is Madhav189/sre-env. Now aligned + cross-linked. - pyproject.toml name was sre-gym, openenv.yaml was sre-engineer-llm. Aligned both to sre-engineer-llm v3.1.0; uv.lock regenerated. - README claimed "140 tests passing"; pytest…8e274ca -
24-hour sprint: all 3 tiers runnable + MCP dual-route + terminal-style Gradio UI
Each tier escalates a different dimension: Basic compute, Advanced horizon, Max realism. All three are now runnable on the HF Space. Stage 1 — codebase fixes - inference.py extends hypothesis schema enum from 3 to all 12 root causes - 9 new draft runbooks (1 per missing template), 3 v2 runbooks upgraded to canonical 5-section structure (Symptoms / Decision tree / Action sequence / Success criteria / Rollback notes) - demo/run_demo.sh exercises one scenario per failure category - tests/test_inference_covers_all_root_causes.py + tests/test_skill_runbooks_* Stage 2 — Advanced runner - sre_gym/advanced/runner.py chains Basic episodes with persistent horizon state (unresolved_alerts, pending_deploys, tech_debt, horizon_decay) - python -m sre_gym.advanced run cascading_release_train --seed 1 works - All 3 reference scenarios resolve via scripted-optimal in their phase chains Stage 3 — Max runner - sre_gym/max/runner.py: Python state-machine simulator over the 2…ad2cbc4 -
docs: expand README + execution.md into comprehensive references
README.md (356 -> 867 lines): - 18-section table of contents with deep links - Full per-tier deep dives inline (Basic 12-template skill table, Advanced 3-scenario walkthrough, Max chaos library + reference instance) - Complete reward-shape explanation with potential-based shaping derivation - Hardened ≤0.80 ceiling rationale + frontier-baseline calibration band - Tier-aware Python API examples - Architecture diagram + OpenEnv framework integration points - Mapping table from each judging-criteria weight to its defending artifact - 8-question FAQ + team / acknowledgments / submission checklist execution.md (53 -> 782 lines): - 15-section operator runbook covering the full lifecycle - Local setup paths (pip / uv / make) - First-run smoke test with curl examples - Tier-aware operation incl. Advanced/Max introspection - Scenario authoring quickstart for all three tiers - Full Basic-tier training pipeline (Colab + standalone) - 4-stage breakdown: seed dataset / SFT / GRPO / eval - 7-poli…66a9e6b -
Tier-escalating sre-gym v3.0 — compute → horizon → realism
Three-tier reframe of the env around the dimensional-escalation insight: each tier escalates a different bottleneck, not just scenario count. Basic (runnable): - 12 templates × 5 procgen variants = 72 deterministic scenarios - 6 v2 templates retained verbatim - 6 round-2 templates added (dep_degradation, memory_leak_oom, auth_token_expiry, network_partition, rate_limit_retry_storm, migration_lock) — each grounded in a 2025–26 production postmortem - Hardened scripted-optimal ceiling kept ≤ 0.80 across all 12 - 26 new template tests + 12 wrapper tests = 38 added (74 total green) Advanced (design): - 3 reference scenarios shipped as YAML (cascading_release_train / observability_pipeline_outage / supabase_rls_silent_leak) with topology, multi-phase incident chain, expanded action set, reward dimensions, reference traces, and synthetic on-call peer behaviour Max (design): - One fully-specced family (ecommerce_vibecoded_saas) with 22-service docker-compose stack, 1…2733f3f -
Replace estimated baseline numbers with eval_sweep-verified ones
Ran train/eval_sweep.py against the local env for random + heuristic policies (3 episodes per scenario × 6 base scenarios × 2 policies = 36 episodes total). Real measurements: Heuristic (deterministic, no LLM): 18 eps, 0/18 resolved, mean 0.187 Random (uniform over allowed): 12 eps, 0/12 resolved, mean 0.345 Notable: heuristic UNDERPERFORMS random because the deterministic policy never picks rollback_deploy (always falls into query_logs loops). This makes heuristic the tighter capability floor — a trained model needs to clear 0.19 to demonstrate it learned anything. The README baseline table now cites eval_sweep_baselines.jsonl as provenance for these two rows. Llama / Claude rows still come from their respective collection JSONLs (also in train/data/). Spread is 0.58 (0.19 -> 0.77) — solidly in the band where GRPO can produce a measurable training curve. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>c8cdf7c -
Position vs OpenEnv-hackathon competition + add baseline grid
Following the competitive intel report on the April 2026 OpenEnv hackathon. Adopting the high-leverage recommendations directly into the repo (no competitor code merged): 1. **Frontier baselines table at README hero spot** — 5 measured rows (Heuristic 0.13 / Groq-Llama 0.42 / Scripted-optimal ≤0.80 / Fireworks-Llama 0.73 / Claude Opus 0.77) plus the trained-3B target row. Every row reproducible via train/eval_sweep.py against the live HF Space. Establishes that the env discriminates capability — 0.55 spread between Llama-70B and Claude is a real headroom band, not a saturated benchmark. 2. **Competitor positioning section**: explicit comparison vs other April-2026 OpenEnv submissions (kube-sre-gym, opensec-env, soc-triage-env, scaler-openenv) showing what we do that they don't — indie/SaaS layer (vs cluster), 5 baselines (vs 1), trained model pipeline (vs LLM-baseline-only). 3. **openenv.yaml additions per TRL/Meta engineer review checklist**: max_co…47be627
-
Document expanded training pipeline in README
Reflects what's actually in the repo now: mixed-teacher seed corpus (Claude + Llama-70B via Fireworks + Llama-70B via Groq), four collection drivers, the new grpo_run.ipynb, and the eval_sweep.py harness. Updates the teacher-data table to show the variance-by-design rationale: Claude teaches optimal paths, Llama teaches realistic-agent failure modes, together they give GRPO enough signal to improve. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>f7c833c -
Rewrite README as comprehensive hackathon landing page
Full coverage of what ships: 6 templates + 30 scenarios, 11-action space, 7-dim grader with exact weights, live HF Space links, Python client example, architecture diagram including OpenClaw-RL shim and training pipeline, install + verify commands, Claude Code skill install, OpenClaw-RL pool server endpoint contract, project layout tree, training pipeline walkthrough (seed dataset + sanity notebook + parallel collection), competitor positioning table, research citations, roadmap. Keeps HF Space YAML frontmatter intact. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>209017c -
Add vibe-coded SaaS scenarios + Claude-teacher seed dataset
Three new scenario templates grounded in 2025-2026 production incidents (Replit/SaaStr, Base44, Tea app; Veracode/JFrog/Accorian research showing 45% of AI-generated code has security flaws, 88% of AI-generated logging is unsafe, 40% of AI-generated DB queries are SQL-injectable): - payment_webhook_misconfig (medium): Stripe signature-verification regression from a bad api-gateway deploy. Noise decoy is stripe-webhook itself, which is a downstream symptom. - schema_drift_missing_migration (medium): Prisma/Supabase schema drift where an api-gateway deploy expects a column whose migration never shipped. Worker-shared Prisma client also fails, making scope look DB-side. - cache_stale_state (medium): cache TTL regression (30s -> 3600s) serves stale and cross-user state. Misleading "high hit ratio" signal is the trap. First scenario exercising rollback=cache + restart=cache pattern. Each expands to 5 procgen variants. Total live scenarios: 30 (was 15). Also adds a Claude-teac…f749d7b
-
Harden env + ship Claude skill, OpenClaw-RL shim, training pipeline
Env hardening (Stream 1): - Rebalance grader into 7 dimensions with speed_bonus + noise_handling_score so scripted baseline ceiling drops 0.99 -> 0.74, creating training headroom - Surface noise_alerts, blast_radius, noise_queries on observation + state - Extend ServiceName literal with the noise-service pool Procedural scenarios: - Each of the 3 hand-crafted templates spawns 4 jittered variants via seeded RNG: metric noise, deploy timing, rotated noise-service selection - 15 scenarios total (5 per difficulty), baseline-resolvable via template_id dispatch in _baseline_actions OpenClaw-RL integration shim: - openclaw_integration/pool_server.py: FastAPI lease-based session server, asyncio-locked per-lease, TTL reaper for idle cleanup - openclaw_integration/sre_env_client.py: drop-in shape match with terminal-rl/env_client.py - README documents the one-line import patch for terminal-rl/generate.py Claude Code skill (v0 pitch): - skill/SKILL.md with investigation methodology +…0bf41ea -
Rename project to sre-engineer-llm
c8bef53 -
Initial commit of Unified Incident Env v2: Honest SRE Simulator
f12569b
-
Update README with current links, UI, and latest model scores
cad6640 -
Prepare competition-ready submission
0126492
-
Prepare OpenEnv Round 1 submission for my-openenv
Ship the validated unified incident benchmark under the final hackathon repo name, add the submission helper files the form expects, and point the environment metadata at the requested Hugging Face Space. Constraint: Submission checks expect root-level README, inference runner, requirements file, and demo helper in addition to OpenEnv spec files Rejected: Publish the existing development repo name as-is | submission form and requested URLs need my-openenv / my-env naming Confidence: high Scope-risk: moderate Reversibility: clean Directive: Keep the published repo aligned with the actual submitted Space and root runner names so automated checks see the same project shape everywhere Tested: uv run --extra dev pytest unified_incident_env/tests -q Tested: python -m py_compile inference.py run_demo.py unified_incident_env/trainer/prompts.py Not-tested: live Hugging Face Space build after this exact GitHub syncaf19401 -
Initial commit
Daksh VermaUnverified signature4deba45