Skip to main content
v2

Improvement Backlog

This page is the forward-looking backlog for ConvEngine. It is intentionally biased toward improvements that make the engine more deterministic, more auditable, and cheaper to operate at runtime.

How to read this page

These are product and framework-shape suggestions, not all committed roadmap items. The emphasis is on ideas that improve runtime clarity, reduce repeated LLM work, and make the control plane easier to manage in SQL.

Current priorities

High-value backlog areas

AreaWhy it mattersPractical outcome
Confirmation-first routingToo many flows still treat every turn as a fresh extraction request.Reduce duplicate LLM calls by routing AFFIRM / EDIT / NEGATE deterministically.
Richer runtime flagsBusiness flows need lightweight state between turns without custom Java every time.Use `SET_INPUT_PARAM` and related helpers as the default control primitive.
MCP execution guardrailsTeams need clearer gates before expensive planner/tool loops start.Strengthen pre-MCP phases and skip conditions.
Prompt/rendering ergonomicsTemplates are now more powerful, but easier to misuse.Provide stricter guidance and better rendering-safe patterns.
Docs from runtime contractsDocs drift when code and SQL evolve quickly.Generate more reference docs directly from enums, constants, and DDL.

Suggested roadmap

1

Turn-routing maturity

Expand the confirmation-first model so more flows can use DialogueActStep + CorrectionStep + phase-scoped rules instead of rerunning extraction or intent classification on short follow-up turns.

2

Rule-control maturity

Push more lightweight control behavior into native actions (SET_INPUT_PARAM, better structured action payloads, clearer phase semantics) so teams need fewer custom beans for simple routing.

3

Observability maturity

Make replay, verbose, and audit traces easier to consume by humans: better examples, summarized traces, and stronger conventions around emitted runtime metadata.

Design suggestions by theme

Concrete suggestions

ThemeSuggestionWhy it is worth doing
Correction flowsAdd a small deterministic patch library plus optional LLM patch fallback.This is cheaper and cleaner than full schema re-extraction for every edit.
Confirmation flowsStandardize `awaiting_confirmation`, `confirmation_key`, `routing_decision`, and `skip_schema_extraction` as the canonical runtime flags.This makes yes/no/confirm turns reliable without dirty prompt-only logic.
Rule authoringAdd more docs and examples for `POST_SCHEMA_EXTRACTION` and `PRE_AGENT_MCP` as separate control points.These are the most important new phases for practical business workflows.
Prompt safetyShip recommended Thymeleaf/SpEL template patterns for null-safe rendering and avoid brittle nested property assumptions.This reduces prompt failures and weird UI text when values are absent.
Verbose UXAdd more consumer examples using `ConvEngineVerboseAdapter` for hooks, transformers, and custom tool orchestration.Teams can improve UI feedback without touching transport internals.
Replay/testingPromote audit replay assertions into a more visible first-class workflow.This is the fastest way to stop regressions in rule-heavy systems.
Docs discoverabilityUse more callouts, table summaries, and visual chips on dense reference pages.The engine is already feature-rich; docs should reduce scanning cost.
Config hygieneDocument and surface more canonical constants/keys so users stop inventing inconsistent payload fields.This improves interoperability across rules, prompts, and consumer hooks.

Strong candidates for near-term implementation

Pragmatic next additions

CandidateComplexityValue
Dedicated confirmation-routing docs bundleLowHigh
More `SET_INPUT_PARAM` examples across business flowsLowHigh
CorrectionStep deterministic patch cookbookMediumHigh
Replay cookbook for CI validationMediumHigh
Docs generation from enums/constantsMediumMedium
Stronger verbose patterns catalogLowMedium
Documentation direction

The best docs for ConvEngine are not long paragraphs. They are compact tables, explicit examples, visible runtime flags, and clear “when to use this phase/step” guidance. Dense pages should keep leaning toward that style.

What would make the framework feel more intuitive

  • More scenario-driven pages like the MCP examples, where state transitions, rule phases, and runtime flags are shown together.
  • More visual chips for high-signal fields like intent, state, phase, and routing_decision.
  • More “bad pattern vs good pattern” guidance for prompts, rules, and follow-up turns.
  • More compact, color-coded summaries at the top of deep-dive pages so users can scan before reading the full detail.
Main risk to avoid

The framework becomes harder to use when control logic is pushed into prompt text instead of structured runtime state. The backlog should keep favoring typed flags, explicit phases, and deterministic routing over “smart prompt” behavior.