Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
The owner sets the table height (tableOffsetMm, -100..100 mm) in a field on /admin, saved through PUT /settings by the page's one hashed script #325
the crew's run was interrupted: restart, resumes on the next pass — cancelled
Sign in to join this conversation.
Replaces #279 (from #163). Pulls #307 and #315 carried the same commit,
59b9aea. Its deploy failed on one test, the viewer's first-visit gzip budget (51,209 bytes against 51,200), and that is a file the pull never touched: the old base was over budget. Current main passes all 570 tests. Since then, main's/adminhas gained a hashed inline script (HEALTH_SCRIPTinsrc/admin-page.ts) andconnect-src 'self', so #307's second script and its CSP edit no longer fit.Start from current main. You may reuse the field, test and README text from
59b9aea(refs/pull/307/head). Do not reuse its CSP orlobby.test.tsedits.Done:
/adminhas a "Table height" number field fortableOffsetMm(-100..100, step 1) with a Save button. It loads the current value withGET /settingsand saves with a same-originPUT /settings, and it shows the saved value or the server's error text. A moderator gets neither the field nor the code that saves it.HEALTH_SCRIPT, or add one script that replaces it, and keepADMIN_CSP's single sha256 pinned to it. Nounsafe-inlineand no new CSP sources.src/viewer.htmland the page's modules are untouched, so the first-visit gzip budget is unchanged.src/admin-page.test.tschecks: the field is present for the owner and absent for a moderator, there is one<scripttag, and its hash matches the CSP.Software/README.mdsays where to set the table height.forge.jsonis untouched.tsc --noEmitandbun --cwd Software/so101 testpass, and the preview deploys.