nexyron.decision_run
CALL nexyron.decision_run($request) starts a service-owned Decision Intelligence workflow. It is a mutating procedure because it queues background work and can create or update Lens-linked report artifacts.
The request is a map with the same contract used by the System Assistant and MCP decision tool:
databaseproblem_namegoallens_namereport_namesubject_abstractionscenariocandidate_querypolicy_namescandidate_actionsobjectivesconstraintsmax_recommendationsbackground
By default, callers should set background: true. The service queues business_decision_run, creates or reuses a clean business-named Lens, evaluates candidates against objectives and constraints, saves a raw decision_run artifact, and generates a Lens-linked decision report through the stored Lens report writer workflow.
Example:
CALL nexyron.decision_run($request)
YIELD task_id, status, lens_name, report_name, message
RETURN task_id, status, lens_name, report_name, message