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

feat: name releases from their biggest wins

[._.]/ Adam Eivy3c0c8c0e41b8
diff --git a/.changelog/README.md b/.changelog/README.md
index 1a01c405d9..413f8e8c28 100644
--- a/.changelog/README.md
+++ b/.changelog/README.md
@@ -46,10 +46,18 @@ the versioned file directly (see Maintenance below).
## Format
+The release agent chooses `{Fun Name}` after reviewing the complete release
+range and identifying its one or two biggest user-visible wins. Keep it short,
+memorable, playful, and accurate — for example, `Performant Dragon` for a
+release centered on faster, lower-bandwidth Chief of Staff page loads. The
+first heading is also the source for the GitHub release title, so keep the
+exact ` - ` separator and update the notes and published title together when
+correcting an existing release.
+
Each changelog file should follow this structure:
```markdown
-# Release v{version}
+# Release v{version} - {Fun Name}
Released: YYYY-MM-DD
diff --git a/.changelog/v2.74.0.md b/.changelog/v2.74.0.md
index fc9ed17ee6..ca6a9c87e6 100644
--- a/.changelog/v2.74.0.md
+++ b/.changelog/v2.74.0.md
@@ -1,4 +1,4 @@
-# Release v2.74.0
+# Release v2.74.0 - Performant Dragon
Released: 2026-09-22
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 96a3ab4c0d..a1d362c7fd 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -170,6 +170,16 @@ jobs:
\`\`\`"
fi
+ # The release agent names the release in the first changelog heading.
+ # Resolve it before truncating the body so the GitHub title stays tied
+ # to the complete notes, not to whichever lines fit the size limit.
+ FULL_CHANGELOG_FILE="$RUNNER_TEMP/release-changelog.md"
+ printf '%s\n' "$CHANGELOG" > "$FULL_CHANGELOG_FILE"
+ RELEASE_TITLE=$(node scripts/release-title.js "$VERSION" "$FULL_CHANGELOG_FILE")
+ if [ "$RELEASE_TITLE" = "Release v${VERSION}" ]; then
+ echo "::warning::release notes have no named first heading; using the fallback title '$RELEASE_TITLE'"
+ fi
+
# Write the body to a FILE consumed via body_path (NOT an action input
# env var). A large changelog (this repo's run hard, ~175KB) blows two
# separate ceilings when passed as `body:`: GitHub caps a release body
@@ -190,13 +200,14 @@ jobs:
"$VERSION" "$SRC_FILE" "$FULL_URL" >> "$BODY_FILE"
fi
echo "body_path=$BODY_FILE" >> $GITHUB_OUTPUT
+ echo "release_title=$RELEASE_TITLE" >> $GITHUB_OUTPUT
- name: Create Release
if: steps.release-check.outputs.exists == 'false'
uses: softprops/action-gh-release@v3
with:
tag_name: v${{ steps.package-version.outputs.version }}
- name: v${{ steps.package-version.outputs.version }}
+ name: ${{ steps.changelog.outputs.release_title }}
body_path: ${{ steps.changelog.outputs.body_path }}
draft: false
prerelease: false
diff --git a/docs/GITHUB_ACTIONS.md b/docs/GITHUB_ACTIONS.md
index e14f5786a2..c0d4995b76 100644
--- a/docs/GITHUB_ACTIONS.md
+++ b/docs/GITHUB_ACTIONS.md
@@ -831,6 +831,10 @@ Triggers on push to `release` branch. Steps:
- Then: `.changelog/v{major}.{minor}.x.md` (pattern match, replaces placeholders)
- Fallback: generates changelog from commit messages
6. Creates the GitHub release with tag `v{version}`.
+ The first changelog heading should be `# Release v{version} - {Fun Name}`;
+ the workflow uses that complete heading without `# ` as the GitHub release
+ title, with `Release v{version}` as the backward-compatible fallback for
+ older unnamed notes.
7. If a pattern changelog file (`.changelog/v{major}.{minor}.x.md`) was used,
archives it on `main` (renames `.x.md` to the exact version).
8. If the archive step ran, fast-forwards `release` to match `main`.
diff --git a/docs/VERSIONING.md b/docs/VERSIONING.md
index 6703857c44..fe9fec35f7 100644
--- a/docs/VERSIONING.md
+++ b/docs/VERSIONING.md
@@ -33,7 +33,7 @@ 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)
+3. Generates GitHub release with changelog (priority: exact `.changelog/v{version}.md` → pattern `.changelog/v{major}.{minor}.x.md` → fallback commit log) and uses the changelog's named first heading as the release title
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`
diff --git a/scripts/lib/releaseTitle.js b/scripts/lib/releaseTitle.js
new file mode 100644
index 0000000000..66342d081b
--- /dev/null
+++ b/scripts/lib/releaseTitle.js
@@ -0,0 +1,20 @@
+/**
+ * Resolve the human-facing GitHub release title from a versioned changelog.
+ *
+ * The release agent owns the name, but the workflow owns publication. Keeping
+ * this boundary in one dependency-free helper makes the heading contract
+ * testable and gives older unnamed changelogs a safe fallback.
+ */
+export function releaseTitleFromChangelog(changelog, version) {
+ const expectedPrefix = `# Release v${version} - `;
+ const firstHeading = String(changelog)
+ .split(/\r?\n/)
+ .find(line => /^#\s/.test(line));
+
+ if (firstHeading?.startsWith(expectedPrefix)) {
+ const name = firstHeading.slice(expectedPrefix.length).trim();
+ if (name) return firstHeading.slice(2).trim();
+ }
+
+ return `Release v${version}`;
+}
diff --git a/scripts/lib/releaseTitle.test.js b/scripts/lib/releaseTitle.test.js
new file mode 100644
index 0000000000..2a576f0cee
--- /dev/null
+++ b/scripts/lib/releaseTitle.test.js
@@ -0,0 +1,19 @@
+import { describe, expect, it } from 'vitest';
+import { releaseTitleFromChangelog } from './releaseTitle.js';
+
+describe('releaseTitleFromChangelog', () => {
+ it('promotes the named first heading to the GitHub release title', () => {
+ expect(releaseTitleFromChangelog('# Release v2.74.0 - Performant Dragon\n\n## Highlights', '2.74.0'))
+ .toBe('Release v2.74.0 - Performant Dragon');
+ });
+
+ it('accepts Windows line endings without changing the title', () => {
+ expect(releaseTitleFromChangelog('\r\n# Release v1.2.3 - Resilient Otter\r\n', '1.2.3'))
+ .toBe('Release v1.2.3 - Resilient Otter');
+ });
+
+ it('falls back for legacy or mismatched unnamed notes', () => {
+ expect(releaseTitleFromChangelog('# Release v2.74.0\n', '2.74.0')).toBe('Release v2.74.0');
+ expect(releaseTitleFromChangelog('# Release v2.73.0 - Older Otter\n', '2.74.0')).toBe('Release v2.74.0');
+ });
+});
diff --git a/scripts/release-title.js b/scripts/release-title.js
new file mode 100644
index 0000000000..b43195ae0a
--- /dev/null
+++ b/scripts/release-title.js
@@ -0,0 +1,13 @@
+#!/usr/bin/env node
+
+import { readFileSync } from 'fs';
+import { releaseTitleFromChangelog } from './lib/releaseTitle.js';
+
+const [version, changelogPath] = process.argv.slice(2);
+
+if (!version || !changelogPath) {
+ console.error('Usage: node scripts/release-title.js <version> <changelog-path>');
+ process.exit(2);
+}
+
+console.log(releaseTitleFromChangelog(readFileSync(changelogPath, 'utf8'), version));
diff --git a/server/services/taskPromptDefaults.test.js b/server/services/taskPromptDefaults.test.js
index a08a68890e..796e716d05 100644
--- a/server/services/taskPromptDefaults.test.js
+++ b/server/services/taskPromptDefaults.test.js
@@ -592,12 +592,15 @@ describe('taskPromptDefaults integrity snapshot', () => {
// release-check READS the changelog rather than writing it, so its fix is the
// mirror image: an unreleased set that lives in uncollected fragments must not
// read as "not enough work accumulated for a release".
- it('release-check v13 fixes failing tests/CI instead of halting', () => {
+ it('release-check v14 names releases from their biggest user-visible wins', () => {
const current = DEFAULT_TASK_PROMPTS['release-check'];
- expect(PROMPT_VERSIONS['release-check']).toBeGreaterThanOrEqual(13);
+ expect(PROMPT_VERSIONS['release-check']).toBeGreaterThanOrEqual(14);
expect(current).toContain('Reconcile Missing Releases');
expect(current).toContain('Unpublished release detected');
expect(current).toContain('--latest=false');
+ expect(current).toContain('one or two biggest user-visible wins');
+ expect(current).toContain('# Release vX.Y.Z - <Fun Name>');
+ expect(current).toContain('GitHub Actions workflow extracts this heading');
expect(current).toContain('per-branch fragments');
expect(current).toContain('assembled');
// release-check is a generic {appName} prompt — it runs against managed apps,
diff --git a/server/services/taskPromptDefaults/integrity.snapshot.json b/server/services/taskPromptDefaults/integrity.snapshot.json
index 20debf4375..ed8eb3ad47 100644
--- a/server/services/taskPromptDefaults/integrity.snapshot.json
+++ b/server/services/taskPromptDefaults/integrity.snapshot.json
@@ -43,7 +43,7 @@
"react-lifecycle": "d2eaa653e57897d3fb8b6c52c2c18e38",
"reference-watch": "e0e20754700fb08d5159b8437d9c260b",
"refresh-local-llm-catalog": "9741ca6a8419fcdea2743e3b64781a8b",
- "release-check": "5a82eec9f86ad05185ed77a42dbfd9d4",
+ "release-check": "cd936b9a4fb76273b36ec54c3ed6d5ba",
"repo-sync": "0a648d35d43b023b758226b9c709c8ea",
"security": "c5e35a12eeb06e6afe4617f4428fa1ab",
"simplify": "2a048214d1dd3b75bee9ae1a38fa1589",
@@ -93,7 +93,7 @@
"react-lifecycle": 2,
"reference-watch": 3,
"refresh-local-llm-catalog": 4,
- "release-check": 13,
+ "release-check": 14,
"repo-sync": 1,
"security": 3,
"simplify": 1,
@@ -335,7 +335,8 @@
"afa9039cfbff21d77d601dc74eb5b81f",
"2d2a6700c23b73bf738c2aa915e37277",
"64be10f6ac7bcf74d4fc257089fc179b",
- "644e5f2f6df1daf06f3792a81ba7a51a"
+ "644e5f2f6df1daf06f3792a81ba7a51a",
+ "5a82eec9f86ad05185ed77a42dbfd9d4"
],
"security": [
"b199739b21a8c45ed3778b2339ebf55f",
diff --git a/server/services/taskPromptDefaults/prompts.js b/server/services/taskPromptDefaults/prompts.js
index 2f60daddfb..13eeefb20d 100644
--- a/server/services/taskPromptDefaults/prompts.js
+++ b/server/services/taskPromptDefaults/prompts.js
@@ -2929,9 +2929,20 @@ Check for existing release tags that lack a corresponding GitHub Release:
- Report it explicitly as "Unpublished release detected: vX.Y.Z".
- Find its changelog body (for example, \`.changelog/vX.Y.Z.md\` or \`.changelog/vX.Y.x.md\`).
- Check whether a newer version exists.
+ - When publishing it, pass the complete named heading without its leading # as the GitHub title with --title, not only the version.
- Publish it with \`gh release create "vX.Y.Z"\`, using \`--notes-file\` or \`--body-file\`; pass \`--latest=false\` when a newer release exists, and \`--latest\` only for the newest version.
4. Report missing releases reconciled before continuing.
+## Release naming and notes
+
+When the canonical release workflow compiles the notes for a new release, the agent in charge of the release MUST choose the release name. Read the complete release range and identify the one or two biggest user-visible wins — especially performance, reliability, accessibility, or bandwidth improvements — then choose a short, memorable, fun name that is accurate to those wins (for example, \`Performant Dragon\`). The name is a theme, not a new product claim: do not invent benefits, use private data, repeat implementation jargon, or settle for a generic label such as \`Update\`.
+
+The versioned changelog's first heading MUST be exactly:
+
+\`# Release vX.Y.Z - <Fun Name>\`
+
+Use the ASCII \` - \` separator, keep the name on one line, and keep the same name in the release notes and GitHub release title. Do not leave the bare \`# Release vX.Y.Z\` heading or put the name only in a later section; the GitHub Actions workflow extracts this heading to title the release. If correcting an already-published release, update the changelog body and GitHub release title together.
+
The canonical workflow owns readiness and should count both the current changelog and any uncollected per-branch fragments (for example, \`.changelog/next/\`) across the assembled notes. If the changelog README documents a preview/collect command, use only that documented command — Do NOT guess a command name. If fewer than two substantive entries remain, stop without creating a release PR.
If the release docs identify a separate database-backed test suite, the canonical workflow must first use the documented test-database provisioning/setup command and then run that suite against an isolated test database. The workflow must never substitute a production database; if the isolated setup cannot reach its documented service, report the environmental blocker and stop.
diff --git a/server/services/taskPromptDefaults/versions.js b/server/services/taskPromptDefaults/versions.js
index 94006664b5..ba7b5fd220 100644
--- a/server/services/taskPromptDefaults/versions.js
+++ b/server/services/taskPromptDefaults/versions.js
@@ -70,7 +70,7 @@ export const PROMPT_VERSIONS = {
'better-test-quality': 1, // v1: vacuous/weak/redundant existing tests, proven with a mutation probe. Distinct from test-coverage, which owns the gaps.
'stash-cleanup': 2, // v2: the STALE/ABANDONED heuristic names `AGENTS.md` (or `CLAUDE.md`) as the policy file to check before assuming a stash contradicts current architecture (#4852). v1: triage git stash list — supersession check against main, drop superseded/stale entries, leave real unlanded work in place. Net-new type (no retired-hash history needed).
'repo-sync': 1, // v1: verify + finish the deterministic install-wide origin-sync sweep (services/repoSync.js) — resolve mid-flight merges/rebases, decide what to do with uncommitted work, land or report unpushed branches, triage the stashes it could not prove redundant. Net-new type (no retired-hash history needed).
- 'release-check': 13, // v13: a failing test suite or red CI is work the run must FIX (reproduce, classify regression vs. bad test vs. environmental blocker, fix the root cause, verify, commit, resume) instead of a reason to halt the release — a pre-existing failure on main stopped v12 short with the release untouched; skipping/deleting/loosening a test to force green is explicitly not a fix, and the loop is bounded (3 attempts per failure, 10 fix commits per run). v12: code review is advisory and only CI gates release progress; v11: delegate release mechanics to bundled slashdo release and pin PortOS-configured reviewers. v10: the release-documentation search names the `AGENTS.md` (or `CLAUDE.md`) context instead of CLAUDE.md alone (#4852). v9: Step 1 reconciles missing GitHub Releases against git release tags (publishing any missing tag with .changelog/vX.Y.Z.md as body and --latest=false when a newer version exists) BEFORE evaluating if enough unreleased work has accumulated; v8: database-backed release tests are provisioned and run using the repo's documented isolated test database before the release PR gate; v7: Step 1 also reads the UNCOLLECTED changelog fragments (the fragment dir, plus whatever preview command that repo documents — release-check is a generic {appName} prompt, so it never names a PortOS script to run) and counts substantive entries across the assembled notes — reading only the staged `.changelog/NEXT.md` under-counts a release whose entries are still per-branch fragments, so a ready release reported as "not enough work". v6: generic {appName} body (older defaults hardcoded "PortOS")
+ 'release-check': 14, // v14: the release agent names each release from its one or two biggest user-visible wins and writes the exact first heading the GitHub workflow promotes to the release title. v13: a failing test suite or red CI is work the run must FIX (reproduce, classify regression vs. bad test vs. environmental blocker, fix the root cause, verify, commit, resume) instead of a reason to halt the release — a pre-existing failure on main stopped v12 short with the release untouched; skipping/deleting/loosening a test to force green is explicitly not a fix, and the loop is bounded (3 attempts per failure, 10 fix commits per run). v12: code review is advisory and only CI gates release progress; v11: delegate release mechanics to bundled slashdo release and pin PortOS-configured reviewers. v10: the release-documentation search names the `AGENTS.md` (or `CLAUDE.md`) context instead of CLAUDE.md alone (#4852). v9: Step 1 reconciles missing GitHub Releases against git release tags (publishing any missing tag with .changelog/vX.Y.Z.md as body and --latest=false when a newer version exists) BEFORE evaluating if enough unreleased work has accumulated; v8: database-backed release tests are provisioned and run using the repo's documented isolated test database before the release PR gate; v7: Step 1 also reads the UNCOLLECTED changelog fragments (the fragment dir, plus whatever preview command that repo documents — release-check is a generic {appName} prompt, so it never names a PortOS script to run) and counts substantive entries across the assembled notes — reading only the staged `.changelog/NEXT.md` under-counts a release whose entries are still per-branch fragments, so a ready release reported as "not enough work". v6: generic {appName} body (older defaults hardcoded "PortOS")
// A SCHEDULE task type absent from this map is silently exempt from
// auto-upgrade forever: taskScheduleStore's upgrade block is gated on
diff --git a/server/services/taskSchedule.test.js b/server/services/taskSchedule.test.js
index 96080e071e..c2ecca2859 100644
--- a/server/services/taskSchedule.test.js
+++ b/server/services/taskSchedule.test.js
@@ -1594,10 +1594,13 @@ describe('taskSchedule', () => {
expect(prompt).toContain('does NOT touch PLAN.md')
})
- it('release-check delegates to slashdo release and has no hardcoded reviewer', async () => {
+ it('release-check delegates to slashdo release and requires a named release heading', async () => {
const prompt = await getTaskPrompt('release-check')
expect(prompt).toContain('/do:release')
expect(prompt).toContain('{reviewers}')
+ expect(prompt).toContain('# Release vX.Y.Z - <Fun Name>')
+ expect(prompt).toContain('one or two biggest user-visible wins')
+ expect(prompt).toContain('GitHub release title')
expect(prompt.toLowerCase()).not.toContain('copilot')
expect(prompt).not.toContain('reviewThreads')
})