# Local Frontier Agent Notes - Keep the current Hugging Face Space route behavior working through `server.py` and `app.html` while the React/shadcn migration is incomplete. - Do not add an `index.html`; this Space intentionally serves `app.html`. - New TypeScript code must stay under `src/` or `tests/`, use strict TypeScript, and avoid `any`, `@ts-ignore`, unchecked casts, and unvalidated external input. - Reuse shadcn-style primitives from `src/components/ui/` for new React UI work instead of hand-rolling buttons, cards, inputs, popovers, or command lists. - Before finishing TypeScript or UI migration work, run `npm run check`, `npm run coverage`, `npm run dry`, and `npm run mutate` when dependencies are installed. - Legacy data and bounds checks remain required: `node scripts/test-bounds-engine.mjs` and `node scripts/validate-model-data.mjs`. - Slophammer standards come from `dutifuldev/slophammer/docs/AGENT_ENTRYPOINT.md`.