corrections
CI / CI configuration security checks (push) Successful in 6s
CI / Python tests and compilation (push) Failing after 12s
CI / QMD unit tests (push) Skipped
CI / Capabilities and shell quality (push) Successful in 1m50s
CI / Build and inspect generated packages (push) Skipped
CI / Bash integration and installation guards (push) Skipped
CI / Installed client configuration smoke tests (push) Skipped
CI / PowerShell tests on Ubuntu (push) Failing after 7m24s

This commit is contained in:
Julian Lechner committed 2026-11-19 10:30:43 +01:00
1 parent b35e2254b3
commit c3e22eb902
39 files changed
+246 -151

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ Use only the roles that are likely to improve the outcome. Choose `researcher`,
## Research tools
Claude's [capability manifest](../adapters/claude/capabilities.tsv) gives `architect` and `researcher` file inspection, web research, and the package's shell tool (`PowerShell` or `Bash`). Shell access supports mandatory semantic search and Context7 research through MCPorter. Their role instructions scope shell use to inspection and research; this is an instruction-level boundary, not a read-only shell sandbox.
Claude's [capability manifest](../adapters/claude/capabilities.tsv) gives `architect` and `researcher` file inspection, web research, and the package's shell tool (`PowerShell` or `Bash`). Every role also gets the `Skill` tool, so it can load `technical-research`, `semantic-search`, and the `rules-*` skills its instructions require. The manifest's optional `skills` column lists skills Claude preloads into the agent at startup: `rules-orchestration` for every role, plus `research` for `researcher` and `review-pull-request` for `reviewer`. The build fails if a preloaded skill is missing from the package. Subagents skip `plugin-workflow`; the parent passes the constraints that apply. Shell access supports mandatory semantic search and Context7 research through MCPorter. Their role instructions scope shell use to inspection and research; this is an instruction-level boundary, not a read-only shell sandbox.
The `reviewer` may inspect Git diffs and run required research commands through its shell tool. Tests, builds, and behavior reproduction belong to the `verifier` or parent. Missing execution evidence remains an explicit review gap. Codex receives the same role instructions; the Claude tool manifest is client-specific.
+1 -1
View File
@@ -89,7 +89,7 @@ They stop a running QMD daemon first, so the next search uses the new scripts an
the setup installed is reinstalled at the tested version; a foreign installation of another version is kept
and reported. `doctor` checks the runtime scripts, the QMD version, the model files, and the daemon.
Repository indexes skip git-ignored files, npm and pnpm lockfiles, and minified `*.min.js` bundles.
They cover source, web templates and styles, .NET and WPF markup and project files, and JVM build files; the
They cover source, web templates and styles, .NET and WPF markup and project files; the
file mask lives in `MASK` in `shared/qmd/qmd-lib.mjs` and is reapplied to existing repository collections.
Where the Claude sandbox is enabled (macOS, Linux, WSL2), the exact search command is listed in
`sandbox.excludedCommands`, because the sandbox blocks the localhost daemon and the index under the home directory.
+1 -1
View File
@@ -7,7 +7,7 @@ The adapters register these events:
| Client | Event | Action |
| --- | --- | --- |
| Codex and Claude | `PreToolUse` | Block clearly destructive shell commands (`Validate-CommandSafety`/`validate-command-safety.sh`); Claude matches the `Bash` and `PowerShell` tools, Codex matches `Bash` and on Windows checks both dialects (`-Shell unknown`), because Codex reports PowerShell script text as `Bash`. |
| Codex and Claude | `PreToolUse` | Remind the agent to run `semantic-search` before the first open search and again after every 10 open searches without it (`Show-SearchReminder`/`show-search-reminder.sh`); a no-op unless QMD's `qmd-search.mjs` is installed. Claude matches `Grep`, `Glob`, `Bash`, and `PowerShell`; Codex matches `Bash`. |
| Codex and Claude | `PreToolUse` | Remind the agent to run `semantic-search` before the first open search and again after every 10 open searches without it; a no-op unless QMD's `qmd-search.mjs` is installed. Shell commands are checked inside the command-safety hook process, so each shell call starts one hook process. Claude adds a separate hook for `Grep` and `Glob` (`Show-SearchReminder`/`show-search-reminder.sh`). |
| Codex and Claude | `Stop` | Run the finish notification (`flashbang`). |
| Codex and Claude | `Stop` | Push back once on an unbacked completion claim (`Check-CompletionEvidence`/`check-completion-evidence.sh`). |
| Codex and Claude | `UserPromptSubmit` | Ask the agent to propose a durable rule when a prompt looks like a correction (`Show-CorrectionPrompt`/`show-correction-prompt.sh`). |
+2 -2
View File
@@ -6,9 +6,9 @@ The current baseline includes Ponytail, i-have-adhd, Superpowers, Context7, Cave
### Automatic workflow integration
The always-loaded general rules require both clients to load the shared `plugin-workflow` skill at the start of every session and task, including questions and prose-only work, and again after resume, compaction, and phase changes. Each plugin layer inside it applies only at its own triggers, so development-only layers stay idle for questions and prose. The policy requires Superpowers at development phase boundaries, Ponytail for implementation and review, Impeccable for UI planning through verification, Modern Web Guidance before HTML, CSS, client-side script, or browser-extension changes, and i-have-adhd response structure with Caveman's concise style when available. Superpowers owns process; Ponytail constrains implementation to the smallest complete, verified change; Impeccable owns UI decisions; Modern Web Guidance picks web platform APIs and patterns. Modern Web Guidance fetches its guides through `npx`, so it needs npm registry access. The general rules themselves also require Humanizer when writing or substantially rewriting prose read outside the chat (documentation, comments, commit or PR bodies, UI copy, messages). Chat replies and small fixes such as typos skip it. User authorization, research gates, and proportionate checks retain precedence.
The always-loaded general rules require both clients to load the shared `plugin-workflow` skill at the start of every session, including questions and prose-only work, and again after resume and compaction. UI work additionally loads the shared `ui-workflow` skill, which runs Impeccable and Apple Design as one design loop. Each plugin layer inside it applies only at its own triggers, so development-only layers stay idle for questions and prose. The policy requires Superpowers at development phase boundaries, Ponytail for implementation and review, Impeccable for UI planning through verification, Modern Web Guidance before HTML, CSS, client-side script, or browser-extension changes, and i-have-adhd response structure with Caveman's concise style when available. Superpowers owns process; Ponytail constrains implementation to the smallest complete, verified change; Impeccable owns UI decisions; Modern Web Guidance picks web platform APIs and patterns. Modern Web Guidance fetches its guides through `npx`, so it needs npm registry access. The general rules themselves also require Humanizer when writing or substantially rewriting prose read outside the chat (documentation, comments, commit or PR bodies, UI copy, messages). Chat replies and small fixes such as typos skip it. User authorization, research gates, and proportionate checks retain precedence.
The installed i-have-adhd 0.4.1 skill declares `disable-model-invocation: true`. The shared policy therefore supplies automatic response guidance without forcing a manual-only skill invocation. In addition, when i-have-adhd is selected, install and update create its opt-in flag `.i-have-adhd-always` in the Claude configuration directory (`CLAUDE_CONFIG_DIR`, default `~/.claude`), so the plugin's SessionStart hook injects the full ruleset into every session. Deselecting the plugin leaves the flag in place; it has no effect without the plugin, and deleting it turns always-on off. It does not diagnose the user. Style stop commands persist through task changes and resume; `normal mode` disables i-have-adhd, Caveman, and Ponytail for the session. Ponytail runs at `ultra` by default: when Ponytail is selected, install and update set `defaultMode` to `ultra` in Ponytail's config file (`%APPDATA%\ponytail\config.json` on Windows, `~/.config/ponytail/config.json` elsewhere, or under `$XDG_CONFIG_HOME`) and keep its other keys. `PONYTAIL_DEFAULT_MODE` still takes precedence. Besides `ponytail-review`, the workflow routes whole-repository quality audits to `ponytail-audit` and questions about deferred `shortcut:` comments to `ponytail-debt`; both also run on demand as `/ponytail-audit` and `/ponytail-debt` and change nothing. Caveman contributes only its response style: its process skills (such as `surgical-patch`, `safe-refactor`, `verify-and-stop`, and `caveman-explore`) overlap Superpowers, Ponytail, and the research skills, so the workflow does not route to them. Impeccable starts its own review and documentation agents. Explicit mode levels override defaults. Missing plugins are reported once and do not trigger installation. These are instruction-level requirements, not runtime interception or a guarantee of model compliance. Existing installations receive them through the normal configuration update; builds do not modify local plugin caches or hook trust.
The installed i-have-adhd 0.4.1 skill declares `disable-model-invocation: true`. The shared policy therefore supplies automatic response guidance without forcing a manual-only skill invocation. Install and update do not create the plugin's opt-in flag `.i-have-adhd-always` in the Claude configuration directory (`CLAUDE_CONFIG_DIR`, default `~/.claude`): its SessionStart hook would inject the full ruleset into every session and duplicate the shared guidance. A flag left by an older setup stays in place; delete it to turn always-on off. It does not diagnose the user. Style stop commands persist through task changes and resume; `normal mode` disables i-have-adhd, Caveman, and Ponytail for the session. Ponytail runs at `ultra` by default: when Ponytail is selected, install and update set `defaultMode` to `ultra` in Ponytail's config file (`%APPDATA%\ponytail\config.json` on Windows, `~/.config/ponytail/config.json` elsewhere, or under `$XDG_CONFIG_HOME`) and keep its other keys. `PONYTAIL_DEFAULT_MODE` still takes precedence. Besides `ponytail-review`, the workflow routes whole-repository quality audits to `ponytail-audit` and questions about deferred `shortcut:` comments to `ponytail-debt`; both also run on demand as `/ponytail-audit` and `/ponytail-debt` and change nothing. Caveman contributes only its response style: its process skills (such as `surgical-patch`, `safe-refactor`, `verify-and-stop`, and `caveman-explore`) overlap Superpowers, Ponytail, and the research skills, so the workflow does not route to them. Impeccable starts its own review and documentation agents. Explicit mode levels override defaults. Missing plugins are reported once and do not trigger installation. These are instruction-level requirements, not runtime interception or a guarantee of model compliance. Existing installations receive them through the normal configuration update; builds do not modify local plugin caches or hook trust.
### REA (Reverse Engineer Anything)
+1 -1
View File
@@ -15,7 +15,7 @@ The current structure is organized by purpose:
General planning, debugging, code review, and completion verification workflows come from Superpowers, so the catalog does not duplicate their triggers. The remaining skills cover focused domains Superpowers does not.
The shared `plugin-workflow` skill coordinates automatic plugin use: Superpowers for process, Ponytail for implementation and review, Impeccable and Apple Design together for UI (Impeccable leads direction and edits, Apple Design supplies cited platform and accessibility constraints and a merged review), REA for reverse engineering, and i-have-adhd with Caveman for responses. Global instructions require loading it for every session and task, including questions and prose, and again after resume, compaction, and phase changes; each plugin layer inside it applies only at its own triggers. It routes to installed skills, preserves explicit opt-outs, and handles missing or manual-only plugins without replacing upstream workflows.
The shared `plugin-workflow` skill coordinates automatic plugin use: Superpowers for process, Ponytail for implementation and review, the shared `ui-workflow` skill for UI (Impeccable leads direction and edits, Apple Design supplies cited platform and accessibility constraints and a merged review), REA for reverse engineering, and i-have-adhd with Caveman for responses. Global instructions require loading it at the start of every session, including questions and prose, and again after resume and compaction; each plugin layer inside it applies only at its own triggers. It routes to installed skills, preserves explicit opt-outs, and handles missing or manual-only plugins without replacing upstream workflows.
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.