@gate-forge/core 0.15.1 → 0.17.0
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/classifier/bind.d.ts +6 -0
- package/dist/classifier/bind.d.ts.map +1 -1
- package/dist/classifier/bind.js +1 -0
- package/dist/classifier/bind.js.map +1 -1
- package/dist/classifier/classify.d.ts +27 -0
- package/dist/classifier/classify.d.ts.map +1 -1
- package/dist/classifier/classify.js +100 -28
- package/dist/classifier/classify.js.map +1 -1
- package/dist/config/index.d.ts +73 -7
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +14 -0
- package/dist/config/index.js.map +1 -1
- package/dist/index.d.ts +14 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/policy/behavior.d.ts +6 -1
- package/dist/policy/behavior.d.ts.map +1 -1
- package/dist/policy/behavior.js +28 -21
- package/dist/policy/behavior.js.map +1 -1
- package/dist/policy/coverage.d.ts +18 -10
- package/dist/policy/coverage.d.ts.map +1 -1
- package/dist/policy/coverage.js +40 -4
- package/dist/policy/coverage.js.map +1 -1
- package/dist/policy/evaluate.d.ts +118 -0
- package/dist/policy/evaluate.d.ts.map +1 -1
- package/dist/policy/evaluate.js +110 -14
- package/dist/policy/evaluate.js.map +1 -1
- package/dist/policy/index.d.ts +2 -2
- package/dist/policy/index.d.ts.map +1 -1
- package/dist/policy/index.js +1 -1
- package/dist/policy/index.js.map +1 -1
- package/dist/report/index.d.ts +13 -0
- package/dist/report/index.d.ts.map +1 -1
- package/dist/report/index.js +16 -0
- package/dist/report/index.js.map +1 -1
- package/dist/schemas/behavior-evidence.d.ts +2 -2
- package/dist/schemas/behavior-policy.d.ts +32 -4
- package/dist/schemas/behavior-policy.d.ts.map +1 -1
- package/dist/schemas/behavior-policy.js +10 -7
- package/dist/schemas/behavior-policy.js.map +1 -1
- package/dist/schemas/classification-policy.d.ts.map +1 -1
- package/dist/schemas/classification-policy.js +7 -4
- package/dist/schemas/classification-policy.js.map +1 -1
- package/dist/schemas/coverage-policy.d.ts +134 -9
- package/dist/schemas/coverage-policy.d.ts.map +1 -1
- package/dist/schemas/coverage-policy.js +91 -10
- package/dist/schemas/coverage-policy.js.map +1 -1
- package/dist/schemas/disposition.d.ts +147 -0
- package/dist/schemas/disposition.d.ts.map +1 -0
- package/dist/schemas/disposition.js +136 -0
- package/dist/schemas/disposition.js.map +1 -0
- package/dist/schemas/queue-observer.d.ts +4 -4
- package/dist/schemas/verdict.d.ts +2 -0
- package/dist/schemas/verdict.d.ts.map +1 -1
- package/dist/schemas/verdict.js +13 -1
- package/dist/schemas/verdict.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Owner-disposition time bounds shared by the two disposition shapes:
|
|
3
|
+
* behavior-policy endpoint dispositions (`behavior.yml`) and
|
|
4
|
+
* coverage-policy table dispositions (`.gateforge.yml`
|
|
5
|
+
* `coveragePolicy`).
|
|
6
|
+
*
|
|
7
|
+
* A disposition MAY carry an optional `expiresAt` (ISO-8601, the waiver
|
|
8
|
+
* `expiresAt` convention). Absent = the disposition stands exactly as
|
|
9
|
+
* before this feature existed. Present = it is ENFORCED against the
|
|
10
|
+
* INJECTED run clock (never the wall clock): before the instant the
|
|
11
|
+
* disposition applies as written; at/after it the disposition is VOID —
|
|
12
|
+
* the endpoint/table grades as if it had no disposition — and a blocking
|
|
13
|
+
* `DISPOSITION_EXPIRED` finding names the target, the expiry, and the
|
|
14
|
+
* extend command.
|
|
15
|
+
*
|
|
16
|
+
* A disposition whose `expiresAt` lies further out than the configured
|
|
17
|
+
* maximum (default 30 days, `disposition.maxDays` in `.gateforge.yml`)
|
|
18
|
+
* is a configuration error — the same fail-closed max-duration rule the
|
|
19
|
+
* waiver and quarantine loaders apply. `extensions` records one audit
|
|
20
|
+
* entry per `gateforge disposition extend`.
|
|
21
|
+
*/
|
|
22
|
+
import { z } from 'zod';
|
|
23
|
+
/** One recorded `gateforge disposition extend` audit entry. */
|
|
24
|
+
export declare const DispositionExtensionSchema: z.ZodObject<{
|
|
25
|
+
at: z.ZodISODateTime;
|
|
26
|
+
by: z.ZodString;
|
|
27
|
+
reason: z.ZodString;
|
|
28
|
+
previousExpiresAt: z.ZodISODateTime;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
/** Inferred disposition-extension shape. */
|
|
31
|
+
export type DispositionExtension = z.infer<typeof DispositionExtensionSchema>;
|
|
32
|
+
/** Default maximum disposition lifetime in days (owner decision 2026-10-17). */
|
|
33
|
+
export declare const DISPOSITION_MAX_DAYS = 30;
|
|
34
|
+
/** The documented default ceiling in milliseconds. */
|
|
35
|
+
export declare const DISPOSITION_MAX_DURATION_MS: number;
|
|
36
|
+
/** The disposition fields the expiry judgment reads. */
|
|
37
|
+
export interface ExpiringDisposition {
|
|
38
|
+
/** Optional expiry instant (ISO-8601). */
|
|
39
|
+
expiresAt?: string;
|
|
40
|
+
}
|
|
41
|
+
/** Options for {@link dispositionExpiry}: injected clock + max duration. */
|
|
42
|
+
export interface DispositionExpiryOptions {
|
|
43
|
+
/** Injected clock instant (Date or ISO-8601) the expiry is judged against. */
|
|
44
|
+
now: Date | string;
|
|
45
|
+
/** Maximum allowed time-until-expiry; defaults to the documented 30 days. */
|
|
46
|
+
maxDurationMs?: number;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Why a disposition currently does not excuse its endpoint/table.
|
|
50
|
+
* `no-expiry` and `active` are the honoured states; `expired` voids the
|
|
51
|
+
* disposition and blocks; `over-max` is a fail-closed configuration
|
|
52
|
+
* error (mirror of the waiver/quarantine max-duration rule).
|
|
53
|
+
*/
|
|
54
|
+
export type DispositionExpiry = {
|
|
55
|
+
state: 'no-expiry';
|
|
56
|
+
} | {
|
|
57
|
+
state: 'active';
|
|
58
|
+
expiresAt: string;
|
|
59
|
+
} | {
|
|
60
|
+
state: 'expired';
|
|
61
|
+
expiresAt: string;
|
|
62
|
+
} | {
|
|
63
|
+
state: 'over-max';
|
|
64
|
+
expiresAt: string;
|
|
65
|
+
detail: string;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Judges one disposition's optional `expiresAt` against the INJECTED
|
|
69
|
+
* clock — the single shared implementation both policy evaluators use,
|
|
70
|
+
* so behavior and coverage can never disagree about expiry.
|
|
71
|
+
*
|
|
72
|
+
* Args:
|
|
73
|
+
* disposition: the disposition (its optional `expiresAt` is read).
|
|
74
|
+
* options: injected clock, optional maximum duration.
|
|
75
|
+
*
|
|
76
|
+
* Returns:
|
|
77
|
+
* DispositionExpiry: the judged state.
|
|
78
|
+
*/
|
|
79
|
+
export declare function dispositionExpiry(disposition: ExpiringDisposition, options: DispositionExpiryOptions): DispositionExpiry;
|
|
80
|
+
/**
|
|
81
|
+
* The ONE disposition kind vocabulary (plan 2026-10-19 "one disposition
|
|
82
|
+
* shape"): both surfaces draw their kinds from this closed enum, and
|
|
83
|
+
* each surface allows only its documented subset — an endpoint
|
|
84
|
+
* disposition never carries a table kind and vice versa (fail closed
|
|
85
|
+
* per surface, so a kind can never quietly mean different things on the
|
|
86
|
+
* two surfaces).
|
|
87
|
+
*/
|
|
88
|
+
export declare const DISPOSITION_KINDS: readonly ["out-of-scope", "operational-only", "read-only-surface", "admin-plane-unreachable", "not-user-facing", "other"];
|
|
89
|
+
/** Inferred disposition kind. */
|
|
90
|
+
export type DispositionKind = (typeof DISPOSITION_KINDS)[number];
|
|
91
|
+
/** Kinds a `behavior.yml` endpoint disposition may carry. */
|
|
92
|
+
export declare const ENDPOINT_DISPOSITION_KINDS: readonly ["out-of-scope", "operational-only"];
|
|
93
|
+
/** Inferred endpoint-disposition kind. */
|
|
94
|
+
export type EndpointDispositionKind = (typeof ENDPOINT_DISPOSITION_KINDS)[number];
|
|
95
|
+
/** Kinds a `coveragePolicy` table disposition may carry. */
|
|
96
|
+
export declare const TABLE_DISPOSITION_KINDS: readonly ["read-only-surface", "admin-plane-unreachable", "not-user-facing", "other"];
|
|
97
|
+
/** Inferred table-disposition kind. */
|
|
98
|
+
export type TableDispositionKind = (typeof TABLE_DISPOSITION_KINDS)[number];
|
|
99
|
+
/**
|
|
100
|
+
* The shared disposition body over a surface's kind/reason fields
|
|
101
|
+
* (plan 2026-10-19): `{ kind, reason, expiresAt?, extensions? }`.
|
|
102
|
+
* Behavior requires `reason` outright. Coverage maps its deprecated
|
|
103
|
+
* `note` alias onto `reason`, and still loads a pre-shape entry that
|
|
104
|
+
* recorded neither field unless `kind` is `other` (that kind has always
|
|
105
|
+
* required a recorded reason). Surfaces compose this with their kind
|
|
106
|
+
* subset.
|
|
107
|
+
*
|
|
108
|
+
* Args:
|
|
109
|
+
* shape: the surface's `kind` and `reason` zod fields (reason OPTIONAL
|
|
110
|
+
* only where the surface still accepts a deprecated alias or a
|
|
111
|
+
* pre-shape entry that recorded no reason, never because a newly
|
|
112
|
+
* written reason is dispensable).
|
|
113
|
+
*
|
|
114
|
+
* Returns:
|
|
115
|
+
* z.ZodObject: the strict shared body with `expiresAt`/`extensions`.
|
|
116
|
+
*/
|
|
117
|
+
export declare function dispositionShape<S extends z.ZodRawShape>(shape: S): z.ZodObject<S & {
|
|
118
|
+
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
119
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
120
|
+
at: z.ZodISODateTime;
|
|
121
|
+
by: z.ZodString;
|
|
122
|
+
reason: z.ZodString;
|
|
123
|
+
previousExpiresAt: z.ZodISODateTime;
|
|
124
|
+
}, z.core.$strict>>>;
|
|
125
|
+
} extends infer T ? { -readonly [P in keyof T]: T[P]; } : never, z.core.$strict>;
|
|
126
|
+
/**
|
|
127
|
+
* The `behavior.yml` endpoint disposition: the shared shape over the
|
|
128
|
+
* endpoint kind subset, `reason` required outright (no alias ever
|
|
129
|
+
* existed on this surface).
|
|
130
|
+
*/
|
|
131
|
+
export declare const EndpointDispositionSchema: z.ZodObject<{
|
|
132
|
+
kind: z.ZodEnum<{
|
|
133
|
+
"out-of-scope": "out-of-scope";
|
|
134
|
+
"operational-only": "operational-only";
|
|
135
|
+
}>;
|
|
136
|
+
reason: z.ZodString;
|
|
137
|
+
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
138
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
139
|
+
at: z.ZodISODateTime;
|
|
140
|
+
by: z.ZodString;
|
|
141
|
+
reason: z.ZodString;
|
|
142
|
+
previousExpiresAt: z.ZodISODateTime;
|
|
143
|
+
}, z.core.$strict>>>;
|
|
144
|
+
}, z.core.$strict>;
|
|
145
|
+
/** Inferred endpoint-disposition shape. */
|
|
146
|
+
export type EndpointDisposition = z.infer<typeof EndpointDispositionSchema>;
|
|
147
|
+
//# sourceMappingURL=disposition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disposition.d.ts","sourceRoot":"","sources":["../../src/schemas/disposition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,+DAA+D;AAC/D,eAAO,MAAM,0BAA0B;;;;;kBAW5B,CAAC;AAEZ,4CAA4C;AAC5C,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,gFAAgF;AAChF,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC,sDAAsD;AACtD,eAAO,MAAM,2BAA2B,QAAoC,CAAC;AAE7E,wDAAwD;AACxD,MAAM,WAAW,mBAAmB;IAClC,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,4EAA4E;AAC5E,MAAM,WAAW,wBAAwB;IACvC,8EAA8E;IAC9E,GAAG,EAAE,IAAI,GAAG,MAAM,CAAC;IACnB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,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AC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Owner-disposition time bounds shared by the two disposition shapes:
|
|
3
|
+
* behavior-policy endpoint dispositions (`behavior.yml`) and
|
|
4
|
+
* coverage-policy table dispositions (`.gateforge.yml`
|
|
5
|
+
* `coveragePolicy`).
|
|
6
|
+
*
|
|
7
|
+
* A disposition MAY carry an optional `expiresAt` (ISO-8601, the waiver
|
|
8
|
+
* `expiresAt` convention). Absent = the disposition stands exactly as
|
|
9
|
+
* before this feature existed. Present = it is ENFORCED against the
|
|
10
|
+
* INJECTED run clock (never the wall clock): before the instant the
|
|
11
|
+
* disposition applies as written; at/after it the disposition is VOID —
|
|
12
|
+
* the endpoint/table grades as if it had no disposition — and a blocking
|
|
13
|
+
* `DISPOSITION_EXPIRED` finding names the target, the expiry, and the
|
|
14
|
+
* extend command.
|
|
15
|
+
*
|
|
16
|
+
* A disposition whose `expiresAt` lies further out than the configured
|
|
17
|
+
* maximum (default 30 days, `disposition.maxDays` in `.gateforge.yml`)
|
|
18
|
+
* is a configuration error — the same fail-closed max-duration rule the
|
|
19
|
+
* waiver and quarantine loaders apply. `extensions` records one audit
|
|
20
|
+
* entry per `gateforge disposition extend`.
|
|
21
|
+
*/
|
|
22
|
+
import { z } from 'zod';
|
|
23
|
+
/** One recorded `gateforge disposition extend` audit entry. */
|
|
24
|
+
export const DispositionExtensionSchema = z
|
|
25
|
+
.object({
|
|
26
|
+
/** When the extension was recorded (ISO-8601). */
|
|
27
|
+
at: z.iso.datetime(),
|
|
28
|
+
/** Who extended the disposition (`--owner`). */
|
|
29
|
+
by: z.string().min(1),
|
|
30
|
+
/** Why the extension was made (`--reason`). */
|
|
31
|
+
reason: z.string().min(1),
|
|
32
|
+
/** The expiry instant this extension replaced. */
|
|
33
|
+
previousExpiresAt: z.iso.datetime(),
|
|
34
|
+
})
|
|
35
|
+
.strict();
|
|
36
|
+
/** Default maximum disposition lifetime in days (owner decision 2026-10-17). */
|
|
37
|
+
export const DISPOSITION_MAX_DAYS = 30;
|
|
38
|
+
/** The documented default ceiling in milliseconds. */
|
|
39
|
+
export const DISPOSITION_MAX_DURATION_MS = DISPOSITION_MAX_DAYS * 86_400_000;
|
|
40
|
+
/**
|
|
41
|
+
* Judges one disposition's optional `expiresAt` against the INJECTED
|
|
42
|
+
* clock — the single shared implementation both policy evaluators use,
|
|
43
|
+
* so behavior and coverage can never disagree about expiry.
|
|
44
|
+
*
|
|
45
|
+
* Args:
|
|
46
|
+
* disposition: the disposition (its optional `expiresAt` is read).
|
|
47
|
+
* options: injected clock, optional maximum duration.
|
|
48
|
+
*
|
|
49
|
+
* Returns:
|
|
50
|
+
* DispositionExpiry: the judged state.
|
|
51
|
+
*/
|
|
52
|
+
export function dispositionExpiry(disposition, options) {
|
|
53
|
+
if (disposition.expiresAt === undefined)
|
|
54
|
+
return { state: 'no-expiry' };
|
|
55
|
+
const nowMs = options.now instanceof Date
|
|
56
|
+
? options.now.getTime()
|
|
57
|
+
: (z.iso.datetime().safeParse(options.now).success ? Date.parse(options.now) : Number.NaN);
|
|
58
|
+
if (Number.isNaN(nowMs)) {
|
|
59
|
+
throw new Error(`now: expected an ISO-8601 instant, got ${JSON.stringify(options.now)}`);
|
|
60
|
+
}
|
|
61
|
+
const expiresAtMs = Date.parse(disposition.expiresAt);
|
|
62
|
+
const maxDurationMs = options.maxDurationMs ?? DISPOSITION_MAX_DURATION_MS;
|
|
63
|
+
if (expiresAtMs - nowMs > maxDurationMs) {
|
|
64
|
+
return {
|
|
65
|
+
state: 'over-max',
|
|
66
|
+
expiresAt: disposition.expiresAt,
|
|
67
|
+
detail: `expiresAt '${disposition.expiresAt}' exceeds the maximum disposition duration ` +
|
|
68
|
+
`(${String(Math.round(maxDurationMs / 86_400_000))} days from now)`,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
if (nowMs >= expiresAtMs)
|
|
72
|
+
return { state: 'expired', expiresAt: disposition.expiresAt };
|
|
73
|
+
return { state: 'active', expiresAt: disposition.expiresAt };
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The ONE disposition kind vocabulary (plan 2026-10-19 "one disposition
|
|
77
|
+
* shape"): both surfaces draw their kinds from this closed enum, and
|
|
78
|
+
* each surface allows only its documented subset — an endpoint
|
|
79
|
+
* disposition never carries a table kind and vice versa (fail closed
|
|
80
|
+
* per surface, so a kind can never quietly mean different things on the
|
|
81
|
+
* two surfaces).
|
|
82
|
+
*/
|
|
83
|
+
export const DISPOSITION_KINDS = [
|
|
84
|
+
'out-of-scope',
|
|
85
|
+
'operational-only',
|
|
86
|
+
'read-only-surface',
|
|
87
|
+
'admin-plane-unreachable',
|
|
88
|
+
'not-user-facing',
|
|
89
|
+
'other',
|
|
90
|
+
];
|
|
91
|
+
/** Kinds a `behavior.yml` endpoint disposition may carry. */
|
|
92
|
+
export const ENDPOINT_DISPOSITION_KINDS = ['out-of-scope', 'operational-only'];
|
|
93
|
+
/** Kinds a `coveragePolicy` table disposition may carry. */
|
|
94
|
+
export const TABLE_DISPOSITION_KINDS = [
|
|
95
|
+
'read-only-surface',
|
|
96
|
+
'admin-plane-unreachable',
|
|
97
|
+
'not-user-facing',
|
|
98
|
+
'other',
|
|
99
|
+
];
|
|
100
|
+
/**
|
|
101
|
+
* The shared disposition body over a surface's kind/reason fields
|
|
102
|
+
* (plan 2026-10-19): `{ kind, reason, expiresAt?, extensions? }`.
|
|
103
|
+
* Behavior requires `reason` outright. Coverage maps its deprecated
|
|
104
|
+
* `note` alias onto `reason`, and still loads a pre-shape entry that
|
|
105
|
+
* recorded neither field unless `kind` is `other` (that kind has always
|
|
106
|
+
* required a recorded reason). Surfaces compose this with their kind
|
|
107
|
+
* subset.
|
|
108
|
+
*
|
|
109
|
+
* Args:
|
|
110
|
+
* shape: the surface's `kind` and `reason` zod fields (reason OPTIONAL
|
|
111
|
+
* only where the surface still accepts a deprecated alias or a
|
|
112
|
+
* pre-shape entry that recorded no reason, never because a newly
|
|
113
|
+
* written reason is dispensable).
|
|
114
|
+
*
|
|
115
|
+
* Returns:
|
|
116
|
+
* z.ZodObject: the strict shared body with `expiresAt`/`extensions`.
|
|
117
|
+
*/
|
|
118
|
+
export function dispositionShape(shape) {
|
|
119
|
+
return z
|
|
120
|
+
.object({
|
|
121
|
+
...shape,
|
|
122
|
+
expiresAt: z.iso.datetime().optional(),
|
|
123
|
+
extensions: z.array(DispositionExtensionSchema).optional(),
|
|
124
|
+
})
|
|
125
|
+
.strict();
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* The `behavior.yml` endpoint disposition: the shared shape over the
|
|
129
|
+
* endpoint kind subset, `reason` required outright (no alias ever
|
|
130
|
+
* existed on this surface).
|
|
131
|
+
*/
|
|
132
|
+
export const EndpointDispositionSchema = dispositionShape({
|
|
133
|
+
kind: z.enum(ENDPOINT_DISPOSITION_KINDS),
|
|
134
|
+
reason: z.string().min(1),
|
|
135
|
+
});
|
|
136
|
+
//# sourceMappingURL=disposition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disposition.js","sourceRoot":"","sources":["../../src/schemas/disposition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,+DAA+D;AAC/D,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC;KACxC,MAAM,CAAC;IACN,kDAAkD;IAClD,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;IACpB,gDAAgD;IAChD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,+CAA+C;IAC/C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,kDAAkD;IAClD,iBAAiB,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;CACpC,CAAC;KACD,MAAM,EAAE,CAAC;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String>;
|
|
50
50
|
idempotencyKey: z.ZodNullable<z.ZodString>;
|
|
51
51
|
state: z.ZodEnum<{
|
|
52
|
+
active: "active";
|
|
52
53
|
failed: "failed";
|
|
53
54
|
waiting: "waiting";
|
|
54
55
|
delayed: "delayed";
|
|
55
56
|
prioritized: "prioritized";
|
|
56
|
-
active: "active";
|
|
57
57
|
completed: "completed";
|
|
58
58
|
paused: "paused";
|
|
59
59
|
}>;
|
|
@@ -74,11 +74,11 @@ export type QueueJobObservation = z.infer<typeof QueueJobObservationSchema>;
|
|
|
74
74
|
export declare const QueueJobSampleSchema: z.ZodObject<{
|
|
75
75
|
jobId: z.ZodString;
|
|
76
76
|
state: z.ZodEnum<{
|
|
77
|
+
active: "active";
|
|
77
78
|
failed: "failed";
|
|
78
79
|
waiting: "waiting";
|
|
79
80
|
delayed: "delayed";
|
|
80
81
|
prioritized: "prioritized";
|
|
81
|
-
active: "active";
|
|
82
82
|
completed: "completed";
|
|
83
83
|
paused: "paused";
|
|
84
84
|
}>;
|
|
@@ -103,11 +103,11 @@ export declare const QueueObservationSchema: z.ZodObject<{
|
|
|
103
103
|
deliveryId: z.ZodNullable<z.ZodString>;
|
|
104
104
|
idempotencyKey: z.ZodNullable<z.ZodString>;
|
|
105
105
|
state: z.ZodEnum<{
|
|
106
|
+
active: "active";
|
|
106
107
|
failed: "failed";
|
|
107
108
|
waiting: "waiting";
|
|
108
109
|
delayed: "delayed";
|
|
109
110
|
prioritized: "prioritized";
|
|
110
|
-
active: "active";
|
|
111
111
|
completed: "completed";
|
|
112
112
|
paused: "paused";
|
|
113
113
|
}>;
|
|
@@ -119,11 +119,11 @@ export declare const QueueObservationSchema: z.ZodObject<{
|
|
|
119
119
|
samples: z.ZodArray<z.ZodObject<{
|
|
120
120
|
jobId: z.ZodString;
|
|
121
121
|
state: z.ZodEnum<{
|
|
122
|
+
active: "active";
|
|
122
123
|
failed: "failed";
|
|
123
124
|
waiting: "waiting";
|
|
124
125
|
delayed: "delayed";
|
|
125
126
|
prioritized: "prioritized";
|
|
126
|
-
active: "active";
|
|
127
127
|
completed: "completed";
|
|
128
128
|
paused: "paused";
|
|
129
129
|
}>;
|
|
@@ -59,6 +59,7 @@ export declare const CauseCodeSchema: z.ZodEnum<{
|
|
|
59
59
|
EVIDENCE_VALUE_MISMATCH: "EVIDENCE_VALUE_MISMATCH";
|
|
60
60
|
SERVER_PROBE_UNAVAILABLE: "SERVER_PROBE_UNAVAILABLE";
|
|
61
61
|
CRUD_COVERAGE_MISSING: "CRUD_COVERAGE_MISSING";
|
|
62
|
+
COVERAGE_POLICY_ABSENT: "COVERAGE_POLICY_ABSENT";
|
|
62
63
|
DIAGNOSTIC_TEST_FAILURE: "DIAGNOSTIC_TEST_FAILURE";
|
|
63
64
|
DIAGNOSTIC_RUN_INCOMPLETE: "DIAGNOSTIC_RUN_INCOMPLETE";
|
|
64
65
|
DIAGNOSTIC_RESULT_STALE: "DIAGNOSTIC_RESULT_STALE";
|
|
@@ -74,6 +75,7 @@ export declare const CauseCodeSchema: z.ZodEnum<{
|
|
|
74
75
|
RUNTIME_PREPARATION_FAILED: "RUNTIME_PREPARATION_FAILED";
|
|
75
76
|
RUNTIME_READINESS_FAILED: "RUNTIME_READINESS_FAILED";
|
|
76
77
|
QUARANTINE_EXPIRED: "QUARANTINE_EXPIRED";
|
|
78
|
+
DISPOSITION_EXPIRED: "DISPOSITION_EXPIRED";
|
|
77
79
|
MIGRATION_MISSING: "MIGRATION_MISSING";
|
|
78
80
|
MIGRATION_LINEAGE_BROKEN: "MIGRATION_LINEAGE_BROKEN";
|
|
79
81
|
MIGRATION_DOWNGRADE_NOOP: "MIGRATION_DOWNGRADE_NOOP";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verdict.d.ts","sourceRoot":"","sources":["../../src/schemas/verdict.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;EAQxB,CAAC;AAEH,8BAA8B;AAC9B,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,iEAAiE;AACjE,eAAO,MAAM,sBAAsB;;;;;;;;kBASxB,CAAC;AAEZ,wCAAwC;AACxC,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"verdict.d.ts","sourceRoot":"","sources":["../../src/schemas/verdict.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;EAQxB,CAAC;AAEH,8BAA8B;AAC9B,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,iEAAiE;AACjE,eAAO,MAAM,sBAAsB;;;;;;;;kBASxB,CAAC;AAEZ,wCAAwC;AACxC,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwE1B,CAAC;AAEH,iCAAiC;AACjC,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAmHjE,CAAC"}
|
package/dist/schemas/verdict.js
CHANGED
|
@@ -57,6 +57,11 @@ export const CauseCodeSchema = z.enum([
|
|
|
57
57
|
'EVIDENCE_VALUE_MISMATCH',
|
|
58
58
|
'SERVER_PROBE_UNAVAILABLE',
|
|
59
59
|
'CRUD_COVERAGE_MISSING',
|
|
60
|
+
// Strict E2E demands a declared coverage policy (plan 2026-10-18): the
|
|
61
|
+
// owner-written `coveragePolicy` is the one gate input the code cannot
|
|
62
|
+
// shrink, so a strict setup without it blocks setup-wide instead of
|
|
63
|
+
// silently grading an empty policy.
|
|
64
|
+
'COVERAGE_POLICY_ABSENT',
|
|
60
65
|
'DIAGNOSTIC_TEST_FAILURE',
|
|
61
66
|
'DIAGNOSTIC_RUN_INCOMPLETE',
|
|
62
67
|
'DIAGNOSTIC_RESULT_STALE',
|
|
@@ -72,6 +77,10 @@ export const CauseCodeSchema = z.enum([
|
|
|
72
77
|
'RUNTIME_PREPARATION_FAILED',
|
|
73
78
|
'RUNTIME_READINESS_FAILED',
|
|
74
79
|
'QUARANTINE_EXPIRED',
|
|
80
|
+
// Expiring owner dispositions (plan 2026-10-17): an `expiresAt`-stamped
|
|
81
|
+
// disposition judged at/after its instant is void — the endpoint/table
|
|
82
|
+
// grades as if undispositioned — and the expiry itself blocks.
|
|
83
|
+
'DISPOSITION_EXPIRED',
|
|
75
84
|
'MIGRATION_MISSING',
|
|
76
85
|
'MIGRATION_LINEAGE_BROKEN',
|
|
77
86
|
'MIGRATION_DOWNGRADE_NOOP',
|
|
@@ -134,10 +143,12 @@ export const CAUSE_NEXT_ACTIONS = Object.freeze({
|
|
|
134
143
|
SERVER_PROBE_UNAVAILABLE: 'Export/repair the adapter server probe (probeServer) so the witness can observe the database engine-side',
|
|
135
144
|
CRUD_COVERAGE_MISSING: 'Owner: add an overlay test, or record a disposition in trusted `coveragePolicy` ' +
|
|
136
145
|
'(agents must not edit coveragePolicy).',
|
|
146
|
+
COVERAGE_POLICY_ABSENT: 'Owner: review `gateforge coverage draft` output and paste the coveragePolicy into ' +
|
|
147
|
+
'`.gateforge.yml` (agents must not edit coveragePolicy); repin afterwards.',
|
|
137
148
|
DIAGNOSTIC_TEST_FAILURE: 'Inspect the named test, assertion, and relevant application code',
|
|
138
149
|
DIAGNOSTIC_RUN_INCOMPLETE: 'Repair the run; an incomplete diagnostic run never displays as passing',
|
|
139
150
|
DIAGNOSTIC_RESULT_STALE: 'Rerun the diagnostic suite for the exact candidate',
|
|
140
|
-
ENDPOINT_BEHAVIOR_MISSING: 'Owner defines endpoint behavior; agent cannot exclude it',
|
|
151
|
+
ENDPOINT_BEHAVIOR_MISSING: 'Owner defines endpoint behavior (`gateforge behavior draft` prints the read-only skeleton); agent cannot exclude it',
|
|
141
152
|
BEHAVIOR_REFERENCE_STALE: 'Repair reviewed references and rerun',
|
|
142
153
|
BEHAVIOR_CASE_UNMAPPED: 'Reuse/map a suitable test, or add thin overlay proof',
|
|
143
154
|
BEHAVIOR_CASE_MISSING: 'Execute the case through its required channel',
|
|
@@ -149,6 +160,7 @@ export const CAUSE_NEXT_ACTIONS = Object.freeze({
|
|
|
149
160
|
RUNTIME_PREPARATION_FAILED: 'Repair the tracked `runtime.prepare` command (its failure log is under run state `runtime/`) — ' +
|
|
150
161
|
'the candidate runtime must build or install before the gate can execute',
|
|
151
162
|
QUARANTINE_EXPIRED: 'Owner: renew or delete the expired quarantine (`gateforge quarantine <testKey> --owner --approver --reason --expires`); an expired quarantine blocks',
|
|
163
|
+
DISPOSITION_EXPIRED: 'Owner: extend or remove the expired disposition (`gateforge disposition extend <endpoint-id|table> --expires <ISO-date> --owner <name> --reason "…"`); an expired disposition voids the exemption and blocks',
|
|
152
164
|
RUNTIME_READINESS_FAILED: 'Repair the tracked `runtime.services` command or readiness probe — the candidate ' +
|
|
153
165
|
'runtime must become ready before evidence is trusted',
|
|
154
166
|
MIGRATION_MISSING: 'Write an Alembic revision for the changed model, then run `gateforge check`',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verdict.js","sourceRoot":"","sources":["../../src/schemas/verdict.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,CAAC,EAAE,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