JS-088: hand-rolled require-path resolution (libDir/_here) duplicated across 5 modules

Now
OPEN
Sev
MED

The be-relative require workaround (resolve a module's own dir so it can require siblings by absolute path under the resident loop, where argv[1] is loop.js not the module) is reinvented in five modules with subtly different fallbacks "." vs argv[1] vs __dirname. Several sites do the require LAZILY in a function body, defeating the registry warm-cache and hiding the dependency graph. Method: Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome