# Working on the portfolio

Use `content/site.json` and its Bengali counterpart for published work history, dates, links and metrics. For an individual Lab, read the domain implementation under `src/app/showcases/` before changing its controls. The historical Market Replay classroom also uses ES modules under `public/demos/market-replay/`.

Keep simulations, synthesis and saved user data compatible when editing presentation. Define shared color and type in `public/brand/system.css`. Update the English and Bengali paths together when changing a public page.

Run `npm test -- --watch=false` for behavior changes and `npm run build` for release output. With the Hosting emulator serving the production build, run `npm run verify:public -- http://127.0.0.1:5000` for direct URLs and metadata. Run `npm run verify:editorial -- http://127.0.0.1:5000` for Playwright keyboard checks and desktop and mobile screenshots. Set `PLAYWRIGHT_CHANNEL=msedge` to use installed Edge, or install Chromium with `npx playwright-core install chromium`.

Compare the screenshots in `output/editorial/` with the previous build. Arnab reviews changes to product framing, domain behavior, public claims and release evidence before publication.

On Node 26, run the unit tests with `NODE_OPTIONS=--no-experimental-webstorage` so the browser test environment supplies its own local storage.
