nx_skills_emit.nx
buildroot/runtime/nx_skills_emit.nx
about
nx_skills_emit.nx -- MAIN: seed the skill layer for a dish and render its skills surface.
Idempotent (rule 10): every seed is a value-compare put. Separate organ from nx_meal_emit so the recipe page
and the skills page can each be re-rendered without touching the other's stores.
The seeded levels are DELIBERATELY incomplete: this household has been assessed on the knife and the pan but
has NEVER braised. That is the common real case, and it exercises the disclosure rather than hiding it --
the cook-from-scratch option becomes unrankable, the page says exactly why, and the recommendation falls to
something we can actually compare.
argv[1] = output html path (default /tmp/kitchen-skills.html)
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 6 imports · 0 importers
imports: nx_meal_skills_page.nxnx_meal_cost.nxnx_meal_effort.nxnx_skill_video.nxnx_meal_plan.nxnx_syscalls.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
| 19 | const SE_MAGIC_2500: i64 = 2500 |
| 20 | const SE_MAGIC_1800: i64 = 1800 |
| 21 | const SE_MAGIC_2600: i64 = 2600 |
| 22 | const SE_MAGIC_2900: i64 = 2900 |
| 23 | const SE_MAGIC_3600: i64 = 3600 |
| 25 | const SE_PAGE: i64 = 262144 |
| 26 | const SE_WARC: i64 = 4194304 |
| 27 | const SE_MODE: i64 = 420 |
| 28 | const SE_SALE_FLOOR: i64 = 50 |
| 29 | const SE_INTAKE_PORT: i64 = 8033 |
| 30 | const SE_RATE: i64 = 2500 // $25.00/hour -- this household's own stated value for an hour |
functions
| 32 | func se_p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } calls 1: sys_write |
| 33 | func se_n(v: i64) -> i64 |
| 46 | func se_port_open(port: i64) -> i64 |
| 62 | func se_write_file(path: *u8, buf: *u8, n: i64) -> i64 |
| 70 | func main(argc: i64, argv: *i64) -> i64 |