@patronage/software-factory 1.0.0-alpha.32 → 1.0.0-alpha.33
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/index.d.ts +24 -24
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1417,8 +1417,8 @@ declare const mergeFreezeStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1417
1417
|
generationId: z.ZodNumber;
|
|
1418
1418
|
headSha: z.ZodString;
|
|
1419
1419
|
outcome: z.ZodEnum<{
|
|
1420
|
-
stale: "stale";
|
|
1421
1420
|
active: "active";
|
|
1421
|
+
stale: "stale";
|
|
1422
1422
|
}>;
|
|
1423
1423
|
reason: z.ZodString;
|
|
1424
1424
|
recordedAt: z.ZodISODateTime;
|
|
@@ -1581,9 +1581,9 @@ declare const managedReadinessLedgerSchema: z.ZodObject<{
|
|
|
1581
1581
|
mergeable: z.ZodString;
|
|
1582
1582
|
requiredChecks: z.ZodEnum<{
|
|
1583
1583
|
unknown: "unknown";
|
|
1584
|
+
pending: "pending";
|
|
1584
1585
|
passed: "passed";
|
|
1585
1586
|
failed: "failed";
|
|
1586
|
-
pending: "pending";
|
|
1587
1587
|
none: "none";
|
|
1588
1588
|
}>;
|
|
1589
1589
|
reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1649,8 +1649,8 @@ declare const managedReadinessLedgerSchema: z.ZodObject<{
|
|
|
1649
1649
|
"ready-for-human": "ready-for-human";
|
|
1650
1650
|
}>;
|
|
1651
1651
|
stage: z.ZodEnum<{
|
|
1652
|
-
gate: "gate";
|
|
1653
1652
|
interior: "interior";
|
|
1653
|
+
gate: "gate";
|
|
1654
1654
|
"interior-complete": "interior-complete";
|
|
1655
1655
|
}>;
|
|
1656
1656
|
}, z.core.$strip>>;
|
|
@@ -1666,10 +1666,10 @@ declare const managedReadinessLedgerSchema: z.ZodObject<{
|
|
|
1666
1666
|
reviewedHeadSha: z.ZodOptional<z.ZodString>;
|
|
1667
1667
|
reviewedPatchId: z.ZodOptional<z.ZodString>;
|
|
1668
1668
|
status: z.ZodEnum<{
|
|
1669
|
-
blocked: "blocked";
|
|
1670
1669
|
"not-required": "not-required";
|
|
1671
|
-
current: "current";
|
|
1672
1670
|
stale: "stale";
|
|
1671
|
+
blocked: "blocked";
|
|
1672
|
+
current: "current";
|
|
1673
1673
|
missing: "missing";
|
|
1674
1674
|
}>;
|
|
1675
1675
|
}, z.core.$strip>;
|
|
@@ -1678,10 +1678,10 @@ declare const managedReadinessLedgerSchema: z.ZodObject<{
|
|
|
1678
1678
|
reviewedHeadSha: z.ZodOptional<z.ZodString>;
|
|
1679
1679
|
reviewedPatchId: z.ZodOptional<z.ZodString>;
|
|
1680
1680
|
status: z.ZodEnum<{
|
|
1681
|
-
blocked: "blocked";
|
|
1682
1681
|
"not-required": "not-required";
|
|
1683
|
-
current: "current";
|
|
1684
1682
|
stale: "stale";
|
|
1683
|
+
blocked: "blocked";
|
|
1684
|
+
current: "current";
|
|
1685
1685
|
missing: "missing";
|
|
1686
1686
|
}>;
|
|
1687
1687
|
}, z.core.$strip>>;
|
|
@@ -2798,10 +2798,10 @@ declare const loadEvidenceEnvelopes: (cwd: string) => LoadedEvidenceEnvelope[];
|
|
|
2798
2798
|
//#region src/review-proof-applicability.d.ts
|
|
2799
2799
|
declare const REVIEW_STATUS_VALUES: readonly ["not-required", "current", "stale", "missing", "blocked"];
|
|
2800
2800
|
declare const reviewStatusSchema: z.ZodEnum<{
|
|
2801
|
-
blocked: "blocked";
|
|
2802
2801
|
"not-required": "not-required";
|
|
2803
|
-
current: "current";
|
|
2804
2802
|
stale: "stale";
|
|
2803
|
+
blocked: "blocked";
|
|
2804
|
+
current: "current";
|
|
2805
2805
|
missing: "missing";
|
|
2806
2806
|
}>;
|
|
2807
2807
|
type ReviewStatus = z.infer<typeof reviewStatusSchema>;
|
|
@@ -3577,11 +3577,11 @@ declare const LegacyWorkerCloseoutStatusTraceEventSchema: z.ZodObject<{
|
|
|
3577
3577
|
threadId: z.ZodOptional<z.ZodString>;
|
|
3578
3578
|
workerId: z.ZodOptional<z.ZodString>;
|
|
3579
3579
|
archiveStatus: z.ZodOptional<z.ZodEnum<{
|
|
3580
|
-
pending: "pending";
|
|
3581
3580
|
unavailable: "unavailable";
|
|
3582
3581
|
archived: "archived";
|
|
3583
3582
|
skipped: "skipped";
|
|
3584
3583
|
"not-applicable": "not-applicable";
|
|
3584
|
+
pending: "pending";
|
|
3585
3585
|
}>>;
|
|
3586
3586
|
closeoutReason: z.ZodOptional<z.ZodString>;
|
|
3587
3587
|
eventType: z.ZodLiteral<"worker-closeout-lessons">;
|
|
@@ -3754,8 +3754,8 @@ declare const FACTORY_TRACE_EVENT_DEFINITIONS: readonly [DefinedTraceEvent<"revi
|
|
|
3754
3754
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3755
3755
|
}, z.core.$strict>>;
|
|
3756
3756
|
stage: z.ZodEnum<{
|
|
3757
|
-
gate: "gate";
|
|
3758
3757
|
interior: "interior";
|
|
3758
|
+
gate: "gate";
|
|
3759
3759
|
}>;
|
|
3760
3760
|
usage: z.ZodOptional<z.ZodObject<{
|
|
3761
3761
|
estimatedCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3807,8 +3807,8 @@ declare const FACTORY_TRACE_EVENT_DEFINITIONS: readonly [DefinedTraceEvent<"revi
|
|
|
3807
3807
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3808
3808
|
}, z.core.$strict>>;
|
|
3809
3809
|
stage: z.ZodEnum<{
|
|
3810
|
-
gate: "gate";
|
|
3811
3810
|
interior: "interior";
|
|
3811
|
+
gate: "gate";
|
|
3812
3812
|
}>;
|
|
3813
3813
|
usage: z.ZodOptional<z.ZodObject<{
|
|
3814
3814
|
estimatedCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3851,8 +3851,8 @@ declare const FACTORY_TRACE_EVENT_DEFINITIONS: readonly [DefinedTraceEvent<"revi
|
|
|
3851
3851
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
3852
3852
|
}, z.core.$strict>>;
|
|
3853
3853
|
stage: z.ZodEnum<{
|
|
3854
|
-
gate: "gate";
|
|
3855
3854
|
interior: "interior";
|
|
3855
|
+
gate: "gate";
|
|
3856
3856
|
}>;
|
|
3857
3857
|
usage: z.ZodOptional<z.ZodObject<{
|
|
3858
3858
|
estimatedCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3882,7 +3882,7 @@ declare const FACTORY_TRACE_EVENT_DEFINITIONS: readonly [DefinedTraceEvent<"revi
|
|
|
3882
3882
|
staleRepeats: number;
|
|
3883
3883
|
};
|
|
3884
3884
|
observedAt: string;
|
|
3885
|
-
stage: "
|
|
3885
|
+
stage: "interior" | "gate";
|
|
3886
3886
|
issue?: number | undefined;
|
|
3887
3887
|
pr?: number | undefined;
|
|
3888
3888
|
threadId?: string | undefined;
|
|
@@ -3975,11 +3975,11 @@ declare const FACTORY_TRACE_EVENT_DEFINITIONS: readonly [DefinedTraceEvent<"revi
|
|
|
3975
3975
|
threadId: z.ZodOptional<z.ZodString>;
|
|
3976
3976
|
workerId: z.ZodOptional<z.ZodString>;
|
|
3977
3977
|
archiveStatus: z.ZodOptional<z.ZodEnum<{
|
|
3978
|
-
pending: "pending";
|
|
3979
3978
|
unavailable: "unavailable";
|
|
3980
3979
|
archived: "archived";
|
|
3981
3980
|
skipped: "skipped";
|
|
3982
3981
|
"not-applicable": "not-applicable";
|
|
3982
|
+
pending: "pending";
|
|
3983
3983
|
}>>;
|
|
3984
3984
|
closeoutReason: z.ZodOptional<z.ZodString>;
|
|
3985
3985
|
eventType: z.ZodLiteral<"worker-closeout-lessons">;
|
|
@@ -4016,11 +4016,11 @@ declare const FACTORY_TRACE_EVENT_DEFINITIONS: readonly [DefinedTraceEvent<"revi
|
|
|
4016
4016
|
}, z.core.$strict>], "lessonStatus">;
|
|
4017
4017
|
readonly 2: z.ZodObject<{
|
|
4018
4018
|
archiveStatus: z.ZodOptional<z.ZodEnum<{
|
|
4019
|
-
pending: "pending";
|
|
4020
4019
|
unavailable: "unavailable";
|
|
4021
4020
|
archived: "archived";
|
|
4022
4021
|
skipped: "skipped";
|
|
4023
4022
|
"not-applicable": "not-applicable";
|
|
4023
|
+
pending: "pending";
|
|
4024
4024
|
}>>;
|
|
4025
4025
|
closeoutReason: z.ZodOptional<z.ZodString>;
|
|
4026
4026
|
lessonStatus: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4138,8 +4138,8 @@ declare const FACTORY_TRACE_EVENT_DEFINITIONS: readonly [DefinedTraceEvent<"revi
|
|
|
4138
4138
|
interiorCycle: z.ZodOptional<z.ZodNumber>;
|
|
4139
4139
|
observedAt: z.ZodString;
|
|
4140
4140
|
purpose: z.ZodEnum<{
|
|
4141
|
-
review: "review";
|
|
4142
4141
|
code: "code";
|
|
4142
|
+
review: "review";
|
|
4143
4143
|
}>;
|
|
4144
4144
|
slotResolution: z.ZodObject<{
|
|
4145
4145
|
effort: z.ZodEnum<{
|
|
@@ -4217,8 +4217,8 @@ declare const FACTORY_TRACE_EVENT_DEFINITIONS: readonly [DefinedTraceEvent<"revi
|
|
|
4217
4217
|
interiorCycle: z.ZodOptional<z.ZodNumber>;
|
|
4218
4218
|
observedAt: z.ZodString;
|
|
4219
4219
|
purpose: z.ZodEnum<{
|
|
4220
|
-
review: "review";
|
|
4221
4220
|
code: "code";
|
|
4221
|
+
review: "review";
|
|
4222
4222
|
}>;
|
|
4223
4223
|
slotResolution: z.ZodObject<{
|
|
4224
4224
|
effort: z.ZodEnum<{
|
|
@@ -4287,8 +4287,8 @@ declare const FACTORY_TRACE_EVENT_DEFINITIONS: readonly [DefinedTraceEvent<"revi
|
|
|
4287
4287
|
interiorCycle: z.ZodOptional<z.ZodNumber>;
|
|
4288
4288
|
observedAt: z.ZodString;
|
|
4289
4289
|
purpose: z.ZodEnum<{
|
|
4290
|
-
review: "review";
|
|
4291
4290
|
code: "code";
|
|
4291
|
+
review: "review";
|
|
4292
4292
|
}>;
|
|
4293
4293
|
slotResolution: z.ZodObject<{
|
|
4294
4294
|
effort: z.ZodEnum<{
|
|
@@ -4360,7 +4360,7 @@ declare const FACTORY_TRACE_EVENT_DEFINITIONS: readonly [DefinedTraceEvent<"revi
|
|
|
4360
4360
|
exitCode: number | null;
|
|
4361
4361
|
harness: string;
|
|
4362
4362
|
observedAt: string;
|
|
4363
|
-
purpose: "
|
|
4363
|
+
purpose: "code" | "review";
|
|
4364
4364
|
slotResolution: {
|
|
4365
4365
|
effort: "high" | "low" | "medium" | "xhigh";
|
|
4366
4366
|
engine: string;
|
|
@@ -4699,7 +4699,7 @@ declare const evaluateReadiness: (input: EvaluationInput) => {
|
|
|
4699
4699
|
draft: boolean;
|
|
4700
4700
|
mergeStateStatus: string;
|
|
4701
4701
|
mergeable: string;
|
|
4702
|
-
requiredChecks: "unknown" | "
|
|
4702
|
+
requiredChecks: "unknown" | "pending" | "passed" | "failed" | "none";
|
|
4703
4703
|
unresolvedReviewThreads: number;
|
|
4704
4704
|
reviewDecision?: string | null | undefined;
|
|
4705
4705
|
};
|
|
@@ -4714,13 +4714,13 @@ declare const evaluateReadiness: (input: EvaluationInput) => {
|
|
|
4714
4714
|
reviews: {
|
|
4715
4715
|
correctness: {
|
|
4716
4716
|
required: boolean;
|
|
4717
|
-
status: "
|
|
4717
|
+
status: "not-required" | "stale" | "blocked" | "current" | "missing";
|
|
4718
4718
|
reviewedHeadSha?: string | undefined;
|
|
4719
4719
|
reviewedPatchId?: string | undefined;
|
|
4720
4720
|
};
|
|
4721
4721
|
security?: {
|
|
4722
4722
|
required: boolean;
|
|
4723
|
-
status: "
|
|
4723
|
+
status: "not-required" | "stale" | "blocked" | "current" | "missing";
|
|
4724
4724
|
reviewedHeadSha?: string | undefined;
|
|
4725
4725
|
reviewedPatchId?: string | undefined;
|
|
4726
4726
|
} | undefined;
|
|
@@ -4783,7 +4783,7 @@ declare const evaluateReadiness: (input: EvaluationInput) => {
|
|
|
4783
4783
|
interior: number;
|
|
4784
4784
|
};
|
|
4785
4785
|
nextAction: "run-interior-cycle" | "advance-to-gate" | "run-gate-cycle" | "accept-nonblocking-findings" | "escalate-to-triage" | "ready-for-human";
|
|
4786
|
-
stage: "
|
|
4786
|
+
stage: "interior" | "gate" | "interior-complete";
|
|
4787
4787
|
forcedTransition?: "gate-cap-exhausted" | "interior-cap-reached" | undefined;
|
|
4788
4788
|
} | undefined;
|
|
4789
4789
|
reviewRuns?: PrReviewResult[] | undefined;
|
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import http from "node:http";
|
|
|
20
20
|
import { pathToFileURL } from "node:url";
|
|
21
21
|
//#region package.json
|
|
22
22
|
var name = "@patronage/software-factory";
|
|
23
|
-
var version = "1.0.0-alpha.
|
|
23
|
+
var version = "1.0.0-alpha.33";
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/cli-entry.ts
|
|
26
26
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patronage/software-factory",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.33",
|
|
4
4
|
"description": "Shared Patronage software factory CLI and project-profile validation tools",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"picomatch": "^4.0.5",
|
|
38
38
|
"yaml": "^2.9.0",
|
|
39
39
|
"zod": "4.4.3",
|
|
40
|
-
"@patronage/factory-ci": "1.0.0-alpha.
|
|
40
|
+
"@patronage/factory-ci": "1.0.0-alpha.33"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "24.13.3",
|