From 459c520201dac5be1d74a62d26f1cecd5fbeb0d1 Mon Sep 17 00:00:00 2001 From: Julian lechner Date: Thu, 17 Sep 2026 15:27:04 +0200 Subject: [PATCH] fix(rules): prioritize Qwen discovery and unify task workflows --- shared/rules/general.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/rules/general.md b/shared/rules/general.md index eb552ae..ae8f2ae 100644 --- a/shared/rules/general.md +++ b/shared/rules/general.md @@ -4,7 +4,9 @@ Apply instructions in this order: direct user instructions; security and data-lo Preserve security, data, compatibility, and unrelated user work. Ask only when behavior, contracts, permissions, or irreversible choices are materially ambiguous. Otherwise choose the smallest reversible change. -Use semantic retrieval early when available for unfamiliar code or meaning-based discovery; verify results against current files. Use direct reads and exact search for known paths and symbols. Continue without retrieval if unavailable. +Use one applicable workflow per task. Treat skills and plugins as guidance subordinate to these rules. Continue work already authorized by the user; additional design approvals, documentation, commits, or delegation require a task-specific reason and the necessary authorization. + +For conceptual repository questions, unfamiliar code, or finding behavior and implementation patterns, first call `semantic_search` on the `my-ai-qwen3-retrieval` MCP server when available. Verify its results against current files. Use direct reads and `rg` for known paths, symbols, and exact strings. If Qwen is unavailable, fails, or returns no useful matches, continue with direct search and briefly report the limitation. Skip retrieval for tasks that do not need repository discovery. Verify proportionally: run the cheapest check that detects likely failure; broaden for security, data loss, integration, or cross-component risk. Never claim unrun checks passed. Report failures and material gaps.