nx_workflow_knobs.nx
buildroot/runtime/nx_workflow_knobs.nx
about
nx_workflow_knobs.nx -- SOVEREIGN workflow -> clean capability card (piece 2 of the anti-ComfyUI ingest).
Reads the extracted ComfyUI workflow JSON and DISTILLS the 68-node graph into the few knobs that matter:
model(gguf), loras(safetensors), and feature flags (audio / face-consistency / super-res / upscale).
This is the "collapse the node-soup into what it actually does" step -- the LLM understander generalizes
it later; this deterministic pass handles the known node families sovereignly. No 3rd party.
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_le.nxnx_strconv.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 11 | const K_MAGIC_2097152: i64 = 2097152 |
functions
| 13 | func wk_find(buf: *u8, len: i64, needle: *u8, nlen: i64, start: i64) -> i64 |
| 25 | func wk_count(buf: *u8, len: i64, needle: *u8, nlen: i64) -> i64 |
| 33 | func wk_near(buf: *u8, pos: i64, needle: *u8, nl: i64, back: i64) -> i64 calls 1: wk_find |
| 43 | func wk_emit_quoted(fd: i64, prefix: *u8, pl: i64, buf: *u8, pos: i64) -> i64 |
| 59 | func wk_flag(fd: i64, buf: *u8, len: i64, label: *u8, ll: i64, needle: *u8, nl: i64) -> i64 |
| 70 | func main() -> i64 |