Weak classification margin
A naïve system can still emit a label when top candidates are too close together. That looks decisive even when the route is uncertain.
Postmortem 001 · Foundations · Model Behaviour
Same input. Two different computational roles.
Watch one business message pass through a bounded decision path and a generative path. Inspect the mechanics, change the controls, break the system on purpose, then rebuild the concept as reusable agentic architecture.
Live comparison lab
Edit the same business message, change the confidence threshold and generation controls, then run the two computational roles independently or together.
Candidate labels
Generated output
Classifier trace
Generator trace
Break it
These experiments deliberately create common system-design failures: weak margins, unconstrained generation and the wrong computational role.
A naïve system can still emit a label when top candidates are too close together. That looks decisive even when the route is uncertain.
High freedom with weak context can produce verbose, unsupported or policy-inventing output. Intelligence is not the same as control.
A plausible generated answer may completely bypass the routing decision the application actually required.
Improve it
The improvement is not merely a better prompt. The architecture becomes explicit about task semantics, confidence, constraints, validation and fallbacks.
Compare
Combined workflow
Click a node to inspect its role in an intelligent service-request pipeline.
The raw request enters the workflow. The next question is not “generate something”; it is “what operation does this request require?”
Practical transformation
The introductory distinction becomes useful when it is transformed into practical decision + generation pipelines.
Detect intent and priority, route the workflow, retrieve context, generate a draft, validate it and choose human or automated action.
message → classify → route → retrieve → generate → validate → actIdentify document type or workflow, then extract or construct the required structured output.
document → classify → process → structureClassify severity or category first, then generate an investigation summary and recommended next step.
incident → severity → route → summaryRoute the query type, retrieve the appropriate context and generate a constrained answer.
question → route → retrieve → answerProduction reality
A production implementation needs explicit treatment of uncertainty, cost, latency, privacy, validation, auditability, model changes and human authority.
Capability added to DeTLeng
This postmortem should contribute shared primitives to the Agentic Systems Lab rather than remain a one-off lecture page.
ClassScoreInspectorDisplay labels, lab/model scores, rank, threshold, margin and selected result.
Useful later: routing · moderation · evaluatorsConfidenceGateApply explicit continue, fallback, clarification or human-review behaviour to uncertain decisions.
Useful later: agent routing · safety · approvalsGenerationTraceExpose prompt assembly, parameters, timing, output mode, validation and stop reason.
Useful later: RAG · tools · agentsModelBehaviourCompareStandard split-screen comparison for A vs B execution, internals and result.
Useful later: models · retrievers · strategiesExecutionTimelineRender structured application events so hidden workflow behaviour becomes inspectable.
Useful later: RAG · MCP · tool calling · multi-step agentsPostmortem complete
This implementation does not preserve a lecture as a web page. It extracts the useful system behaviour, makes the mechanics visible, tests failure, and adds reusable building blocks to the broader DeTLeng Agentic Systems Lab.