Switching to a two-pass build system: first run ./action.js scan/generate to construct the graph.gen dep info.  Then use ./exec.js to build, clean, etc.