| 1 | {
|
| 2 | "schema_version": 1,
|
| 3 | "kind": "git",
|
| 4 | "extraction_note": "Faithful parallel read of config/command_semantics.json harness_tracks.git plus existing harness constants (parallel_contention.LOCK_HINT_PATTERN, fleet_report.SERVER_ERROR_PATTERNS, parallel_contention.integrity_check, oakbench.remotes.GIT_GITHUB_ENV). Proven measurement-identical by oakbench.subject_kinds.parity_report; lanes still read command_semantics.json directly.",
|
| 5 | "commands": {
|
| 6 | "init": ["init"],
|
| 7 | "stage": ["add", "."],
|
| 8 | "commit": ["commit", "-m", "{message}"],
|
| 9 | "branch_create": ["checkout", "-b", "agent-task"],
|
| 10 | "status": {
|
| 11 | "agent-default": ["status", "--short"],
|
| 12 | "core-equivalent": ["status", "--porcelain=v1"]
|
| 13 | },
|
| 14 | "diff": {
|
| 15 | "agent-default": ["diff", "--stat"],
|
| 16 | "core-equivalent": ["diff", "--no-ext-diff"]
|
| 17 | }
|
| 18 | },
|
| 19 | "snapshot_call_semantics": {
|
| 20 | "stage_required": true,
|
| 21 | "calls_per_snapshot": 2,
|
| 22 | "note": "Git pays stage+commit as two recorded calls (oakbench.command_semantics.snapshot_commands; docs/adding-benchmarks.md snapshot accounting rule)."
|
| 23 | },
|
| 24 | "lock_hint_patterns": ["index.lock", "another git process", "lock", "Resource temporarily unavailable"],
|
| 25 | "integrity_command": [["fsck", "--no-progress"]],
|
| 26 | "integrity_method": "git_fsck_plus_payload_survival",
|
| 27 | "workspace_model": "working_copy",
|
| 28 | "server_error_patterns": ["HTTP[ /]?5\\d\\d", "\\b50[023]\\b", "throttl", "rate limit"],
|
| 29 | "remote_env_var": "GIT_BENCH_REMOTE"
|
| 30 | }
|