env.check¶
Verify this shell against the tools the sites require.
Run it bare from the session being checked: a freshly entered shell would report itself, not yours.
Every required tool must have a receipt, and every claim that
receipt makes must hold here: the store wrote it to say what it
installed, so it is what gets checked rather than a guess about
where a tool of that name might live. A required tool with no
receipt is a miss even when something of its name is on PATH,
because what would run then is whatever the host happens to carry
rather than the version this checkout pins. A receipt the lock has
moved under is drift, and a miss prints the PATH breakdown and the
remedy. With a lock, the stubs under typings/ are counted, and
their absence is a problem too.