Viewing files at commit 2e081b95a118Commit detailsView latest

Browse files
config/git_modes.json 47 lines · 2.3 KB · json
1
{
2
  "version": "2026-06-09.1",
3
  "modes": {
4
    "git_stock": {
5
      "setup": [],
6
      "applies_to": ["all"],
7
      "compares_to_oak_modes": ["oak_default", "oak_virtual_branch"],
8
      "fairness_note": "Baseline installed Git with no optional working-tree accelerators."
9
    },
10
    "git_untracked_cache": {
11
      "setup": [["git", "update-index", "--untracked-cache"]],
12
      "applies_to": ["large-tree", "huge-tree", "ignored-heavy", "wide-dirty-tree"],
13
      "compares_to_oak_modes": ["oak_default"],
14
      "fairness_note": "Valid when status cost is dominated by untracked-file discovery."
15
    },
16
    "git_split_index": {
17
      "setup": [["git", "update-index", "--split-index"]],
18
      "applies_to": ["large-tree", "huge-tree", "wide-dirty-tree"],
19
      "compares_to_oak_modes": ["oak_default"],
20
      "fairness_note": "Optimizes index writes; should be reported separately from stock Git."
21
    },
22
    "git_fsmonitor": {
23
      "setup": [["git", "config", "core.fsmonitor", "true"]],
24
      "applies_to": ["large-tree", "huge-tree", "wide-dirty-tree"],
25
      "compares_to_oak_modes": ["oak_default"],
26
      "fairness_note": "Requires platform support. Mark unsupported when no fsmonitor daemon or hook is active."
27
    },
28
    "git_sparse_checkout": {
29
      "setup": [["git", "sparse-checkout", "init", "--cone"], ["git", "sparse-checkout", "set", "<fixture sparse paths>"]],
30
      "applies_to": ["sparse-task", "large-tree", "huge-tree"],
31
      "compares_to_oak_modes": ["oak_space_mount", "oak_mount_per_task"],
32
      "fairness_note": "Only valid for scenarios with explicit sparse-visible path sets."
33
    },
34
    "git_worktree": {
35
      "setup": [["git", "worktree", "add", "<task path>", "-b", "<task branch>"]],
36
      "applies_to": ["parallel-agent", "branch-per-task"],
37
      "compares_to_oak_modes": ["oak_space_mount", "oak_virtual_branch"],
38
      "fairness_note": "Measures isolation strategy, not single-checkout branch switching."
39
    },
40
    "git_lfs": {
41
      "setup": [["git", "lfs", "install", "--local"], ["git", "lfs", "track", "*.bin"]],
42
      "applies_to": ["single_large_binary", "many_large_binaries", "single_huge_binary_1gb", "many_large_binaries_multigb"],
43
      "compares_to_oak_modes": ["oak_default", "oak_space_mount"],
44
      "fairness_note": "Requires Git LFS availability and fixture generation with LFS-tracked binaries."
45
    }
46
  }
47
}