@dzhechkov/harness-cli 0.7.3 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,283 @@
1
+ /**
2
+ * Every `--name` this CLI knows: the union of every name its code READS and every name its help
3
+ * DOCUMENTS. GENERATED — `test/known-flags-drift.test.ts` re-derives it from `cli.ts` and fails if
4
+ * this list has gone stale, so a new flag cannot silently start warning at its own users.
5
+ *
6
+ * It is deliberately a FLAT set, not a per-command map. Both ways of building a per-command list
7
+ * were measured and both are unsafe: 53 of the names the CLI reads appear nowhere in help, and
8
+ * static extraction over the dispatch table lost `--week` from `dz recap` while picking up a
9
+ * neighbour's flags for `dz usage`. A refusal built on either would reject working commands.
10
+ * See harness-core/src/cli-flag-notice.ts for the full reasoning and the honest limit.
11
+ */
12
+ export const KNOWN_CLI_FLAGS: readonly string[] = [
13
+ 'affected',
14
+ 'all',
15
+ 'allow-same-family',
16
+ 'allow-same-family-qe',
17
+ 'any',
18
+ 'append',
19
+ 'apply',
20
+ 'arg',
21
+ 'artifact',
22
+ 'at',
23
+ 'audit-dev',
24
+ 'author',
25
+ 'auto',
26
+ 'base',
27
+ 'baseline',
28
+ 'body',
29
+ 'book',
30
+ 'books',
31
+ 'bto',
32
+ 'budget',
33
+ 'budget-extra',
34
+ 'bump-only',
35
+ 'by-stage',
36
+ 'calibrate',
37
+ 'candidate',
38
+ 'candidates',
39
+ 'canonical',
40
+ 'category',
41
+ 'check',
42
+ 'claim-check',
43
+ 'claude-bin',
44
+ 'cmd',
45
+ 'coder-family',
46
+ 'codex-home',
47
+ 'command',
48
+ 'commands',
49
+ 'commit',
50
+ 'compare',
51
+ 'confirm',
52
+ 'confirmed',
53
+ 'context-only',
54
+ 'corroborate',
55
+ 'day',
56
+ 'deep',
57
+ 'default-family',
58
+ 'desc',
59
+ 'description',
60
+ 'diff',
61
+ 'diff-filter',
62
+ 'dir',
63
+ 'domain',
64
+ 'done',
65
+ 'dry-run',
66
+ 'effect',
67
+ 'effort',
68
+ 'emit',
69
+ 'emit-policy',
70
+ 'enrich',
71
+ 'epsilon',
72
+ 'expect',
73
+ 'expect-commands',
74
+ 'export',
75
+ 'fa-record',
76
+ 'fail-on',
77
+ 'fail-on-undergrant',
78
+ 'family',
79
+ 'feature-dir',
80
+ 'files',
81
+ 'filter',
82
+ 'finalize',
83
+ 'findings',
84
+ 'flag',
85
+ 'force',
86
+ 'forget',
87
+ 'format',
88
+ 'from',
89
+ 'from-',
90
+ 'from-json',
91
+ 'from-kus',
92
+ 'from-pack',
93
+ 'from-slice',
94
+ 'from-spec',
95
+ 'full',
96
+ 'gates',
97
+ 'gen-critic',
98
+ 'goal',
99
+ 'guard',
100
+ 'guards',
101
+ 'half-year',
102
+ 'harmonize',
103
+ 'help',
104
+ 'holdout',
105
+ 'html',
106
+ 'id',
107
+ 'include-domain',
108
+ 'include-pairs',
109
+ 'init',
110
+ 'input-hash',
111
+ 'install',
112
+ 'install-driver',
113
+ 'install-hook',
114
+ 'into',
115
+ 'invariants',
116
+ 'json',
117
+ 'judge',
118
+ 'k',
119
+ 'keep-scratch',
120
+ 'key',
121
+ 'kind',
122
+ 'ladder',
123
+ 'legacy',
124
+ 'lexical',
125
+ 'license',
126
+ 'limit',
127
+ 'list',
128
+ 'live-content',
129
+ 'loc-cap',
130
+ 'local-path',
131
+ 'manifest',
132
+ 'margin',
133
+ 'mark',
134
+ 'max',
135
+ 'max-wall-clock',
136
+ 'memory',
137
+ 'mock',
138
+ 'mode',
139
+ 'model',
140
+ 'module',
141
+ 'month',
142
+ 'n',
143
+ 'name',
144
+ 'name-only',
145
+ 'no-audit',
146
+ 'no-decorate',
147
+ 'no-dry-run',
148
+ 'no-evals',
149
+ 'no-filters',
150
+ 'no-fund',
151
+ 'no-guard',
152
+ 'no-hooks',
153
+ 'no-index',
154
+ 'no-issue',
155
+ 'no-memory',
156
+ 'no-merges',
157
+ 'no-mirror',
158
+ 'no-provenance',
159
+ 'no-result',
160
+ 'no-semantic',
161
+ 'no-session-persistence',
162
+ 'no-teach',
163
+ 'no-verify',
164
+ 'o',
165
+ 'once',
166
+ 'oneline',
167
+ 'only',
168
+ 'op',
169
+ 'original',
170
+ 'out',
171
+ 'output',
172
+ 'output-format',
173
+ 'override',
174
+ 'pack',
175
+ 'pack-destination',
176
+ 'package',
177
+ 'pair',
178
+ 'pattern',
179
+ 'periods',
180
+ 'pick',
181
+ 'plan',
182
+ 'plugin-dir',
183
+ 'porcelain',
184
+ 'preset',
185
+ 'pretty',
186
+ 'project',
187
+ 'promote',
188
+ 'proposal',
189
+ 'provenance',
190
+ 'prune-noise',
191
+ 'prune-quarantine',
192
+ 'pubkey',
193
+ 'publish',
194
+ 'quarter',
195
+ 'reason',
196
+ 'rebaseline',
197
+ 'recalled',
198
+ 'reconcile',
199
+ 'record-provisional',
200
+ 'registry',
201
+ 'reinforce',
202
+ 'remove',
203
+ 'report',
204
+ 'require-plan',
205
+ 'require-signing',
206
+ 'rerank',
207
+ 'result',
208
+ 'resume',
209
+ 'revise',
210
+ 'reward',
211
+ 'row',
212
+ 'run',
213
+ 'run-dir',
214
+ 'run-id',
215
+ 'runner',
216
+ 'safe-mode',
217
+ 'sandbox',
218
+ 'save-dev',
219
+ 'scenarios',
220
+ 'scope-check',
221
+ 'score',
222
+ 'seed',
223
+ 'select',
224
+ 'semantic',
225
+ 'session',
226
+ 'sessions-dir',
227
+ 'short',
228
+ 'show-toplevel',
229
+ 'sign-key',
230
+ 'since',
231
+ 'skill',
232
+ 'skills-dir',
233
+ 'slice',
234
+ 'slug',
235
+ 'source',
236
+ 'split',
237
+ 'stage',
238
+ 'stage-timeout',
239
+ 'stages-json',
240
+ 'static',
241
+ 'stats',
242
+ 'status',
243
+ 'stdin',
244
+ 'step',
245
+ 'stored',
246
+ 'strict',
247
+ 'strict-mcp-config',
248
+ 'subsystem',
249
+ 'success',
250
+ 'tag',
251
+ 'target',
252
+ 'task',
253
+ 'teach',
254
+ 'test',
255
+ 'test-cmd',
256
+ 'text',
257
+ 'threshold',
258
+ 'tie-rate',
259
+ 'tier',
260
+ 'timeout',
261
+ 'title',
262
+ 'tolerance',
263
+ 'tools',
264
+ 'topics',
265
+ 'type',
266
+ 'usage',
267
+ 'validate',
268
+ 'verbose',
269
+ 'verified',
270
+ 'verify',
271
+ 'version',
272
+ 'wall-clock-extra',
273
+ 'weak',
274
+ 'week',
275
+ 'weekly',
276
+ 'window-days',
277
+ 'with-pairs',
278
+ 'with-references',
279
+ 'work-order',
280
+ 'write',
281
+ 'year',
282
+ 'yes',
283
+ ];