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

fix: address release review — missing onTicketsChange, loadDailyLog guard, useEffect dep, fuller changelog

Adam Eivyf6440dedb3d3
diff --git a/.changelog/v1.27.0.md b/.changelog/v1.27.0.md
index 8092b08783..b671b1cbd3 100644
--- a/.changelog/v1.27.0.md
+++ b/.changelog/v1.27.0.md
@@ -4,6 +4,10 @@ Released: 2026-03-03
## Added
+- **Drag-and-drop Kanban board** for JIRA sprint tickets — drag tickets between columns to transition status, with optimistic UI updates and in-flight disable guards
+- **Auto-update system** — GitHub release checking with update notification toasts, one-click update execution, progress polling, migration runner, and PM2 restart; includes `portos-update.sh` script and Update tab on app detail view
+- **POST (Power On Self Test)** — cognitive self-test system with configurable drill types (mental math powers/multiplication, sequence recall), timed sessions, history tracking, and server-side answer verification
+- **Alcohol tracker CRUD** — custom drink buttons with name/ABV/volume/emoji, Modelo Especial default, daily log with add/edit/remove
- PostgreSQL status in system health details endpoint (`/api/system/health/details`) with warnings when DB is disconnected or schema missing
- Backend status banners on CoS Memory and Brain Memory pages showing file-fallback warning with retry button
- `getMemoryBackendStatus` API client helper
@@ -21,13 +25,19 @@ Released: 2026-03-03
- `setup-db.js` now shows platform-specific Docker install/start instructions and prompts to continue when Docker is unavailable (TTY only; CI/piped scripts keep silent behavior)
- Setup scripts now show `npm start` as the primary production command alongside `npm run pm2:start`
+- Removed npm workspaces for exFAT filesystem compatibility; sub-packages install independently
+- Cross-platform command chaining in start script (replaced `;` with `&&`)
## Fixed
- Brain Memory tag input now allows typing commas (stores raw string, splits to array on save)
+- Allow 0% ABV custom drinks by checking empty string instead of falsy
+- Numerous hardening fixes across auto-update system: atomic writes, mutex-protected state, NaN guards, stale lock recovery, EPIPE guards on detached child processes, idempotent socket setup
## Removed
+- `.npmrc` `install-links` override (caused Windows EISDIR errors)
+
## Full Changelog
**Full Diff**: https://github.com/atomantic/PortOS/compare/v1.26.0...v1.27.0
diff --git a/client/src/components/apps/tabs/OverviewTab.jsx b/client/src/components/apps/tabs/OverviewTab.jsx
index b7c6f6bdde..bb465d6f6d 100644
--- a/client/src/components/apps/tabs/OverviewTab.jsx
+++ b/client/src/components/apps/tabs/OverviewTab.jsx
@@ -164,7 +164,7 @@ export default function OverviewTab({ app, onRefresh }) {
<span>Loading tickets...</span>
</div>
) : jiraTickets?.length > 0 ? (
- <KanbanBoard tickets={jiraTickets} instanceId={app.jira?.instanceId} />
+ <KanbanBoard tickets={jiraTickets} instanceId={app.jira?.instanceId} onTicketsChange={setJiraTickets} />
) : (
<div className="px-3 py-2 text-sm text-gray-500 bg-port-card border border-port-border rounded-lg">
No tickets assigned to you in the current sprint
diff --git a/client/src/components/meatspace/tabs/PostTab.jsx b/client/src/components/meatspace/tabs/PostTab.jsx
index 8ba9a73df5..d204b18fb5 100644
--- a/client/src/components/meatspace/tabs/PostTab.jsx
+++ b/client/src/components/meatspace/tabs/PostTab.jsx
@@ -74,7 +74,7 @@ export default function PostTab() {
if (session.state === 'between-drills') {
session.nextDrill();
}
- }, [session.state]);
+ }, [session.state, session.nextDrill]);
switch (view) {
case 'running':
diff --git a/server/services/meatspaceAlcohol.js b/server/services/meatspaceAlcohol.js
index e112905dc3..7ccff07e7c 100644
--- a/server/services/meatspaceAlcohol.js
+++ b/server/services/meatspaceAlcohol.js
@@ -131,7 +131,10 @@ export function computeRollingAverages(entries, sex = 'male') {
// === File I/O ===
async function loadDailyLog() {
- return readJSONFile(DAILY_LOG_FILE, { entries: [], lastEntryDate: null });
+ const raw = await readJSONFile(DAILY_LOG_FILE, { entries: [], lastEntryDate: null }, { allowArray: false });
+ if (!raw || typeof raw !== 'object' || Array.isArray(raw)) return { entries: [], lastEntryDate: null };
+ if (!Array.isArray(raw.entries)) raw.entries = [];
+ return raw;
}
async function saveDailyLog(log) {