quark-torch-router
Purpose
Translate a user's natural-language goal into the smallest correct skill boundary. The router exists because Quark has a layered skill system — picking the wrong skill wastes time and produces wrong artifacts. The router is the sole producer of session_context.json; every other artifact (env, workspace, install results) 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 facts)workspace_context.json(optional, when routing depends on validated paths)
Outputs: session_context.json
Carries the user goal, selected workflow, constraints, *_ref pointers to other artifacts, and unresolved questions.