Module 01 / Plan the smallest sufficient path

M4 internal labControlled pilot

Cognitive Engine

Use complexity only when it earns its place.

Interprets intent, compiles a bounded execution plan, applies budgets and selects direct inference, memory, retrieval, research, tools or explicit abstention.

ACTIVATES WHEN

The Cognitive Engine is the entry point for a governed task. It activates before any model or external capability is called, and remains responsible for deciding whether the current path is sufficient.

RETURNS

A bounded, provider-neutral plan with an explicit route, capability budget, success criteria and safe fallback or abstention outcome — plus a trace that explains the decision without exposing private content.

Why it exists

The problem this module is designed to solve.

Most AI applications send every request through the same prompt, model and retrieval stack. Simple questions pay the cost of complex machinery, while difficult questions can still receive fluent but incomplete answers because no component owns the decision to escalate, repair or abstain.

02 / How it works

A bounded path from need to accountable result.

The public model below describes responsibilities and decisions, not sensitive implementation details, provider secrets or customer data.

  1. 01

    Interpret the request

    Identify the intent, expected answer shape and observable obligations before spending inference or retrieval capacity.

  2. 02

    Authorize the possible paths

    Intersect the requested work with data scope, egress policy, available capabilities and deployment constraints.

  3. 03

    Choose the smallest sufficient route

    Prefer direct handling when it is enough; add memory, retrieval, research or other capabilities only for a concrete gap.

  4. 04

    Observe, repair or abstain

    Measure whether the plan satisfied the contract, perform bounded repair when justified and return an explicit failure when it did not.

Cognitive Engine / context composition

Context assembly belongs to the runtime orchestrator.

Memory may provide authorized retained facts and Retrieval may provide evidence, but the four-layer prompt plan and its aggregate budget belong to the Cognitive Engine. They are deliberately excluded from the Governed Memory score.

Receipt-bound progressive context

Four layers, one exact budget, no automatic injection.

Mentaview now assembles source-backed identity, current essentials, query-selected memory and configured deep retrieval as one explicit plan. Each item keeps its origin, score and evidence locators.

Independent layers
4
identity · essential · on demand · deep
Per-layer bounds
0–64
each layer can be disabled independently
Aggregate content budget
256–65,536 B
exact UTF-8 bytes · not chars ÷ 4
Deep engine
Visible
configured hybrid or BM25 · local RRF optional
Integrity receipt
SHA-256
query · time · engine · budgets · ordered evidence
Prompt writes
0
caller-controlled read only

03 / Customer and operator value

Better quality-per-call, lower avoidable latency and an auditable explanation for every escalation.

01

Fewer unnecessary model and tool calls

02

Explicit latency, token and evidence budgets

03

Receipt-bound four-layer context composition with one aggregate byte budget

04

Provider and topology independence

05

Traceable route and fallback decisions

04 / Where it creates value

Concrete situations, not generic feature claims.

These are representative product situations. Every deployment still requires its own policy, data boundary and acceptance criteria.

USE CASE 01

Regulated knowledge assistant

Decide when a question can be answered directly, when private evidence is required and when the available evidence is insufficient.

USE CASE 02

Provider-neutral AI platform

Keep business policy and routing logic stable while models, endpoints and deployment classes change underneath.

USE CASE 03

High-volume cognitive workload

Avoid unnecessary model, retrieval and tool calls while preserving a governed path for the cases that truly need them.

05 / Role in the cognitive system

A clear responsibility creates a trustworthy boundary.

No module is allowed to become an invisible monolith. It owns a narrow contract, composes with named capabilities and refuses responsibilities that belong elsewhere.

What it owns

  • Intent interpretation
  • Minimal-path planning
  • Capability budgets
  • Cross-module context composition
  • Route and coverage decisions

What it composes with

Question ContractAnswer AssuranceMemoryRetrievalInference Gateway

What it refuses to own

Boundary before convenience.

It does not own vector-store internals, model transport, persistence formats or UI behavior.

06 / Vision and mission

The smallest sufficient path

This module turns Mentaview's mission into an operating decision: use only the cognition needed to produce an accountable outcome, and make every escalation visible rather than accidental.

VISION

AI systems that remain useful, inspectable and sovereign across models, providers and deployment boundaries.

MISSION

Build the cognitive layer that chooses the smallest sufficient path and turns evidence into accountable action.

PURPOSE

Capture the value of advanced AI without surrendering data control, architectural freedom or intellectual honesty.

07 / Evidence and maturity

What the current label means — and what remains open.

M4 internal lab
ENGINEERING MATURITYM4Mentaview internal laboratory assessment
OBJECTIVE REVIEW

Passed with moderate confidence

The planning contract, bounded runtime path and server-composed evidence boundary are implemented and locally exercised; production service levels and customer-domain operation remain unproven.

Assessment revision 1 · 2026-09-06 · all five local dimensions passed.

Latest counter-review: 511/511 targeted Rust tests passed for the four modules that were already M4-; the seven newly promoted modules remain bound to their module-specific content-addressed evidence registries.

OPEN LIMITS
  • No representative operating period across customer domains and heterogeneous live providers.
  • No production service-level or customer-acceptance evidence.
  • No independent assurance opinion.
CURRENT EVIDENCE

What exists today

Versioned execution-plan contracts, bounded route selection, policy gates and controlled-pilot direct and network surfaces are implemented. The Cognitive Engine also owns the explicit four-layer context plan: it composes Memory facts and Retrieval evidence under independent limits, an aggregate UTF-8 byte budget and a SHA-256 receipt without automatically injecting the result into a prompt.

LABEL MEANING

Controlled pilot

A bounded runnable surface exists and can be evaluated in a controlled engagement. Production-scale controls and operating evidence remain gated.

NEXT GATE

What must earn promotion

Qualify broad production service levels, heterogeneous live-provider operation and customer-specific acceptance criteria over a representative operating period.

Public truth boundary: M4− is a non-standard Mentaview engineering label for internal laboratory validation. It is not an official TRL decision and does not assert production qualification, customer acceptance, independent assurance, certification or universal performance. Inspect the complete assessment record.

← Back to all modulesDiscuss this module