@miller-tech/uap 1.148.7 → 1.148.8
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/.tsbuildinfo +1 -1
- package/dist/cli/policy-select.js +1 -1
- package/dist/cli/policy.js +2 -2
- package/package.json +1 -1
- package/src/policies/enforcers/__pycache__/_common.cpython-312.pyc +0 -0
- package/src/policies/schemas/policies/adr-guard.md +1 -1
- package/src/policies/schemas/policies/coord-overlap.md +1 -1
- package/src/policies/schemas/policies/delivery-enforcement.md +1 -1
- package/src/policies/schemas/policies/enforcement-self-protect.md +2 -0
- package/src/policies/schemas/policies/local-build-before-push.md +1 -1
- package/src/policies/schemas/policies/mcp-router-first.md +1 -1
- package/src/policies/schemas/policies/parallel-reads.md +1 -1
- package/src/policies/schemas/policies/pay2u-architecture-rules.md +1 -1
- package/src/policies/schemas/policies/pay2u-enforcement-hooks.md +1 -1
- package/src/policies/schemas/policies/pay2u-quick-reference.md +1 -1
- package/tools/agents/scripts/__pycache__/toolcall_path_normalizer.cpython-312.pyc +0 -0
|
@@ -52,7 +52,7 @@ export async function listPolicyChoices() {
|
|
|
52
52
|
return builtins
|
|
53
53
|
.map((b) => {
|
|
54
54
|
const inst = byName.get(normPolicyKey(b.name));
|
|
55
|
-
const level = (inst?.level ?? b.level ?? '
|
|
55
|
+
const level = (inst?.level ?? b.level ?? 'REQUIRED').toUpperCase();
|
|
56
56
|
return {
|
|
57
57
|
name: b.name,
|
|
58
58
|
category: inst?.category ?? b.category,
|
package/dist/cli/policy.js
CHANGED
|
@@ -59,7 +59,7 @@ export function parsePolicyMeta(md) {
|
|
|
59
59
|
return m ? m[1].trim() : dflt;
|
|
60
60
|
};
|
|
61
61
|
return {
|
|
62
|
-
level: grab('Level', '
|
|
62
|
+
level: grab('Level', 'REQUIRED'),
|
|
63
63
|
category: grab('Category', 'custom'),
|
|
64
64
|
stage: grab('Enforcement Stage', 'pre-exec'),
|
|
65
65
|
};
|
|
@@ -90,7 +90,7 @@ export function buildPolicyMatrix(builtins, installed) {
|
|
|
90
90
|
builtin: existing?.builtin ?? false,
|
|
91
91
|
installed: true,
|
|
92
92
|
enabled: p.isActive,
|
|
93
|
-
level: p.level ?? existing?.level ?? '
|
|
93
|
+
level: p.level ?? existing?.level ?? 'REQUIRED',
|
|
94
94
|
stage: p.enforcementStage ?? existing?.stage ?? 'pre-exec',
|
|
95
95
|
category: p.category ?? existing?.category ?? 'custom',
|
|
96
96
|
id: p.id,
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Enforcement Self-Protect
|
|
2
2
|
|
|
3
|
+
**Level**: REQUIRED
|
|
4
|
+
|
|
3
5
|
The delivery gate exists to route coding through `uap deliver`. A weak local
|
|
4
6
|
model that hits the block tends to try to ESCAPE it rather than comply
|
|
5
7
|
(observed: "set enforcement to advisory", "use UAP_DELIVER_BYPASS=1"). This
|