File size: 1,759 Bytes
d064478
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
  "name": "shadowops_openenv_contract",
  "version": "1.0.0",
  "environment": "ShadowOpsOpenEnvV1",
  "entrypoint": "backend-ml/openenv_shadowops_env.py:ShadowOpsOpenEnvV1",
  "deterministic_seed_support": true,
  "action_space": {
    "type": "discrete",
    "mapping": {
      "0": "ALLOW",
      "1": "BLOCK",
      "2": "FORK",
      "3": "QUARANTINE"
    },
    "labels": ["ALLOW", "BLOCK", "FORK", "QUARANTINE"]
  },
  "observation": {
    "type": "object",
    "required": ["prompt", "risk_vector", "quarantine", "available_actions", "incident_state"],
    "properties": {
      "prompt": {"type": "string"},
      "risk_vector": {"type": "array", "items": {"type": "number"}, "minItems": 16, "maxItems": 16},
      "quarantine": {
        "type": "object",
        "required": ["active", "steps_remaining_normalized"]
      },
      "available_actions": {"type": "array", "items": {"type": "string"}},
      "incident_state": {
        "type": "object",
        "required": ["domain", "intent", "payload", "tier", "ambiguity_score", "step_count", "health", "memory_context"]
      }
    }
  },
  "step_info": {
    "required": [
      "action",
      "domain",
      "intent",
      "outcome",
      "reward_rubric",
      "memory_context",
      "missing_evidence",
      "evidence_plan",
      "safe_outcome"
    ]
  },
  "reward_breakdown": [
    "action_correctness_reward",
    "safety_penalty",
    "false_positive_penalty",
    "evidence_completeness_reward",
    "risk_chain_handling_reward",
    "uncertainty_handling_reward"
  ],
  "done_condition": "done is true when the configured episode_max_length is reached.",
  "safe_defaults": {
    "model_loading_required": false,
    "hf_jobs_required": false,
    "gpu_required": false
  }
}