Fix second review findings #26–#39 #40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "maintenance/review-2026-10-27"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the 14 findings from the second project review (#26–#39), one commit per issue, plus two follow-ups found by an independent review of this diff.
P1
P2
P3
#33 safety stops and switch-depth drafts survive unit changes · #34 planner replay keeps the selected speed · #35 dive time restarts on re-descent · #36 no false "Update download failed" in other tabs · #37 superseded waiting offline copies are deleted · #38 SDM imports enforce 1–200 dives · #39
/assets/*cached immutably, as documented.Behaviour change to review
#26 changes plans whose first ascent leg previously couldn't reach the anchor stop. It moves to the shallowest reachable regular stop rather than holding at the bottom or a switch depth. The ceiling checks on every leg are unchanged, and the independent reference comparison output is byte-identical to
main.Verification
pnpm verify: 145 tests, build and release budgets (JS 167,550 / startup 105,573 gzip bytes).mainafter every planner commit.src/maintenance.test.tsandscripts/check-followup-browser.mjs. Each new browser check was confirmed to fail on the code without its fix.main.Hosted checks (deploy run, asset parity,
/assets/*immutable header) need the deploy that runs on merge. Full record:docs/MAINTENANCE-2026-10-27.md.Closes #26, closes #27, closes #28, closes #29, closes #30, closes #31, closes #32, closes #33, closes #34, closes #35, closes #36, closes #37, closes #38, closes #39
🤖 Generated with Claude Code
Hosted confirmation after merging PR #40 (main
37ca650, deploy run #113 succeeded):check-hosted-assetsagainst https://dive.pt3r.dev/: HTML, CSS, deferred chunks and calculation worker are byte-identical to a local build of37ca650; MIME, security, index revalidation and hashed-asset caching headers pass./assets/*servesCache-Control: public, max-age=31536000, immutable.check-followup-browser(#28, #29, #30, #32, #33, #34, #38) andcheck-maintenance-browserpass.