Bootstrap this repository in a fresh shell or agent session, including loading Node from `.nvmrc`, using Corepack for the pinned `pnpm` version, running package-manager commands from `web/`, validating the environment, and troubleshooting missing pnpm or bootstrap drift.
pnpm is missing, unexpected, or prompting for Corepack setupweb/ commands and you need to confirm the right working directory.codex/environments/environment.toml, .nvmrc, or web/package.json changed and you want to verify the bootstrap still works.nvmrcweb/package.json.codex/environments/environment.tomlnvm and activate the Node version from .nvmrc.web/ before running package-manager commands so Corepack sees the pinned version from .pnpmweb/package.jsonpnpm install from web/.web/ after install.Example:
source "$HOME/.nvm/nvm.sh"
nvm use
cd web
pnpm install
command -v node resolvesnode -v matches the version from .nvmrccd web && command -v pnpm resolvescd web && pnpm -v runs without falling back to an unexpected global installcd web && pnpm install completes without version or engine surprisespnpm is missingnvm use ran successfully from the repo root instead of another directory.pnpm lives in ~/.local/share/pnpm; this repo expects it to come from Corepack through the active Node installation.web/, because Corepack reads the pinned package manager version from web/package.json..nvmrc.pnpm from web/, not the repo root..codex/environments/environment.toml for missing nvm setup or temp/cache paths..codex/environments/environment.toml changed, restart Codex before judging the fix.node resolves but pnpm behavior changed, compare .nvmrc, web/package.json, and .codex/environments/environment.toml together before changing docs or scripts.web/.AGENTS.md and docs/ai-workflow.md; update those when the repo bootstrap changes.docs/ai-workflow.md so future agents can detect them quickly..nvmrcweb/package.json.codex/environments/environment.tomlAGENTS.mddocs/ai-workflow.md