Commit Graph
46 Commits
Author SHA1 Message Date
Julian LechnerandClaude Opus 5.5 63a36d90e0 fix(hooks): close command-safety bypasses and credential helper output loss
The command-safety hook only checked the first word of each segment, so
destructive commands inside if/for/while blocks, subshells, braces,
PowerShell script blocks, or behind wrapper options (xargs -0, sudo -E,
timeout 30) ran unchecked. A comment with an apostrophe, an escaped quote,
or a line continuation also hid the following command. Skip shell
keywords, split on braces, drop comments, honor backslash escapes, join
continued lines, and check every suffix after a wrapper. CLI mode also
strips the byte order mark that Windows PowerShell 5.1 adds to piped
stdin, which let every command pass there.

with-credential.ps1 returned the child's exit code from a function, so
the child's stdout was captured and the exit code became 0. Run the child
as a statement and exit with its code. add-credentials now refreshes the
installed helper on every run so fixes reach existing machines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 08:00:18 +01:00
Julian LechnerandClaude Opus 5.5 b8b4438275 fix(install): handle 8.3 source paths, bound plugin delegation, check skill contracts
Sync-ManagedDestination and Copy-Directory cut relative paths by the
length of $Source. With an 8.3 short path such as JULIAN~1, Get-ChildItem
returned long paths, so files landed under a truncated directory name.
Both now expand $Source with Get-Item first.

PowerShell tests now pass -ExecutionPolicy Bypass, tolerate non-UTF-8
console output, and give the Git Bash quick update 300 seconds.

The orchestration rule now covers plugin workflows. A plugin default
alone never authorizes subagents, per-task reviews stay proportional,
parallel writers get disjoint files, and plugin agents keep to their
specialty inside the shared handoff format.

doctor warns when an installed Impeccable or Apple Design skill no
longer names the commands and sections plugin-workflow relies on.
Prompt budget baselines are refreshed to the current values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 09:31:00 +01:00
Julian LechnerandClaude Opus 5.5 eb7cecaaa2 feat(research): merge repository research and tune QMD search coverage
Research skills:
- Merge repository-research into research as a Repository section, so an
  open repository search loads one skill fewer; move its evals and update
  every reference.
- Tune semantic-search for QMD: one question per search, known domain
  terms in the query, --top-k 10 for survey questions, a small-repository
  exception, and a Coverage section stating what the index skips.

QMD search:
- Widen the index file mask to web templates and styles, .NET and WPF
  markup and project files, JVM build files, and more script modules, and
  reapply it to existing repository collections.
- Add qmd-search.mjs --get to read qmd:// hits from other collections.
- List the exact search command in the Claude sandbox excludedCommands,
  because the macOS/Linux sandbox blocks the localhost daemon and the
  index under the home directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 10:15:44 +01:00
Julian LechnerandClaude Opus 5.5 82d9992b3a fix(qmd): restart daemon on update, check version, add doctor checks
- Stop the running QMD daemon before install and update replace the
  runtime scripts, so the next search loads the new code and models and
  Windows no longer keeps old model files locked.
- Read the installed @tobilu/qmd version: reinstall a setup-owned package
  at the tested version, and warn about a foreign one of another version.
- Add QMD checks to doctor (PowerShell and Bash) through `qmd.py doctor`:
  runtime script digests, package version, model files, and daemon health.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:58:48 +01:00
Julian LechnerandClaude Opus 5.5 3fcd7bcbfd fix(build): skip Codex schema check for Claude-only installs
Install and update always build every client package, so a Claude-only
run warned that the Codex CLI was missing even though no Codex package is
installed. Add -SkipCodexSchema / --skip-codex-schema to the builds and
pass it from install and update when only Claude is selected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:37:14 +01:00
Julian LechnerandClaude Opus 5.5 6fad45105f fix(qmd): run global npm CLIs without relying on PATH
CI / CI configuration security checks (push) Successful in 2s
CI / Capabilities and shell quality (push) Successful in 12s
CI / Python tests and compilation (push) Successful in 25s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 15s
CI / PowerShell tests on Ubuntu (push) Successful in 1m5s
CI / Installed client configuration smoke tests (push) Successful in 40s
CI / Bash integration and installation guards (push) Successful in 1m10s
npm's global bin directory is often missing from PATH on Windows, so the
installer failed at `qmd pull` right after installing the package. Run the
QMD CLI through node from `npm root --global`, as the QMD scripts already
do, and look up other globally installed CLIs such as mcporter in
`npm prefix --global` when they are not on PATH. Doctor now warns when
npm's global bin directory is missing from PATH, since agents call
mcporter directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 11:24:10 +01:00
Julian LechnerandClaude Opus 5.5 79694fbaa2 fix(config): resolve Python reliably, add command-safety hook, harden CI
- Resolve Python 3.11+ through shared Resolve-Python.ps1/resolve-python.sh,
  which probe python, python3 and py -3 and skip the Windows Store alias.
  Build and capability checks fail early with an actionable message; doctor
  reports missing Python and the skipped hooks.
