{ "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: semantic search returned one hit, qmd://notes/naming.md, and the repository has only three files: README.md, convert.py, and config.yml.)", "expected_output": "The repository is small and its file listing already shows the candidate, so convert.py can be read directly. If the qmd:// hit is relevant, it is read with the documented --get command rather than as a local path. Answers from the verified current file.", "assertions": [ "Reads convert.py directly instead of relying on another semantic search", "Does not try to open qmd://notes/naming.md as a local file path", "Uses qmd-search.mjs --get if it reads the qmd:// hit", "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": [] } ] }