feat(query): generalize hybrid business wiki routing

This commit is contained in:
Codex
2026-07-07 16:44:24 +00:00
parent e5f26a5540
commit 37e6ce5673
6 changed files with 40 additions and 16 deletions
+5 -1
View File
@@ -121,7 +121,11 @@ class McpQueryTests(unittest.TestCase):
self.assertIn("obsidian-wiki business sql", prompt)
self.assertIn("read-only business facts", prompt)
self.assertIn("hybrid business + wiki questions", prompt)
self.assertIn("spawn read-only subagents", prompt)
self.assertIn("two read-only tracks", prompt)
self.assertIn("parallel subagents when the host supports them", prompt)
self.assertIn("run those tracks sequentially", prompt)
self.assertIn("customer, product, salesperson, project, delivery, anomaly, ranking, or quality", prompt)
self.assertNotIn("spawn read-only subagents", prompt)
self.assertIn("Do not run arbitrary shell commands", prompt)
self.assertIn("If Visibility is public only, do not use business facts", prompt)
self.assertNotIn("shell commands, file writes", prompt)