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: archive changelog on main instead of release branch
Adam Eivyc738c5b06e8b
diff --git a/.changelog/v1.23.x.md b/.changelog/v1.23.x.mdindex 4c369bceee..6860a0f27e 100644--- a/.changelog/v1.23.x.md+++ b/.changelog/v1.23.x.md@@ -12,6 +12,10 @@ Port swap and DRY port references.- **DRY port references**: New `server/lib/ports.js` module provides single source of truth for `PORTS`, `DEFAULT_PEER_PORT`, and `PORTOS_UI_URL` — eliminates duplicate definitions across 6+ server files.- **Fix Security page media URLs**: Video and audio streams now use relative paths (`/api/media/video`) instead of hardcoded `hostname:port`, working correctly through Vite proxy in dev and same-origin in production.+## 🐛 Fixes++- **Release workflow**: Changelog archival now commits directly to `main` instead of `release` branch, then fast-forwards `release` to match — prevents branch divergence.+## ⚠️ Migration Notes- Existing peers in `data/instances.json` have `port: 5554` persisted. Remote instances need the same port swap, or peers need to be re-added with port 5555.diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex f4a16abd7c..2a88162f85 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -100,33 +100,30 @@ jobs:env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- - name: Archive changelog and sync main+ - name: Archive changelog on mainif: steps.tag-check.outputs.exists == 'false'run: |- # Get current version (the one we just released)CURRENT_VERSION=${{ steps.package-version.outputs.version }}MAJOR=$(echo $CURRENT_VERSION | cut -d. -f1)MINOR=$(echo $CURRENT_VERSION | cut -d. -f2)MAJOR_MINOR="$MAJOR.$MINOR"- # Archive changelog on release branch firstPATTERN_FILE=".changelog/v${MAJOR_MINOR}.x.md"VERSIONED_FILE=".changelog/v${CURRENT_VERSION}.md"if [ -f "$PATTERN_FILE" ]; then- git mv "$PATTERN_FILE" "$VERSIONED_FILE"+ # Archive directly on main so release never diverges+ git fetch origin main+ git checkout main+ git mv "$PATTERN_FILE" "$VERSIONED_FILE"sed -i.bak "s/v${MAJOR_MINOR}\.x/v${CURRENT_VERSION}/g; s/${MAJOR_MINOR}\.x/${CURRENT_VERSION}/g; s/YYYY-MM-DD/$(date +%Y-%m-%d)/g" "$VERSIONED_FILE"rm "${VERSIONED_FILE}.bak"git add "$VERSIONED_FILE"git commit -m "docs: archive changelog for v${CURRENT_VERSION} [skip ci]"- git push origin release- fi+ git push origin main- # Checkout main and merge release to share the changelog archive- git fetch origin main- git checkout main- git fetch origin release- git merge origin/release -m "merge: incorporate v${CURRENT_VERSION} changelog archive [skip ci]"- git push origin main+ # Fast-forward release to match main+ git push origin main:release+ fidiff --git a/CLAUDE.md b/CLAUDE.mdindex c6a9cdc043..f3d61e52b6 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -142,15 +142,16 @@ Final review before merging `dev → main`:### On Release (Automated)-When you merge to `main`, the GitHub Actions workflow automatically:+When you push to `release`, the GitHub Actions workflow automatically:1. Reads `.changelog/v0.10.x.md`2. Replaces all instances of `0.10.x` with actual version (e.g., `0.10.5`)3. Creates the GitHub release with substituted changelog-4. 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)+4. Archives the changelog on `main`: checks out `main`, renames `v0.10.x.md` → `v0.10.5.md` using `git mv`, pushes to `main`+5. Fast-forwards `release` to match `main` so the branches never diverge**Result:**-- Both `dev` and `main` have `.changelog/v0.10.5.md` via shared commit ancestry+- `main` has `.changelog/v0.10.5.md` with the archive commit+- `release` is fast-forwarded to match `main` (no divergence)- Git history shows: `v0.10.x.md` → `v0.10.5.md` (rename)- You create a new `.changelog/v{next}.x.md` to start the next development cycle