Typed decision plane (decision_plane)
Agentic Recipe. Project structured state, ask a batch of bounded questions in one inference step, keep deterministic facts in code, apply final policy in code, and escalate when confidence is too low.
Surface |
Value |
|---|---|
Catalog id |
|
Module |
|
Substrate |
|
Owning stories |
|
Runtime |
|
When to use
High-volume, well-defined decisions with enumerable actions
Moving routine triage off a frontier model while keeping policy in code
Do not use when the model must invent open-ended commands with no action envelope.
Soft points
Name |
Kind |
Role |
|---|---|---|
|
runner_kind |
Builds the deliberate state projection |
|
runner_kind |
One batched decision inference call |
|
runner_kind |
Deterministic final policy |
|
runner_kind |
Routable escalation exit |
|
runner_kind |
Non-gating shadow path |
|
policy |
Minimum confidence before accept |
|
policy |
Add shadow ask without gating execution |
|
model |
Flavor / router ref (DP-09; not param count) |
|
task_state |
Via |
Tiling example
from mechaharness.graph_templates import (
DecisionPlaneTemplate,
GraphTemplateParams,
)
graph = DecisionPlaneTemplate().instantiate(
GraphTemplateParams(
goal="route refund triage",
inputs={
"state_projection": {"ticket_id": "T-1"},
"facts": {"duplicate_charge": True},
"questions": [
{
"id": "team",
"kind": "choice",
"options": ["billing", "technical"],
"allowed_actions": ["billing", "technical"],
},
{"id": "risk", "kind": "score", "min": 0, "max": 1},
],
"confidence_floor": 0.7,
"shadow_mode": True,
},
)
)
assert graph.template_name == "decision_plane"
Runtime (DP-01..09)
Helper |
Role |
|---|---|
|
Structured projection + facts without a model |
|
Batched evidence; code-owned action or escalate |
|
Deterministic RAG packing from scored candidates |
|
Candidate vs production; production controls |
|
Evaluation-ready metrics without raw context |
Execute walk: mechaharness.decision_plane_runner + CLI
DecisionPlaneRecipeAdapter (run_recipe name=decision_plane).
Node components
Graph node |
Components |
|---|---|
|
|
|
|
|
|
|
|
|
|
See Node components.