ADR-003: LLM-Based Intent Classification

Date: July 8, 2025 Status: Proposed Deciders: Principal Architect, Chief of Staff, CTO

Context

During Claude Code integration, we discovered that Piper Morgan’s regex-based intent classifier is too rigid for natural conversation. Users must use specific command patterns rather than natural language.

Current limitations:

Decision

We will enhance the intent classifier to use LLM-based classification with conversation memory, enabling natural conversational interactions while maintaining high accuracy.

Consequences

Positive

Negative

Neutral

Alternatives Considered

  1. Enhance Regex Patterns: Would not solve context/reference issues
  2. Rule-Based Context: Too brittle, exponential complexity
  3. Hybrid Forever: Maintains two systems indefinitely

Implementation Plan

  1. Build hybrid system for testing
  2. Implement conversation memory
  3. Migrate to full LLM classification
  4. Optimize for latency and cost

Last Updated: July 09, 2025

Revision Log