Drop dead admin/chat protocol fields and fix MCP specialist docs.

Align AIA_MCP_SPECIALISTS defaults, remove inherit/perm-ban/wire-effective noise from admin APIs, and stop echoing confirm_strategy/plan_agent_version on chat mode endpoints.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-11 03:13:59 +08:00
parent 454c841af7
commit 8fce428540
12 changed files with 47 additions and 169 deletions

View file

@ -52,14 +52,15 @@ class AdminToolsSelfCheckApiTests(unittest.TestCase):
summary = dict(body.get("summary") or {})
self.assertIn("total_internal_tools", summary)
self.assertIn("total_wired_tools", summary)
self.assertIn("total_perm_ban_9999", summary)
self.assertNotIn("total_perm_ban_9999", summary)
items = list(body.get("items") or [])
self.assertTrue(items)
one = dict(items[0] if items else {})
self.assertIn("role", one)
self.assertIn("role_mode", one)
self.assertIn("wired_count", one)
self.assertIn("policy_perm_ban_9999", one)
self.assertNotIn("policy_perm_ban_9999", one)
self.assertNotIn("wire_policy_effective", one)
if __name__ == "__main__":