Add pre-cleanup milestone (cd5beee)

This commit is contained in:
Clay 2026-12-03 15:06:53 -05:00
parent cd5beee4b4
commit 9ba687d0d0

42
MILESTONES.md Normal file
View file

@ -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
```