dprod
dprod copied to clipboard
Make clear that DPROD is not the evaluator, and who builds the evaluation context
Since #245 removed dprod:path, operands read a single property from the request, the state snapshot or the context. The documentation does not say clearly enough:
- DPROD is a specification, not an evaluator. An evaluator is an external program that implements the specification. Nothing in DPROD receives a request or returns a decision.
- Who builds the evaluation context. The calling system that needs a decision gathers the facts, flattens them onto the request and state nodes, and hands the frozen
dprod:EvaluationContextto the evaluator.specification.md§3.4 and thedprod:EvaluationContextanddprod:statecomments say the evaluator constructs or supplies it, which contradicts the Evaluation Context example and the requirement that the evaluator never reads live data. - What
dprod:requestSourceis. The request node built by the calling system (agent, action, asset, plus any request facts the policies need). It is plain RDF, not anodrl:Request. - What replaces
dprod:path. There is no example of a fact that is more than one hop away (for example the jurisdiction of the requesting agent's organisation) and how the calling system resolves it onto the request.
This is a clarification only; no normative behaviour changes.