- Fix check-capabilities.sh comparing only the major version.
- Register Validate-CommandSafety as a PreToolUse hook for Claude and Codex;
  shared logic in command-safety.py catches rm -rf variants, git reset --hard,
  git clean -f, Remove-Item -Recurse, del/rd /s /q and nested shells.
- Replace duplicated placeholder chains in both builds with
  adapters/placeholders.tsv.
- Restore shell parity: add test-capabilities.sh, rename credentials.ps1 to
  with-credential.ps1 and qmd-warm.sh to start-qmd-warm.sh.
- CI: build once and pass generated/ as an artifact, lint Python with ruff
  and JavaScript modules with node --check, require SHA pins for all actions.
- Add evals for all own skills and update documentation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 09:34:54 +01:00
fraujulian e19aa2e27c Updates
CI / PowerShell tests on Ubuntu (push) Failing after 3s
CI / CI configuration security checks (push) Successful in 2s
CI / Capabilities and shell quality (push) Successful in 12s
CI / Python tests and compilation (push) Successful in 22s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 11s
CI / Installed client configuration smoke tests (push) Successful in 59s
CI / Bash integration and installation guards (push) Successful in 1m31s
2026-11-05 08:31:07 +01:00
Julian lechner 5e80d30936 fix(config): harden doctor checks and enable Codex full access
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 18s
CI / Python tests and compilation (push) Successful in 25s
CI / QMD unit tests (push) Successful in 11s
CI / Build and inspect generated packages (push) Successful in 17s
CI / PowerShell tests on Ubuntu (push) Successful in 1m11s
CI / Installed client configuration smoke tests (push) Successful in 1m10s
CI / Bash integration and installation guards (push) Failing after 1m13s
2026-10-08 15:58:47 +02:00
Julian lechner b1170604eb fix(instructions): refresh startup rule when custom instructions change 2026-10-08 15:16:19 +02:00
Julian lechnerandClaude Opus 5.5 505e6ae084 feat(install): ask for QMD local search models and run the QMD installer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:10:19 +02:00
Julian lechnerandClaude Opus 5.5 f3c88a089e feat(qmd): warm the index and daemon from a SessionStart hook
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 11:37:47 +02:00
Julian lechnerandClaude Opus 5.5 9fc6dc8038 fix(claude): deny destructive commands in both shell tools
Claude offers Bash and PowerShell tools on Windows, but each package denied
git reset --hard, git clean, and recursive deletes only for its own shell. A
live test ran git reset --hard through Bash under the PowerShell package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 13:59:10 +02:00
Julian lechnerandClaude Opus 5.5 cceb9e4839 fix(build): build privately and swap generated/ after validation
Build into a per-run sibling directory and replace generated/ only after
validation, with a lock around the swap, so a failed or parallel build never
leaves generated/ partial.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 13:59:10 +02:00
Julian lechnerandClaude Opus 5.5 587c27c1cd feat(install): install semantic-search only with retrieval
Skip the semantic-search skill while semantic retrieval is disabled and remove
a setup-owned copy when it is turned off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 13:27:55 +02:00
Julian lechnerandClaude Opus 5.5 89bee27dd2 feat(benchmarks): add setup versus baseline A/B runner
Run tasks with and without the installed setup and compare pass rate, rework,
duration, tokens, cost, tool calls, and workflow checks; exclude runs that end
with a client or API error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 12:45:41 +02:00
Julian lechnerandClaude Opus 5.5 b8fd66ce3b feat(benchmarks): report context the clients actually load
Read Claude /context, /skill-doctor, and its init event, and Codex debug
prompt-input, to list categories, active plugins, and installed skills that
are missing or listed without description context.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 12:45:39 +02:00
Julian lechnerandClaude Opus 5.5 3203e4ed67 fix(build): generate flat Claude skill directories
Claude discovers only skills/<name>/SKILL.md, so 84 nested skills, including
all rule skills, were invisible. Flatten the categorized catalog for Claude,
keep references, and fail the build on duplicate names or a name that differs
from its directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 11:02:07 +02:00
Julian lechnerandClaude Opus 5.5 3067d82e1a feat(claude): allow Context7 domain in enabled sandbox
Where the Claude sandbox is enabled, permit network access to
mcp.context7.com only, and validate that exact shape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 10:22:42 +02:00
Julian lechnerandClaude Opus 5.5 d5c29cb1b6 feat(claude): allow Context7 calls through MCPorter
Add a shell-specific permission for `mcporter call context7.*` so Claude can
query Context7 through MCPorter without a permission prompt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 10:22:35 +02:00
Julian lechner 831d55b264 fix(doctor): expose skill scan errors 2026-09-30 17:10:30 +02:00
Julian lechner 05663197f7 feat(customizations): add removal commands 2026-09-30 17:08:59 +02:00
Julian lechner da11841565 fix(doctor): detect underscored placeholders 2026-09-30 09:23:39 +02:00
Julian lechner 060d3724d6 fix(claude): apply shell rules and platform sandbox 2026-09-30 09:23:39 +02:00
Julian lechner 36f58626d8 Normalize doctor.ps1 line endings
CI / Capabilities and shell quality (push) Successful in 12s
CI / Python tests and compilation (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 42s
CI / CI configuration security checks (push) Successful in 4s
CI / Build and inspect generated packages (push) Successful in 10s
CI / Qwen retrieval integration (push) Successful in 14m24s
CI / Bash integration and installation guards (push) Successful in 45s
CI / Installed client configuration smoke tests (push) Successful in 13s
2026-09-28 09:23:55 +02:00
fraujulian 8fc141860f feat(prompt-budget): track context KPIs 2026-09-25 19:11:21 +02:00
fraujulian 0d771c7ee3 chore(prompt-budget): separate soft target from hard limit 2026-09-25 17:52:35 +02:00
fraujulian cf8e7cfc1b fix(ci): align summary and Bash validation
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 13s
CI / PowerShell tests on Ubuntu (push) Failing after 15s
CI / CI configuration security checks (push) Successful in 3s
CI / Build and inspect generated packages (push) Successful in 10s
CI / Qwen retrieval integration (push) Successful in 14m24s
CI / Bash integration and installation guards (push) Failing after 34s
CI / Installed client configuration smoke tests (push) Successful in 42s
2026-09-25 07:21:33 +00:00
fraujulian 6a1730c6ec fix(ci): resolve Linux and summary checks
CI / Capabilities and shell quality (push) Successful in 13s
CI / Python tests and compilation (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Failing after 17s
CI / CI configuration security checks (push) Successful in 3s
CI / Build and inspect generated packages (push) Failing after 9s
CI / Bash integration and installation guards (push) Skipped
CI / Installed client configuration smoke tests (push) Skipped
CI / Qwen retrieval integration (push) Successful in 14m48s
2026-09-25 07:10:26 +00:00
fraujulian ee19c64beb feat(install): configure custom status line 2026-09-24 22:58:56 +02:00
fraujulian a7a7c3caba build(rules): generate skills from nested topics 2026-09-24 21:42:49 +02:00
fraujulian aeec4d351c refactor(rules): move loading map to global instructions 2026-09-24 18:48:17 +02:00
Julian lechner 7186bd06ca fix(uninstall): reconcile extension-only installs 2026-09-24 17:08:31 +02:00
Julian lechner 5903e18597 fix(context): include source files in Bash cache key 2026-09-24 17:08:30 +02:00
Julian lechner b268677572 fix(setup): make jq optional 2026-09-24 17:04:19 +02:00
Julian lechner 6290d8e4ab fix(doctor): check Bash Stop hook registration 2026-09-24 17:04:19 +02:00
fraujulian 57870a32f6 fix(build): quote helper extensions
CI / Capabilities and shell quality (push) Successful in 12s
CI / Python tests and compilation (push) Successful in 11s
CI / PowerShell tests on Ubuntu (push) Successful in 28s
CI / CI configuration security checks (push) Successful in 4s
CI / Build and inspect generated packages (push) Successful in 6s
CI / Qwen retrieval integration (push) Successful in 14m14s
CI / Bash integration and installation guards (push) Successful in 15s
CI / Installed client configuration smoke tests (push) Successful in 13s
2026-09-18 17:48:23 +02:00
fraujulian 2aa86ea643 feat(build): render client customizations 2026-09-18 17:25:53 +02:00
fraujulian 9f5059ed07 feat(instructions): add client overlays 2026-09-18 17:25:33 +02:00
fraujulian d808026eec feat(credentials): add scoped credential helpers 2026-09-18 17:25:17 +02:00
Julian lechner 13eefe3309 fix(hooks): ignore optional hook failures
CI / Capabilities and shell quality (push) Successful in 11s
CI / Python tests and compilation (push) Successful in 11s
CI / PowerShell tests on Ubuntu (push) Successful in 27s
CI / CI configuration security checks (push) Successful in 4s
CI / Build and inspect generated packages (push) Successful in 6s
CI / Qwen retrieval integration (push) Successful in 14m17s
CI / Bash integration and installation guards (push) Successful in 16s
CI / Installed client configuration smoke tests (push) Successful in 13s
2026-09-18 16:17:21 +02:00
Julian lechner cacb41fe28 fix(claude): disable unavailable Windows sandbox 2026-09-18 16:10:17 +02:00
fraujulian 9e74b9be4a fix(capabilities): read Python exit code directly 2026-09-18 12:22:51 +02:00
fraujulian 72338270d0 fix(capabilities): fall back to python3 2026-09-18 11:59:04 +02:00
fraujulian 25a9579eee fix(build): locate session check 2026-09-18 11:59:04 +02:00
fraujulian 11c2b6dfcb refactor(scripts): organize script entry points 2026-09-18 11:35:38 +02:00