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>
This commit is contained in:
Julian LechnerandClaude Opus 5.5 committed 2026-11-16 10:15:44 +01:00
1 parent 82d9992b3a
commit eb7cecaaa2
18 files changed
+142 -95

No files matched your search

@@ -25,7 +25,7 @@ Carry concise evidence in the existing plan, task notes, or handoff: behavior cl
## Workflow
1. Identify the behavior to verify. For repository work, inspect manifests, lockfiles, imports, and configuration through `repository-research` to establish the technology and actual version first. Distinguish installed and proposed target versions. If unknown, state that gap; do not assume latest.
1. Identify the behavior to verify. For repository work, inspect manifests, lockfiles, imports, and configuration through the repository route of `research` to establish the technology and actual version first. Distinguish installed and proposed target versions. If unknown, state that gap; do not assume latest.
2. Select the configured route under the global tool instructions: MCPorter for a server registered there, or the selected native plugin's tools. Discover the tool schema once per route in the task; rediscover only if the route or schema changes or a schema error occurs. If that route is unavailable, report it and use the documented source fallback below; do not silently switch transports or install anything.
3. Call `resolve-library-id` with the official technology name and a focused question. Select by identity, authoritative source, relevant coverage, and available version, not ranking alone. Skip resolution only when the user supplies the exact Context7 library ID or a verified matching ID is already available in this task. Use a returned version-specific ID when it matches the required version; never invent IDs or versions.
4. Call `query-docs` with that ID and one concrete behavior question. Check whether the returned content actually supports the intended answer or implementation for the required version. A successful call, benchmark score, or plausible snippet alone is insufficient.