Files
Julian Lechner f5d8f6f11b
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
feat(skills): reworked skills and rules
2026-11-18 14:17:49 +01:00

69 lines
4.1 KiB
JSON

{
"skill_name": "semantic-search",
"evals": [
{
"id": 1,
"prompt": "Somewhere in this repo we throttle outgoing emails so a user doesn't get more than a few notifications per hour. Where is that implemented?",
"expected_output": "Unknown identifier and behavior question, so semantic retrieval comes first. Should run the qmd-search command with a full behavior question (not a keyword list) and --top-k 5. Should open the top hits and verify them against current files before answering. Should continue with the repository route of research from verified hits (callers, tests, conventions).",
"assertions": [
"Runs node \"$HOME/.my-ai-configuration/qmd/qmd-search.mjs\" before any rg keyword search",
"Phrases the --query as a full question about behavior rather than a keyword list",
"Passes --top-k 5",
"Opens the top hits and verifies them against current files",
"Follows up with callers or tests of the verified implementation",
"Cites the verified file path and line"
],
"files": []
},
{
"id": 2,
"prompt": "Find every usage of the exact string `X-Correlation-Id` in the repo.",
"expected_output": "This is a known exact string. Should use rg directly without running semantic retrieval or loading research or semantic-search.",
"assertions": [
"Uses rg or a direct exact-string search for X-Correlation-Id",
"Does not run the qmd-search semantic retrieval command",
"Reports the matching paths"
],
"files": []
},
{
"id": 3,
"prompt": "How does the app decide which tenant database to connect to for a request? (Note: when you run the semantic search tool here it exits with code 1: \"daemon not running\".)",
"expected_output": "Should attempt the semantic search first with a full behavior question. On a non-zero exit, should continue with rg and state the limitation in one sentence. Should not stop or silently skip the step. Should verify results against current files and cite evidence.",
"assertions": [
"Attempts the qmd-search command first with a behavior question",
"After the non-zero exit, continues with rg-based searching",
"States the semantic search limitation in a single sentence",
"Does not abandon the investigation because of the tool failure",
"Verifies findings against current files and cites paths"
],
"files": []
},
{
"id": 4,
"prompt": "Where does this script decide the output file name? (Note: the repository has only three files: README.md, convert.py, and config.yml.)",
"expected_output": "No search has run yet. The repository is small and its file listing already shows the candidate files, so semantic search is skipped and convert.py (and config.yml if needed) is read directly. Answers from the verified current file.",
"assertions": [
"Does not run the qmd-search command",
"Reads convert.py directly",
"Checks config.yml if convert.py reads the name from configuration",
"Cites the verified file and line"
],
"files": []
},
{
"id": 5,
"prompt": "Where do we validate uploaded invoice PDFs, and separately, where do we list every place that sends tenant notification emails?",
"expected_output": "These are two unrelated questions, so they run as two separate searches, not one combined query. The upload validation question is targeted and uses --top-k 5; the notification question is a survey question and uses --top-k 10. Known domain terms such as invoice, PDF, tenant, and notification appear in the questions. Hits are verified against current files.",
"assertions": [
"Runs two separate qmd-search commands instead of one combined query",
"Uses --top-k 5 for the upload validation question",
"Uses --top-k 10 for the survey question about notification emails",
"Includes the known domain terms in each question",
"Verifies hits against current files and cites paths"
],
"files": []
}
]
}