Viewing files at commit faa835d7e15eCommit detailsView latest

config/subject_kinds/oak.json 30 lines · 1.4 KB · json
1
{
2
  "schema_version": 1,
3
  "kind": "oak",
4
  "extraction_note": "Faithful parallel read of config/command_semantics.json harness_tracks.oak plus existing harness constants (parallel_contention.LOCK_HINT_PATTERN, fleet_report.SERVER_ERROR_PATTERNS, parallel_contention.integrity_check, oakbench.remotes.OAK_REMOTE_ENV). Proven measurement-identical by oakbench.subject_kinds.parity_report; lanes still read command_semantics.json directly.",
5
  "commands": {
6
    "init": ["init", "."],
7
    "stage": null,
8
    "commit": ["commit", "--no-verify"],
9
    "branch_create": ["switch", "-c", "agent-task"],
10
    "status": {
11
      "agent-default": ["status"],
12
      "core-equivalent": ["status"]
13
    },
14
    "diff": {
15
      "agent-default": ["diff"],
16
      "core-equivalent": ["diff", "--print"]
17
    }
18
  },
19
  "snapshot_call_semantics": {
20
    "stage_required": false,
21
    "calls_per_snapshot": 1,
22
    "note": "Oak snapshots in one recorded call; stage is null in command_semantics.json (oakbench.command_semantics.snapshot_commands)."
23
  },
24
  "lock_hint_patterns": ["index.lock", "another git process", "lock", "Resource temporarily unavailable"],
25
  "integrity_command": [["log", "-n", "1"], ["status"]],
26
  "integrity_method": "oak_log_status_sanity_plus_payload_survival; oak has no fsck equivalent yet",
27
  "workspace_model": "virtual_branch",
28
  "server_error_patterns": ["HTTP[ /]?5\\d\\d", "\\b50[023]\\b", "throttl", "rate limit"],
29
  "remote_env_var": "OAK_BENCH_REMOTE"
30
}