@rightkit/release 0.6.62 → 0.6.64

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,558 @@
1
+ {
2
+ "schema": "rightkit.acceptance-cases/1",
3
+ "about": "The inputs of the twelve-line acceptance run (GATE-CONTRACT GC-A27; rightkit#1514; Adrian, 2026-11-24: 'adopt the 12-line evidence table and its 4 named limits ... and the 7 fixture cases + 1 real build as the acceptance run'). Written by hand from the witness fixture's layout and the contract's rules, fixed with its hash recorded before any run it judges, never regenerated from a run. The time limits are the one exception: each is the first clean measured time multiplied by 1.25 and is filled in once, with the measurement named.",
4
+ "fixture": {
5
+ "repository": "rk-witness-fixture",
6
+ "commit": "9da554ea136a70b7a82fb466ca7e00e0fd85ce37",
7
+ "stage": "compile",
8
+ "host": "win32",
9
+ "hostTriple": "x86_64-pc-windows-msvc",
10
+ "otherTriples": [
11
+ "x86_64-unknown-linux-gnu",
12
+ "aarch64-apple-darwin"
13
+ ]
14
+ },
15
+ "classA": {
16
+ "source": "The 46 Class A rows of the fixture, from the 18 November inventory (5a, sha256 5463eb8e... as reviewed) which was read from the gate's stored keys and source and checked by a second model. Since that inventory's commit 34788a9 the fixture changed one file (rk/crates/rk-slow/build.rs), which adds and removes no row.",
17
+ "programRows": {
18
+ "rustfmt": [
19
+ "rustfmt:2021"
20
+ ],
21
+ "node": [
22
+ "node-check:app/packages/witness-lib/index.js",
23
+ "node-check:app/packages/witness-lib/index.test.js",
24
+ "node-check:app/packages/witness-notest/index.js",
25
+ "node-check:app/right-release.config.mjs",
26
+ "node-check:app/scripts/build-web.mjs",
27
+ "node-check:app/scripts/print-ok.mjs"
28
+ ],
29
+ "actionlint": [
30
+ "actionlint"
31
+ ],
32
+ "shellcheck": [
33
+ "shellcheck"
34
+ ],
35
+ "cargo metadata": [
36
+ "cargo-metadata:app/engine",
37
+ "cargo-metadata:app/src-tauri",
38
+ "cargo-metadata:rightkit-a",
39
+ "cargo-metadata:rightkit-b",
40
+ "cargo-metadata:rk",
41
+ "cargo-metadata:tools"
42
+ ],
43
+ "cargo-deny": [
44
+ "cargo-deny:app/engine",
45
+ "cargo-deny:app/src-tauri",
46
+ "cargo-deny:rightkit-a",
47
+ "cargo-deny:rightkit-b",
48
+ "cargo-deny:rk",
49
+ "cargo-deny:tools"
50
+ ],
51
+ "cargo-audit": [
52
+ "cargo-audit:app/engine",
53
+ "cargo-audit:app/src-tauri",
54
+ "cargo-audit:rightkit-a",
55
+ "cargo-audit:rightkit-b",
56
+ "cargo-audit:rk",
57
+ "cargo-audit:tools"
58
+ ],
59
+ "pnpm": [
60
+ "pnpm-lockfile:app",
61
+ "pnpm-audit:app"
62
+ ],
63
+ "tsc": [
64
+ "tsc:app-packages-witness-lib",
65
+ "tsc:app-packages-witness-notest"
66
+ ],
67
+ "oxlint": [
68
+ "oxlint:app-packages-witness-lib",
69
+ "oxlint:app-packages-witness-notest"
70
+ ]
71
+ },
72
+ "insideGateRows": [
73
+ "json-parse",
74
+ "toml-parse",
75
+ "yaml-parse",
76
+ "ghsa-audit:app/engine",
77
+ "ghsa-audit:app/src-tauri",
78
+ "ghsa-audit:rightkit-a",
79
+ "ghsa-audit:rightkit-b",
80
+ "ghsa-audit:rk",
81
+ "ghsa-audit:tools",
82
+ "license",
83
+ "secret-scan",
84
+ "feature-coverage",
85
+ "swift-lock:app/macos-native/WitnessHelper"
86
+ ]
87
+ },
88
+ "brokerCommands": {
89
+ "rule": "NN09: the broker commands of a full compile are exactly this list, each sent once: nothing missing, nothing extra, nothing sent twice. One command per workspace, stage and feature set. Clippy names all three targets in one command where the workspace's crates resolve alike for every target (they have no target-specific dependency), and is one command per target for the Tauri shell app/src-tauri, whose dependency graph differs by target (the split the contract approved on 2026-11-21). A feature set is its own command only where ci/gate.config.json declares it for a crate (rk-core: alpha,excl-a and beta,excl-b; rk-slow: slow), because --features names one crate's features. Docs are built for libraries, with each crate's first declared feature set (rk-core: alpha,excl-a). app/src-tauri declares a feature and no featureSets, so it gets one --all-features lint on the host. The sidecar the Tauri shell needs is one build in app/engine. rk-darwin is not built on this host.",
90
+ "hostTarget": "x86_64-pc-windows-msvc",
91
+ "targets": [
92
+ "x86_64-pc-windows-msvc",
93
+ "x86_64-unknown-linux-gnu",
94
+ "aarch64-apple-darwin"
95
+ ],
96
+ "commands": [
97
+ {
98
+ "workspace": "app/engine",
99
+ "verb": "build",
100
+ "features": "",
101
+ "targets": "host",
102
+ "why": "the sidecar binary"
103
+ },
104
+ {
105
+ "workspace": "app/engine",
106
+ "verb": "clippy",
107
+ "features": "",
108
+ "targets": "each target"
109
+ },
110
+ {
111
+ "workspace": "app/engine",
112
+ "verb": "test",
113
+ "features": "",
114
+ "targets": "host"
115
+ },
116
+ {
117
+ "workspace": "app/engine",
118
+ "verb": "doc",
119
+ "features": "",
120
+ "targets": "host"
121
+ },
122
+ {
123
+ "workspace": "app/src-tauri",
124
+ "verb": "clippy",
125
+ "features": "",
126
+ "targets": "x86_64-pc-windows-msvc"
127
+ },
128
+ {
129
+ "workspace": "app/src-tauri",
130
+ "verb": "clippy",
131
+ "features": "",
132
+ "targets": "x86_64-unknown-linux-gnu"
133
+ },
134
+ {
135
+ "workspace": "app/src-tauri",
136
+ "verb": "clippy",
137
+ "features": "",
138
+ "targets": "aarch64-apple-darwin"
139
+ },
140
+ {
141
+ "workspace": "app/src-tauri",
142
+ "verb": "clippy",
143
+ "features": "--all-features",
144
+ "targets": "host"
145
+ },
146
+ {
147
+ "workspace": "app/src-tauri",
148
+ "verb": "test",
149
+ "features": "",
150
+ "targets": "host"
151
+ },
152
+ {
153
+ "workspace": "tools",
154
+ "verb": "clippy",
155
+ "features": "",
156
+ "targets": "each target"
157
+ },
158
+ {
159
+ "workspace": "tools",
160
+ "verb": "test",
161
+ "features": "",
162
+ "targets": "host"
163
+ },
164
+ {
165
+ "workspace": "tools",
166
+ "verb": "doc",
167
+ "features": "",
168
+ "targets": "host"
169
+ },
170
+ {
171
+ "workspace": "rk",
172
+ "verb": "clippy",
173
+ "features": "",
174
+ "targets": "each target"
175
+ },
176
+ {
177
+ "workspace": "rk",
178
+ "verb": "clippy",
179
+ "features": "--features alpha,excl-a",
180
+ "targets": "each target"
181
+ },
182
+ {
183
+ "workspace": "rk",
184
+ "verb": "clippy",
185
+ "features": "--features beta,excl-b",
186
+ "targets": "each target"
187
+ },
188
+ {
189
+ "workspace": "rk",
190
+ "verb": "clippy",
191
+ "features": "--features slow",
192
+ "targets": "each target"
193
+ },
194
+ {
195
+ "workspace": "rk",
196
+ "verb": "test",
197
+ "features": "",
198
+ "targets": "host"
199
+ },
200
+ {
201
+ "workspace": "rk",
202
+ "verb": "test",
203
+ "features": "--features alpha,excl-a",
204
+ "targets": "host"
205
+ },
206
+ {
207
+ "workspace": "rk",
208
+ "verb": "test",
209
+ "features": "--features beta,excl-b",
210
+ "targets": "host"
211
+ },
212
+ {
213
+ "workspace": "rk",
214
+ "verb": "test",
215
+ "features": "--features slow",
216
+ "targets": "host"
217
+ },
218
+ {
219
+ "workspace": "rk",
220
+ "verb": "doc",
221
+ "features": "",
222
+ "targets": "host"
223
+ },
224
+ {
225
+ "workspace": "rk",
226
+ "verb": "doc",
227
+ "features": "--features alpha,excl-a",
228
+ "targets": "host"
229
+ },
230
+ {
231
+ "workspace": "crates/rightkit-a",
232
+ "verb": "clippy",
233
+ "features": "",
234
+ "targets": "each target"
235
+ },
236
+ {
237
+ "workspace": "crates/rightkit-a",
238
+ "verb": "test",
239
+ "features": "",
240
+ "targets": "host"
241
+ },
242
+ {
243
+ "workspace": "crates/rightkit-a",
244
+ "verb": "doc",
245
+ "features": "",
246
+ "targets": "host"
247
+ },
248
+ {
249
+ "workspace": "crates/rightkit-b",
250
+ "verb": "clippy",
251
+ "features": "",
252
+ "targets": "each target"
253
+ },
254
+ {
255
+ "workspace": "crates/rightkit-b",
256
+ "verb": "test",
257
+ "features": "",
258
+ "targets": "host"
259
+ },
260
+ {
261
+ "workspace": "crates/rightkit-b",
262
+ "verb": "doc",
263
+ "features": "",
264
+ "targets": "host"
265
+ }
266
+ ],
267
+ "total": 28
268
+ },
269
+ "legitimateRepeats": [
270
+ {
271
+ "program": "cargo",
272
+ "args": [
273
+ "metadata",
274
+ "--no-deps",
275
+ "--format-version",
276
+ "1",
277
+ "--locked"
278
+ ],
279
+ "count": 6,
280
+ "why": "one per Cargo workspace (the planner's read); the Windows process record keeps no folder, so the six look alike"
281
+ },
282
+ {
283
+ "program": "cargo",
284
+ "args": [
285
+ "metadata",
286
+ "--format-version",
287
+ "1",
288
+ "--locked"
289
+ ],
290
+ "count": 6,
291
+ "why": "one per Cargo workspace (the cargo-deny row's own read)"
292
+ },
293
+ {
294
+ "program": "cargo",
295
+ "args": [
296
+ "fetch",
297
+ "--locked"
298
+ ],
299
+ "count": 6,
300
+ "why": "one per Cargo workspace (the cargo-deny row's own fetch)"
301
+ },
302
+ {
303
+ "program": "cargo",
304
+ "argsPattern": "^audit --db \\S+ --no-fetch( |$)",
305
+ "count": 6,
306
+ "why": "one per Cargo workspace (the cargo-audit row); the advisory database path is this machine's"
307
+ },
308
+ {
309
+ "programPattern": "^oxlint",
310
+ "argsPattern": "^-c \\S*\\.oxlintrc\\.json \\.$",
311
+ "count": 2,
312
+ "why": "one per npm package"
313
+ },
314
+ {
315
+ "program": "pnpm",
316
+ "args": [
317
+ "exec",
318
+ "tsc",
319
+ "--noEmit",
320
+ "-p",
321
+ "tsconfig.json"
322
+ ],
323
+ "count": 2,
324
+ "why": "one per npm package"
325
+ }
326
+ ],
327
+ "cases": [
328
+ {
329
+ "id": 1,
330
+ "name": "from nothing, with the checkout dirtied",
331
+ "decides": [
332
+ "NN01",
333
+ "NN03",
334
+ "NN08",
335
+ "NN09",
336
+ "NN10",
337
+ "NN11",
338
+ "NN12"
339
+ ],
340
+ "commit": "fixture",
341
+ "setup": [
342
+ "remove the fixture's scan store and its history file",
343
+ "overwrite rk/crates/rk-leaf/src/lib.rs in the working checkout with text that does not compile; restore it after the run"
344
+ ],
345
+ "expect": {
346
+ "exit": 0
347
+ }
348
+ },
349
+ {
350
+ "id": 2,
351
+ "name": "the same commit again",
352
+ "decides": [
353
+ "NN06",
354
+ "NN08"
355
+ ],
356
+ "commit": "fixture",
357
+ "setup": [],
358
+ "expect": {
359
+ "exit": 0,
360
+ "newReceipts": 0,
361
+ "classAPrograms": 0,
362
+ "cacheFilesWritten": 0
363
+ }
364
+ },
365
+ {
366
+ "id": 4,
367
+ "name": "one cache file deleted (license)",
368
+ "decides": [
369
+ "NN04",
370
+ "NN05"
371
+ ],
372
+ "commit": "fixture",
373
+ "setup": [
374
+ "delete every store file whose row id is license, keeping a copy; put the copy back after the run"
375
+ ],
376
+ "expect": {
377
+ "exit": "non-zero",
378
+ "newReceipts": 0,
379
+ "classAPrograms": 0,
380
+ "outputNames": [
381
+ "license"
382
+ ]
383
+ }
384
+ },
385
+ {
386
+ "id": 3,
387
+ "name": "one edit to rk-leaf",
388
+ "decides": [
389
+ "NN05",
390
+ "NN07"
391
+ ],
392
+ "commit": {
393
+ "edits": [
394
+ {
395
+ "path": "rk/crates/rk-leaf/src/lib.rs",
396
+ "content": "/// The leaf of the dependency chain rk-core, rk-util, rk-leaf: a one-file edit here rebuilds only this crate.\npub fn leaf() -> u32 {\n rk_util::doubled() + 1\n}\n\n/// Acceptance case 3: one more public function in the leaf.\npub fn leaf_again() -> u32 {\n leaf() + 1\n}\n\n#[cfg(test)]\nmod tests {\n use super::leaf;\n\n #[test]\n fn leaf_is_three() {\n assert_eq!(leaf(), 3);\n }\n}\n"
397
+ }
398
+ ]
399
+ },
400
+ "setup": [],
401
+ "expect": {
402
+ "exit": 0,
403
+ "classARows": [
404
+ "rustfmt:2021",
405
+ "secret-scan"
406
+ ],
407
+ "classAPrograms": [
408
+ "rustfmt"
409
+ ],
410
+ "brokerCrates": [
411
+ "rk-leaf"
412
+ ],
413
+ "brokerCommands": {
414
+ "workspace": "rk",
415
+ "clippy": 1,
416
+ "test": 1,
417
+ "doc": 1
418
+ },
419
+ "compileRows": [
420
+ "clippy:rk:rk-leaf",
421
+ "clippy:rk:rk-leaf@x86_64-unknown-linux-gnu",
422
+ "clippy:rk:rk-leaf@aarch64-apple-darwin",
423
+ "doc:rk:rk-leaf",
424
+ "test:rust:rk:rk-leaf"
425
+ ],
426
+ "source": "the frozen prediction of 18 November for a one-file edit to rk-leaf: five of 77 compile rows, and the two Class A rows whose read-set holds the file",
427
+ "brokerCommandsWhy": "one clippy naming all three targets, one test build, one doc, each naming only rk-leaf"
428
+ }
429
+ },
430
+ {
431
+ "id": 5,
432
+ "name": "a commit with a malformed tracked JSON file, run twice",
433
+ "decides": [
434
+ "NN01",
435
+ "NN02",
436
+ "NN06"
437
+ ],
438
+ "commit": {
439
+ "edits": [
440
+ {
441
+ "path": "ci/acceptance-broken.json",
442
+ "content": "{ \"unfinished\": \n"
443
+ }
444
+ ]
445
+ },
446
+ "setup": [
447
+ "the working checkout stays clean"
448
+ ],
449
+ "runs": 2,
450
+ "expect": {
451
+ "exit": "non-zero",
452
+ "newReceipts": 0,
453
+ "outputNames": [
454
+ "json-parse"
455
+ ],
456
+ "secondRun": {
457
+ "classAPrograms": 0,
458
+ "cacheFilesWritten": 0
459
+ }
460
+ }
461
+ },
462
+ {
463
+ "id": 6,
464
+ "name": "a commit with a failing unit test",
465
+ "decides": [
466
+ "NN10"
467
+ ],
468
+ "commit": {
469
+ "edits": [
470
+ {
471
+ "path": "rk/crates/rk-leaf/src/lib.rs",
472
+ "append": "\n#[cfg(test)]\nmod acceptance_case_six {\n #[test]\n fn fails_on_purpose() {\n assert_eq!(super::leaf(), 4);\n }\n}\n"
473
+ }
474
+ ]
475
+ },
476
+ "setup": [],
477
+ "expect": {
478
+ "exit": "non-zero",
479
+ "outputNames": [
480
+ "fails_on_purpose"
481
+ ]
482
+ }
483
+ },
484
+ {
485
+ "id": 7,
486
+ "name": "killed midway, then an ordinary run",
487
+ "decides": [
488
+ "NN12"
489
+ ],
490
+ "commit": {
491
+ "edits": [
492
+ {
493
+ "path": "rk/crates/rk-slow/build.rs",
494
+ "append": "\n// Acceptance case 7: a changed build script, so the slow build runs again and the run can be killed midway.\n"
495
+ }
496
+ ]
497
+ },
498
+ "setup": [
499
+ "kill the gate and every program it started once its first broker job is running"
500
+ ],
501
+ "runs": 2,
502
+ "expect": {
503
+ "firstRun": "killed",
504
+ "secondRun": {
505
+ "exit": 0
506
+ }
507
+ }
508
+ }
509
+ ],
510
+ "order": [
511
+ 1,
512
+ 2,
513
+ 4,
514
+ 3,
515
+ 5,
516
+ 6,
517
+ 7
518
+ ],
519
+ "orderWhy": "Case 4 needs the store exactly as case 2 left it, so it runs before the cases that select other commits.",
520
+ "realBuild": {
521
+ "repository": "rightkit",
522
+ "args": [
523
+ "--to",
524
+ "compile",
525
+ "--unit",
526
+ "cargo:rightkit-time"
527
+ ],
528
+ "lines": [
529
+ "NN01",
530
+ "NN02",
531
+ "NN08",
532
+ "NN10",
533
+ "NN11",
534
+ "NN12"
535
+ ]
536
+ },
537
+ "limitsMs": {
538
+ "case1": null,
539
+ "case2": null,
540
+ "case3": null,
541
+ "case4": null,
542
+ "case5": null,
543
+ "case6": null,
544
+ "case7": null,
545
+ "realBuild": null
546
+ },
547
+ "limitsRule": "first clean measured time x 1.25, filled once; null means not yet measured, and NN11 fails while it is null",
548
+ "corrections": {
549
+ "approved": "Adrian, 2026-11-24: \"Approve, keep going\" (to: C1, C4, the sidecar-build half of C2, and C3 tightened to an exact command list). Reviewed first by Gemini, which rejected C3 as first worded (\"in one command or split by target\" lets a gate always split) and the rk-sidecar half of C2.",
550
+ "previousSha256": "e41bba2b2331adc866ed602f3ab3ecda27adb615d296e981f9a2310479b06bdc",
551
+ "list": [
552
+ "C1: per-workspace and per-package commands that look alike in a process record with no folder are pinned with their exact counts (six Cargo workspaces, two npm packages).",
553
+ "C2: the sidecar build in app/engine is an expected broker command. rk-sidecar gets no command of its own: that split was a gate fault (ci/shards.json solo) and is fixed in the gate.",
554
+ "C3: the broker commands are an exact list. A workspace whose crates resolve alike for every target is one clippy command naming all three targets; the Tauri shell, whose dependency graph differs by target, is one command per target.",
555
+ "C4: case 3's edit puts the new function above the test module (clippy rejects an item after a test module)."
556
+ ]
557
+ }
558
+ }