Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

docs(skills): retire the release ceremony; publish-new-version is bump, tag, publish

rubenluetke10-beepd97af4c1ee57
diff --git a/.agents/skills/publish-new-version/SKILL.md b/.agents/skills/publish-new-version/SKILL.md
index 1538c45600..3c2095d7ce 100644
--- a/.agents/skills/publish-new-version/SKILL.md
+++ b/.agents/skills/publish-new-version/SKILL.md
@@ -1,88 +1,126 @@
---
name: publish-new-version
description: >-
- Use when the maintainer wants to publish / ship a new PUBLIC version of
- Personal Jarvis to GitHub — the periodic (~biweekly) release of the current
- folder state to the one public repo. Triggers: "veröffentliche eine neue
- Version", "neue Jarvis-Version raus", "mach ein Release", "push nach GitHub",
- "publish the new version", "cut a release", "neue Public-Version". NOT for
- untangling git chaos (use git-rescue) and NOT a quick local-only commit.
+ Use when the maintainer wants to cut a new tagged RELEASE of Personal Jarvis —
+ a SemVer bump, a CHANGELOG entry, a git tag, and a published GitHub Release.
+ Triggers: "veröffentliche eine neue Version", "neue Jarvis-Version raus",
+ "mach ein Release", "publish the new version", "cut a release", "neue
+ Public-Version". NOT for an ordinary push — "push", "push nach GitHub",
+ "sichere den Stand", "commit and push" mean `git push`, no skill, no
+ ceremony (CLAUDE.md §2). NOT for untangling git chaos (use git-rescue).
---
-# Publish a New Public Version
+# Cut a New Release
-## Overview
+## What this is, and what it is not
-One public repo, infrequent releases. This is the maintainer's **single entry
-point** to put the CURRENT folder state — **all features, none of the personal
-data** — onto the public GitHub repo as a clean, versioned update, and to **prove
-it actually landed**. It does NOT reimplement the privacy machinery; it runs the
-quality checks the maintainer cares about, then drives the local
-`security-github` skill (the depersonalized public-release privacy gate), then
-verifies.
+A release is a **normal push plus four things**: a version bump, a CHANGELOG
+entry, a tag, and a published GitHub Release. Nothing else. There is no
+snapshot build, no staging tree, no parallel clone, no privacy sub-agent —
+that ceremony was retired on 2026-08-05 after it was measured at ~440k tokens
+per push (CLAUDE.md §2). If you catch yourself preparing a clean copy of the
+repo instead of tagging the commit you already have, stop.
-## Context you must hold (the mental model)
+**An ordinary push is not this skill.** "Push", "sichere den Stand", "commit
+and push" → `git push`. Only an explicit "release" / "neue Version" comes here.
+<!-- i18n-allow: quoted German maintainer trigger phrases -->
-- **There is ONE project repo: the public flagship** `github.com/PersonalJarvis/PersonalJarvis`.
- The lowercase `personal-jarvis` (`origin`) is a silent private backup only — never the deliverable.
-- The local working tree **mixes shippable code with the maintainer's personal data**
- (config, API keys, Wiki/Vault, real name, `C:\Users\...` paths, machine ids).
- Personal data must **NEVER** reach the public repo — its history is world-readable forever.
-- Releases are **infrequent** (≈ every 2 weeks). Each one is a **complete snapshot
- since the last release**, not continuous pushing. The downloader gets the
- maintainer's whole folder minus the personal parts.
+## Why the privacy machinery is not in this list
+
+Personal data never reaches a release because it is never in the tree:
+`.gitignore` withholds `data/`, `.env`, `jarvis.toml`, the Vault, and all key
+material, and the pre-commit/pre-push credential gates plus GitHub's own push
+protection catch what slips. A release ships the commits that are already on
+the branch — it introduces no new content and therefore no new exposure.
## Process — run in order; STOP on any failure
### 1. Pre-flight quality gate (what downloaders get must actually work)
-Verify each, **with evidence**, before anything is shipped:
-- **Completeness** — no half-built features in what ships. Scan the diff since the
- last release for `TODO`/`FIXME`/`NotImplementedError`/stub markers in non-test
- code; every new user-facing feature (voice, chat, Jarvis-UI, sub-agents, plugins)
- has a real working path, not a placeholder.
-- **Tests green** — run at least `pytest -m "not slow"`; a red suite STOPS the release.
-- **Works for an ARBITRARY downloader (CLAUDE.md §3)** — the touched surface must not be
- pinned to the maintainer's keys / provider / OS. Confirm (test or honest trace):
- fresh-install-with-one-key, headless-Linux boot, cross-family fallback all reach a
- working path. If you cannot verify, say so and STOP — do not assume.
-- **Community health files present & intact** — README, LICENSE, TRADEMARK.md,
+
+Verify each **with evidence**; report every item as **PASS** or **STOP**:
+
+- **Tests green** — at least `pytest -m "not slow"`. A red suite STOPS the
+ release.
+- **CI green on the release commit** — `gh run list --branch main --limit 1`.
+ Understand every red cause before tagging (AP-28); a tag on a red commit
+ ships a known-broken version to every managed install.
+- **Completeness** — scan the diff since the last tag for
+ `TODO`/`FIXME`/`NotImplementedError`/stub markers in non-test code. No
+ half-built user-facing feature ships.
+- **Works for an ARBITRARY downloader (CLAUDE.md §3, AP-23)** — the touched
+ surface must not be pinned to the maintainer's keys, provider, or OS.
+ Confirm by test or honest trace: fresh-install-with-one-key, headless-Linux
+ boot, cross-family fallback. If you cannot verify, say so and STOP.
+- **Community health files intact** — README, LICENSE, TRADEMARK.md,
issue/PR templates.
-Report every item as **PASS** or **STOP** with the evidence. No silent skips.
-
-### 2. Privacy gate + push (the engine — do NOT duplicate it here)
-**REQUIRED:** run the local `security-github` skill in **RELEASE** mode. It performs the
-full fail-closed privacy gate (tracked-files-only export → distribution denylist →
-deterministic PII scrub → **mandatory sub-agent privacy review** → secret/PII scan →
-human review) plus the SemVer bump + git tag + CHANGELOG entry, from a separate clean
-clone. Never raw-push the working tree; never bypass the pre-push guard with
-`--no-verify`. A single privacy finding STOPS the push.
-
-### 2b. Resumable install asset (EVERY release)
-Upload the source archive the installers' network-fallback depends on. On
-networks where a git clone stalls (curl 28 / early EOF), both install
-scripts fall back to
-`releases/latest/download/personal-jarvis-src.tar.gz` — HTTP-range
-resumable, so even a crawling connection finishes. Build + upload:
-`git archive --format=tar.gz --prefix=personal-jarvis/ -o personal-jarvis-src.tar.gz vX.Y.Z`
-then `gh release upload vX.Y.Z personal-jarvis-src.tar.gz`. A release
-missing this asset silently degrades the fallback to the non-resumable
-snapshot for every downloader until the next release.
-
-### 3. Proof (never claim success without it)
-After the push, prove it is live:
-- `git ls-remote https://github.com/PersonalJarvis/PersonalJarvis refs/heads/main refs/tags/vX.Y.Z`
- and show the live commit hash + the tag.
-- State the new version number and the clickable URL `https://github.com/PersonalJarvis/PersonalJarvis`.
-- If the remote hash does NOT match what was pushed, it is NOT live — say so and fix it.
-
-## First release only
-The public repo is currently **PRIVATE ("unsichtbar")**. Flipping it to public is the
-maintainer's deliberate, one-time decision — do it **once, together with them, never
-silently**. Every later release is just steps 1–3.
+### 2. Choose the bump
+
+Use `AskUserQuestion`, Recommended first, derived from the diff since the last
+tag — the maintainer always confirms.
+
+| Bump | When | Example |
+|---|---|---|
+| MAJOR | breaking change | 1.0.0 → 2.0.0 |
+| MINOR | new feature, compatible | 1.1.0 → 1.2.0 |
+| PATCH | bugfix / docs / chore | 1.1.0 → 1.1.1 |
+
+### 3. Bump, changelog, commit, tag, push
+
+The version lives in `pyproject.toml` and `jarvis/__init__.py` — they must
+agree. Prepend a `## [X.Y.Z] - <YYYY-MM-DD>` section (Added / Changed / Fixed /
+Removed) to `CHANGELOG.md`, derived from the diff.
+
+```bash
+python scripts/ci/check_release_completeness.py # pre-tag gate — must pass
+git add pyproject.toml jarvis/__init__.py CHANGELOG.md
+git commit -m "chore(release): publish vX.Y.Z"
+git tag -a "vX.Y.Z" -m "vX.Y.Z — <short summary>"
+git push public HEAD:main
+git push public "vX.Y.Z"
+```
+
+Branch first, then the tag. Never `git push --tags`, never `--force`.
+
+### 4. Publish the GitHub Release + the resumable install asset
+
+A pushed tag without a **published** Release updates no managed install — the
+in-app updater only moves between published Releases.
+
+```bash
+gh release create "vX.Y.Z" --repo PersonalJarvis/PersonalJarvis \
+ --title "vX.Y.Z" --notes-file <changelog-section>
+git archive --format=tar.gz --prefix=personal-jarvis/ \
+ -o personal-jarvis-src.tar.gz "vX.Y.Z"
+gh release upload "vX.Y.Z" personal-jarvis-src.tar.gz \
+ --repo PersonalJarvis/PersonalJarvis
+```
+
+Both install scripts fall back to
+`releases/latest/download/personal-jarvis-src.tar.gz` when a clone stalls
+(curl 28 / early EOF) — it is HTTP-range resumable, so a crawling connection
+still finishes. A release missing this asset silently degrades that fallback
+for every downloader until the next one.
+
+### 5. Proof (never claim success without it)
+
+```bash
+python scripts/ci/check_release_completeness.py --verify-release
+git ls-remote https://github.com/PersonalJarvis/PersonalJarvis \
+ refs/heads/main "refs/tags/vX.Y.Z"
+```
+
+Show the live commit hash, the tag, the version number, and the Release URL.
+If the remote hash does not match what was pushed, it is **not** live — say so
+and fix it.
## Hard rules
-- Personal data never ships — the privacy gate is non-negotiable.
-- No raw `git push` to the public repo; the pre-push guard blocks it. Do not bypass.
-- No "done / shipped" claim without the live `ls-remote` proof from step 3.
+
+- Never flip the repository's visibility. That is the maintainer's manual,
+ deliberate call, made outside any skill.
+- No "done / shipped" claim without the live `ls-remote` + `--verify-release`
+ proof from step 5.
+- A secret already in a pushed commit is not removed by a new commit. Git
+ history is permanent: it needs `git filter-repo` plus key rotation, and the
+ maintainer must be told plainly.
- Branch / worktree cleanup is **git-rescue's** job, not this skill's.
diff --git a/.claude/skills/publish-new-version/SKILL.md b/.claude/skills/publish-new-version/SKILL.md
index 1538c45600..3c2095d7ce 100644
--- a/.claude/skills/publish-new-version/SKILL.md
+++ b/.claude/skills/publish-new-version/SKILL.md
@@ -1,88 +1,126 @@
---
name: publish-new-version
description: >-
- Use when the maintainer wants to publish / ship a new PUBLIC version of
- Personal Jarvis to GitHub — the periodic (~biweekly) release of the current
- folder state to the one public repo. Triggers: "veröffentliche eine neue
- Version", "neue Jarvis-Version raus", "mach ein Release", "push nach GitHub",
- "publish the new version", "cut a release", "neue Public-Version". NOT for
- untangling git chaos (use git-rescue) and NOT a quick local-only commit.
+ Use when the maintainer wants to cut a new tagged RELEASE of Personal Jarvis —
+ a SemVer bump, a CHANGELOG entry, a git tag, and a published GitHub Release.
+ Triggers: "veröffentliche eine neue Version", "neue Jarvis-Version raus",
+ "mach ein Release", "publish the new version", "cut a release", "neue
+ Public-Version". NOT for an ordinary push — "push", "push nach GitHub",
+ "sichere den Stand", "commit and push" mean `git push`, no skill, no
+ ceremony (CLAUDE.md §2). NOT for untangling git chaos (use git-rescue).
---
-# Publish a New Public Version
+# Cut a New Release
-## Overview
+## What this is, and what it is not
-One public repo, infrequent releases. This is the maintainer's **single entry
-point** to put the CURRENT folder state — **all features, none of the personal
-data** — onto the public GitHub repo as a clean, versioned update, and to **prove
-it actually landed**. It does NOT reimplement the privacy machinery; it runs the
-quality checks the maintainer cares about, then drives the local
-`security-github` skill (the depersonalized public-release privacy gate), then
-verifies.
+A release is a **normal push plus four things**: a version bump, a CHANGELOG
+entry, a tag, and a published GitHub Release. Nothing else. There is no
+snapshot build, no staging tree, no parallel clone, no privacy sub-agent —
+that ceremony was retired on 2026-08-05 after it was measured at ~440k tokens
+per push (CLAUDE.md §2). If you catch yourself preparing a clean copy of the
+repo instead of tagging the commit you already have, stop.
-## Context you must hold (the mental model)
+**An ordinary push is not this skill.** "Push", "sichere den Stand", "commit
+and push" → `git push`. Only an explicit "release" / "neue Version" comes here.
+<!-- i18n-allow: quoted German maintainer trigger phrases -->
-- **There is ONE project repo: the public flagship** `github.com/PersonalJarvis/PersonalJarvis`.
- The lowercase `personal-jarvis` (`origin`) is a silent private backup only — never the deliverable.
-- The local working tree **mixes shippable code with the maintainer's personal data**
- (config, API keys, Wiki/Vault, real name, `C:\Users\...` paths, machine ids).
- Personal data must **NEVER** reach the public repo — its history is world-readable forever.
-- Releases are **infrequent** (≈ every 2 weeks). Each one is a **complete snapshot
- since the last release**, not continuous pushing. The downloader gets the
- maintainer's whole folder minus the personal parts.
+## Why the privacy machinery is not in this list
+
+Personal data never reaches a release because it is never in the tree:
+`.gitignore` withholds `data/`, `.env`, `jarvis.toml`, the Vault, and all key
+material, and the pre-commit/pre-push credential gates plus GitHub's own push
+protection catch what slips. A release ships the commits that are already on
+the branch — it introduces no new content and therefore no new exposure.
## Process — run in order; STOP on any failure
### 1. Pre-flight quality gate (what downloaders get must actually work)
-Verify each, **with evidence**, before anything is shipped:
-- **Completeness** — no half-built features in what ships. Scan the diff since the
- last release for `TODO`/`FIXME`/`NotImplementedError`/stub markers in non-test
- code; every new user-facing feature (voice, chat, Jarvis-UI, sub-agents, plugins)
- has a real working path, not a placeholder.
-- **Tests green** — run at least `pytest -m "not slow"`; a red suite STOPS the release.
-- **Works for an ARBITRARY downloader (CLAUDE.md §3)** — the touched surface must not be
- pinned to the maintainer's keys / provider / OS. Confirm (test or honest trace):
- fresh-install-with-one-key, headless-Linux boot, cross-family fallback all reach a
- working path. If you cannot verify, say so and STOP — do not assume.
-- **Community health files present & intact** — README, LICENSE, TRADEMARK.md,
+
+Verify each **with evidence**; report every item as **PASS** or **STOP**:
+
+- **Tests green** — at least `pytest -m "not slow"`. A red suite STOPS the
+ release.
+- **CI green on the release commit** — `gh run list --branch main --limit 1`.
+ Understand every red cause before tagging (AP-28); a tag on a red commit
+ ships a known-broken version to every managed install.
+- **Completeness** — scan the diff since the last tag for
+ `TODO`/`FIXME`/`NotImplementedError`/stub markers in non-test code. No
+ half-built user-facing feature ships.
+- **Works for an ARBITRARY downloader (CLAUDE.md §3, AP-23)** — the touched
+ surface must not be pinned to the maintainer's keys, provider, or OS.
+ Confirm by test or honest trace: fresh-install-with-one-key, headless-Linux
+ boot, cross-family fallback. If you cannot verify, say so and STOP.
+- **Community health files intact** — README, LICENSE, TRADEMARK.md,
issue/PR templates.
-Report every item as **PASS** or **STOP** with the evidence. No silent skips.
-
-### 2. Privacy gate + push (the engine — do NOT duplicate it here)
-**REQUIRED:** run the local `security-github` skill in **RELEASE** mode. It performs the
-full fail-closed privacy gate (tracked-files-only export → distribution denylist →
-deterministic PII scrub → **mandatory sub-agent privacy review** → secret/PII scan →
-human review) plus the SemVer bump + git tag + CHANGELOG entry, from a separate clean
-clone. Never raw-push the working tree; never bypass the pre-push guard with
-`--no-verify`. A single privacy finding STOPS the push.
-
-### 2b. Resumable install asset (EVERY release)
-Upload the source archive the installers' network-fallback depends on. On
-networks where a git clone stalls (curl 28 / early EOF), both install
-scripts fall back to
-`releases/latest/download/personal-jarvis-src.tar.gz` — HTTP-range
-resumable, so even a crawling connection finishes. Build + upload:
-`git archive --format=tar.gz --prefix=personal-jarvis/ -o personal-jarvis-src.tar.gz vX.Y.Z`
-then `gh release upload vX.Y.Z personal-jarvis-src.tar.gz`. A release
-missing this asset silently degrades the fallback to the non-resumable
-snapshot for every downloader until the next release.
-
-### 3. Proof (never claim success without it)
-After the push, prove it is live:
-- `git ls-remote https://github.com/PersonalJarvis/PersonalJarvis refs/heads/main refs/tags/vX.Y.Z`
- and show the live commit hash + the tag.
-- State the new version number and the clickable URL `https://github.com/PersonalJarvis/PersonalJarvis`.
-- If the remote hash does NOT match what was pushed, it is NOT live — say so and fix it.
-
-## First release only
-The public repo is currently **PRIVATE ("unsichtbar")**. Flipping it to public is the
-maintainer's deliberate, one-time decision — do it **once, together with them, never
-silently**. Every later release is just steps 1–3.
+### 2. Choose the bump
+
+Use `AskUserQuestion`, Recommended first, derived from the diff since the last
+tag — the maintainer always confirms.
+
+| Bump | When | Example |
+|---|---|---|
+| MAJOR | breaking change | 1.0.0 → 2.0.0 |
+| MINOR | new feature, compatible | 1.1.0 → 1.2.0 |
+| PATCH | bugfix / docs / chore | 1.1.0 → 1.1.1 |
+
+### 3. Bump, changelog, commit, tag, push
+
+The version lives in `pyproject.toml` and `jarvis/__init__.py` — they must
+agree. Prepend a `## [X.Y.Z] - <YYYY-MM-DD>` section (Added / Changed / Fixed /
+Removed) to `CHANGELOG.md`, derived from the diff.
+
+```bash
+python scripts/ci/check_release_completeness.py # pre-tag gate — must pass
+git add pyproject.toml jarvis/__init__.py CHANGELOG.md
+git commit -m "chore(release): publish vX.Y.Z"
+git tag -a "vX.Y.Z" -m "vX.Y.Z — <short summary>"
+git push public HEAD:main
+git push public "vX.Y.Z"
+```
+
+Branch first, then the tag. Never `git push --tags`, never `--force`.
+
+### 4. Publish the GitHub Release + the resumable install asset
+
+A pushed tag without a **published** Release updates no managed install — the
+in-app updater only moves between published Releases.
+
+```bash
+gh release create "vX.Y.Z" --repo PersonalJarvis/PersonalJarvis \
+ --title "vX.Y.Z" --notes-file <changelog-section>
+git archive --format=tar.gz --prefix=personal-jarvis/ \
+ -o personal-jarvis-src.tar.gz "vX.Y.Z"
+gh release upload "vX.Y.Z" personal-jarvis-src.tar.gz \
+ --repo PersonalJarvis/PersonalJarvis
+```
+
+Both install scripts fall back to
+`releases/latest/download/personal-jarvis-src.tar.gz` when a clone stalls
+(curl 28 / early EOF) — it is HTTP-range resumable, so a crawling connection
+still finishes. A release missing this asset silently degrades that fallback
+for every downloader until the next one.
+
+### 5. Proof (never claim success without it)
+
+```bash
+python scripts/ci/check_release_completeness.py --verify-release
+git ls-remote https://github.com/PersonalJarvis/PersonalJarvis \
+ refs/heads/main "refs/tags/vX.Y.Z"
+```
+
+Show the live commit hash, the tag, the version number, and the Release URL.
+If the remote hash does not match what was pushed, it is **not** live — say so
+and fix it.
## Hard rules
-- Personal data never ships — the privacy gate is non-negotiable.
-- No raw `git push` to the public repo; the pre-push guard blocks it. Do not bypass.
-- No "done / shipped" claim without the live `ls-remote` proof from step 3.
+
+- Never flip the repository's visibility. That is the maintainer's manual,
+ deliberate call, made outside any skill.
+- No "done / shipped" claim without the live `ls-remote` + `--verify-release`
+ proof from step 5.
+- A secret already in a pushed commit is not removed by a new commit. Git
+ history is permanent: it needs `git filter-repo` plus key rotation, and the
+ maintainer must be told plainly.
- Branch / worktree cleanup is **git-rescue's** job, not this skill's.
diff --git a/.gitignore b/.gitignore
index a2418be958..9451d8d69e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -159,13 +159,15 @@ Desktop.ini
!.claude/agents/
!.claude/commands/
!.claude/skills/
-# ...except the security-github skill: a LOCAL-ONLY maintainer tool. It orchestrates
-# the depersonalized public-release push and must never itself be versioned or
-# pushed to any GitHub repo. Its deterministic engine lives (versioned) under
-# scripts/ci/privacy_gate/, so CI and the pre-push hook keep working without it.
+# ...except the security-github skill: RETIRED 2026-08-05. It orchestrated the
+# depersonalized public-release push — a staging build, a parallel clone, a
+# frontend build, and a sub-agent that read every tracked file hunting for
+# personal data, on every push. A push is `git push` now (CLAUDE.md §2). The
+# ignore rules stay as a tombstone so a stray local copy can never be
+# versioned; do not re-add the skill without the maintainer's say-so.
.claude/skills/security-github/
# .agents/ is the tool-neutral twin of .claude/ (synced by
-# scripts/ci/sync_agents_dir.py) — same include/exclude shape, so the private
+# scripts/ci/sync_agents_dir.py) — same include/exclude shape, so the retired
# security-github skill can never leak in via the mirror either.
.agents/*
!.agents/README.md