feat(extensions): add Roast Room, bring Codex to parity, fix audit findings

Roast Room is installed as a managed Git clone under
~/.my-ai-configuration/roast-room, shared by Claude and Codex. A personal
launcher skill runs it from any folder, starts its live room when needed,
and only runs when invoked by name (/roast-room, $roast-room).

Codex now gets what was Claude-only before: the Caveman skill with a
SessionStart hook that keeps it on, PreCompact and session-pointer hooks,
execpolicy deny rules mirroring Claude's permissions.deny, and Impeccable's
custom agents registered in ~/.codex/agents. The command-safety hook checks
both shell dialects for Codex on Windows, where PowerShell text arrives as
Bash, in both the PowerShell and Bash packages.

Audit fixes:
- command-safety blocks git checkout -- / restore / push --force /
  stash clear and find -delete, and treats heredoc bodies as text
- removing a clone clears read-only Git files, git errors no longer abort
  the extension sync, and a lock left by a dead process is replaced
- with-credential passes child flags such as -k or -d through unchanged
  and resolves commands from PATH
- uninstall strips only owned hooks from settings.json and config.toml and
  keeps the selection while another client is installed; update keeps
  CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY; Bash merges write the same bytes as
  PowerShell
- qmd no longer trusts a stale daemon.json after a lost start race and
  prunes collections of deleted repositories
- Bash scripts avoid GNU-only find -printf

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Julian LechnerandClaude Opus 5.5 committed 2026-11-19 09:02:47 +01:00
1 parent 63a36d90e0
commit b35e2254b3
48 files changed
+1059 -98

No files matched your search

@@ -0,0 +1,36 @@
---
name: roast-room
description: Run the Roast Room advisory board on a business decision from any folder, starting its live room when needed. Only when invoked by name.
disable-model-invocation: true
argument-hint: "[the decision] [--quick] [--all] [--seats a,b,...] | ask <seat> [question] | board"
---
# Roast Room
Launch the managed Roast Room from any working directory, in Claude Code (`/roast-room`) or Codex (`$roast-room`). `ROOM` below is `~/.my-ai-configuration/roast-room` (`$HOME` in Bash, `$env:USERPROFILE` in PowerShell). The request is: $ARGUMENTS
If the line above still shows a literal `$ARGUMENTS` (Codex does not substitute it), the request is the user's text after the skill name.
## 1. Check the installation
If `ROOM/.claude/skills/roast-room/SKILL.md` does not exist, stop and tell the user to run the configuration update with Roast Room selected. Do not clone or install anything yourself.
## 2. Make sure the live room runs
1. Request `http://127.0.0.1:4730/api/seats` with a 3-second timeout. A JSON answer means the room is already running; continue.
2. Otherwise start it detached from this session so it keeps running afterwards. It needs Node.js 20 or newer and no package install:
- PowerShell: `Start-Process node -ArgumentList 'app/server.mjs' -WorkingDirectory "$env:USERPROFILE\.my-ai-configuration\roast-room" -WindowStyle Hidden`
- Bash: `(cd "$HOME/.my-ai-configuration/roast-room" && nohup node app/server.mjs >/dev/null 2>&1 &)`
3. Poll the same URL every second for up to 10 seconds. When it answers, tell the user the room is live at http://localhost:4730.
4. If Node.js is missing, the start fails, or port 4730 belongs to another program, say so in one line and run the board without the live room. Never stop the server when the board finishes.
## 3. Run the board
Read `ROOM/.claude/skills/roast-room/SKILL.md` and follow it with the request above. Resolve every project path it names against `ROOM`, not against the current folder:
- Write sessions to `ROOM/sessions/<date>-<slug>/`. The live room reads only that folder.
- Read `roster.json`, `brains/`, `references/`, and `scripts/check_quotes.py` from `ROOM/.claude/skills/roast-room/`, and seat files from `ROOM/.claude/agents/council-<seat>.md`.
- Spawn each seat as `council-<seat>` when that agent type is registered in this session. Otherwise use the upstream fallback: a general subagent (`general-purpose` in Claude Code; a default subagent through `spawn_agent` in Codex) given the seat's agent file and the fallback lines from `round-prompts.md`.
- Business context comes from the user's current project: read its `CLAUDE.md`, `business.md`, or similar notes before asking for numbers.
Building new seats (`/newroaster`) still runs only in a Claude Code session started in `ROOM`.
@@ -0,0 +1,3 @@
# Codex: run this skill only when the user names it ($roast-room or /skills); Claude uses disable-model-invocation.
policy:
allow_implicit_invocation: false