mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-25 17:30:56 +08:00
fix(agent): keep knowledge_lookup out of the target gate
knowledge_lookup takes a taxonomy id or keyword, never a connection. Add it to the intercept noTargetTools list so the target gate does not read targets from its query. TestDomainToolsDeclareNoTarget now covers the new domain tool. Refs #521.
This commit is contained in:
@@ -29,6 +29,8 @@ var noTargetTools = toolSet(
|
||||
"insert_assets", "add_company_scope", "add_task_scope", "list_assets",
|
||||
"list_untested_assets", "list_companies", "report_finding", "record_fact",
|
||||
"save_task_credential", "list_task_credentials", "ingest_bbot", "ingest_scan_output", "record_coverage",
|
||||
// taxonomy lookup: the input is an id or a keyword, never a connection
|
||||
"knowledge_lookup",
|
||||
// cross-task orchestration, findings and retests (server)
|
||||
"list_tasks", "list_llm_profiles", "spawn_task", "pause_task", "get_task_graph",
|
||||
"list_task_findings", "add_task_hint", "get_task_worker_trace",
|
||||
|
||||
Reference in New Issue
Block a user