Commit Graph
559 Commits
Author SHA1 Message Date
Julian LechnerandClaude Opus 5.5 a89be2604b fix(qmd): treat a missing global npm prefix as not installed
On a machine where no global npm package was ever installed, the global
prefix directory does not exist and `npm list --global --json` reports
ENOENT without a dependency list. QMD setup treated that as an unreliable
listing and failed the install/update. It now means the package is not
installed; other unreliable listings still fail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 11:08:51 +01:00
fraujulian b6fd4dde7d Merge pull request 'Improve/python preflight safety hook ci' (#1) from improve/python-preflight-safety-hook-ci into main
CI / CI configuration security checks (push) Successful in 4s
CI / Capabilities and shell quality (push) Successful in 28s
CI / Python tests and compilation (push) Successful in 41s
CI / QMD unit tests (push) Successful in 7s
CI / Build and inspect generated packages (push) Successful in 30s
CI / PowerShell tests on Ubuntu (push) Successful in 1m36s
CI / Installed client configuration smoke tests (push) Successful in 1m10s
CI / Bash integration and installation guards (push) Successful in 1m45s
Reviewed-on: #1
2026-11-05 09:57:15 +00:00
Julian LechnerandClaude Opus 5.5 6159c6373c docs(rules): fix contradictions, update technical rules, enforce rule structure
CI / CI configuration security checks (pull_request) Successful in 2s
CI / Capabilities and shell quality (pull_request) Successful in 15s
CI / Python tests and compilation (pull_request) Successful in 36s
CI / QMD unit tests (pull_request) Successful in 7s
CI / Build and inspect generated packages (pull_request) Successful in 16s
CI / Bash integration and installation guards (pull_request) Failing after 51s
CI / PowerShell tests on Ubuntu (pull_request) Failing after 1m45s
CI / Installed client configuration smoke tests (pull_request) Canceled after 1m24s
- Resolve contradictions: authorization is never a skipped "boundary check";
  one browser token policy (BFF/HttpOnly cookies first, RFC 10017); one
  sanitizer-bypass rule; Angular responses are unknown until validated.
- Add security rules for AI/LLM integration and Java XXE, concrete crypto
  and password-hashing parameters, and RFC 8725 JWT validation.
- Update version-dependent guidance after checking official sources:
  Angular 22, TypeScript 6/7, Node 24+, .NET 10/C# 14, JDK 21-25, Spring
  Boot 4; add a Spring Boot and Spring Security topic.
- Give every rule a unique level-1 title and scope line, keep language
  security files to language specifics, and fix routing for inbound vs
  outbound HTTP, XML parsing, and WPF/Angular parent rules.
- Validate rule structure and routing in validate-config.py, with tests.
- Fix CI issues found by a local run: shellcheck directive order, pinned
  ruff rule set, Invoke-Python test mock, CRLF-tolerant package checks,
  Windows-only credential test, and refreshed prompt-budget baselines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 10:51:08 +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 2192b4613d fix(ci): refresh agent metadata budget baselines
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 16s
CI / Python tests and compilation (push) Successful in 23s
CI / QMD unit tests (push) Successful in 12s
CI / Build and inspect generated packages (push) Successful in 17s
CI / PowerShell tests on Ubuntu (push) Successful in 1m6s
CI / Installed client configuration smoke tests (push) Successful in 1m20s
CI / Bash integration and installation guards (push) Successful in 1m21s
2026-10-08 16:09:11 +02: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 8aae370bdb fix(agents): align research tools and clarify role boundaries 2026-10-08 15:43:30 +02:00
Julian lechner 8288ea51f0 docs: refresh configuration guides and remove obsolete plans 2026-10-08 15:37:03 +02:00
Julian lechner 17d01d58f5 fix(ci): install YAML dependency for QMD unit tests 2026-10-08 15:30:23 +02:00
Julian lechner 7f441d388d fix(qmd): resolve hoisted dependencies from package context
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 15s
CI / Python tests and compilation (push) Successful in 23s
CI / QMD unit tests (push) Failing after 11s
CI / Build and inspect generated packages (push) Successful in 17s
CI / PowerShell tests on Ubuntu (push) Successful in 1m2s
CI / Installed client configuration smoke tests (push) Successful in 1m7s
CI / Bash integration and installation guards (push) Successful in 1m17s
2026-10-08 15:25:33 +02:00
Julian lechner 88f7c9984b docs(instructions): explain conditional custom instruction loading
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 23s
CI / QMD unit tests (push) Failing after 9s
CI / Build and inspect generated packages (push) Successful in 15s
CI / PowerShell tests on Ubuntu (push) Successful in 1m11s
CI / Installed client configuration smoke tests (push) Successful in 52s
CI / Bash integration and installation guards (push) Successful in 1m14s
2026-10-08 15:16:30 +02:00
Julian lechner b1170604eb fix(instructions): refresh startup rule when custom instructions change 2026-10-08 15:16:19 +02:00
Julian lechner 83091d247a fix(instructions): add startup rule only for existing custom instructions 2026-10-08 15:16:07 +02:00
Julian lechner 6a981bd7f2 fix(instructions): check optional personal file before reading 2026-10-08 15:02:05 +02:00
Julian lechner 73cb30c32b ci(qmd): keep model execution out of ci 2026-10-08 14:59:32 +02:00
Julian lechner 2fe612c8e1 fix(tests): expect codex session start hook in packages 2026-10-08 14:59:19 +02:00
Julian lechner 32283c428a docs(plugins): explain automatic triggers and opt-outs 2026-10-08 14:49:23 +02:00
Julian lechner 99d30163ce feat(skills): enforce automatic plugin workflow routing 2026-10-08 14:49:10 +02:00
Julian lechner 8e9b28ffb0 refactor(rules): shorten mandatory research guidance 2026-10-08 14:48:55 +02:00
Julian lechner 1cdb6b1881 refactor(image): retain focused SEO and performance guidance 2026-10-08 14:38:49 +02:00
Julian lechner 65c99ac76d feat(codex): show remaining usage and fast mode in status bar 2026-10-08 14:38:33 +02:00
Julian lechner 5c66f79a76 fix(hooks): initialize flashbang when its DLL cache is unavailable 2026-10-08 14:38:18 +02:00
Julian lechner 3586245408 feat(workflows): enforce research checkpoints across development phases 2026-10-08 14:38:05 +02:00
Julian lechner fe7a4d7a25 feat(research): require Context7 evidence for external behavior 2026-10-08 14:37:47 +02:00
Julian lechner fa43cb13ac docs(skills): explain mandatory research workflow
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 17s
CI / Python tests and compilation (push) Successful in 24s
CI / Build and inspect generated packages (push) Successful in 42s
CI / Bash integration and installation guards (push) Failing after 20s
CI / PowerShell tests on Ubuntu (push) Failing after 1m27s
CI / Installed client configuration smoke tests (push) Successful in 40s
CI / QMD local search integration (push) Failing after 13m6s
2026-10-08 13:55:28 +02:00
Julian lechner 21e3352456 docs(rules): enforce research gates across workflows 2026-10-08 13:55:27 +02:00
Julian lechner d929c6df26 docs(skills): require primary evidence for every technical lookup 2026-10-08 13:55:27 +02:00
Julian lechner f497a23aaa docs(skills): apply semantic routing before every repository lookup 2026-10-08 13:55:26 +02:00
Julian lechner e12caa0d9f docs(skills): require research checks for every repository lookup 2026-10-08 13:55:26 +02:00
Julian lechner a1427f18a3 feat(skills): add mandatory research gate 2026-10-08 13:55:25 +02:00
Julian lechner 766f08af26 fix(codex): use elevated Windows sandbox 2026-10-08 13:55:24 +02:00
Julian lechnerandClaude Sonnet 5.5 c041521668 feat(codex): enable api_key_model_discovery feature
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 15s
CI / Python tests and compilation (push) Successful in 22s
CI / Build and inspect generated packages (push) Successful in 27s
CI / PowerShell tests on Ubuntu (push) Failing after 1m7s
CI / Bash integration and installation guards (push) Failing after 24s
CI / Installed client configuration smoke tests (push) Successful in 1m9s
CI / QMD local search integration (push) Failing after 12m46s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-08 13:11:58 +02:00
Julian lechnerandClaude Opus 5.5 3f51bc908e docs(skills): make technical research mandatory for unverified external behavior
CI / PowerShell tests on Ubuntu (push) Failing after 3s
CI / CI configuration security checks (push) Successful in 4s
CI / Capabilities and shell quality (push) Successful in 22s
CI / Python tests and compilation (push) Successful in 23s
CI / Build and inspect generated packages (push) Successful in 19s
CI / Bash integration and installation guards (push) Failing after 22s
CI / Installed client configuration smoke tests (push) Successful in 1m16s
CI / QMD local search integration (push) Failing after 12m46s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:56:29 +02:00
Julian lechnerandClaude Opus 5.5 36851c34e2 docs(skills): hand semantic search hits to repository research
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:56:28 +02:00
Julian lechnerandClaude Opus 5.5 ede0c37d24 docs(skills): make repository research mandatory and route unknown identifiers to semantic search
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:56:28 +02:00
Julian lechnerandClaude Opus 5.5 b8ebe452bf chore(gitignore): ignore .NET build output of benchmark fixtures
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:54:08 +02:00
Julian lechnerandClaude Opus 5.5 1e93e1dad4 chore(gitignore): ignore Python bytecode caches
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:54:07 +02:00
Julian lechnerandClaude Opus 5.5 c0fa0961c3 docs(qmd): document the git ignore list in repository collections
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:48:09 +02:00
Julian lechnerandClaude Opus 5.5 06c4848336 fix(qmd): handle a lost daemon start race and stale daemon tokens
startDaemon accepts the daemon of another launch when its own child
exits 0. A 403 from the daemon marks daemon.json as stale: the wrapper
deletes it and starts a new daemon once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:47:41 +02:00
Julian lechnerandClaude Opus 5.5 3012e1666e fix(qmd): let only one concurrent launch start the daemon
An exclusive daemon.lock (stale after 2 minutes) is held from before the
health check until the daemon listens; a launch that loses exits 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:47:03 +02:00
Julian lechnerandClaude Opus 5.5 691ad6a69f fix(qmd): skip git-ignored paths in repository collections
The daemon passes `git ls-files --others --ignored --directory` as
escaped ignore globs to addCollection. QMD's YAML write-through drops
`ignore` and index.yml wins on every re-sync, so the list is also
written into index.yml and re-synced whenever it changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:45:27 +02:00
Julian lechnerandClaude Opus 5.5 abface2293 fix(qmd): write index.yml atomically
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:42:40 +02:00
Julian lechnerandClaude Opus 5.5 ced6d8f119 fix(qmd): keep models loaded until the daemon's own idle exit
QMD 2.8.3 createStore unloads the models after 5 idle minutes, which
made the next search reload them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:42:05 +02:00
Julian lechnerandClaude Opus 5.5 1618cd7cd0 docs(qmd): note the CLI fallback under the Codex sandbox
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:41:49 +02:00
Julian lechnerandClaude Opus 5.5 233152ff54 fix(qmd): honor XDG_CACHE_HOME for the setup-owned model files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:41:42 +02:00
Julian lechnerandClaude Opus 5.5 7ebd61f35b fix(qmd): make removal wait for the daemon and survive partial failures
Removal reads the daemon PID before --stop and waits up to 10 s for it
to exit. A model file that cannot be deleted stays recorded in the state
for a retry instead of aborting removal, and a failing models block
restore only warns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:41:19 +02:00
Julian lechnerandClaude Opus 5.5 0c203a3905 fix(qmd): stop the legacy Python daemon before removing its directory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:40:37 +02:00
Julian lechnerandClaude Opus 5.5 f1d7894ba0 fix(qmd): treat Auto install and GPU probe failures as unsuitable
Auto now rolls back and reports "not suitable" when Node.js is too old,
npm or the model download fails. A failing GPU probe falls back to the
CPU in both Yes and Auto.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:40:12 +02:00
Julian lechnerandClaude Opus 5.5 60f739ceb9 fix(qmd): repair integration test, pull models first, reorder CI steps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:19:18 +02:00