From c354b46b369c36cfa826ecb6053e009df57deb36 Mon Sep 17 00:00:00 2001 From: Clay Date: Thu, 3 Dec 2026 15:36:08 -0500 Subject: [PATCH] Add post-refactor milestone (2ba9870) --- MILESTONES.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/MILESTONES.md b/MILESTONES.md index 2429820..0188605 100644 --- a/MILESTONES.md +++ b/MILESTONES.md @@ -68,3 +68,29 @@ git reset --hard 09e507d # or create a branch from it: git branch post-cleanup-09e507d 09e507d ``` + +## 2026-12-03 - Post-refactor baseline + +**Commit:** `2ba9870` ("Docs: add durable code comments for OSCAR/TOC architecture and gotchas") +**Branch:** `main` +**Purpose:** Stable checkpoint after low/medium refactors and documentation pass, before further production-hardening changes. Return here if later hardening causes regressions. + +### State at this checkpoint + +- Low/medium refactors complete: `oscar.js` baseOpt helper, shared screenname utils, dead `loadFeatures` removal, host-check extraction, auth login flow split, small frontend buddy helper dedupe, dead frontend style-toggle cleanup. +- Stale M0 TODO code comments removed; durable architecture/protocol/gotcha comments added. +- Verified: `node --check` on src/public JS, `/api/health`, Playwright login smoke (`steve/please`). + +### Planned next + +- Graceful shutdown polish (close HTTP server, stop sweep timer, close SQLite DB cleanly). +- Process error handlers (`unhandledRejection`, `uncaughtException`) with clear logging/careful exit. + +### Rollback + +```bash +git checkout main +git reset --hard 2ba9870 +# or create a branch from it: +git branch post-refactor-2ba9870 2ba9870 +```