feat: add support for params - #418
Conversation
|
@stefan-gorules @ivanmiletic Is there anything blocking this one? Happy to help if so. We run a large production deployment of JDM graphs for healthcare claims adjudication, and a substantial share of them carry a per-engine sidecar file of policy constants — code sets, effective dates, allowed modifier lists. Today our host merges that into the evaluation input, which means a policy and the constants it depends on are two separate artifacts that can version-drift independently. That has been a recurring source of authoring problems for us.
Two things we can offer, both inside what the contribution policy allows:
Not asking to jump the queue — just wanted to flag that there's a real user waiting on it, and to offer hands if the remaining work is the kind we can pick up. |
Ports the `params` feature from gorules#418 onto current master. That PR branches from 61465bd (2025-11-24) and master is 93 commits ahead, including the walker rewrite in fe43b4c and the DecisionContent Graph/Policy split, so the original diff no longer applies; this is a reimplementation against the current shape rather than a merge. Params are decision-level constants declared on the graph document and exposed to every node as `$params`. Unlike evaluation input they travel with the decision, so a policy and the constants it depends on cannot drift apart. Following current master's design, `$params` is supplied as an isolate local alongside `$nodes` rather than being written into the input object, and is converted to a Variable once per evaluation. It is registered as a reserved property so it is stripped from results and traces. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Ports the `params` feature from gorules#418 onto current master. That PR branches from 61465bd (2025-11-24) and master is 93 commits ahead, including the walker rewrite in fe43b4c and the DecisionContent Graph/Policy split, so the original diff no longer applies; this is a reimplementation against the current shape rather than a merge. Params are decision-level constants declared on the graph document and exposed to every node as `$params`. Unlike evaluation input they travel with the decision, so a policy and the constants it depends on cannot drift apart. Following current master's design, `$params` is supplied as an isolate local alongside `$nodes` rather than being written into the input object, and is converted to a Variable once per evaluation. It is registered as a reserved property so it is stripped from results and traces. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Ports the `params` feature from gorules#418 onto current master. That PR branches from 61465bd (2025-11-24) and master is 93 commits ahead, including the walker rewrite in fe43b4c and the DecisionContent Graph/Policy split, so the original diff no longer applies; this is a reimplementation against the current shape rather than a merge. Params are decision-level constants declared on the graph document and exposed to every node as `$params`. Unlike evaluation input they travel with the decision, so a policy and the constants it depends on cannot drift apart. Following current master's design, `$params` is supplied as an isolate local alongside `$nodes` rather than being written into the input object, and is converted to a Variable once per evaluation. It is registered as a reserved property so it is stripped from results and traces. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Ports the `params` feature from gorules#418 onto current master. That PR branches from 61465bd (2025-11-24) and master is 93 commits ahead, including the walker rewrite in fe43b4c and the DecisionContent Graph/Policy split, so the original diff no longer applies; this is a reimplementation against the current shape rather than a merge. Params are decision-level constants declared on the graph document and exposed to every node as `$params`. Unlike evaluation input they travel with the decision, so a policy and the constants it depends on cannot drift apart. Following current master's design, `$params` is supplied as an isolate local alongside `$nodes` rather than being written into the input object, and is converted to a Variable once per evaluation. It is registered as a reserved property so it is stripped from results and traces. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Ports the `params` feature from gorules#418 onto current master. That PR branches from 61465bd (2025-11-24) and master is 93 commits ahead, including the walker rewrite in fe43b4c and the DecisionContent Graph/Policy split, so the original diff no longer applies; this is a reimplementation against the current shape rather than a merge. Params are decision-level constants declared on the graph document and exposed to every node as `$params`. Unlike evaluation input they travel with the decision, so a policy and the constants it depends on cannot drift apart. Following current master's design, `$params` is supplied as an isolate local alongside `$nodes` rather than being written into the input object, and is converted to a Variable once per evaluation. It is registered as a reserved property so it is stripped from results and traces. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Ports the `params` feature from gorules#418 onto current master. That PR branches from 61465bd (2025-11-24) and master is 93 commits ahead, including the walker rewrite in fe43b4c and the DecisionContent Graph/Policy split, so the original diff no longer applies; this is a reimplementation against the current shape rather than a merge. Params are decision-level constants declared on the graph document and exposed to every node as `$params`. Unlike evaluation input they travel with the decision, so a policy and the constants it depends on cannot drift apart. Following current master's design, `$params` is supplied as an isolate local alongside `$nodes` rather than being written into the input object, and is converted to a Variable once per evaluation. It is registered as a reserved property so it is stripped from results and traces. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Ports the `params` feature from gorules#418 onto current master. That PR branches from 61465bd (2025-11-24) and master is 93 commits ahead, including the walker rewrite in fe43b4c and the DecisionContent Graph/Policy split, so the original diff no longer applies; this is a reimplementation against the current shape rather than a merge. Params are decision-level constants declared on the graph document and exposed to every node as `$params`. Unlike evaluation input they travel with the decision, so a policy and the constants it depends on cannot drift apart. Following current master's design, `$params` is supplied as an isolate local alongside `$nodes` rather than being written into the input object, and is converted to a Variable once per evaluation. It is registered as a reserved property so it is stripped from results and traces. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Ports the `params` feature from gorules#418 onto current master. That PR branches from 61465bd (2025-11-24) and master is 93 commits ahead, including the walker rewrite in fe43b4c and the DecisionContent Graph/Policy split, so the original diff no longer applies; this is a reimplementation against the current shape rather than a merge. Params are decision-level constants declared on the graph document and exposed to every node as `$params`. Unlike evaluation input they travel with the decision, so a policy and the constants it depends on cannot drift apart. Following current master's design, `$params` is supplied as an isolate local alongside `$nodes` rather than being written into the input object, and is converted to a Variable once per evaluation. It is registered as a reserved property so it is stripped from results and traces. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
No description provided.