quark-onnx-router
Purpose
Translate a user's natural-language ONNX quantization goal into the smallest correct skill boundary. The router exists because Quark's ONNX flow spans install, intake, planning, execution, debug, and validation — picking the wrong skill wastes time and produces wrong artifacts. The router is the sole producer of session_context.json for the ONNX backend; every other artifact (env, workspace, install results, model analysis, quant plan) is produced by its own owning skill, and the router only carries forward references to those files.
Inputs
- User goal stated in natural language
env_context.json(optional, when routing depends on hardware / execution-provider facts)workspace_context.json(optional, when routing depends on validated.onnx/.onnx_datapaths)
Outputs: session_context.json
Carries the user goal, selected workflow (or atomic skill if no workflow applies), constraints with backend = "onnx", *_ref pointers to other artifacts, and unresolved questions.