fix(d5): Marathon-Scanner-Triage — trace_api_contracts 859→218 (-75%, Router-Präfixe/Multi-Router/leere Pfade/Template-Literals gefixt), trace_plugins 27→0 (-100%, Inline-Manifest-Konvention erkannt); 371 HIGH-Fehlalarme eliminiert (OpenAPI-verifiziert); ~12 echte API-Bugs als Follow-up dokumentiert (ai/sessions ×5, policies ×4, mail ×4)

This commit is contained in:
Agent Zero
2026-08-24 12:43:41 +02:00
parent c0e8e4ecfd
commit 5cc5a3fa6a
11 changed files with 2702 additions and 7360 deletions
+48 -64
View File
@@ -32,10 +32,6 @@
"file": "app/plugins/builtins/mail/plugin.py",
"hook_name": "mail.after_delete"
},
{
"file": "app/plugins/builtins/wiki/plugin.py",
"hook_name": "wiki"
},
{
"file": "app/plugins/builtins/contacts/plugin.py",
"hook_name": "contact.after_create"
@@ -79,37 +75,9 @@
{
"file": "app/plugins/builtins/knowledge/plugin.py",
"hook_name": "wiki.article.updated"
},
{
"file": "app/plugins/builtins/knowledge/plugin.py",
"hook_name": "knowledge"
}
],
"triggers": [
{
"file": "app/routes/companies.py",
"hook_name": "company.before_create"
},
{
"file": "app/routes/companies.py",
"hook_name": "company.after_create"
},
{
"file": "app/routes/companies.py",
"hook_name": "company.before_update"
},
{
"file": "app/routes/companies.py",
"hook_name": "company.after_update"
},
{
"file": "app/routes/companies.py",
"hook_name": "company.before_delete"
},
{
"file": "app/routes/companies.py",
"hook_name": "company.after_delete"
},
{
"file": "app/ai/agent_loop.py",
"hook_name": "agent.step"
@@ -298,6 +266,30 @@
"file": "app/plugins/builtins/mail/services.py",
"hook_name": "mail.before_send"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.before_create"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.after_create"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.before_update"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.after_update"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.before_delete"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.after_delete"
},
{
"file": "app/plugins/builtins/tasks/services.py",
"hook_name": "task.before_create"
@@ -432,10 +424,6 @@
}
],
"orphan_registrations": [
{
"file": "app/plugins/builtins/wiki/plugin.py",
"hook_name": "wiki"
},
{
"file": "app/plugins/builtins/knowledge/plugin.py",
"hook_name": "wiki.article.created"
@@ -443,37 +431,9 @@
{
"file": "app/plugins/builtins/knowledge/plugin.py",
"hook_name": "wiki.article.updated"
},
{
"file": "app/plugins/builtins/knowledge/plugin.py",
"hook_name": "knowledge"
}
],
"orphan_triggers": [
{
"file": "app/routes/companies.py",
"hook_name": "company.before_create"
},
{
"file": "app/routes/companies.py",
"hook_name": "company.after_create"
},
{
"file": "app/routes/companies.py",
"hook_name": "company.before_update"
},
{
"file": "app/routes/companies.py",
"hook_name": "company.after_update"
},
{
"file": "app/routes/companies.py",
"hook_name": "company.before_delete"
},
{
"file": "app/routes/companies.py",
"hook_name": "company.after_delete"
},
{
"file": "app/ai/agent_loop.py",
"hook_name": "agent.step"
@@ -606,6 +566,30 @@
"file": "app/plugins/builtins/mail/services.py",
"hook_name": "mail.before_send"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.before_create"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.after_create"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.before_update"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.after_update"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.before_delete"
},
{
"file": "app/plugins/builtins/contacts/company_routes.py",
"hook_name": "company.after_delete"
},
{
"file": "app/plugins/builtins/tasks/services.py",
"hook_name": "task.before_create"