Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

address review: remove stale audit findings, clarify conditional release steps

Adam Eivybd7c90d04759
diff --git a/PLAN.md b/PLAN.md
index 63552ca0e4..061e1d254f 100644
--- a/PLAN.md
+++ b/PLAN.md
@@ -309,18 +309,15 @@ Three audit passes identified remaining items across architecture, bugs, code qu
- [ ] **[MEDIUM]** `server/services/memory.js` — Sort comparison not type-safe for dates.
#### Code Quality
-- [ ] **[HIGH]** `server/services/mediaService.js` — Class-based (violates functional convention).
- [ ] **[HIGH]** `server/services/memorySync.js:156` + `server/lib/db.js:85` — Unsafe `rows[0]` access without bounds check.
- [ ] **[MEDIUM]** Hardcoded localhost in `server/services/lmStudioManager.js`, `server/services/memoryClassifier.js`.
- [ ] **[MEDIUM]** Empty `.catch(() => {})` in 5 client files (`client/src/pages/Browser.jsx`, `Shell.jsx`, `client/src/components/cos/TaskAddForm.jsx`, `client/src/hooks/useAgentFeedbackToast.jsx`, `client/src/components/meatspace/HealthCategorySection.jsx`).
- [ ] **[MEDIUM]** `client/src/pages/DevTools.jsx` — Stale closure risk.
- [ ] **[MEDIUM]** Silent catch blocks in `client/src/hooks/useTheme.js`, `server/services/runner.js`, `server/lib/db.js`, `client/src/pages/Settings.jsx`.
-- [ ] **[MEDIUM]** `server/services/contextUpgrader.js` — Unused 350-line module (DELETE).
#### DRY
- [ ] **[HIGH]** Duplicate `getDateString` in `server/services/agentActivity.js` + `server/services/productivity.js`.
- [ ] **[HIGH]** Duplicate HOUR/DAY constants in `server/services/autonomousJobs.js` + `server/services/taskSchedule.js`.
-- [ ] **[HIGH]** `server/lib/logger.js` — Unused module (DELETE with test).
- [ ] **[HIGH]** Duplicate DATA_DIR/path constants in 8+ files.
- [ ] **[MEDIUM]** Missing fetch timeouts in `server/integrations/moltworld/api.js` + `server/integrations/moltbook/api.js`.
- [ ] **[MEDIUM]** 39 instances of `mkdir({recursive:true})` vs centralized `ensureDir()`.
diff --git a/docs/GITHUB_ACTIONS.md b/docs/GITHUB_ACTIONS.md
index f3cb43c329..a4a13fb4f6 100644
--- a/docs/GITHUB_ACTIONS.md
+++ b/docs/GITHUB_ACTIONS.md
@@ -35,8 +35,8 @@ Triggers on push to `release` branch. Steps:
- Then: `.changelog/v{major}.{minor}.x.md` (pattern match, replaces placeholders)
- Fallback: generates changelog from commit messages
4. Creates GitHub release with tag `v{version}`
-5. Archives changelog on `main` (renames `.x.md` → exact version)
-6. Fast-forwards `release` to match `main`
+5. If a pattern changelog file (`.changelog/v{major}.{minor}.x.md`) was used, archives it on `main` (renames `.x.md` → exact version)
+6. If the archive step ran, fast-forwards `release` to match `main`
## Working with CI
diff --git a/docs/VERSIONING.md b/docs/VERSIONING.md
index e6b05aef81..6b4ec653db 100644
--- a/docs/VERSIONING.md
+++ b/docs/VERSIONING.md
@@ -34,8 +34,8 @@ CI runs tests and linting. No version changes.
1. Release workflow triggers
2. Creates git tag with current version (e.g., `v1.31.0`)
3. Generates GitHub release with changelog (priority: exact `.changelog/v{version}.md` → pattern `.changelog/v{major}.{minor}.x.md` → fallback commit log)
-4. Archives the changelog (renames pattern file to exact version) on `main`
-5. Fast-forwards `release` to match `main`
+4. If a pattern changelog file (`.changelog/v{major}.{minor}.x.md`) was used, archives it by renaming to the exact version file on `main`
+5. If the archive step ran, fast-forwards `release` to match `main`
### Regular Development