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> |
||
|---|---|---|
| .. | ||
| Controller | ||
| Job | ||
| View | ||
| FrontController.hs | ||
| Routes.hs | ||
| Types.hs | ||