Cognition Core's intended final local runtime is GGUF-backed, CPU-capable, local-direct, and no-server.
- The authoritative runtime is a native local binary.
- The preferred portable artifact is a llamafile-style executable composed from:
- a compiled local runtime binary
- a GGUF model payload
- The browser may host the UI, but execution remains native and local.
- No always-on daemon or server is required.
The direct runtime lane must fail loudly when a local binary appears alive but is not actually generating.
Cognition Core therefore tracks these states:
BOOTINGMODEL_RESOLVINGMODEL_LOADINGTOKENIZINGGENERATINGSTREAM_IDLECOMPLETEDTIMED_OUTFAILEDKILLED
And these guardrails:
- overall runtime timeout
- first-output / no-generation timeout
- mid-generation idle timeout
- max output byte ceiling
The repo now includes scripts/runtime/compile_llamafile_from_binary.py.
That script does the final native packaging step:
- take a compiled runtime binary
- take a GGUF payload
- concatenate them into a self-contained local executable
- mark the result executable
- emit a deterministic manifest summary
This keeps the production doctrine honest:
browser UI optional, native local GGUF execution authoritative.