From 9ba687d0d0a081d6c9c3e40d993858aa292e9ee7 Mon Sep 17 00:00:00 2001 From: Clay Date: Thu, 3 Dec 2026 15:06:53 -0500 Subject: [PATCH] Add pre-cleanup milestone (cd5beee) --- MILESTONES.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 MILESTONES.md diff --git a/MILESTONES.md b/MILESTONES.md new file mode 100644 index 0000000..9cd2a05 --- /dev/null +++ b/MILESTONES.md @@ -0,0 +1,42 @@ +# Milestones + +## 2026-12-03 - Pre-cleanup stable baseline + +**Commit:** `cd5beee` ("Block local/private login hosts; clarify bot-check limits") +**Branch:** `main` +**Purpose:** Known-good working version before production cleanup/refactor. If cleanup breaks behavior, return to this commit. + +### What works (verified in this cycle) + +- Login with screen name/password + math bot check + configurable server host/Web API port/TOC port. +- Local/private/reserved host targets blocked on login (`isDisallowedHost` in `src/routes/auth.js`). +- Web API + TOC login/session wiring; TOC used for IM/chat/invites on 0.25.0. +- 1:1 IM send/receive, chat join/send/receive, chat invite accept/ignore. +- SSE event stream with replay buffer, 3 SSE connections/IP limit. +- SQLite-backed express-session store, corrupt DB rotation/recovery, session cleanup. +- Tab close: PM tabs close locally; chat tabs best-effort leave then close. +- ICQ webui presence overlay: ICQ/all-digit UINs logged into webui show online in webui buddy lists (synthetic SSE presence), without patching oscar-server. +- Buddy list status dots (online/offline), presence updates. +- CSP/Helmet basics, input normalization/length limits, login/API rate limits. + +### Quick checks performed before milestone + +- `node --check` on touched JS files during recent changes. +- Playwright smoke tests for login/presence flows (steve/8520258 temp accounts). +- Manual curl checks for challenge/login validation and local-host blocking. + +### Planned cleanup (do not break behavior) + +- Remove unused/redundant code, imports, dead paths, and stale artifacts. +- Simplify where safe; keep behavior identical. +- Keep production hardening intact (sessions, validation, rate limits, host blocking, SSE limits). +- Run syntax/smoke checks after each cleanup step; commit incrementally. + +### Rollback + +```bash +git checkout main +git reset --hard cd5beee +# or create a branch from it: +git branch pre-cleanup-cd5beee cd5beee +```