@patronage/software-factory 1.0.0-alpha.47 → 1.0.0-alpha.48

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,12 @@
1
+ // \0rolldown/runtime.js
2
+ var __defProp = Object.defineProperty;
3
+ var __exportAll = (all, flags) => {
4
+ let target = Object.setPrototypeOf({}, null);
5
+ for (var name in all) __defProp(target, name, {
6
+ get: all[name],
7
+ enumerable: true
8
+ });
9
+ if (!(flags & 1)) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
+ return flags & 2 ? target : Object.preventExtensions(target);
11
+ };
12
+ export { __exportAll as t };
package/dist/schemas.d.ts CHANGED
@@ -727,6 +727,13 @@ interface PrVerifyProof {
727
727
  * not move.
728
728
  */
729
729
  runner?: PrVerifyRunner;
730
+ /**
731
+ * `whole-tree` when every command saw the whole tree as its run context
732
+ * (#1658): the empty-tree base ref and every tracked path. Absent means the
733
+ * commands saw the diff and may have scoped themselves to it. Only a
734
+ * whole-tree proof can stand in for a merge target's hosted battery.
735
+ */
736
+ runScope?: "whole-tree";
730
737
  startedAt: string;
731
738
  verificationCommands: PrVerifyCommandResult[];
732
739
  }
@@ -853,6 +860,7 @@ export declare const prVerifyProofSchema: z.ZodObject<{
853
860
  "github-actions": "github-actions";
854
861
  }>>;
855
862
  }, z.core.$strip>>;
863
+ runScope: z.ZodOptional<z.ZodLiteral<"whole-tree">>;
856
864
  schemaVersion: z.ZodLiteral<4>;
857
865
  startedAt: z.ZodISODateTime;
