# Variable PolicyConfigSchema`Const`

PolicyConfigSchema: ZodObject<
{
defaultMode: ZodDefault<
ZodEnum<{ "read-only": "read-only"; "read-write": "read-write" }>,
>;
policyMode: ZodDefault<ZodEnum<{ warn: "warn"; enforce: "enforce" }>>;
allowedPaths: ZodDefault<ZodArray<ZodString>>;
},
$strip,
> = ...

Schema for policy configuration.

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:128