Config and front end

A monad keeps its environment private, serves a built front end without shadowing NRP reads, and mounts the modules it is given.

23 tests in 3 files. Source: Typescript/tests/

monadEnv.test.ts8 tests

A monad's env.json: private (0600), per monad, validated names, secrets hidden, the stored seed kept across restarts.

frontendAndModules.test.ts13 tests

Serves a built front end without shadowing NRP reads, and mounts MONAD_MODULES, reporting any that fail.

appFactory.test.ts2 tests

createMonadApp builds an Express app without binding a port and checks SEED when it bootstraps.