Skip to content

Meta-Routing Workflow

Triggered by: Absolute entry point of any user interaction.
Intent: Triage ambiguous, generic queries into the 20 structured master instructions without human input.

  • req-ambiguity-detection — detects under-specification
  • req-scope — clarifies request boundary
{ request: string; context?: string; taskType?: string; currentPhase?: string }
  • Missing architecture context → route to task-bootstrap
  • Explicit stack trace → route directly to issue-debug
  • Structural rewrite requested → route to system-design
  • Compound multi-domain task → route to meta-routing recursively then fan-out
stateDiagram-v2
    [*] --> UnstructuredRequest

    UnstructuredRequest --> SignalExploration
    UnstructuredRequest --> ConfidentDispatch: prior routing pattern available

    state SignalExploration {
        [*] --> BootstrapProbe
        [*] --> DebugProbe
        [*] --> DesignProbe

        BootstrapProbe --> EvidencePool
        DebugProbe --> EvidencePool
        DesignProbe --> EvidencePool
    }

    EvidencePool --> ConfidenceAssessment
    ConfidenceAssessment --> ConfidentDispatch: signal threshold met
    ConfidenceAssessment --> SignalExploration: insufficient signal

    ConfidentDispatch --> RouteExecution
    RouteExecution --> [*]

Terminal node — does not chain to other workflows on completion.