mirror of
https://github.com/EvoMap/evolver.git
synced 2026-09-18 21:47:53 +08:00
7 lines
687 B
JavaScript
7 lines
687 B
JavaScript
// Back-compat shim: the per-gene constraint checker moved into ./policy/ when the v1 policyCheck safety core
|
|
// was ported as split modules (blast hard cap + protected paths + destructive + failure classification, all
|
|
// behind the single checkPolicy entry point). Existing imports of checkChangeConstraints / pathIsForbidden /
|
|
// summarizeViolations / ChangeConstraints / PolicyViolation keep working through this re-export — and the
|
|
// full policy core is available from ./policy/index.ts (re-exported here too via checkPolicy).
|
|
export { checkChangeConstraints, pathIsForbidden, summarizeViolations, } from './policy/constraints.js';
|
|
export { checkPolicy } from './policy/index.js'; |