ADR-032: Intent Classification as Universal Entry Point

Status

Accepted & Validated (GREAT-4E Phase 4 - October 6, 2025)

Context

Currently, users must learn specific commands and syntax to interact with Piper Morgan effectively. The May 28 vision proposed natural language as the primary interface, with intent classification routing all interactions. Recent advances in LLM capabilities make this vision more achievable now than at conception.

Decision

We will implement intent classification as the universal entry point for all Piper Morgan interactions. Every user input, regardless of source (CLI, web, Slack), will first pass through intent classification before routing to appropriate handlers.

Classification Layer Architecture

User Input → Intent Classifier → Router → Handler → Response
                     ↓                       ↓
              Learning System        Canonical Handlers
                                    (Fast-path for 5 categories)

Intent Categories (13 Total)

Canonical Categories (Fast-path handlers):

Workflow Categories (Orchestrated processing):

Consequences

Positive

Negative

Neutral

Implementation Status

Date Updated: October 6, 2025

GREAT-4A through 4E Completion

Handler Coverage

13/13 intent categories implemented (100%):

Test Coverage

Performance Metrics (from GREAT-4E load testing)

Production Status

Architecture Validation

Dual-Path Design Confirmed

Investigation during GREAT-4E confirmed the dual-path architecture is intentional and working correctly:

Fast Path (Canonical Handlers):

Workflow Path (Orchestration):

Known Issues

Classifier Accuracy (GREAT-4F scope):

Original Implementation Plan

Phase 1: Basic Classifier (Week 1)

Phase 2: LLM Enhancement (Week 2)

Phase 3: Learning Integration (Week 3)

Code Location

References