Viewing files at commit 1c9b819ab86bCommit detailsView latest

Browse files
config/git_modes.json 211 lines · 4.5 KB · json
1
{
2
  "version": "2026-06-09.1",
3
  "modes": {
4
    "git_stock": {
5
      "setup": [],
6
      "applies_to": [
7
        "all"
8
      ],
9
      "compares_to_oak_modes": [
10
        "oak_default",
11
        "oak_virtual_branch"
12
      ],
13
      "fairness_note": "Baseline installed Git with no optional working-tree accelerators."
14
    },
15
    "git_untracked_cache": {
16
      "setup": [
17
        [
18
          "git",
19
          "update-index",
20
          "--untracked-cache"
21
        ]
22
      ],
23
      "applies_to": [
24
        "large-tree",
25
        "huge-tree",
26
        "ignored-heavy",
27
        "wide-dirty-tree"
28
      ],
29
      "compares_to_oak_modes": [
30
        "oak_default"
31
      ],
32
      "fairness_note": "Valid when status cost is dominated by untracked-file discovery."
33
    },
34
    "git_split_index": {
35
      "setup": [
36
        [
37
          "git",
38
          "update-index",
39
          "--split-index"
40
        ]
41
      ],
42
      "applies_to": [
43
        "large-tree",
44
        "huge-tree",
45
        "wide-dirty-tree"
46
      ],
47
      "compares_to_oak_modes": [
48
        "oak_default"
49
      ],
50
      "fairness_note": "Optimizes index writes; should be reported separately from stock Git."
51
    },
52
    "git_fsmonitor": {
53
      "setup": [
54
        [
55
          "git",
56
          "config",
57
          "core.fsmonitor",
58
          "true"
59
        ]
60
      ],
61
      "applies_to": [
62
        "large-tree",
63
        "huge-tree",
64
        "wide-dirty-tree"
65
      ],
66
      "compares_to_oak_modes": [
67
        "oak_default"
68
      ],
69
      "fairness_note": "Requires platform support. Mark unsupported when no fsmonitor daemon or hook is active."
70
    },
71
    "git_sparse_checkout": {
72
      "setup": [
73
        [
74
          "git",
75
          "sparse-checkout",
76
          "init",
77
          "--cone"
78
        ],
79
        [
80
          "git",
81
          "sparse-checkout",
82
          "set",
83
          "<fixture sparse paths>"
84
        ]
85
      ],
86
      "applies_to": [
87
        "sparse-task",
88
        "large-tree",
89
        "huge-tree"
90
      ],
91
      "compares_to_oak_modes": [
92
        "oak_space_mount",
93
        "oak_mount_per_task"
94
      ],
95
      "fairness_note": "Only valid for scenarios with explicit sparse-visible path sets."
96
    },
97
    "git_worktree": {
98
      "setup": [
99
        [
100
          "git",
101
          "worktree",
102
          "add",
103
          "<task path>",
104
          "-b",
105
          "<task branch>"
106
        ]
107
      ],
108
      "applies_to": [
109
        "parallel-agent",
110
        "branch-per-task"
111
      ],
112
      "compares_to_oak_modes": [
113
        "oak_space_mount",
114
        "oak_virtual_branch"
115
      ],
116
      "fairness_note": "Measures isolation strategy, not single-checkout branch switching."
117
    },
118
    "git_lfs": {
119
      "setup": [
120
        [
121
          "git",
122
          "lfs",
123
          "install",
124
          "--local"
125
        ],
126
        [
127
          "git",
128
          "lfs",
129
          "track",
130
          "*.bin"
131
        ]
132
      ],
133
      "applies_to": [
134
        "single_large_binary",
135
        "many_large_binaries",
136
        "single_huge_binary_1gb",
137
        "many_large_binaries_multigb"
138
      ],
139
      "compares_to_oak_modes": [
140
        "oak_default",
141
        "oak_space_mount"
142
      ],
143
      "fairness_note": "Requires Git LFS availability and fixture generation with LFS-tracked binaries."
144
    },
145
    "git_scalar": {
146
      "setup": [
147
        [
148
          "git",
149
          "config",
150
          "core.fsmonitor",
151
          "true"
152
        ],
153
        [
154
          "git",
155
          "config",
156
          "core.untrackedCache",
157
          "true"
158
        ],
159
        [
160
          "git",
161
          "config",
162
          "core.preloadIndex",
163
          "true"
164
        ],
165
        [
166
          "git",
167
          "config",
168
          "index.threads",
169
          "true"
170
        ],
171
        [
172
          "git",
173
          "config",
174
          "index.version",
175
          "4"
176
        ],
177
        [
178
          "git",
179
          "config",
180
          "core.multiPackIndex",
181
          "true"
182
        ],
183
        [
184
          "git",
185
          "config",
186
          "core.commitGraph",
187
          "true"
188
        ],
189
        [
190
          "git",
191
          "config",
192
          "status.aheadBehind",
193
          "false"
194
        ],
195
        [
196
          "git",
197
          "config",
198
          "gc.auto",
199
          "0"
200
        ]
201
      ],
202
      "applies_to": [
203
        "all"
204
      ],
205
      "compares_to_oak_modes": [
206
        "oak_default"
207
      ],
208
      "fairness_note": "Scalar-recommended local configuration (git scalar.c set_recommended_config, local-performance keys). Reported separately from stock Git as git_config_profile=scalar_recommended. Commit-graph/multi-pack-index files are produced by Scalar maintenance and are not applicable to 1-3 commit core histories."
209
    }
210
  }
211
}