contenox
Browse docs/

Blueprint: Session aac21f41 Learning Map

Status: fact map Owner: runtime / modeld Source: Claude resume session aac21f41-5492-42e8-8ef9-a721040dd0a5

Purpose: map the resumed Claude session into the current effective-context work without carrying invalid benchmark claims forward.

Session Source

Local transcript:

/home/naro/.claude/projects/-home-naro-src-github-com-contenox-enterprise-runtime/aac21f41-5492-42e8-8ef9-a721040dd0a5.jsonl

Task files:

TaskSubjectSession statusCurrent read
1OpenVINO device autodetect + priority selectioncompletedDevice ordering and OpenSession fallback are represented in the current OpenVINO code.
2NPU viability spike + per-device capability probecompletedNPU is not a certified ContinuousBatching/PagedAttention target.
3Push SWA into residency policypending in task fileCurrent code has SWA metadata and SWA-aware capacity/residency paths; keep tests as the source of truth.

Facts To Carry Forward

AreaFactBlueprint consequence
Capacity termsEffectiveContext is the dense served window and cache identity. MemoryContextTokens is raw fit. HotContextTokens is physical hot KV. PlannerEffectiveContext is the logical planner window when cold/host budget exists.UI, API, and docs must not collapse these into one “context” value.
Fit versus servingNumeric GGUF or IR metadata can be parsed even when the runtime cannot load or serve the model.Describe and ModelInfo must be capability-truthful, not metadata-only.
llama.cpp pinThe session found a pinned llama.cpp commit that lacked gemma4; the pin was later moved to 86b94708..., which contains LLM_ARCH_GEMMA4.Dependency pin bumps are runtime integration changes and must be smoke-tested through build, package, and load.
Load errorsThe native loader reason can be more useful than the wrapped error.Preserve architecture/load diagnostics at the modeld boundary.
OpenVINO text pathThe certified text path is OpenVINO GenAI ContinuousBatchingPipeline.VLM repos are not text effective-context targets unless a VLM adapter is explicitly implemented and certified.
NPUIntel NPU enumerates as a device, but cannot run the CB/PagedAttention path used here.AUTO excludes NPU; explicit NPU pins fail with an actionable unsupported-feature error.
Session stateOpenVINO CB is request based. The Go adapter owns the transport token tape and resubmits sequence state; vendor prefix cache is physical reuse, not a direct exposed KV handle.Snapshot, restore, prefix identity, and cold-KV semantics stay modeld-owned unless a backend exposes strict equivalents.
Sparse/XAttentionArc iGPU driver stacks can reject XAttention.Automatic sparse can retry dense; explicit sparse failure remains a hard certification failure.
Scheduler cacheToo-small CB block pools can poison a pipeline; oversized pools can thrash shared-memory iGPUs.Cache sizing is part of the certified profile, not a free tuning knob.
Windows launcherDirect modeld.exe on Windows can fail with 0xC0000135 when DLL paths are not set. modeld.cmd sets PATH.Windows benchmark tooling must launch the packaged modeld launcher, not the bare executable.
Windows app controlThe session saw CodeIntegrity/WDAC blocking contenox.exe; after the user disabled Smart App Control, contenox version v0.32.8 ran.Benchmark preflight records app-control state and treats blocks as environment failures, not modeld performance data.
Raw OpenVINO probesPython openvino_genai rows bypassed contenox, routing, transport, profiles, traces, and session bookkeeping.Raw rows are substrate controls only. Product claims require the contenox path.
TinyLlama contextTinyLlama raw probes can accept prompts beyond the runtime-advertised trained ceiling.Runtime context claims stay at the certified model/profile ceiling.
QualityTinyLlama can produce throughput while echoing or continuing the prompt.Throughput without answer-quality smoke is not a certified row.

Current Work Mapping

LearningCurrent blueprint
Certified context is latency-budgeted, not just memory-fit.Latency-budgeted effective context
Runtime cells can be vendor runtimes, modeld-native kernels, or compatibility backends.Specialization cells
OpenVINO needs hard routing, device, scheduler, and benchmark gates.OpenVINO hardening
Raw backend data must not be headline product data.Benchmark integrity
Describe must not advertise impossible models/devices.modeld capability truth

Do Not Carry Forward

  • Do not present raw Python OpenVINO rows as contenox results.
  • Do not certify gemma4-e4b-ov as a text CB model; it is a VLM repo unless a VLM cell exists.
  • Do not treat NPU enumeration as NPU support for the effective-context text path.
  • Do not advertise context above trained/certified model ceilings because a raw backend run accepted input.
  • Do not treat VRAM capacity as effective context without TTFT, TPOT, wall time, quality, and stability.

Remaining Work

  • Convert every OpenVINO hardware/model claim into a benchmark row with product-path provenance.
  • Add or verify capability-truth checks for architecture support, text/VLM pipeline compatibility, and explicit device support.
  • Preserve native loader diagnostics in user-facing modeld errors.
  • Make Windows benchmark packaging reproducible and launcher-aware.
  • Keep raw substrate scripts as controls, with labels that cannot be confused with product results.

Esc to close