inter-hub-haskell/Web
Bernd Worsch ffd5fbb900 fix: migrate DetectPolicySensitivityAction to routed agent pattern
The last action still calling callClaudeApi directly. Now routes through
resolveAgent (task_type="policy_sensitivity") + checkGovernancePolicy +
callAgent, consistent with all other Phase 11 AI invocations. Adds
agentRegistrationId, tokensIn, tokensOut to the created AgentProposal and
handles blocked_by_policy the same way as the other 4 actions.

Remove callClaudeApi and its direct HTTP imports from
Application/Helper/Controller.hs — no longer referenced anywhere.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 12:34:07 +00:00
..
Controller fix: migrate DetectPolicySensitivityAction to routed agent pattern 2026-04-03 12:34:07 +00:00
Job feat(WP-0010): IHF Phase 9 — External API Surface and Consumer SDKs 2026-04-01 19:52:20 +00:00
View feat(WP-0013): IHF Phase 12 — Platform Memory and Continuous Learning 2026-04-03 12:34:07 +00:00
FrontController.hs feat(WP-0013): IHF Phase 12 — Platform Memory and Continuous Learning 2026-04-03 12:34:07 +00:00
Routes.hs feat(WP-0013): IHF Phase 12 — Platform Memory and Continuous Learning 2026-04-03 12:34:07 +00:00
Types.hs feat(WP-0013): IHF Phase 12 — Platform Memory and Continuous Learning 2026-04-03 12:34:07 +00:00