Overview
Implementation tracker for LLM tool-calling / function-calling architecture in Taskdeck's chat system.
Spike: #618 (completed) — architecture document at docs/spikes/SPIKE_618_COMPLETED.md
Key Decisions (from spike)
- Custom implementation over Semantic Kernel (~800 LOC, zero new dependencies)
- Extend
ILlmProvider with CompleteWithToolsAsync() — incremental, no breaking changes
- 11 tools: 5 read (execute directly) + 6 write (always produce proposals per GP-06)
- New
ToolCallingChatOrchestrator wraps ChatService — max 5 rounds, SignalR intermediate states
- Mock provider simulates tool calls deterministically via pattern-matching dispatch
- Cost: ~$0.00088 per 3-round conversation on GPT-4o-mini
Implementation Phases
Dependencies
References
docs/spikes/SPIKE_618_COMPLETED.md — full architecture document
docs/decisions/ADR-0017-agent-tool-registry-review-first.md — tool registry design
docs/GOLDEN_PRINCIPLES.md GP-06 — review-first automation safety
Overview
Implementation tracker for LLM tool-calling / function-calling architecture in Taskdeck's chat system.
Spike: #618 (completed) — architecture document at
docs/spikes/SPIKE_618_COMPLETED.mdKey Decisions (from spike)
ILlmProviderwithCompleteWithToolsAsync()— incremental, no breaking changesToolCallingChatOrchestratorwraps ChatService — max 5 rounds, SignalR intermediate statesImplementation Phases
Dependencies
ITaskdeckToolRegistryandAgentPolicyEvaluator(delivered in AGT-02: Add tool registry, policy evaluator, and bounded inbox-triage template #337)References
docs/spikes/SPIKE_618_COMPLETED.md— full architecture documentdocs/decisions/ADR-0017-agent-tool-registry-review-first.md— tool registry designdocs/GOLDEN_PRINCIPLES.mdGP-06 — review-first automation safety