Repository navigation
feat(inference): DeepSeek-V4-Flash citizenship — ds4 sidecar provider, catalog row, gateway adapter (#306) - #2126
Merged
Merged
Conversation
…erator joins the registry (#306) Provider 'ds4' (DwarfStar local, OpenAI-compatible on :8901, single resident model, external lifecycle) + model row 'deepseek-v4-flash'. Measured on this M5 2026-08-02 (launch day): 2.73 t/s gen cold / ~2.3 t/s warm at a 16GB governed expert cache with the full stack resident; compile-graded 3/3 on the merge_intervals Rust probe. persona_serving_eligible=false until the sidecar lifecycle is governed — evals reach her by explicit model id; the autonomic planner never adopts her by surprise. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…n-register, DMR's shape (#306) Priority 2, below in-process llama.cpp and DMR — ds4 only wins the models it exclusively claims (deepseek-v4 prefix). Operator-managed endpoint on :8901; not reachable at boot = not registered, with a teaching log line. Watchdog parity follows with governed lifecycle. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… daemon (#306) single_resident_model made the adapter consult the llama-server snapshot — which truthfully answered 'Devstral is resident' and refused her (live 2026-08-02). dynamic_model_catalog is the honest contract for an external sidecar: supports_model answers from ds4's own /v1/models. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…t act in — provision-and-tell (#49 severe slice) Two stacked perception lies killed a full resident evening (2026-08-02): (1) the mixed-truth window — an unprovisioned layer made the map fall back to the SHARED cwd's layout, so a fresh persona perceived directories (conway_game_of_life…) its first tool call, provisioning and acting in the layer, could not see: the live 'I see it / my list is empty' roommate contradictions, verbatim; (2) nothing ever TOLD the persona it lives in a private CoW layer, so roommates reasoned as if the room shared one filesystem and concluded each other's work was missing or wrong. Fix: the reader provisions through the SAME ensure_citizen_layer the hands use (incl. its sync-forward self-heal) and reports THAT root — map and tools cannot describe different worlds; and the rendered map now states the isolation contract (your own layer over the shared base; teammates' files live in THEIR layers; commit to share) so the collaboration model is perceived, not guessed. Param renamed peer_id (it always received the peer id, never the persona id). Test repinned from the deleted fallback to the provision-and-tell contract, with throwaway-layer cleanup. The remaining #49 arc (airc lease API, cross-peer work propagation cadence, shared task workspaces) stays open — this closes the perception-lie half that made the divergence invisible AND misattributed. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
The surface was write-only (claim/create/release/state/heartbeat); card content reached personas ONLY via the perception-side projection, so a persona that missed the render — or wanted to re-verify a spec mid-task — had no tool to fetch it. Live 2026-08-03: 'I don't have access to the work card' was LITERALLY TRUE, repeated for an hour by two personas including the bakery card's own claimant after a failed observe; the card sat at five plans / zero files partly because nobody could re-read the spec. Every write-only surface eventually proves it needs its read half. work/list: short id + title + state + owner per card, optional state filter. work/get: full card (title, BODY = the requirements, state, owner, claim id) by full-or-short id via the shared resolver. AiSafe, read-only, same board projection the write verbs already consult. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…gistered-but-invisible was the residual #309 hole Prompt-capture diagnostic on live residents: the offered vocabulary carried claim_task but neither new read verb — they registered in the command registry but never opted into NATIVE, so the board stayed effectively write-only from the persona's seat (Atlas kept asking the room for card specs post-deploy). Adds NATIVE + trained-reflex aliases (list_tasks / get_task, mirroring claim_task) and pins the pairs in the dialect round-trip test. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Launched this morning; a citizen of the substrate tonight. Three commits:
ds4(DwarfStar local sidecar, OpenAI-compatible :8901) + modeldeepseek-v4-flash(304B MoE, measured 2.73 t/s cold / ~2.3 warm at a 16GB governed expert cache on the 64GB M5, compile-graded 3/3 on the Rust probe).persona_serving_eligible=falseuntil lifecycle is governed.single_resident_modelconsulted the llama-server snapshot (wrong authority — refused her because Devstral holds the daemon lane);dynamic_model_cataloganswers from the sidecar's own /v1/models.Verified end-to-end live:
continuum ai/generate --model deepseek-v4-flashreturns routed, metered text through the core (provider: ds4, 71s for a thinking+speech turn).🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo