PR T: consolidate obligations/evaluator into rulesEngine #24
Reference in New Issue
Block a user
Delete Branch "devin/1776890754-pr-t-evaluator-consolidation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to PRs #20 (rules engine) and #23 (obligation layer), which shipped an equivalent
Conditionshape.Before:
src/services/rulesEngine.tshad the full DSL,src/services/obligations/evaluator.tshad a parallel 153-line subset with the same types.After:
obligations/evaluator.tsis now a 49-line compat wrapper that re-exports the sharedConditiontypes and delegatesevaluateCondition()/resolvePath()toservices/rulesEngine. The historicalresolvePath(path, context)argument order used bytests/unit/obligations.test.tsis preserved.No runtime behaviour change; no migration; no env changes.
Verification:
npx tsc --noEmitclean;npx jest10 suites / 128 tests passing (same count as onmain).