Skip to content

Design Space Map

Design Space Map — Morphological Analysis

Section titled “Design Space Map — Morphological Analysis”

This table shows all design dimensions and their possible values. The chosen combination is highlighted.

#Design DimensionOption AOption BOption COption DChosen
1IR as Compilation TargetDirect Authoring → RuntimeAuthoring → flowJson → RuntimeAuthoring → IR → Multi-TargetAuthoring → IR → Single-TargetC
2Architecture LayersTwo Layers (IR → Runtime+Pipecat)Three Layers (IR → Runtime → Pipecat)Four Layers (IR → Policy → Runtime → Pipecat)Pipecat + Controller OverlayB
3Agent CommunicationSingle report_observationMultiple Specialized FunctionsFree-Text + Runtime ParsingStructured Output (JSON mode)A
4Evidence Signal ModelDiscrete Signal Kinds OnlyContinuous Confidence OnlyDiscrete + Confidence + Process TaxonomyRubric-Level JudgmentsC
5Policy ExpressionStructured Data ObjectsCode (Python/TS)Prompt InstructionsRule Engine (DSL)A
6State ManagementExplicit State Machines OnlyEvent Sourcing OnlyHybrid (Explicit SM + Event Sourcing)Reactive StateC
7Agent Autonomy GradientTwo LevelsThree Levels (Autonomous/Advisory/Controlled)Five LevelsFull Autonomy + Post-HocB
8Event ProtocolPush OnlyPull OnlyEvent Sourcing OnlyHybrid (Push + Event Store)D
9Evidence OutputSeparate EvidenceLedgerEmbedded in TranscriptPost-Hoc ExtractionHybrid (Real-Time + Enrichment)A
10Recovery StrategyFully AutomatedHuman-in-the-LoopCategorized (Technical/Assessment)Graduated (Severity-Based)C
11Transition AuthorityRuntime OnlyLLM Proposes + Runtime ApprovesLLM DecidesRuntime + LLM DelayB
12Context ManagementRESET OnlyAPPEND OnlyHybrid (RESET + Summary)Policy-Driven (RESET default)D

The chosen design configuration represents a specific point in the design space:

{C, B, A, C, A, C, B, D, A, C, B, D}

This configuration is characterized by:

  • Determinism over flexibility: Policies are structured data, transitions are runtime-approved, evidence is validated before recording
  • Separation of concerns: IR ↔ Runtime ↔ Pipecat are cleanly separated; evidence collection ↔ evidence evaluation are separated
  • Defense in depth: Multiple layers of constraint (IR policies, runtime guardrails, output validation, context policy)
  • LLM as sensor, Runtime as judge: The LLM observes and reports; the Runtime validates and enforces
  • Auditability as first-class: Events, evidence signals, and policy decisions are all recorded with provenance
Dimension PairDependencyNature
1 (IR) → 2 (Layers)IR enables three-layer architectureIR provides the semantic richness that justifies a separate Runtime Controller
2 (Layers) → 7 (Autonomy)Three layers enable three autonomy levelsThe Runtime Controller layer is the enforcement mechanism for the advisory/controlled boundary
3 (Communication) → 11 (Transition)Single function bundles transition proposalsevidenceSufficient in report_observation is the LLM’s transition proposal
4 (Evidence) → 9 (Evidence Output)Rich taxonomy requires first-class ledgerThe eight signal kinds and provenance fields require a dedicated storage mechanism
5 (Policy) → 6 (State)Structured policies drive state transitionsCompletionPolicy and TransitionPolicy are evaluated by the state machine
7 (Autonomy) → 11 (Transition)Advisory level enables LLM proposalsThe LLM’s evidenceSufficient signal is an advisory action
8 (Events) → 9 (Evidence)Event protocol delivers evidence signalsevidence_signal events flow through the event protocol to the ledger
10 (Recovery) → 12 (Context)Recovery affects context managementAfter recovery, context may need to be reconstructed from events
CombinationWhy Rejected
{A, _, _, _, _, _, _, _, _, _, _, _}No IR = no versioning, no multi-target, no compile-time validation
{_, _, _, _, C, _, _, _, _, _, _, _}Prompt-based policies are not enforceable (Greshake et al., 2023)
{_, _, _, _, _, _, _, _, _, _, C, _}LLM-controlled transitions threaten fairness and reliability (Joughin, 1998)
{_, _, _, C, _, _, _, _, _, _, _, _}Free-text parsing is unreliable for high-stakes assessment
{_, _, _, _, _, _, D, _, _, _, _, _}Full LLM autonomy without runtime guardrails violates safety requirements

For the full interactive design space visualization with QOC evaluation matrices, dependency graphs, and cross-cutting themes, see the Design Alternatives section.