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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: remove CI auto-version-bump, alphabetize nav, update docs
Adam Eivya199f1226d76
diff --git a/.changelog/v0.23.x.md b/.changelog/v0.23.x.mdindex 227c7fde8c..ea4257b867 100644--- a/.changelog/v0.23.x.md+++ b/.changelog/v0.23.x.md@@ -16,3 +16,13 @@ PortOS Federation — connect and monitor multiple PortOS instances across your- **Real-time updates** — Socket.IO subscription pushes peer status changes to the Instances page without polling the client- **Server-to-server architecture** — local server proxies all remote requests; clients never talk to peers directly (no CORS issues)- **Health endpoint enrichment** — `/api/health` and `/api/health/system` now include `hostname` and `instanceId` fields for peer identification++## Changed++### Navigation+- Sidebar nav items are now alphabetically ordered (after Dashboard/CyberCity section)+- Chief of Staff sub-items alphabetized++### CI/CD+- Removed automatic version bumping from CI — versions are now bumped manually in commits+- Release workflow still archives changelogs and syncs dev branch after releasediff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex ff0d803ee1..c5d79a6374 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -7,7 +7,7 @@ on:branches: [dev]permissions:- contents: write+ contents: readjobs:test:@@ -57,43 +57,3 @@ jobs:- name: Check for syntax errorsrun: node --check server/index.js-- bump-build:- runs-on: ubuntu-latest- needs: [test, lint]- # Only run on push to dev (not PRs), and skip if already a version bump commit- if: github.event_name == 'push' && github.ref == 'refs/heads/dev' && !contains(github.event.head_commit.message, '[skip ci]')-- steps:- - uses: actions/checkout@v4- with:- token: ${{ secrets.GITHUB_TOKEN }}-- - name: Configure git- run: |- git config user.name "github-actions[bot]"- git config user.email "github-actions[bot]@users.noreply.github.com"-- - name: Bump patch version- run: |- # Get current version- CURRENT_VERSION=$(node -p "require('./package.json').version")-- # Split into parts- MAJOR=$(echo $CURRENT_VERSION | cut -d. -f1)- MINOR=$(echo $CURRENT_VERSION | cut -d. -f2)- PATCH=$(echo $CURRENT_VERSION | cut -d. -f3)-- # Increment patch- NEW_PATCH=$((PATCH + 1))- NEW_VERSION="$MAJOR.$MINOR.$NEW_PATCH"-- # Update package.json files- npm version $NEW_VERSION --no-git-tag-version- cd client && npm version $NEW_VERSION --no-git-tag-version && cd ..- cd server && npm version $NEW_VERSION --no-git-tag-version && cd ..-- # Commit and push- git add package.json package-lock.json client/package.json server/package.json- git commit -m "build: bump version to $NEW_VERSION [skip ci]"- git pushdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 8a98e72ff1..4b23bd4d00 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -100,7 +100,7 @@ jobs:env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- - name: Prep dev branch for next release+ - name: Archive changelog and sync devif: steps.tag-check.outputs.exists == 'false'run: |# Get current version (the one we just released)@@ -109,10 +109,6 @@ jobs:MINOR=$(echo $CURRENT_VERSION | cut -d. -f2)MAJOR_MINOR="$MAJOR.$MINOR"- # Increment minor, reset patch to 0- NEW_MINOR=$((MINOR + 1))- NEW_VERSION="$MAJOR.$NEW_MINOR.0"-# Archive changelog on main first (single source of truth)# This avoids cherry-pick divergence that causes merge conflicts on the next PRPATTERN_FILE=".changelog/v${MAJOR_MINOR}.x.md"@@ -136,13 +132,4 @@ jobs:git checkout devgit fetch origin maingit merge origin/main -m "merge: incorporate v${CURRENT_VERSION} changelog archive [skip ci]"-- # Update package.json files for next version- npm version $NEW_VERSION --no-git-tag-version- cd client && npm version $NEW_VERSION --no-git-tag-version && cd ..- cd server && npm version $NEW_VERSION --no-git-tag-version && cd ..-- # Commit and push version bump- git add package.json package-lock.json client/package.json server/package.json- git commit -m "build: prep v$NEW_VERSION for next release [skip ci]"git push origin devdiff --git a/CLAUDE.md b/CLAUDE.mdindex 224b846632..ec41866e2c 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -96,12 +96,13 @@ port-error: #ef4444## Git Workflow-- **dev**: Active development (auto-bumps patch on CI pass)+- **dev**: Active development- **main**: Production releases only-- PR `dev → main` creates tagged release and preps next version-- **Use `/gitup` to push** - The dev branch receives auto version bump commits from CI. Always use `git pull --rebase --autostash && git push` (or `/gitup`) instead of plain `git push`.+- PR `dev → main` creates tagged release and archives changelog+- **Version bumps are manual** — include `npm version <major|minor|patch> --no-git-tag-version` in your commit (CI does not auto-bump)+- **Use `/gitup` to push** — always use `git pull --rebase --autostash && git push` (or `/gitup`) instead of plain `git push`- Update `.changelog/v{major}.{minor}.x.md` when making changes (see Release Changelog Process below)-- commit code after each feature or bug fix+- Commit code after each feature or bug fixSee `docs/VERSIONING.md` for details.@@ -144,11 +145,10 @@ When you merge to `main`, the GitHub Actions workflow automatically:3. Creates the GitHub release with substituted changelog4. Archives the changelog on `main`: renames `v0.10.x.md` → `v0.10.5.md` using `git mv`5. Checks out dev branch and merges main into dev (shared commit history avoids future conflicts)-6. Bumps dev to next minor version (e.g., 0.11.0)**Result:**- Both `dev` and `main` have `.changelog/v0.10.5.md` via shared commit ancestry- Git history shows: `v0.10.x.md` → `v0.10.5.md` (rename)-- You create `.changelog/v0.11.x.md` to start the next development cycle+- You create a new `.changelog/v{next}.x.md` to start the next development cycleSee `.changelog/README.md` for detailed format and best practices.diff --git a/docs/VERSIONING.md b/docs/VERSIONING.mdindex 3a7aa4ed65..a3e42c56b5 100644--- a/docs/VERSIONING.md+++ b/docs/VERSIONING.md@@ -2,15 +2,15 @@## Version Format-PortOS uses semantic versioning with the format **Major.Release.Build**:+PortOS uses semantic versioning: **Major.Minor.Patch**| Component | Description | When Incremented ||-----------|-------------|------------------|-| **Major** | Breaking changes | Manually by maintainer |-| **Release** | New features/releases | Auto on merge to `main` |-| **Build** | Development iterations | Auto on push to `dev` |+| **Major** | Breaking changes | Manual — in commit |+| **Minor** | New features | Manual — in commit |+| **Patch** | Bug fixes, refactors | Manual — in commit |-Example progression: `0.2.0` → `0.2.1` → `0.2.2` → (release) → `0.3.0`+Example progression: `0.22.0` → `0.22.1` (fix) → `0.23.0` (feature) → `1.0.0` (breaking)## Branches@@ -19,91 +19,65 @@ Example progression: `0.2.0` → `0.2.1` → `0.2.2` → (release) → `0.3.0`| `main` | Production releases only || `dev` | Active development |-## Automated Workflow+## Workflow-### On Push to `dev`+### Version Bumping (Manual)-1. CI runs tests and linting-2. If tests pass, GitHub Actions auto-increments the **Build** number-3. Commits with `[skip ci]` to avoid infinite loops+Version bumps happen in the same commit as the code change:-```-Push commit → CI passes → Auto-commit: "build: bump version to 0.2.1 [skip ci]"+```bash+# Bump version (choose one)+npm version patch --no-git-tag-version # bug fix+npm version minor --no-git-tag-version # new feature+npm version major --no-git-tag-version # breaking change++# Stage version files along with your code changes+git add package.json package-lock.json [other files]+git commit -m "feat: add new feature"```+### On Push to `dev`++CI runs tests and linting. No version changes.+### On Merge `dev` → `main`1. Release workflow triggers-2. Creates git tag with current version (e.g., `v0.2.5`)-3. Generates GitHub release with changelog-4. Preps `dev` branch for next release cycle:- - Increments **Release** number- - Resets **Build** to 0- - Example: `0.2.5` → `0.3.0`+2. Creates git tag with current version (e.g., `v0.23.0`)+3. Generates GitHub release with changelog from `.changelog/v{major}.{minor}.x.md`+4. Archives the changelog (renames `v0.23.x.md` → `v0.23.0.md`)+5. Merges `main` back into `dev` to share the changelog archive commit## Manual Steps### Regular Development```bash-# Work on dev branchgit checkout devgit pull-# Make changes, commit, push-git add .-git commit -m "feat: add new feature"-git push-# CI will auto-bump: 0.2.0 → 0.2.1+# Make changes, bump version, commit, push+npm version patch --no-git-tag-version+git add package.json package-lock.json [changed files]+git commit -m "fix: resolve issue"+git pull --rebase --autostash && git push```### Creating a Release```bash-# Ensure dev is up to dategit checkout devgit pull-# Create PR from dev to main (via GitHub UI or CLI)-gh pr create --base main --head dev --title "Release v0.2.X"+# Create PR from dev to main+gh pr create --base main --head dev --title "Release v0.23.x"# After PR is merged:-# - GitHub creates tag v0.2.X+# - GitHub creates tag v0.23.0# - GitHub creates release with changelog-# - dev branch is auto-updated to 0.3.0-```--### Major Version Bump--For breaking changes, manually update before merging:--```bash-git checkout dev--# Update all package.json files-npm version 1.0.0 --no-git-tag-version-cd client && npm version 1.0.0 --no-git-tag-version && cd ..-cd server && npm version 1.0.0 --no-git-tag-version && cd ..--git add -A-git commit -m "build: prep v1.0.0 major release [skip ci]"-git push--# Then create PR to main+# - Changelog archived on main, merged back to dev```## CI Skip-Use `[skip ci]` in commit messages to prevent CI from running:--- Auto-version bump commits include this automatically-- Use manually when making non-code changes (docs, etc.)--## Files Updated by Automation--The following files are updated by GitHub Actions:--- `/package.json`-- `/package-lock.json`-- `/client/package.json`-- `/server/package.json`+Use `[skip ci]` in commit messages to prevent CI from running (used by automation for changelog archives and merges).