/ interactive_tutorials / hardening_softening
Sign in
interactive_tutorials / hardening_softening
hardening_softening / .arewehuman / CLAUDE.md / jeremy-magland-bfbe.awh.jsonl
8 lines · 2.3 KBBlameHistoryRaw
1{"format":"arewehuman","version":2,"id":"192c30ff-3252-4dab-baa7-4cf47ac7a0d3","app":{"name":"arewehuman","version":"0.1.0","url":"https://github.com/magland/arewehuman"},"created":"2026-11-06T13:23:07.410Z","t0":1793971387410}
2["s",0]
3["i",0,0,1503,"x",[36,37,164,165,175,176,284,354,452,541,614,710,711,720,721,760,761,768,769,924,956,1025,1090,1204,1205,1219,1220,1347,1452,1502]]
4["i",89,809,12,"o"]
5["i",89,830,54,"o"]
6["i",89,906,85,"o"]
7{"checkpoint":"3cc7e140367853c0d8984b716162e71842c9247768bfaaebf0cdcee48f13a50e"}
8{"title":"CLAUDE","text":"# Recipe-driven interactive tutorial\n\nThe human writes `recipe.md`; Claude builds the app in `app/` from it. The goal is to show the content was crafted by a human.\n\n## Recipe\n\n- The recipe is the source of truth. On \"update the app\", diff `recipe.md` and apply exactly those changes.\n- Don't edit the recipe unless asked, and then keep the edit minimal.\n- Never invent tutorial content (text, explanations, equations). If something is missing, say so.\n- Small unspecified details (labels, spacing) are your call. Mention the choice briefly.\n- The recipe's notes set app-wide conventions. Apply them to every page.\n- Flag mistakes, typos and inconsistencies in the recipe, but leave the rewording to the human.\n\n## Style\n\nKeep replies short and conversational.\n\n## App\n\n- Static `index.html`, `style.css` and ES modules (`main.js` sets up the slides; reusable components in `app/js/`), with no build step. Root `package.json` has `\"type\": \"module\"` so `node --check` parses them as modules. Bundle libraries locally (pinned versions, under `app/vendor/`) so it works offline.\n- `npm run dev` serves the app.\n- Use theme-aware CSS variables, and make the layout work on phones.\n- Use accurate (symplectic) integrators for physical animations.\n- After each change, run `node --check`, confirm the element IDs exist, and say what wasn't checked in a browser.\n\n## Provenance\n\n- The arewehuman extension records keystrokes to `.arewehuman/<file>/<workspace>.awh.jsonl`. Never edit or ignore those files.\n- `npm run crafted-link` refreshes the title page's \"Crafted by a human\" link. Run it before committing.\n- Commit only when asked, and include everything.\n","textSha256":"5f229addf8ad7ecd62998a6796024f2bb2b3eb3bd55519b754a512d1789817d6","seal":"615665b69f59c6c15c8ec6b037e47ee9d5c7f6390fe90abbf477102683f605c2"}
↑↓ move↵openescclose