docs: add Roast Room to README and bring docs up to date
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 11s
CI / Python tests and compilation (push) Successful in 31s
CI / QMD unit tests (push) Successful in 7s
CI / Build and inspect generated packages (push) Successful in 25s
CI / PowerShell tests on Ubuntu (push) Successful in 2m13s
CI / Installed client configuration smoke tests (push) Successful in 1m15s
CI / Bash integration and installation guards (push) Successful in 1m43s
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 11s
CI / Python tests and compilation (push) Successful in 31s
CI / QMD unit tests (push) Successful in 7s
CI / Build and inspect generated packages (push) Successful in 25s
CI / PowerShell tests on Ubuntu (push) Successful in 2m13s
CI / Installed client configuration smoke tests (push) Successful in 1m15s
CI / Bash integration and installation guards (push) Successful in 1m43s
The README now lists Roast Room as a feature and an extension, with its Git and Node.js requirements. It also fixes the broken %APPDATA%\npm path and describes the current skill catalog and Codex execpolicy rules. The docs now match the code: Codex registers PreCompact and SessionStart hooks, the command-safety hook and execpolicy lists include the new blocked commands, the media skill has seven references, direct reads need no research skill, and test-uninstall.py is listed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a493658f41
commit
2b2403e1de
8 files changed
+27
-19
No files matched your search
+1
-1
@@ -34,4 +34,4 @@ The optional `scripts/commands/session-state.ps1` and `scripts/commands/session-
|
||||
|
||||
Starting a different goal requires `-Reset -Goal ...` or `--reset --goal ...`, which clears the previous task's decisions and verification. Updates are atomic; legacy field names are migrated when reading existing state.
|
||||
|
||||
After compaction, verify that the state belongs to the current goal and workspace before using it. Claude's lifecycle hooks point to an existing workspace state without creating or summarizing it. Codex follows the same recovery instructions manually; no unsupported lifecycle events are registered.
|
||||
After compaction, verify that the state belongs to the current goal and workspace before using it. The `PreCompact` and `SessionStart` hooks of both clients point to an existing workspace state without creating or summarizing it.
|
||||
@@ -5,7 +5,8 @@ and [`adapters/claude/config/settings.json`](../adapters/claude/config/settings.
|
||||
Installation targets `~/.codex` and `~/.claude`; Codex skills go to `~/.agents/skills`.
|
||||
Choose the PowerShell or Bash package independently of the client.
|
||||
|
||||
Codex receives a generated global `AGENTS.md`, agent TOML files, skills, rule files, and a `config.toml` adapter.
|
||||
Codex receives a generated global `AGENTS.md`, agent TOML files, skills, rule files, a `config.toml` adapter, and
|
||||
execpolicy rules in `~/.codex/rules/my-ai-configuration.rules`.
|
||||
It sets full access for commands, automatic approval review, `agents.enabled = true`,
|
||||
`agents.max_concurrent_threads_per_session = 5`, and `agents.max_depth = 1`.
|
||||
|
||||
@@ -30,7 +31,8 @@ Codex sets `sandbox_mode = "danger-full-access"`, `approval_policy = "on-request
|
||||
restrictions, under the account that launches Codex. Launch Codex as the repository owner to use that identity;
|
||||
this configuration does not impersonate another user or change filesystem ownership. OS permissions, firewalls,
|
||||
and managed organization policies still apply. Eligible approval requests retain automatic review, which does
|
||||
not restore a filesystem boundary. See the [official OpenAI security documentation](https://learn.chatgpt.com/docs/agent-approvals-security).
|
||||
not restore a filesystem boundary. The execpolicy rules forbid a few destructive Git and `rm` prefixes, mirroring
|
||||
Claude's deny rules; see [Hooks](hooks.md) for the list and its limits. See the [official OpenAI security documentation](https://learn.chatgpt.com/docs/agent-approvals-security).
|
||||
|
||||
The adapter no longer selects the Windows sandbox or workspace writable roots. This avoids using the dedicated
|
||||
`CodexSandboxOnline` account, whose identity differs from the repository owner and can trigger Git's ownership
|
||||
|
||||
+2
-2
@@ -26,9 +26,9 @@ When enabled during installation or update, Flashbang runs on `Stop`, after the
|
||||
|
||||
The completion hook blocks a stop only when the last message claims completion, names no check, and the Git working tree has non-prose changes. It uses the message wording, not command output, so it is a nudge rather than proof, and it never blocks twice in a row. The correction hook matches German and English phrases, adds a fixed instruction, and stores nothing; it skips slash commands and prompts over 2,000 characters. Rules change only after user approval. Both hooks need Python and fail open. Codex skips new or changed hooks until they are trusted through `/hooks`.
|
||||
|
||||
The command-safety hook parses the command (quote-aware splitting on `;`, `&&`, `||`, `|`, and newlines; nested `bash -c`, `pwsh -Command`, `cmd /c`, and `eval`) and exits 2 with a reason for `rm` with recursive and force flags in any order, `git reset --hard`, `git clean -f`, `Remove-Item -Recurse` (including `ri` and, outside Bash, the `rm`/`del`/`rd` aliases), `del`/`rd /s /q`, and `format <drive>:`. The logic lives once in `command-safety.py`; the shell wrappers only resolve Python. Called with a command argument (`-Command`/first argument), the wrappers check that command and also reject absolute paths outside the workspace. Like the client deny rules, the hook is a guard rail against accidents, not a security boundary: it sees only command text, not what scripts, aliases, or variables expand to, and it fails open on unparsable input or missing Python.
|
||||
The command-safety hook parses the command (quote-aware splitting on `;`, `&&`, `||`, `|`, and newlines; nested `bash -c`, `pwsh -Command`, `cmd /c`, and `eval`) and exits 2 with a reason for `rm` with recursive and force flags in any order, `git reset --hard`, `git clean -f`, `git checkout -- <path>` or `git checkout .`, `git restore` of working-tree files, `git push --force` (including `-f` and `+refspec`), `git stash clear`, `find -delete`, `Remove-Item -Recurse` (including `ri` and, outside Bash, the `rm`/`del`/`rd` aliases), `del`/`rd /s /q`, and `format <drive>:`. Heredoc bodies count as text, not commands. The logic lives once in `command-safety.py`; the shell wrappers only resolve Python. Called with a command argument (`-Command`/first argument), the wrappers check that command and also reject absolute paths outside the workspace. Like the client deny rules, the hook is a guard rail against accidents, not a security boundary: it sees only command text, not what scripts, aliases, or variables expand to, and it fails open on unparsable input or missing Python.
|
||||
|
||||
The Claude `permissions.deny` patterns (`Bash(rm -rf*)`, `PowerShell(Remove-Item *-Recurse*)`, and the `git reset --hard`/`git clean` patterns) match only the literal command prefix. Codex gets the same backstop as execpolicy rules in `~/.codex/rules/my-ai-configuration.rules` (`prefix_rule` with `decision = "forbidden"` for `git reset --hard`, `git clean`, `rm -rf`, and `rm -fr`); prefix rules cannot express `Remove-Item ... -Recurse`. Neither layer catches `rm -r -f` or a destructive command after `cd x &&`; the PreToolUse hook covers those variants. Treat both layers as hurdles, and rely on the sandbox, approvals, and version control for real protection.
|
||||
The Claude `permissions.deny` patterns (`Bash(rm -rf*)`, `PowerShell(Remove-Item *-Recurse*)`, and the `git reset --hard`/`git clean` patterns) match only the literal command prefix. Codex gets the same backstop as execpolicy rules in `~/.codex/rules/my-ai-configuration.rules` (`prefix_rule` with `decision = "forbidden"` for `git reset --hard`, `git clean`, `git checkout --`, `git push --force`, `git push -f`, `rm -rf`, and `rm -fr`); prefix rules cannot express `Remove-Item ... -Recurse`. Neither layer catches `rm -r -f` or a destructive command after `cd x &&`; the PreToolUse hook covers those variants. Treat both layers as hurdles, and rely on the sandbox, approvals, and version control for real protection.
|
||||
|
||||
`Invoke-PostChangeVerification`/`invoke-post-change-verification.sh` is an unregistered utility that explicitly runs the repository build when invoked; it is not an automatic requirement after each change.
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ The check passes only if documentation retrieval returns relevant content with a
|
||||
|
||||
Codex's local `plugins` and `marketplaces` tables survive configuration synchronization, along with other root keys, extra fields in managed tables, other unmanaged tables, and unowned array tables; changed files are backed up. Cached plugin files alone are not treated as proof of installation: selection uses the client CLI's installed list. If an older update removed the registrations, inspect the backed-up `config.toml` under `~/.codex/backups/` and reselect the affected plugins on the next update.
|
||||
|
||||
Roast Room uses the `clone` method: install keeps a shallow Git clone of the manifest's GitHub source in `~/.my-ai-configuration/<folder>` and update fast-forwards it unless tracked files changed locally. Both clients share the clone. The personal launcher skill `shared/skills/extensions/roast-room` makes `/roast-room` (Claude Code) and `$roast-room` (Codex) work from any folder; `disable-model-invocation: true` and Codex's `agents/openai.yaml` (`allow_implicit_invocation: false`) keep it manual-only. It it starts the live room (`node app/server.mjs`, port 4730) when it is not running and writes sessions into the clone, where the room reads them. Outside the clone, seats run through the upstream fallback (a general subagent given the seat's agent file) because the `council-*` agents are registered only in a Claude Code session started there. As a personal skill it also shadows the clone's own `roast-room` skill, so the board never starts on its own. `/newroaster` still needs a Claude Code session started in the clone. Uninstall removes the clone only when it holds no saved sessions, `.env` files, or other local files.
|
||||
Roast Room uses the `clone` method: install keeps a shallow Git clone of the manifest's GitHub source in `~/.my-ai-configuration/<folder>` and update fast-forwards it unless tracked files changed locally. Both clients share the clone. The personal launcher skill `shared/skills/extensions/roast-room` makes `/roast-room` (Claude Code) and `$roast-room` (Codex) work from any folder; `disable-model-invocation: true` and Codex's `agents/openai.yaml` (`allow_implicit_invocation: false`) keep it manual-only. It starts the live room (`node app/server.mjs`, port 4730) when it is not running and writes sessions into the clone, where the room reads them. Outside the clone, seats run through the upstream fallback (a general subagent given the seat's agent file) because the `council-*` agents are registered only in a Claude Code session started there. As a personal skill it also shadows the clone's own `roast-room` skill, so the board never starts on its own. `/newroaster` still needs a Claude Code session started in the clone. Uninstall removes the clone only when it holds no saved sessions, `.env` files, or other local files.
|
||||
|
||||
Caveman is a Claude plugin and a Codex skill payload (`skills/caveman` from the same repository); a registered Codex `SessionStart` hook prints it so caveman style is always on in Codex too. A `-` in the `codex_method` column marks a Claude-only extension, which the Codex selector omits and which install and update remove from Codex when this setup installed it there; no current entry uses it. Humanizer and Impeccable are downloaded to Codex as skill payloads from the GitHub sources in the manifest, without running upstream installers. Both appear in the extension selector for Codex. Apple Design has no plugin marketplace, so a `-` in `claude_plugin` together with `codex_method` `skill` installs the same payload for Claude into `~/.claude/skills/apple-design`. Each update downloads the latest upstream commit and records its revision. For Codex, a skill payload's `agents/*.toml` files are also written to `~/.codex/agents/`, where Codex loads custom agents, so Impeccable's finish, motion, asset, documenter, and edit-applier agents are registered as on Claude; they are tracked by hash and removed with the skill. Impeccable's design-detector hooks run in every project for both clients: Claude through the plugin's own hooks, Codex through the registered `Invoke-ImpeccableHook`/`invoke-impeccable-hook.sh` wrapper (see `shared/hooks/README.md`). No per-project `impeccable hooks on` is needed; `impeccable hooks off` still disables a project. Ownership is recorded in `~/.my-ai-configuration/extensions.json`. Skill files are tracked by hash; modified or foreign files are retained with a warning. Existing installations from before ownership tracking are not automatically adopted.
|
||||
|
||||
|
||||
@@ -88,6 +88,7 @@ On Windows, an unavailable profile-folder lookup falls back to PowerShell's home
|
||||
| `tests/test-install-selections.ps1`, `tests/test-install-selections.sh` | Validate dry-run shell and client selections. |
|
||||
| `tests/test-command-summaries.ps1`, `tests/test-command-summaries.sh` | Validate doctor, install, and update summary output. |
|
||||
| `tests/test-telemetry.py` | Validate telemetry output. |
|
||||
| `tests/test-uninstall.py` | Validate in both shells that uninstall strips only setup-owned hooks and entries from `settings.json` and `config.toml`, keeps the saved selection while another client remains installed, and that Bash and PowerShell merges write identical files; update rejects an invalid Claude concurrency value. |
|
||||
| `tests/test-personal-instructions.py` | Validate startup instruction pointers and preservation of personal instruction files. |
|
||||
| `tests/test-user-customizations.py` | Validate user instruction overlays and credential helpers. |
|
||||
|
||||
|
||||
+2
-2
@@ -19,7 +19,7 @@ The shared `plugin-workflow` skill coordinates automatic plugin use: Superpowers
|
||||
|
||||
Each skill defines a focused workflow with the investigation, decision points, and output expected for that task. Each skill also has an `evals/evals.json` with test prompts and checkable assertions derived from its instructions, including negative and near-miss cases; some assertions about tool use or skill loading can only be graded from a session transcript. Keep guidance specific to the skill; shared repository constraints belong in the rules.
|
||||
|
||||
The single catalog in `shared/skills/` includes development skills and focused skills for writing, image assets, content and site structure, positioning, psychology, and conversion. The image skill has a short core and five focused references loaded only when relevant: optimization, OG metadata, marketing workflows, design tools, and common mistakes. AI-generation guides, model comparisons, prompting recipes, and fixed social-platform size catalogs are omitted. Builds include every retained skill for both clients. Updating a managed installation backs up and removes unchanged setup-owned skills deleted from the catalog; local changes are backed up and retained.
|
||||
The single catalog in `shared/skills/` holds development skills, the `media` skill, the `plugin-workflow` and `ui-workflow` coordinators, and the Roast Room launcher. The `media` skill has a short core and seven focused references loaded only when relevant: image optimization, OG and social-preview images, video, audio, marketing workflows, design tools, and common mistakes. Builds include every retained skill for both clients. Updating a managed installation backs up and removes unchanged setup-owned skills deleted from the catalog; local changes are backed up and retained.
|
||||
|
||||
Claude discovers only `skills/<name>/SKILL.md`, so its generated package flattens the categorized catalog to one directory per skill name, together with the skill's `references/`; the build fails on duplicate names or a `name` that differs from its directory. Claude's package additionally has a `rules-*` skill for each focused rule file or directory in
|
||||
`shared/rules/`. The rule-to-skill loading conditions live in `shared/global-instructions.md`, so full rule text loads
|
||||
@@ -27,7 +27,7 @@ only when Claude invokes a matching skill instead of sitting permanently in cont
|
||||
files directly. Both clients embed the general rules in their global instructions.
|
||||
Language, framework, library, and security rules use directory indexes plus focused topic files. Their generated Claude skills expose each focused rule separately; the index skills also include the references for contextual lookup. See [Configuration](configuration.md).
|
||||
|
||||
Every search or lookup must use `research` and the applicable specialist, including direct reads, exact matches, familiar areas, and follow-up queries during implementation or verification. Loaded instructions can be reused; their checks apply to each search. Semantic retrieval runs first for unknown repository identifiers; known identifiers still use direct reads or `rg` within the research workflow. Disabling QMD does not disable the research requirement. These are agent instructions, not a runtime tool interceptor.
|
||||
Open searches (unknown locations or identifiers, behavior questions, discovery) must use `research` and the applicable specialist, including familiar areas and follow-up queries during implementation or verification. Direct reads of known paths and exact matches of known identifiers need no skill load. Loaded instructions can be reused; their checks apply to each search. Semantic retrieval runs first for unknown repository identifiers; known identifiers still use direct reads or `rg` within the research workflow. Disabling QMD does not disable the research requirement. These are agent instructions, not a runtime tool interceptor.
|
||||
|
||||
Context7 phase checkpoints are defined once in `research/technical-research/SKILL.md`. Focused planning, SQL and test-writing, and verification skills call them explicitly, as do the architect, implementer, and verifier roles. The global rule applies the same checkpoints inside Superpowers and other plugin workflows without modifying upstream plugin caches or duplicating general workflow skills. Planning verifies external assumptions before accepting a design; implementation checks them against actual versions before coding; verification requires both applicable source evidence and proportionate execution results. Evidence travels in the existing plan or handoff and is reused across phases when the behavior, version, and environment match. Queries contain only public, sanitized concepts, use bounded timeouts and refinement, and report source fallback or unresolved gaps explicitly. This enforces an instruction contract; it does not guarantee model compliance or add network calls to builds and tests.
|
||||
|
||||
|
||||
Reference in new issue
Block a user