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

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.
package/dist/schemas.js CHANGED
@@ -1,6 +1,12 @@
1
1
  import { z } from "zod";
2
2
  import "yaml";
3
3
  import "picomatch";
4
+ // src/arming-outcome.ts
5
+ const ARMING_OUTCOMES = [
6
+ "armed",
7
+ "merged",
8
+ "not-armed"
9
+ ];
4
10
  // src/review-rungs.ts
5
11
  const EVIDENCE_REVIEW_RUNGS = [
6
12
  "independent-model",
@@ -857,8 +863,7 @@ const prReviewProofSchema = z.object({
857
863
  path: ["reviewCycle"]
858
864
  });
859
865
  });
860
- // src/required-check-policy.ts
861
- const EVIDENCE_CHECK_TYPES = ["review", "verify"];
866
+ const evidenceCheckTypeSchema = z.enum(["review", "verify"]);
862
867
  const requiredCheckScopeSchema = z.object({ classifications: z.array(z.enum(DIFF_CLASSIFICATIONS)).min(1) }).strict();
863
868
  const reviewStatusSchema = z.enum([
864
869
  "not-required",
@@ -1361,7 +1366,6 @@ const gateTimingRecordSchema = z.object({
1361
1366
  startedAt: z.iso.datetime()
1362
1367
  }).strict();
1363
1368
  // src/schemas.ts
1364
- const evidenceCheckTypeSchema = z.enum(EVIDENCE_CHECK_TYPES);
1365
1369
  const evidenceReviewRungSchema = z.enum(EVIDENCE_REVIEW_RUNGS);
1366
1370
  const diffClassificationSchema = z.enum(DIFF_CLASSIFICATIONS);
1367
1371
  const ladderStageSchema = z.enum(LADDER_STAGES);
@@ -1641,11 +1645,7 @@ const prReadyProofSchema = z.object({
1641
1645
  arming: z.object({
1642
1646
  detail: z.string().min(1).optional(),
1643
1647
  headSha: z.string().regex(/^[0-9a-f]{40}$/u),
1644
- outcome: z.enum([
1645
- "armed",
1646
- "merged",
1647
- "not-armed"
1648
- ])
1648
+ outcome: z.enum(ARMING_OUTCOMES)
1649
1649
  }).optional(),
1650
1650
  authoringSession: z.string().min(1).optional(),
1651
1651
  blockedReasons: blockedReasonsSchema.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patronage/software-factory",
3
- "version": "1.0.0-alpha.46",
3
+ "version": "1.0.0-alpha.47",
4
4
  "description": "Shared Patronage software factory CLI and project-profile validation tools",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,14 +26,19 @@
26
26
  "./schemas": {
27
27
  "types": "./dist/schemas.d.ts",
28
28
  "default": "./dist/schemas.js"
29
- }
29
+ },
30
+ "./cloud": {
31
+ "types": "./dist/cloud/credentials.d.mts",
32
+ "default": "./dist/cloud/credentials.mjs"
33
+ },
34
+ "./cloud/install-tools.sh": "./dist/cloud/install-tools.sh"
30
35
  },
31
36
  "publishConfig": {
32
37
  "access": "public",
33
38
  "tag": "next"
34
39
  },
35
40
  "dependencies": {
36
- "@patronage/factory-ci": "1.0.0-alpha.46",
41
+ "@patronage/factory-ci": "1.0.0-alpha.47",
37
42
  "commander": "15.0.0",
38
43
  "picomatch": "^4.0.7",
39
44
  "yaml": "^2.9.1",