@lannguyensi/harness 0.26.0 → 0.27.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/CHANGELOG.md +16 -0
- package/dist/cli/approve/risk.d.ts +43 -0
- package/dist/cli/approve/risk.js +126 -0
- package/dist/cli/approve/risk.js.map +1 -0
- package/dist/cli/audit.js +8 -2
- package/dist/cli/audit.js.map +1 -1
- package/dist/cli/doctor/format.js +24 -0
- package/dist/cli/doctor/format.js.map +1 -1
- package/dist/cli/doctor/index.js +26 -0
- package/dist/cli/doctor/index.js.map +1 -1
- package/dist/cli/doctor/types.d.ts +23 -0
- package/dist/cli/event-input.js +8 -7
- package/dist/cli/event-input.js.map +1 -1
- package/dist/cli/explain-policy.d.ts +54 -0
- package/dist/cli/explain-policy.js +81 -0
- package/dist/cli/explain-policy.js.map +1 -0
- package/dist/cli/explain.js +4 -0
- package/dist/cli/explain.js.map +1 -1
- package/dist/cli/index.js +70 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init/templates.d.ts +1 -1
- package/dist/cli/init/templates.js +98 -0
- package/dist/cli/init/templates.js.map +1 -1
- package/dist/cli/policy/intercept.d.ts +10 -0
- package/dist/cli/policy/intercept.js +34 -1
- package/dist/cli/policy/intercept.js.map +1 -1
- package/dist/runtime/index.d.ts +2 -1
- package/dist/runtime/index.js +2 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/intercept.d.ts +60 -3
- package/dist/runtime/intercept.js +104 -6
- package/dist/runtime/intercept.js.map +1 -1
- package/dist/runtime/ledger-record.d.ts +8 -0
- package/dist/runtime/ledger-record.js +2 -0
- package/dist/runtime/ledger-record.js.map +1 -1
- package/dist/runtime/risk-classifier.js +27 -0
- package/dist/runtime/risk-classifier.js.map +1 -1
- package/dist/runtime/when-eval.d.ts +40 -0
- package/dist/runtime/when-eval.js +134 -0
- package/dist/runtime/when-eval.js.map +1 -0
- package/dist/schema/index.d.ts +11 -11
- package/dist/schema/policies.d.ts +13 -13
- package/dist/schema/policies.js +20 -8
- package/dist/schema/policies.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ export declare const PolicyTriggerSchema: z.ZodObject<{
|
|
|
18
18
|
bash_match?: string | undefined;
|
|
19
19
|
extract?: Record<string, string> | undefined;
|
|
20
20
|
}>;
|
|
21
|
-
export declare const PolicyEnforcementSchema: z.ZodEnum<["block", "warn"]>;
|
|
21
|
+
export declare const PolicyEnforcementSchema: z.ZodEnum<["block", "warn", "require_approval"]>;
|
|
22
22
|
export declare const ProducerSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
23
23
|
kind: z.ZodLiteral<"bash">;
|
|
24
24
|
command: z.ZodString;
|
|
@@ -189,7 +189,7 @@ export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
189
189
|
at_head?: boolean | undefined;
|
|
190
190
|
}>;
|
|
191
191
|
hook: z.ZodString;
|
|
192
|
-
enforcement: z.ZodEnum<["block", "warn"]>;
|
|
192
|
+
enforcement: z.ZodEnum<["block", "warn", "require_approval"]>;
|
|
193
193
|
producers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
194
194
|
kind: z.ZodLiteral<"bash">;
|
|
195
195
|
command: z.ZodString;
|
|
@@ -290,7 +290,7 @@ export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
290
290
|
at_head?: boolean | undefined;
|
|
291
291
|
};
|
|
292
292
|
hook: string;
|
|
293
|
-
enforcement: "warn" | "block";
|
|
293
|
+
enforcement: "warn" | "block" | "require_approval";
|
|
294
294
|
producers?: ({
|
|
295
295
|
command: string;
|
|
296
296
|
description: string;
|
|
@@ -337,7 +337,7 @@ export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
337
337
|
at_head?: boolean | undefined;
|
|
338
338
|
};
|
|
339
339
|
hook: string;
|
|
340
|
-
enforcement: "warn" | "block";
|
|
340
|
+
enforcement: "warn" | "block" | "require_approval";
|
|
341
341
|
producers?: ({
|
|
342
342
|
command: string;
|
|
343
343
|
description: string;
|
|
@@ -384,7 +384,7 @@ export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
384
384
|
at_head?: boolean | undefined;
|
|
385
385
|
};
|
|
386
386
|
hook: string;
|
|
387
|
-
enforcement: "warn" | "block";
|
|
387
|
+
enforcement: "warn" | "block" | "require_approval";
|
|
388
388
|
producers?: ({
|
|
389
389
|
command: string;
|
|
390
390
|
description: string;
|
|
@@ -431,7 +431,7 @@ export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
431
431
|
at_head?: boolean | undefined;
|
|
432
432
|
};
|
|
433
433
|
hook: string;
|
|
434
|
-
enforcement: "warn" | "block";
|
|
434
|
+
enforcement: "warn" | "block" | "require_approval";
|
|
435
435
|
producers?: ({
|
|
436
436
|
command: string;
|
|
437
437
|
description: string;
|
|
@@ -549,7 +549,7 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
549
549
|
at_head?: boolean | undefined;
|
|
550
550
|
}>;
|
|
551
551
|
hook: z.ZodString;
|
|
552
|
-
enforcement: z.ZodEnum<["block", "warn"]>;
|
|
552
|
+
enforcement: z.ZodEnum<["block", "warn", "require_approval"]>;
|
|
553
553
|
producers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
554
554
|
kind: z.ZodLiteral<"bash">;
|
|
555
555
|
command: z.ZodString;
|
|
@@ -650,7 +650,7 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
650
650
|
at_head?: boolean | undefined;
|
|
651
651
|
};
|
|
652
652
|
hook: string;
|
|
653
|
-
enforcement: "warn" | "block";
|
|
653
|
+
enforcement: "warn" | "block" | "require_approval";
|
|
654
654
|
producers?: ({
|
|
655
655
|
command: string;
|
|
656
656
|
description: string;
|
|
@@ -697,7 +697,7 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
697
697
|
at_head?: boolean | undefined;
|
|
698
698
|
};
|
|
699
699
|
hook: string;
|
|
700
|
-
enforcement: "warn" | "block";
|
|
700
|
+
enforcement: "warn" | "block" | "require_approval";
|
|
701
701
|
producers?: ({
|
|
702
702
|
command: string;
|
|
703
703
|
description: string;
|
|
@@ -744,7 +744,7 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
744
744
|
at_head?: boolean | undefined;
|
|
745
745
|
};
|
|
746
746
|
hook: string;
|
|
747
|
-
enforcement: "warn" | "block";
|
|
747
|
+
enforcement: "warn" | "block" | "require_approval";
|
|
748
748
|
producers?: ({
|
|
749
749
|
command: string;
|
|
750
750
|
description: string;
|
|
@@ -791,7 +791,7 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
791
791
|
at_head?: boolean | undefined;
|
|
792
792
|
};
|
|
793
793
|
hook: string;
|
|
794
|
-
enforcement: "warn" | "block";
|
|
794
|
+
enforcement: "warn" | "block" | "require_approval";
|
|
795
795
|
producers?: ({
|
|
796
796
|
command: string;
|
|
797
797
|
description: string;
|
|
@@ -838,7 +838,7 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
838
838
|
at_head?: boolean | undefined;
|
|
839
839
|
};
|
|
840
840
|
hook: string;
|
|
841
|
-
enforcement: "warn" | "block";
|
|
841
|
+
enforcement: "warn" | "block" | "require_approval";
|
|
842
842
|
producers?: ({
|
|
843
843
|
command: string;
|
|
844
844
|
description: string;
|
|
@@ -885,7 +885,7 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
885
885
|
at_head?: boolean | undefined;
|
|
886
886
|
};
|
|
887
887
|
hook: string;
|
|
888
|
-
enforcement: "warn" | "block";
|
|
888
|
+
enforcement: "warn" | "block" | "require_approval";
|
|
889
889
|
producers?: ({
|
|
890
890
|
command: string;
|
|
891
891
|
description: string;
|
package/dist/schema/policies.js
CHANGED
|
@@ -13,7 +13,19 @@ export const PolicyTriggerSchema = z
|
|
|
13
13
|
extract: ExtractMapSchema.optional(),
|
|
14
14
|
})
|
|
15
15
|
.strict();
|
|
16
|
-
|
|
16
|
+
// How a policy acts when its `requires:` evidence is absent:
|
|
17
|
+
// block — deny the tool call.
|
|
18
|
+
// warn — let the call proceed, record + surface a warning.
|
|
19
|
+
// require_approval — Phase 7 #5. The evaluator returns a first-class
|
|
20
|
+
// `require_approval` outcome, distinct from `deny`
|
|
21
|
+
// and `warn`; Phase 7 #6 makes it actually block
|
|
22
|
+
// until matching approval evidence exists in the
|
|
23
|
+
// ledger. A `block` / `warn` policy is unchanged.
|
|
24
|
+
export const PolicyEnforcementSchema = z.enum([
|
|
25
|
+
"block",
|
|
26
|
+
"warn",
|
|
27
|
+
"require_approval",
|
|
28
|
+
]);
|
|
17
29
|
// `producers:` is the structured remediation hint the policy engine
|
|
18
30
|
// appends to the deny envelope. Each entry tells the agent ONE concrete
|
|
19
31
|
// way to produce the ledger evidence that would unblock the gate.
|
|
@@ -81,14 +93,14 @@ export const PolicyUxSchema = z
|
|
|
81
93
|
run: z.array(z.string().min(1)).min(1),
|
|
82
94
|
})
|
|
83
95
|
.strict();
|
|
84
|
-
// `when:` —
|
|
96
|
+
// `when:` — the risk/environment-aware match layer.
|
|
85
97
|
//
|
|
86
|
-
// STATUS:
|
|
87
|
-
//
|
|
88
|
-
//
|
|
89
|
-
//
|
|
90
|
-
//
|
|
91
|
-
//
|
|
98
|
+
// STATUS: live as of Phase 7 #5. `harness policy intercept` ANDs a
|
|
99
|
+
// declared `when:` onto the policy's `trigger:` match, evaluating it
|
|
100
|
+
// against the Action Envelope enriched by the Risk Classifier (#3) and
|
|
101
|
+
// Context Resolver (#4). A policy with no `when:` matches on `trigger:`
|
|
102
|
+
// alone, exactly as in Phase 4. See src/runtime/when-eval.ts for the
|
|
103
|
+
// evaluator and docs/risk-gate.md for the clause semantics.
|
|
92
104
|
//
|
|
93
105
|
// Each clause is optional and keyed by the envelope path it tests:
|
|
94
106
|
// risk.severity_at_least — envelope risk severity at or above this
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policies.js","sourceRoot":"","sources":["../../src/schema/policies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEnE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,KAAK,EAAE,eAAe;IACtB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACnC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxC,OAAO,EAAE,gBAAgB,CAAC,QAAQ,EAAE;CACrC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"policies.js","sourceRoot":"","sources":["../../src/schema/policies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM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|
2
2
|
"name": "@lannguyensi/harness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Declarative control plane for agent harnesses — one YAML for grounding, tools, memory, and hooks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/LanNguyenSi/harness",
|