Roadmap acceptance and live coverage
Rendered from docs/roadmap-matrix.md at commit 813abb1662f7. The repository file is authoritative.
One tracked table for (1) the original first-release acceptance (build prompt §15/§17, milestones A–D)
and (2) the later roadmap. Scope is kept separate on purpose: the first release is the alpha that
v0.1.0-rc.* candidates were cut from; roadmap rows are later work and say exactly what kind of evidence
they have. Evidence levels: F fixture-tested in CI (controlled fake backend, real HTTP), S real
client library or installed entry point against simulated models, L live on real models/hardware,
NOT RUN runnable procedure exists but was not executed. Rows changed on branch roadmap/v0.2 are
marked ◆ with the commit that introduced them (see CHANGELOG.md).
1. First release — milestones A–D (build prompt §17)
| milestone | state | evidence |
|---|---|---|
| A — grounded design (ADR, references, API contract) | done | docs/decisions/ADR-001-build-vs-adapt.md, docs/research/* (2026-10-11) |
| B — working gateway (config, discovery, registry, filters, deterministic routing, chat, streaming, embeddings, source install) | done | F: tests/test_acceptance.py; L: GX10 runs 2026-10-11 … 2026-10-24 (docs/live-runs/) |
| C — classifier (optional, chat and decision-model modes), ranking, inspection, affinity, admission, timeouts/cancellation/failover, privacy defaults | done; classifier stays off by default (the 2026-10-25 comparison failed its timeout criteria) | F; L: docs/live-runs/2026-10-25-gx10-classifier-comparison/ |
| D — init/doctor, client config, docs, CI, evaluation, adversarial tests, real-environment checks | done with labelled gaps (below) | CI green on main 6e3c2ea1; three independent reviews |
§15 acceptance cases
All nineteen cases map to named tests in docs/verification-report.md ("Acceptance cases → tests") and
pass in CI (F). Live evidence beyond fixtures, and the remaining gaps:
| case | beyond fixtures | open gap |
|---|---|---|
| one healthy model; no eligible model; tool task; strict schema; large context; classifier failure; no session id; failover before commit; stream failure after commit; shared-pool admission; evidence invalidation; malicious destination; two callers | L for routing, tools, schema, streaming, session pinning (GX10, Ollama 0.32.13 → 0.40.5) | fault-injection cases are fixture-only by nature |
| image input | L (vision routed to vision-capable deployments, 2026-10-11) | — |
| outstanding tool results / continuation | L: Open WebUI tool round trip and Odysseus reasoning_content follow-up against v0.1.0-rc.1 (2026-10-29, override); rc.2 continuation probe live once (docs/live-runs/2026-10-29-rc2-continuation-probe/, PR #24) |
an Odysseus follow-up turn on a probed (no-override) deployment: NOT RUN |
| embedding fallback | L: after primary shutdown and refresh, a same-identity replica produced an identical 384-dimensional vector. A different same-width model was refused (run) | in-flight recovery outside the test |
| offline / local-only | L: the published ARM64 container returned a real local-model chat answer on the GX10 with --network none, only loopback and no default route (run) |
coverage on other platforms |
| fresh install / uninstall | S: installer job on a real systemd user unit (x86_64, arm64); L: owner's Mac and GX10 | — |
| named clients (§7) | L: Open WebUI and Odysseus chat/tool turns | OpenClaw, OpenCode, Hermes Agent real-client workflows: NOT RUN (guides are documented + fixture-level wire checks) |
| backends (§7) | L: Ollama | L: llama.cpp discovery, token counting and real chat. vLLM served real chat and its template counts matched completion usage. |
The first release excluded an agent framework, RAG platform, training system and Kubernetes distribution. It also excluded hosted tool execution, remote media fetching, model downloads and automatic cloud fallback. Section 3 tracks subsequent changes, including operator-controlled downloads.
2. Roadmap (after the first release)
Released as v0.2.0 (commit 31b8dc68de6a5a14b93a959391702920ac423f5d). L evidence on that exact commit —
operator-reported, docs/live-runs/2026-12-05-gx10-0.2.0-canary/: installer upgrade and rollback, chat,
streaming, continuation probe and replay, one plain /v1/responses and /v1/messages request each (HTTP and
official SDKs) on one model. The rows below distinguish hardware checks from fixture coverage and record publication and production verification separately.
| # | item | state | evidence | not established / next gate |
|---|---|---|---|---|
| R1 | Decision-model adapters: classifier mode: decision, POST /v1/decisions |
done, opt-in (v0.1.0-rc.1) |
F; L: 3-request smoke (2026-10-28) | answer quality; classifier benefit |
| R2 | continuation probe + corrected 422 remedy |
done (v0.1.0-rc.2) |
F; L once (PR #24, merged into this branch as d14e111) |
semantic use of replayed reasoning |
| R3 | Measured Routing Quality | done (Stage A–C, 2026-10-14 … 10-24) | L: docs/live-runs/2026-10-1{4,5,6}-*, 2026-10-24-gx10-stage-c/ |
reasoning-budget sensitivity run: NOT RUN |
| R4 ◆ | Responses API | implemented: stateless subset by default; stateful subset opt-in through a real local response store (store, previous_response_id, GET/DELETE /v1/responses/{id}; caller-scoped, TTL) — the brief lists stateful Responses as later work and forbids emulating it by renaming fields |
F: tests/test_protocol_translations.py, tests/test_responses_store.py; S: official openai SDK |
L (stored subset): create, GET, previous_response_id recalled a synthetic word, DELETE → 404 — docs/live-runs/2026-12-05-gateway-capabilities/ (owner's checks through Codex, GX10 + Ollama 0.40.16 unless stated, synthetic inputs). L: plain request passed on GX10 Ollama using the OpenAI SDK. Codex-style agent client: NOT RUN. In 0.2.0 these requests were refused. Version 0.3.0 adds caller-owned Conversations and catalogued hosted tools (see E4/E6 below). Background, prompt, item_reference, encrypted reasoning, /cancel and /input_items remain outside this Responses subset. |
| R5 ◆ | Anthropic Messages (fail-closed translation) | implemented | F; S: official anthropic SDK (same script) |
L: plain request passed on GX10 Ollama using the Anthropic SDK. Claude-Code-style client: NOT RUN |
| R6 ◆ | Exact tokenization for more runtimes; served-context detection | implemented: vLLM and llama.cpp chat-template-exact counts at the server root; served context from vLLM max_model_len, llama.cpp /props, Ollama /api/ps on the residency refresh, default_context_length, opt-in remember_served_context; doctor fails on a served-context shortfall |
F: tests/test_tokenization_context.py (fixture servers emulating the documented endpoints) |
L (llama.cpp): /props context 2,048 discovered; chat-template counts 34 / 684 / 722 equal to prompt_tokens for English and Chinese prompts (build b13002, CPU) — same record. L: real vLLM discovered a 2,048-token limit and matched prompt usage 32 / 684 / 722; Ollama has no tokenizer endpoint (estimate stays) |
| R7 ◆ | Managed model lifecycle under leases and locks; llama-swap composition | implemented, opt-in (backends[].lifecycle.managed): explicit load/unload via /admin/lifecycle and modelsaar lifecycle; per-deployment locks, implicit + explicit leases, draining, load under the memory budget; llama-swap residency from /running and per-model unload (docs/lifecycle.md) |
F: tests/test_lifecycle.py |
L (Ollama): on a temporary real Ollama, load → unload refused with 409 while a lease was held → release → unload, /api/ps empty (owner's check through Codex, issue #32, 2026-12-05). L: llama-swap v279 loaded a real llama.cpp model on its first chat and confirmed its subsequent per-model unload. Automatic eviction is tracked under E2. |
| R8 ◆ | Guardrail and OCR pipelines as separate results | implemented: POST /v1/guardrails; POST /v1/ocr recognition (inline images, regions) plus an optional layout stage that calls an operator-run layout service (PaddleX-documented box shape), crops and recognises in reading order (docs/pipelines.md) |
F: tests/test_pipelines.py, tests/test_ocr_layout.py |
L: a real GLM-OCR model read ORANGE 4271 exactly (owner's check through Codex, issue #32, 2026-12-05). The development gateway passed four real Granite Guardian controls across user and assistant targets (run). A real external Apple Vision detector and GLM-OCR returned four exact lines in column order (run). Version 0.2.0 uses an external layout service. The development gateway also supports built-in segmentation and an operator-supplied pinned ONNX detector (three lines detected on a four-line page). Each path bounds the decoded page, crops and answers |
| R9 ◆ | Audio/video inputs; multimodal embeddings | implemented where a runtime documents the wire form: inline audio (audio_in + probe); inline video_url chat parts (vLLM-documented; video_in declared, no probe); image/audio/video embedding items bound to embeddings[].modalities via vLLM chat-style embeddings. 0.2.0 refuses media embeddings on the Ollama path. E1 adds native image and audio embeddings to development builds. Native video needs a supported transport. |
F: tests/test_multimodal.py |
L: gemma4:e2b identified the number seven from an inline synthetic WAV on the GX10. On development commit bf9eb7b, vLLM identified the colours in a synthetic video and an embedding model returned a 2,048-element vector for it (run). Retrieval quality was outside that trial. |
| R10 ◆ | Cascades/ensembles; distributed scheduling | implemented, each opt-in or explicit: cascades (structural escalation); bounded ensembles over closed choices (POST /v1/vote, guardrail ensembles; never free text); replica scheduling across hosts (routing.replica_scheduling: least_loaded, spill-over on admission refusal) |
F: tests/test_cascade.py, tests/test_ensembles.py, tests/test_replica_scheduling.py |
L: closed-choice vote 2–0 with two schema-probed models; cascade escalated on a 1-token limit and not at 200 tokens; least-loaded routing across two physical hosts (Mac + GX10, identical checksummed model, occupancy 1.0 vs 0.0, both 200) — same record. Guardrail ensembles and benefit on real traffic: unmeasured. Free-text ensembles and cluster scheduling are tracked under E5 and E8. |
| R11 ◆ | Opt-in adaptive learning (versioning, holdout, privacy, rollback) | implemented, opt-in (learning.enabled): metadata-only outcomes (POST /v1/feedback, structural failures), versioned policies, holdout-gated activation, rollback, purge; evidence label learned:v<N> (docs/cascades-and-learning.md) |
F: tests/test_learning.py |
L: 32 synthetic tasks answered by real llama.cpp; feedback, policy build, holdout, activation, routing with learned evidence and rollback passed. Benefit on representative user traffic is unmeasured. |
| R12 ◆ | Optional LLM-judge scorers | implemented as a separate pass (modelsaar judge): identity, bias, cost and the judge's agreement with exact scorers disclosed; never merged into eval scores or routing; the reviewed harness/scorer are byte-identical (docs/evaluation.md) |
F: tests/test_judge.py (scripted judge) |
L (workflow only): a distinct judge graded two answers, both verdicts parsed, one calibration pair — same record; judge reliability requires a larger calibration set |
| R13 | PyPI package and container image | Published 0.2.0 | Both PyPI distributions verified by checksum. Fresh virtual-environment install passed. Anonymous container pull and CLI startup passed on the ARM64 GX10. The public image index also includes Linux amd64. | Release workflow |
| R14 | Stable release, installer and production rollout | Deployed 0.2.0 on 2026-12-05 | The public installer pinned 31b8dc68. The systemd service ran that revision with its existing configuration and keys. Authenticated chat, a follow-up with reasoning history after probing continuation, OpenAI Responses and Anthropic Messages all returned answers. A direct native tool request produced a structured call, and the gateway returned the correct opening time after receiving a synthetic tool result. Both client-shaped replays used the API directly. |
Rollback rehearsed with the previous revision. Tagged source and release notes |
On development commit b105a1ac, both translated APIs streamed a native function call with valid JSON arguments and included the client’s fresh tool result in the final answer. Four-request hardware check.
3. Limitations work and the expanded roadmap in 0.3.0
Tracking issue #32; design, order and testable outcomes in roadmap-expanded.md. Feature-specific hardware evidence and remaining limits are recorded in the last two columns.
| # | item | state | evidence | not established / next gate |
|---|---|---|---|---|
| L1 | Served-context provenance | shipped in 0.3.0: a served context below a configured one caps routing (resident, and remembered for the checkpoint); the assumed default is documented as the smallest of Ollama's memory-dependent defaults | F: tests/test_tokenization_context.py |
L: Ollama 0.40.21 at two slots reported 1,024 via /api/ps, with both slots configured for 1,024 each. Overlong native generation input was truncated. |
| L2 | Token counts where the runtime has no tokenizer | shipped in 0.3.0: probe token_estimate compares the estimate with the runtime's usage.prompt_tokens and raises it per deployment |
F: tests/test_token_calibration.py |
L: five fixed prompts on Ollama 0.40.21; observed ratios from 0.519 (prose) to 2.505 (numeric). Coverage of other workloads remains open. |
| L3 | Pool memory from resident evidence | shipped in 0.3.0: memory_evidence: observed — Ollama /api/ps size / size_vram by pool kind, cold and failed-query fallback, one physical model once, residents outside the registry |
F: tests/test_memory_evidence.py |
L: Ollama reported 0.54 GB at 1,024 context and 0.68 GB at 8,192 for identical weights; independent process or device memory remains a separate measure. |
| L4 | Ollama request fields on positive evidence | shipped in 0.3.0: complete field table; logprobs/top_logprobs on Ollama ≥ 0.40.16; max_completion_tokens → max_tokens; neutral values not refused |
F: tests/test_ollama_fields.py; L (direct Ollama, not through the gateway): logprobs with 2 alternatives, streamed and non-streamed, qwen3-coder — owner's check, issue #32 |
L: the development gateway returned finite token log probabilities with two alternatives in ordinary and streaming responses on Ollama 0.40.21. |
| L4b | Fields Ollama cannot serve, on a runtime that can | shipped (0.2.0 routing): a deployment on llama.cpp serves tool_choice required/named and logit_bias |
L: genuine llama.cpp returned required/named tool calls and respected a token bias through the released gateway (owner's check through Codex, issue #32, 2026-12-05) | n > 1 is refused by the gateway before routing in 0.2.0; development builds returned both requested choices through llama.cpp in regular and streaming modes |
| L5 | Per-feature evidence instead of "fixture-tested only" | this table and section 2 | — | — |
| L6 | Verifiable isolated code scoring | shipped in 0.3.0: modelsaar sandbox check (benign allow/deny checks; skip with the operator's own command when no backend) |
F: tests/test_operator_workflows.py (incl. a negative control); L (0.2.0 evaluator): Docker selected after the operator pulled the image, two code tasks scored — owner's check |
L: the development command passed all five GX10 Docker checks. |
| L7 | Local quality measurements with coverage | shipped in 0.3.0: modelsaar measurements (measured / thin / prior / none per deployment and task) |
F: same file; L (0.2.0): a six-task run stored one sample each for conversation, math and coding — owner's check; a workflow test, not a quality result | L: 12 arithmetic and 12 extraction samples per deployment for two models, all four cells measured after restart. The models tied on these tasks; broader quality comparisons remain open. |
| E1 | Image and audio embeddings through Ollama's native /api/embed |
shipped in 0.3.0: one native request per mixed batch; gated on Ollama ≥ 0.40.16, the alias's modalities, the deployment's capability, identity, width and norm; video refused | F: tests/test_ollama_native_embed.py; L: native Ollama 0.40.16 and gateway candidate on Ollama 0.40.21. Image, audio and mixed input batches on embeddinggemma-2 returned indexed, unit-norm 768-D vectors (record) |
Other models and retrieval-quality evaluations |
| E2 | Opt-in automatic eviction (lifecycle.auto_evict) |
shipped in 0.3.0: least-recently-used idle models unloaded through the guarded unload to fit a request or an admin load; never busy, leased, foreign or non-opted-in models; no partial eviction | F: tests/test_auto_evict.py |
L: 0.85 GB private Ollama pool; a lease on one alias protected the other (409), a competing request was refused (422), then ran (200) after release and confirmed eviction. |
| E4 | Conversations API (protocols.conversations) |
shipped in 0.3.0: create / retrieve / update / delete, items with cursor pagination, conversation on /v1/responses; caller-scoped (404 for another key), bounded, TTL, one turn at a time (409), history replayed unmodified; atomic owner-only commit, byte-exact item limit |
F: tests/test_conversations.py; L: a stored fact recalled in a later turn, ownership, stable pagination, delete → 404 on the GX10 (owner's check, 2026-12-05, PR #40) |
a client application that uses the Conversations API; two gateway processes on one state DB (not supported) |
| E5 | Free-text ensembles (POST /v1/ensemble) |
shipped in 0.3.0, opt-in: candidates from distinct deployments, then an explicit select (closed-choice ballots by judges; the winner verbatim; ties undecided) or synthesize (one named deployment); every candidate, ballot, failure and the deadline reported; every stage bound by the caller's alias and the locality policy; hints honoured or refused; wall-clock deadline with uncertain-hold accounting |
F: tests/test_free_text_ensemble.py, tests/test_auto_evict.py; L: two generators and a distinct judge/synthesiser on the GX10 (run) |
quality advantage unmeasured |
| E7 (step 1) | Built-in page segmentation for the OCR layout stage (pipelines.ocr.layout.engine: builtin) |
shipped in 0.3.0, opt-in: recursive X-Y cut on an ink mask, blocks in reading order, every block labelled text, result labelled builtin-xycut; all bounds of the service path apply; no model, no network call |
F: tests/test_layout_builtin.py; L: four exact lines through GLM-OCR in column order, with two distinct region counts on upright and tilted pages (run) |
broader scanned or photographed pages |
| E9 | Explicit video frame sampling | Development chat API accepts one short inline MP4 with modelsaar.video=frames and routes sampled stills to a vision model. |
F: tests/test_video_frames.py; L: two opposite color sequences on GX10 qwen3.8, with the expected answers (record). |
Native vLLM video chat identified the first and last colors; a separate pinned video embedding model returned a unit-norm 2,048-D vector (both runs). The native Ollama API currently has no video embedding transport. |
| E3 | Opt-in model downloads (lifecycle.allow_pull, pull_allowlist) |
shipped in 0.3.0, off by default: admin-only lifecycle pull of an exact allow-listed name; the runtime downloads, the gateway only asks and reads status; pinned digest enforced at discovery (withheld otherwise); store budget before transfer; one per backend; cancellable; terminal state from the runtime's listing; never started by inference |
F: tests/test_model_pull.py |
L: two genuine models, cancellation during transfer, completion on retry, digest quarantine, disk-budget refusal and inference on the pinned model (run) |
| E7 (step 2) | Operator-supplied document layout model | Shipped in 0.3.0; opt-in pinned local DocStructBench ONNX detector | F: tests/test_layout_onnx.py; L: three detected and transcribed lines on a four-line page |
Accuracy on representative customer documents |
| E8 (placement) | Capacity-based worker selection | Shipped in 0.3.0; explicit admin operation on configured managed workers | F: tests/test_cluster_placement.py; L: Mac plus GX10 |
See the job path below |
| E8 (jobs) | Caller-owned jobs with durable leases, safe pre-dispatch retry and worker loss handling | Shipped in 0.3.0; requires explicit worker configuration and the cluster jobs API | F: tests/test_cluster_jobs.py; L: two physical workers |
Single gateway scheduler with local SQLite; completions delivered to the submitting call |
| E6 | Hosted tools on POST /v1/responses (hosted_tools) |
shipped in 0.3.0, off by default: an operator-declared catalogue — file_search over registered text through an embeddings alias, fixed http calls on allow-listed hosts (no redirects), mcp tools on loopback addresses (Streamable HTTP) — with per-key allowlists, limits on steps, calls, time and bytes, explicit incomplete, failed tools reported to the model, an admin-only audit, caller-executed tools and Conversations preserved. No code interpreter, shell, computer use, image generation or open web search |
F: tests/test_hosted_tools.py (scripted model, real loopback HTTP and MCP servers) |
L: real chat and embedding models, HTTP, FastMCP JSON/SSE, and a streamed OpenAI SDK file search. Retrieval quality on other collections remains to be measured. |
Backlog rows that are not features (docs/backlog-post-alpha.md): macOS sandbox default, recorded
real-client workflows, real-model embeddings, vLLM/llama.cpp live run, website copy.