858
866
  verificationCommands: z.ZodArray<z.ZodObject<{
package/dist/schemas.js CHANGED
@@ -62,12 +62,14 @@ const DEMAND_KEYS = {
62
62
  /** The profile-resolved review ladder policy. */
63
63
  reviewLadder: "review-ladder",
64
64
  /**
65
- * A review round past the second on one pull request (#1280). A round is
66
- * every review recorded at one patch, so a pair of clean sessions at one
67
- * head is one round. Only an operator waiver clears it: `pr:review
68
- * --assemble` refuses to start a third round without one, and `pr:ready`
69
- * refuses a ladder that holds more than two. The waiver rationale carries
70
- * the operator's disposition.
65
+ * A review round past the repository's round limit on one pull request
66
+ * (#1280). The limit is `review.roundsWithoutWaiver` in the profile on the
67
+ * base ref, 2 when absent; the candidate's own value is never read (#922).
68
+ * A round is every review recorded at one patch, so a pair of clean
69
+ * sessions at one head is one round. Only an operator waiver clears it:
70
+ * `pr:review --assemble` refuses to start a round past the limit without
71
+ * one, and `pr:ready` refuses a ladder that holds more rounds than the
72
+ * limit. The waiver rationale carries the operator's disposition.
71
73
  */
72
74
  reviewRoundLimit: "review-round-limit",
73
75
  /** Unresolved GitHub review threads. */
@@ -335,80 +337,80 @@ const hasDuplicateProvenance = (sections) => new Set(sections.map((section) => s
335
337
  const isOutOfAssemblyOrder = (sections) => sections.some((section, index) => index > 0 && promptSectionRank(section) < promptSectionRank(sections[index - 1]));
336
338
  const reviewPromptSectionsSchema = z.array(reviewPromptSectionSchema).min(1).refine((sections) => !hasDuplicateProvenance(sections) && !isOutOfAssemblyOrder(sections), { message: "prompt sections must be in assembly order without duplicates" });
337
339
  new Uint32Array([
338
- 1116352408,
339
- 1899447441,
340
- 3049323471,
341
- 3921009573,
340
+ 0x428a2f98,
341
+ 0x71374491,
342
+ 0xb5c0fbcf,
343
+ 0xe9b5dba5,
342
344
  961987163,
343
- 1508970993,
344
- 2453635748,
345
- 2870763221,
346
- 3624381080,
345
+ 0x59f111f1,
346
+ 0x923f82a4,
347
+ 0xab1c5ed5,
348
+ 0xd807aa98,
347
349
  310598401,
348
350
  607225278,
349
- 1426881987,
350
- 1925078388,
351
- 2162078206,
352
- 2614888103,
353
- 3248222580,
354
- 3835390401,
355
- 4022224774,
356
- 264347078,
351
+ 0x550c7dc3,
352
+ 0x72be5d74,
353
+ 0x80deb1fe,
354
+ 0x9bdc06a7,
355
+ 0xc19bf174,
356
+ 0xe49b69c1,
357
+ 0xefbe4786,
358
+ 0xfc19dc6,
357
359
  604807628,
358
360
  770255983,
359
- 1249150122,
360
- 1555081692,
361
- 1996064986,
362
- 2554220882,
363
- 2821834349,
364
- 2952996808,
365
- 3210313671,
366
- 3336571891,
367
- 3584528711,
368
- 113926993,
361
+ 0x4a7484aa,
362
+ 0x5cb0a9dc,
363
+ 0x76f988da,
364
+ 0x983e5152,
365
+ 0xa831c66d,
366
+ 0xb00327c8,
367
+ 0xbf597fc7,
368
+ 0xc6e00bf3,
369
+ 0xd5a79147,
370
+ 0x6ca6351,
369
371
  338241895,
370
372
  666307205,
371
373
  773529912,
372
- 1294757372,
373
- 1396182291,
374
- 1695183700,
375
- 1986661051,
376
- 2177026350,
377
- 2456956037,
378
- 2730485921,
379
- 2820302411,
380
- 3259730800,
381
- 3345764771,
382
- 3516065817,
383
- 3600352804,
384
- 4094571909,
374
+ 0x4d2c6dfc,
375
+ 0x53380d13,
376
+ 0x650a7354,
377
+ 0x766a0abb,
378
+ 0x81c2c92e,
379
+ 0x92722c85,
380
+ 0xa2bfe8a1,
381
+ 0xa81a664b,
382
+ 0xc24b8b70,
383
+ 0xc76c51a3,
384
+ 0xd192e819,
385
+ 0xd6990624,
386
+ 0xf40e3585,
385
387
  275423344,
386
388
  430227734,
387
389
  506948616,
388
390
  659060556,
389
391
  883997877,
390
392
  958139571,
391
- 1322822218,
392
- 1537002063,
393
- 1747873779,
394
- 1955562222,
395
- 2024104815,
396
- 2227730452,
397
- 2361852424,
398
- 2428436474,
399
- 2756734187,
400
- 3204031479,
401
- 3329325298
393
+ 0x4ed8aa4a,
394
+ 0x5b9cca4f,
395
+ 0x682e6ff3,
396
+ 0x748f82ee,
397
+ 0x78a5636f,
398
+ 0x84c87814,
399
+ 0x8cc70208,
400
+ 0x90befffa,
401
+ 0xa4506ceb,
402
+ 0xbef9a3f7,
403
+ 0xc67178f2
402
404
  ]);
403
405
  new Uint32Array([
404
- 1779033703,
405
- 3144134277,
406
- 1013904242,
407
- 2773480762,
408
- 1359893119,
409
- 2600822924,
406
+ 0x6a09e667,
407
+ 0xbb67ae85,
408
+ 0x3c6ef372,
409
+ 0xa54ff53a,
410
+ 0x510e527f,
411
+ 0x9b05688c,
410
412
  528734635,
411
- 1541459225
413
+ 0x5be0cd19
412
414
  ]);
413
415
  // src/review-ladder-policy.ts
414
416
  const REVIEW_CATEGORIES = [
@@ -1279,6 +1281,7 @@ const prVerifyProofSchema = z.object({
1279
1281
  projectKey: z.string().min(1),
1280
1282
  repository: z.string().min(1),
1281
1283
  runner: runnerSchema.optional(),
1284
+ runScope: z.literal("whole-tree").optional(),
1282
1285
  schemaVersion: prVerifySchemaVersionSchema,
1283
1286
  startedAt: z.iso.datetime(),
1284
1287
  verificationCommands: z.array(z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patronage/software-factory",
3
- "version": "1.0.0-alpha.47",
3
+ "version": "1.0.0-alpha.48",
4
4
  "description": "Shared Patronage software factory CLI and project-profile validation tools",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,34 +31,36 @@
31
31
  "types": "./dist/cloud/credentials.d.mts",
32
32
  "default": "./dist/cloud/credentials.mjs"
33
33
  },
34
- "./cloud/install-tools.sh": "./dist/cloud/install-tools.sh"
34
+ "./cloud/install-tools.sh": "./dist/cloud/install-tools.sh",
35
+ "./cloud/run.sh": "./dist/cloud/run.sh"
35
36
  },
36
37
  "publishConfig": {
37
38
  "access": "public",
38
39
  "tag": "next"
39
40
  },
40
41
  "dependencies": {
41
- "@patronage/factory-ci": "1.0.0-alpha.47",
42
- "commander": "15.0.0",
42
+ "@patronage/factory-ci": "1.0.0-alpha.48",
43
+ "commander": "15.1.0",
43
44
  "picomatch": "^4.0.7",
44
45
  "yaml": "^2.9.1",
45
46
  "zod": "4.6.7"
46
47
  },
47
48
  "devDependencies": {
49
+ "@cloudflare/oxlint-config": "0.1.0",
48
50
  "@types/node": "24.19.2",
49
51
  "@types/picomatch": "^4.0.3",
50
- "@vitest/coverage-v8": "5.0.5",
51
- "dependency-cruiser": "18.8.0-beta-1",
52
- "knip": "6.43.0",
53
- "oxfmt": "0.75.0",
54
- "oxlint": "1.90.0",
55
- "oxlint-tsgolint": "7.0.2005",
56
- "tsdown": "0.23.2",
52
+ "@vitest/coverage-v8": "5.1.1",
53
+ "dependency-cruiser": "18.8.0",
54
+ "knip": "6.46.1",
55
+ "oxfmt": "0.79.0",
56
+ "oxlint": "1.94.0",
57
+ "tsdown": "0.23.7",
58
+ "tsrs": "0.25.0-ts7.1.0-beta",
57
59
  "tsx": "4.23.15",
58
60
  "typescript": "7.1.0-beta",
59
61
  "typescript-api": "npm:typescript@5.9.3",
60
- "ultracite": "8.1.0",
61
- "vitest": "5.0.5"
62
+ "ultracite": "8.3.1",
63
+ "vitest": "5.1.1"
62
64
  },
63
65
  "engines": {
64
66
  "node": "^24.0.0"
@@ -89,7 +91,6 @@
89
91
  "typecheck": "tsc --noEmit",
90
92
  "precheck": "bash ../scripts/ensure-worktree-bootstrap.sh",
91
93
  "check": "ultracite check",
92
- "check:type-aware": "oxlint --type-aware --tsconfig=tsconfig.json -c oxlint.type-aware.jsonc src",
93
94
  "prefix": "bash ../scripts/ensure-worktree-bootstrap.sh",
94
95
  "fix": "ultracite fix",
95
96
  "knip": "knip"
@@ -1,12 +0,0 @@
1
- // \0rolldown/runtime.js
2
- var __defProp = Object.defineProperty;
3
- var __exportAll = (all, no_symbols) => {
4
- let target = {};
5
- for (var name in all) __defProp(target, name, {
6
- get: all[name],
7
- enumerable: true
8
- });
9
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
- return target;
11
- };
12
- export { __exportAll as t };