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
macOS “Install out of sync” research
Point-in-time primary-source review on 2026-09-03. This note distinguishes the documented install/update path from two separate stale-build defects.
Bottom line
- A fresh, minimal supported install is
npm run setupfollowed bynpm start.npm startbuilds the client before starting PM2../setup.shis the optional guided alternative, not an additional required step (README.md:291-309). - A managed reconcile is supposed to run the full platform update script. That script installs all workspaces, runs setup and migrations, builds the client, and restarts PortOS (update.sh:185-219, update.sh:293-317, update.sh:335-340).
- There was a real, platform-independent bug in Apps → PortOS → Git → Update
app: it restarted without rebuilding
client/dist. It was fixed upstream on 2026-09-02 by PR #5823. .DS_Storewas already recognized elsewhere as macOS metadata: it is ignored by Git (.gitignore:39-41) and explicitly excluded from backup snapshot enumeration (server/services/backup.js:522-532). However, upstreaminstallStatefreshness detection does not consult Git and has no.DS_Storeexclusion as of upstream commit878468a9c.
What the freshness detector actually measures
Issue #1779 introduced the
warning on 2026-06-29 to detect a half-update after git pull without
./update.sh. Its five signals are running-code drift, dependency receipts,
client build time, pending migrations, and submodule drift
(server/services/installState.js:1-28).
The root-file scan was deliberately widened in commit
4147b077f
from three named files to every file directly under client/, while also
walking src/ and public/. The current upstream implementation uses raw
readdir/stat; it excludes only the node_modules, dist, and .git
directories. Consequently .gitignore has no effect on this calculation
(upstream source at 878468a9c).
Conclusion: freshness should inspect actual client build inputs, not merely
Git-tracked files. Untracked files under src//public/ can affect a Vite build,
and Git-ignored .env* files are also Vite inputs
(official Vite env documentation).
A blanket “ignore every ignored/untracked file” change would therefore create
false negatives. The sound boundary is to exclude known non-input metadata such
as .DS_Store, while continuing to inspect real build inputs.
What most likely caused the reported warning
There are three evidence-backed possibilities, in descending operational priority:
- Known updater defect. If the source was updated through the managed App
Git tab before PR #5823 was present, that path omitted the production build.
The PR description names the exact result:
client/diststayed older and PortOS immediately reported “Install out of sync.” The fix is already merged into upstream and is present in the currently fetched forkmainhistory as commitff7d35682. - Feature-branch reconciliation. The documented updater always switches to
mainbefore pulling, building, and restarting; dirty feature-branch work is stashed and deliberately not restored (docs/SELF_UPDATE.md:17-34). Therefore a detector patch that exists only on a feature branch cannot fix a warning by clicking Reconcile: the reconciliation bootsmain, where that patch is absent. - Finder metadata newer than the build. If
/api/update/statusidentifiesstaleBuildas the only active signal and.DS_Storeis the only file newer thanclient/dist/index.html, the upstream raw filesystem scan necessarily reports stale even though the build is valid. No upstream issue or merged PR found since 2026-08-31 adds an install-freshness.DS_Storeexclusion; the relevant official search result is instead the separate managed-updater fix, PR #5823.
A fourth, display-only edge exists: the global banner hook sets out-of-sync state when its one mount-time status request returns true, but does not clear that state from a later in-sync response (client/src/hooks/useUpdateChecker.jsx:38-64). The normal successful reconcile path reloads the page, so this explains a stale banner only when that reload did not happen or the browser kept the old session.
Operational reading
Use the detailed reasons on Apps → PortOS → Update, or the
installState object from GET /api/update/status, before changing code:
staleBuildafter a managed App update on old code: update to a revision that contains PR #5823, then run the documented reconcile/update path once.- only
staleBuild, with the full reconcile completing successfully: identify the newest filesystem entry;.DS_Storeis a detector false positive, whilesrc/,public/, config, or.env*is a real rebuild input. - any other signal: follow that signal (dependencies, migration, boot commit, or submodule) rather than treating it as a macOS metadata problem.
For post-install configuration, the maintained walkthrough is also available at Settings → Setup (README.md:311-324).