3094cde513
Wire the existing consent-aware, profile-keyed hook registrar at agent construction, where the correct session home is already bound. This covers serve and TUI agent construction without a startup-only registration or a new helper that swallows registration failures. Live isolated serve/WebSocket probes reproduce the missing registration on base for both write_file and terminal, then verify each consented profile blocks its configured tool while the unapproved profile still runs normally. Repeated alpha construction does not duplicate hook callbacks. Slim implementation of the agent-build placement proposed in #57020; thanks also to the profile-scoped analysis in #102691. Co-authored-by: grimmjoww578 <willies578@gmail.com>