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

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:
Julian LechnerandClaude Opus 5.5 committed 2026-11-20 10:02:46 +01:00
1 parent a493658f41
commit 2b2403e1de
8 files changed
+27 -19

No files matched your search

+15 -10
View File
@@ -92,13 +92,18 @@ Install and update also rebuild internally; the explicit build above lets you ch
- A managed-file manifest tracks unchanged and stale files. Replaced files are backed up; locally modified stale - A managed-file manifest tracks unchanged and stale files. Replaced files are backed up; locally modified stale
files are retained with a warning. files are retained with a warning.
- Dry-run support (no destination writes, backups, or plugin changes) and timestamped backup directories. - Dry-run support (no destination writes, backups, or plugin changes) and timestamped backup directories.
- Finish notifications, Claude session-state hooks, optional safety utilities, and compact status displays. - Finish notifications, session-state and compaction hooks, a command-safety hook that blocks clearly destructive
shell commands, and compact status displays for both clients.
- Separate install, update, and uninstall scripts: install refuses to run against an already-installed destination, - Separate install, update, and uninstall scripts: install refuses to run against an already-installed destination,
update refuses to run against one that is not installed yet, and uninstall refuses to run against one that was update refuses to run against one that is not installed yet, and uninstall refuses to run against one that was
never installed. never installed.
- User-level extension installation for Ponytail, i-have-adhd, Superpowers, Context7, Caveman, MCPorter, - User-level extension installation for Ponytail, i-have-adhd, Superpowers, Context7, Caveman, MCPorter,
Humanizer, Impeccable, Apple Design, REA, and Modern Web Guidance, with an interactive extension toggle during both install and update. Only extensions Humanizer, Impeccable, Apple Design, REA, Modern Web Guidance, and Roast Room, with an interactive extension toggle
installed and recorded by this setup can be removed through deselection. during both install and update. Only extensions installed and recorded by this setup can be removed through deselection.
- Roast Room, an advisory board of AI seats that roasts a business decision, with a live room in the browser. The setup
keeps one Git clone in `~/.my-ai-configuration/roast-room` for both clients, and a launcher skill runs it from any
folder (`/roast-room` in Claude Code, `$roast-room` in Codex). It runs only when invoked by name. See
[Plugins](docs/plugins.md) for details.
- Optional local search for both clients through QMD with Qwen3-Embedding-4B, Qwen3-Reranker-4B, and QMD Query Expansion 1.7B (Yes/No/Auto; Auto benchmarks GPU, then CPU). - Optional local search for both clients through QMD with Qwen3-Embedding-4B, Qwen3-Reranker-4B, and QMD Query Expansion 1.7B (Yes/No/Auto; Auto benchmarks GPU, then CPU).
## Requirements ## Requirements
@@ -107,8 +112,9 @@ Install and update also rebuild internally; the explicit build above lets you ch
- Bash 4.3 or newer, with standard utilities such as `awk`, `sed`, and `sha256sum`. - Bash 4.3 or newer, with standard utilities such as `awk`, `sed`, and `sha256sum`.
- Python 3.11 or newer for configuration validation and the Python-based hooks and helpers. Scripts and hooks try `python`, `python3`, and the `py -3` launcher (Bash: `python3` first) and use the first one that actually runs Python 3.11+, so the Windows Store app execution alias is ignored. Without Python, build and capability checks stop with an actionable message, doctor reports a failure, and the registered Python-based hooks are skipped. - Python 3.11 or newer for configuration validation and the Python-based hooks and helpers. Scripts and hooks try `python`, `python3`, and the `py -3` launcher (Bash: `python3` first) and use the first one that actually runs Python 3.11+, so the Windows Store app execution alias is ignored. Without Python, build and capability checks stop with an actionable message, doctor reports a failure, and the registered Python-based hooks are skipped.
- `jq` for Claude's Bash status line; without it, that status line produces no output. - `jq` for Claude's Bash status line; without it, that status line produces no output.
- Node.js 22 or newer and `npm` when local QMD search or MCPorter is selected. npm's global bin directory (`npm prefix --global`; on Windows usually `%APPDATA% - Node.js 22 or newer and `npm` when local QMD search or MCPorter is selected. npm's global bin directory (`npm prefix --global`; on Windows usually `%APPDATA%\npm`) must be on `PATH` so agents can call `mcporter`; `doctor` warns when it is missing.
pm`) must be on `PATH` so agents can call `mcporter`; `doctor` warns when it is missing. - Git and Node.js 20 or newer for Roast Room: Git keeps the clone current, and Node.js serves the live room. Without
Node.js the board still runs, just without the live room.
Core Bash setup scripts do not require PowerShell. The credential commands use Windows Credential Manager and require Core Bash setup scripts do not require PowerShell. The credential commands use Windows Credential Manager and require
PowerShell, including when invoked through their Bash wrappers. The PowerShell scripts remain compatible with PowerShell, including when invoked through their Bash wrappers. The PowerShell scripts remain compatible with
@@ -234,8 +240,7 @@ Dry runs still rebuild `generated/`, but do not modify installation destinations
Selecting Codex also installs shared skills to `.agents/skills`. An interactive extension list includes plugins and Selecting Codex also installs shared skills to `.agents/skills`. An interactive extension list includes plugins and
Codex skills; unchecked extensions are skipped on installation. Normal install and update ask whether to enable Codex skills; unchecked extensions are skipped on installation. Normal install and update ask whether to enable
Flashbang, apply the custom status line, and enable local QMD search. Choices are saved for Quickupdate. Flashbang, apply the custom status line, and enable local QMD search. Choices are saved for Quickupdate.
The shared skill catalog includes development skills and focused writing, image, site structure, psychology, and The shared skill catalog includes development skills, a media skill, and the Roast Room launcher. All retained skills are included in both generated clients; installation includes `semantic-search` only when local QMD search is enabled.
conversion skills. All retained skills are included in both generated clients; installation includes `semantic-search` only when local QMD search is enabled.
The status line defaults to enabled to preserve existing behavior. Disabling it removes the custom client setting and, The status line defaults to enabled to preserve existing behavior. Disabling it removes the custom client setting and,
for Claude, the setup-owned status line script. Disabling local QMD search removes its setup-owned package, models, and repository collections once no client still uses it. See [Local QMD search](docs/configuration.md#local-qmd-search) for storage and removal details. for Claude, the setup-owned status line script. Disabling local QMD search removes its setup-owned package, models, and repository collections once no client still uses it. See [Local QMD search](docs/configuration.md#local-qmd-search) for storage and removal details.
Dry runs preview changes without updating extensions or retrieval. See [Plugins](docs/plugins.md) for client-specific behavior. Dry runs preview changes without updating extensions or retrieval. See [Plugins](docs/plugins.md) for client-specific behavior.
@@ -304,9 +309,9 @@ Codex and Claude Code receive the same shared rules, skills, agents, hooks, and
Codex defaults to full access under the account that launches it, with unrestricted command network access. Codex defaults to full access under the account that launches it, with unrestricted command network access.
Launch Codex as the repository owner; Codex does not switch to that owner automatically. Full access removes Launch Codex as the repository owner; Codex does not switch to that owner automatically. Full access removes
Codex's filesystem sandbox boundaries. Eligible approval requests still use automatic review. Claude uses Codex's filesystem sandbox boundaries. Eligible approval requests still use automatic review, and execpolicy rules
automatic permissions and enables its sandbox where the platform supports it; explicit deny rules still apply where it forbid a few destructive Git and `rm` commands. Claude uses automatic permissions and enables its sandbox where the
does not. Both clients include the same logical agent roles and compact status displays. See platform supports it; explicit deny rules still apply where it does not. Both clients include the same logical agent roles and compact status displays. See
[Configuration](docs/configuration.md) for settings, permissions, and limitations. [Configuration](docs/configuration.md) for settings, permissions, and limitations.
## Support ## Support
+1 -1
View File
@@ -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. 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.
+4 -2
View File
@@ -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`. Installation targets `~/.codex` and `~/.claude`; Codex skills go to `~/.agents/skills`.
Choose the PowerShell or Bash package independently of the client. 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`, It sets full access for commands, automatic approval review, `agents.enabled = true`,
`agents.max_concurrent_threads_per_session = 5`, and `agents.max_depth = 1`. `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; 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, 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 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 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 `CodexSandboxOnline` account, whose identity differs from the repository owner and can trigger Git's ownership
+2 -2
View File
@@ -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 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. `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
View File
@@ -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. 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. 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.
+1
View File
@@ -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-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-command-summaries.ps1`, `tests/test-command-summaries.sh` | Validate doctor, install, and update summary output. |
| `tests/test-telemetry.py` | Validate telemetry 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-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. | | `tests/test-user-customizations.py` | Validate user instruction overlays and credential helpers. |
+2 -2
View File
@@ -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. 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 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 `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. 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). 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. 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.
+1 -1
View File
@@ -4,7 +4,7 @@ This directory contains registered hooks and optional utilities. They do not byp
When Flashbang is enabled, both clients register `Stop` (`flashbang`) for finish notifications. Both clients also register `PreCompact` (`Record-Compact`/`record-compact.sh`) and `SessionStart` (`Show-SessionStatePointer`/`show-session-state-pointer.sh`). Codex additionally registers `SessionStart` (`Show-CavemanMode`/`show-caveman-mode.sh`), which prints the installed Caveman skill so caveman style is always on, as the Claude plugin's own hook does. PreCompact records its timestamp under the installed configuration root. Both session hooks point to an existing workspace `.ai-session/state.json`, using event `cwd` or the process working directory. The main agent owns that state; hooks never write it or print its contents. Missing state is a successful no-op. When Flashbang is enabled, both clients register `Stop` (`flashbang`) for finish notifications. Both clients also register `PreCompact` (`Record-Compact`/`record-compact.sh`) and `SessionStart` (`Show-SessionStatePointer`/`show-session-state-pointer.sh`). Codex additionally registers `SessionStart` (`Show-CavemanMode`/`show-caveman-mode.sh`), which prints the installed Caveman skill so caveman style is always on, as the Claude plugin's own hook does. PreCompact records its timestamp under the installed configuration root. Both session hooks point to an existing workspace `.ai-session/state.json`, using event `cwd` or the process working directory. The main agent owns that state; hooks never write it or print its contents. Missing state is a successful no-op.
Both clients register `PreToolUse` (`Validate-CommandSafety`/`validate-command-safety.sh`), which blocks clearly destructive shell commands by exiting 2; it parses command text, so it is a guard rail rather than a security boundary, and it fails open. Both clients also register `Stop` (`Check-CompletionEvidence`/`check-completion-evidence.sh`) and `UserPromptSubmit` (`Show-CorrectionPrompt`/`show-correction-prompt.sh`). Both call `agent-guards.py`, store nothing, and fail open. The first pushes back once on a completion claim without a named check while non-prose changes exist; the second asks the agent to propose a durable rule after a likely correction. The command-safety hook also runs the search reminder from `agent-guards.py` in the same process for shell commands, and Claude registers a second `PreToolUse` hook (`Show-SearchReminder`/`show-search-reminder.sh`) for `Grep` and `Glob`. The reminder the agent to run `semantic-search` before the first open search and again after every 10 open searches without `qmd-search.mjs`, which also covers context lost to compaction; it never blocks, stays silent while the session keeps using `qmd-search.mjs`, does nothing unless QMD is installed, and keeps only hashed per-session markers under `~/.my-ai-configuration/state/search-reminder/`. Both clients register `PreToolUse` (`Validate-CommandSafety`/`validate-command-safety.sh`), which blocks clearly destructive shell commands by exiting 2; it parses command text, so it is a guard rail rather than a security boundary, and it fails open. Both clients also register `Stop` (`Check-CompletionEvidence`/`check-completion-evidence.sh`) and `UserPromptSubmit` (`Show-CorrectionPrompt`/`show-correction-prompt.sh`). Both call `agent-guards.py`, store nothing, and fail open. The first pushes back once on a completion claim without a named check while non-prose changes exist; the second asks the agent to propose a durable rule after a likely correction. The command-safety hook also runs the search reminder from `agent-guards.py` in the same process for shell commands, and Claude registers a second `PreToolUse` hook (`Show-SearchReminder`/`show-search-reminder.sh`) for `Grep` and `Glob`. The reminder asks the agent to run `semantic-search` before the first open search and again after every 10 open searches without `qmd-search.mjs`, which also covers context lost to compaction; it never blocks, stays silent while the session keeps using `qmd-search.mjs`, does nothing unless QMD is installed, and keeps only hashed per-session markers under `~/.my-ai-configuration/state/search-reminder/`.
`Invoke-PostChangeVerification`/`invoke-post-change-verification.sh` is not registered or invoked automatically; it runs the repository build only when explicitly invoked. Python-based hooks resolve their interpreter through `Resolve-Python.ps1`/`resolve-python.sh` and are silently skipped without Python 3.11+. `Test-SessionConfig`/`test-session-config.sh` checks repository inputs during a build. `Invoke-PostChangeVerification`/`invoke-post-change-verification.sh` is not registered or invoked automatically; it runs the repository build only when explicitly invoked. Python-based hooks resolve their interpreter through `Resolve-Python.ps1`/`resolve-python.sh` and are silently skipped without Python 3.11+. `Test-SessionConfig`/`test-session-config.sh` checks repository inputs during a build.