In the agent-hooks feature, _tool_names reads getattr(agent, "tools", None), but Agent stores constructor-registered tools in default_options["tools"] — so tools passed at construction never surface in the agent_startup record's tools_registered, while run-level tools project correctly. Found during a conformance cross-validation of the merged feature (responsibleai/agent-hooks, conformance/claims/maf/REPORT.md).
In the agent-hooks feature,
_tool_namesreadsgetattr(agent, "tools", None), butAgentstores constructor-registered tools indefault_options["tools"]— so tools passed at construction never surface in theagent_startuprecord'stools_registered, while run-level tools project correctly. Found during a conformance cross-validation of the merged feature (responsibleai/agent-hooks, conformance/claims/maf/REPORT.md).