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(contract): ban review sub-agents from push and release flows

rubenluetke10-beep764be3676136
diff --git a/.agents/agents/INDEX.md b/.agents/agents/INDEX.md
index d99122662b..13431711aa 100644
--- a/.agents/agents/INDEX.md
+++ b/.agents/agents/INDEX.md
@@ -54,7 +54,7 @@ Every subagent is primarily classified along two axes: **role** (what it does) a
| Task | Subagent | Justification |
|---|---|---|
-| Diff after every substantial change | `code-reviewer` | Senior review against AGENTS.md |
+| Diff after writing substantial code in the session (never at push/release time — publishing existing commits is not a code change) | `code-reviewer` | Senior review against AGENTS.md |
| New/changed file under `docs/` (privacy pass before it could ship) | `docs-privacy-reviewer` | Reads the doc for the maintainer's name/email/handle, personal paths, machine ids, private life details, and real secrets — the semantic half of the docs privacy gate (`scripts/ci/docs_privacy_scan.py` is the deterministic half, run by a PostToolUse hook) |
| Adversarially check jarvis-worker output (build phase) | `jarvis-reviewer` | JSON verdict, during the build before handoff to the user. NOT for Jarvis-Agent production output (use the Phase-6 critic for that) |
| Phase-6 Critic-Loop design (prompts, verdict schema) | `jarvis-critic-design-reviewer` | Sycophancy risks, reflexion pattern |
diff --git a/.agents/agents/code-reviewer.md b/.agents/agents/code-reviewer.md
index 1f1c379507..3c78a73dc9 100644
--- a/.agents/agents/code-reviewer.md
+++ b/.agents/agents/code-reviewer.md
@@ -1,6 +1,6 @@
---
name: code-reviewer
-description: Use proactively after every substantial code change. Senior code review against the AGENTS.md anti-pattern register, the JARVIS_AWARENESS_PLAN.md hard negatives, and the CLAUDE.md conventions.
+description: Use proactively after writing or modifying substantial code in the current session. NEVER as part of a push or release — version bumps, changelog entries, tags, and pushing already-committed work spawn no review (maintainer directive 2026-08-12; CLAUDE.md §2, a push is `git push`). Senior code review against the AGENTS.md anti-pattern register, the JARVIS_AWARENESS_PLAN.md hard negatives, and the CLAUDE.md conventions.
tools: Read, Grep, Glob
model: sonnet
role: reviewer
@@ -9,7 +9,7 @@ phase: 0-7+awareness
must_read:
- AGENTS.md
- CLAUDE.md
-when_to_use: Diff review after a substantial code change — generic, any phase, BLOCKER/MAJOR/MINOR findings with file:line evidence
+when_to_use: Diff review after writing substantial code in the session — generic, any phase, BLOCKER/MAJOR/MINOR findings with file:line evidence. Never at push/release time; publishing existing commits is not a code change.
---
You are the senior code reviewer for Personal Jarvis. Your focus rests on three sources: (a) anti-patterns from `AGENTS.md`, (b) the hard negatives of the relevant Awareness phase from `JARVIS_AWARENESS_PLAN.md`, (c) the conventions from `CLAUDE.md`. You write NO code; you find problems and propose concrete fixes.
diff --git a/.agents/skills/publish-new-version/SKILL.md b/.agents/skills/publish-new-version/SKILL.md
index 3c2095d7ce..9447a87d61 100644
--- a/.agents/skills/publish-new-version/SKILL.md
+++ b/.agents/skills/publish-new-version/SKILL.md
@@ -18,8 +18,11 @@ 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.
+per push (CLAUDE.md §2). There is also no review sub-agent (retired
+2026-08-12): a release ships commits that already exist, and that code was
+reviewed when it was written — never spawn `code-reviewer` for a version
+bump, changelog entry, tag, or push. If you catch yourself preparing a clean
+copy of the repo instead of tagging the commit you already have, stop.
**An ordinary push is not this skill.** "Push", "sichere den Stand", "commit
and push" → `git push`. Only an explicit "release" / "neue Version" comes here.
diff --git a/.claude/agents/INDEX.md b/.claude/agents/INDEX.md
index d99122662b..13431711aa 100644
--- a/.claude/agents/INDEX.md
+++ b/.claude/agents/INDEX.md
@@ -54,7 +54,7 @@ Every subagent is primarily classified along two axes: **role** (what it does) a
| Task | Subagent | Justification |
|---|---|---|
-| Diff after every substantial change | `code-reviewer` | Senior review against AGENTS.md |
+| Diff after writing substantial code in the session (never at push/release time — publishing existing commits is not a code change) | `code-reviewer` | Senior review against AGENTS.md |
| New/changed file under `docs/` (privacy pass before it could ship) | `docs-privacy-reviewer` | Reads the doc for the maintainer's name/email/handle, personal paths, machine ids, private life details, and real secrets — the semantic half of the docs privacy gate (`scripts/ci/docs_privacy_scan.py` is the deterministic half, run by a PostToolUse hook) |
| Adversarially check jarvis-worker output (build phase) | `jarvis-reviewer` | JSON verdict, during the build before handoff to the user. NOT for Jarvis-Agent production output (use the Phase-6 critic for that) |
| Phase-6 Critic-Loop design (prompts, verdict schema) | `jarvis-critic-design-reviewer` | Sycophancy risks, reflexion pattern |
diff --git a/.claude/agents/code-reviewer.md b/.claude/agents/code-reviewer.md
index 1f1c379507..3c78a73dc9 100644
--- a/.claude/agents/code-reviewer.md
+++ b/.claude/agents/code-reviewer.md
@@ -1,6 +1,6 @@
---
name: code-reviewer
-description: Use proactively after every substantial code change. Senior code review against the AGENTS.md anti-pattern register, the JARVIS_AWARENESS_PLAN.md hard negatives, and the CLAUDE.md conventions.
+description: Use proactively after writing or modifying substantial code in the current session. NEVER as part of a push or release — version bumps, changelog entries, tags, and pushing already-committed work spawn no review (maintainer directive 2026-08-12; CLAUDE.md §2, a push is `git push`). Senior code review against the AGENTS.md anti-pattern register, the JARVIS_AWARENESS_PLAN.md hard negatives, and the CLAUDE.md conventions.
tools: Read, Grep, Glob
model: sonnet
role: reviewer
@@ -9,7 +9,7 @@ phase: 0-7+awareness
must_read:
- AGENTS.md
- CLAUDE.md
-when_to_use: Diff review after a substantial code change — generic, any phase, BLOCKER/MAJOR/MINOR findings with file:line evidence
+when_to_use: Diff review after writing substantial code in the session — generic, any phase, BLOCKER/MAJOR/MINOR findings with file:line evidence. Never at push/release time; publishing existing commits is not a code change.
---
You are the senior code reviewer for Personal Jarvis. Your focus rests on three sources: (a) anti-patterns from `AGENTS.md`, (b) the hard negatives of the relevant Awareness phase from `JARVIS_AWARENESS_PLAN.md`, (c) the conventions from `CLAUDE.md`. You write NO code; you find problems and propose concrete fixes.
diff --git a/.claude/skills/publish-new-version/SKILL.md b/.claude/skills/publish-new-version/SKILL.md
index 3c2095d7ce..9447a87d61 100644
--- a/.claude/skills/publish-new-version/SKILL.md
+++ b/.claude/skills/publish-new-version/SKILL.md
@@ -18,8 +18,11 @@ 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.
+per push (CLAUDE.md §2). There is also no review sub-agent (retired
+2026-08-12): a release ships commits that already exist, and that code was
+reviewed when it was written — never spawn `code-reviewer` for a version
+bump, changelog entry, tag, or push. If you catch yourself preparing a clean
+copy of the repo instead of tagging the commit you already have, stop.
**An ordinary push is not this skill.** "Push", "sichere den Stand", "commit
and push" → `git push`. Only an explicit "release" / "neue Version" comes here.
diff --git a/docs/agent-contract.md b/docs/agent-contract.md
index f05cbd8fbe..8a6046d7fa 100644
--- a/docs/agent-contract.md
+++ b/docs/agent-contract.md
@@ -100,7 +100,12 @@ every file in the tree looking for personal data. That audit re-read 5,481
already-published files on every push; a regex scan, `.gitignore`, and
GitHub's own push protection already cover it. If you find yourself
preparing a snapshot instead of pushing a commit, stop — that is the
-retired gate growing back.
+retired gate growing back. The same ban covers review sub-agents
+(maintainer directive 2026-08-12): a push or release ships commits that
+already exist, and that code was reviewed when it was written — spawning
+`code-reviewer` (or any reviewer) at push time is the retired ceremony in
+a different costume. Review happens when code is authored, never when it
+is published.
What remains, fail-closed: