Skip to content

Tracker Archive

TinyTitan Agent edited this page Nov 26, 2026 · 19 revisions
TinyTitan

Tracker Archive

Closed tracker items, kept as the record the active Project Tracker no longer carries. IDs are stable and never reused.

DSH plugin updated to DeepSeek Harness 0.2.3-alpha.2 (2026-11-26)

plugins/dsh-tinytitan moved from 0.2.2-rc.5 to 0.2.3-alpha.2 in all three pinned places (bundle version, the three DSH peer dependencies, SUPPORTED_DSH_VERSION) and moved engines.node to the release's line (^24.22.3 || >=26.13.1). The release replaced cordis-plugin-include's entryListSchema export with parseEntryYaml; importing the old name left the schema undefined and rejected every !!js row, so the preset generator now calls parseEntryYaml and the test pins the { __jsExpr } shape. The 0.2.3 standard preset adds tool-cordis; the real shipped file parses to 24 rows and the builder keeps it. Verified on Node 24.22.3: npm ci, 178/178 plugin tests, test_dsh_route 24 OK, eslint/prettier clean. (Created/Updated: 2026-11-26, Links: commit)

DeepSeek Harness plugin retired (2026-11-26)

Owner decision 2026-11-26. TinyTitan retired its DeepSeek Harness support: plugins/dsh-tinytitan/, tools/dsh_route.sh and their tests/CI/docs were removed, the javascript lint gate was dropped (19 gates), and the README, AGENTS.md and wiki entry points now carry a retirement notice. The OpenCode provider configuration and the loopback server are unchanged. No model install is involved. (Priority: P1, Created/Updated: 2026-11-26, Links: commit e1c3e901)

TT-136 closed Done (2026-11-26): 35B-MoE and 122B converter resume

Done 2026-11-26 at e79ba356. tools/prepare_agentworld.py unlinked each source shard when convert_shard returned, but converted bytes are buffered twice — in OutputWriter until OUTPUT_SHARD_BYTES (4 GiB) and in FusedExperts until a whole layer arrives — so a kill before a flush lost the converted work with the source already gone, and the whole 70 GB (35B) / 250 GB (122B) fetch restarted. The fix keeps a source until every writer has flushed and no FusedExperts hold names it, returns a complete source from disk without a request, prints what is resuming, and adds a real 127.0.0.1-mirror SIGKILL e2e (8 tests) plus unit tests; the suite leaves _stopping restored between tests. Verified: 120 converter tests OK, both suite orders; no model install needed or used.

Impact: A killed 35B/122B install no longer re-downloads work it already converted (and the kill-before-first-flush case loses nothing). (Priority: P2, Created: 2026-11-26, Links: commit)

Installer resume for Qwen3.8-Flash-Next fixed (2026-11-26)

tools/prepare_qwen38.py unlinked each checkpoint shard as soon as it converted, before the output block flushed (4 GiB), so a kill early in the conversion left no adoptable output and the resume fetched the whole 360 GB again — reported as "started at 0%". 2be28436 keeps each source until every tensor converted from it has reached a finished output shard, returns a complete source from disk without a request, removes stale sources whose output a previous run adopted, and prints what it is resuming. Verified by KilledProcessTests.test_a_kill_before_the_first_flush_keeps_its_sources (fails on the old code) plus the full 107-test converter suite. The same "unlink before flush" pattern in tools/prepare_agentworld.py is tracked as TT-136.

Release v7.4.1 closed Done (2026-11-25): prompt-cache ENOENT eviction fix, chaos tests, and self-hosted badges

Fixed GitHub issue #35 (aa80de78, cfb0b2a9): ServerPromptStateStore.releaseDiskRecord and PromptCheckpointStore+Maintenance treated NSFileNoSuchFileError / ENOENT (from external deletion or concurrent Task.detached unlink) as an eviction refusal, wedging diskLRU and leaking disk_bytes past --prompt-cache-disk-mib. Added PromptCacheChaosTests (8-worker concurrent stress + ENOENT + corruption + UF_IMMUTABLE recovery) and PluginRegistryConformanceTests, replaced external Shields.io README badges with self-hosted .github/badges/*.svg, and published v7.4.1 (CI green).

Release v7.4 closed Done (2026-11-25): Inkling 2 Mini affine KV cache (--kv-bits 4|8|16) and TPP/1.1 mandatory parameters

Shipped 8-bit and 4-bit affine KV Metal kernels (depth_decode_kv_quant.metal) for both Inkling2GGUFQ4 and Inkling2NVFP4 (76a6d034, f485f09c, b7ddda5c). Default 8-bit KV passed both Inkling goldens byte-for-byte identical to 16-bit (0 diff across 128 greedy tokens) with 2.23–2.94× speedup at 256K. Enforced mandatory --kv-bits 4|8|16 and --max-concurrent-sequences in PluginConformance, set Inkling Q4 defaults (14G RAM, 128K context, 8-bit KV), and verified end-to-end fresh install from GitHub.

TT-135 closed Done (2026-11-25): Inkling NVFP4 decode: take the expert repack off the critical path

Done 2026-11-25 (5bca3b63, paired benchmark at 1e50dab6). Word-wide CPU repack cut per-expert repack from 2.06 ms to 1.10 ms (byte-identical to reference and Q4 install); MXFP8 kernels decode E4M3 via exact 256-entry table (95/96 with llama.cpp, same 0.006937 near-tie). Paired interleaved benchmark (TinyTitanCLI, 128 tokens greedy, "Compare Swift vs C++ in detail.", --seed 1234, M3 24 GB, 72-78% memory free, host load avg 6.4-8.2, 100% SHA-256 deterministic per arm): (A) Matched --ram-budget 12G (32K window, 3 rounds AB/BA/AB): Q4 (76 slots, 12,234 MiB) median 6.415 tok/s (4.564 / 8.124 / 6.415; prefill 3.507 s) vs NVFP4 (59 slots, 12,170 MiB) median 4.253 tok/s (4.211 / 4.851 / 4.253; prefill 5.345 s) — 0.663× (−33.7%, +79.2 ms/tok). (B) Matched 64 slots (--expert-cache-slots 64 --max-context 32768, 2 rounds AB/BA): Q4 (10,819 MiB) median 7.874 tok/s (7.770 / 7.977) vs NVFP4 (12,760 MiB) median 5.333 tok/s (5.114 / 5.552) — 0.677× (−32.3%, +60.5 ms/tok). Decision: GPU repack kernel not worth building — CPU repack is only ~1.1 ms/expert (overlapped with prefetch), while the +60.5 ms/tok gap at matched slots is inherent to the BF16 resident body (3.85 GB vs 1.82 GB Q8_0 in GGUF, including the 926 MB BF16 LM head).

Impact: Repack is off the critical path and the remaining gap is measured and explained; no GPU repack kernel needed. (Priority: P2, Created: 2026-11-24, Links: plan)

TT-133 closed Done (2026-11-25): Out-of-tree plugins

Done 2026-11-25 at 9e57187c. Exported TinyTitanCore in TinyTitanLib / TinyTitanLibDynamic, added examples/plugin/ (EchoPlugin implementing EnginePlugin + PluginDemo registering and resolving it via PluginRegistry), added tools/plugin-dependency-check.sh, and wired it into .github/workflows/ci.yml. Verified: tools/plugin-dependency-check.sh builds, registers, and resolves com.example.tinytitan.echo (protocol 1.0); 20 lint gates green.

Impact: Third-party SwiftPM packages can implement and register TPP/1 plugins without modifying TinyTitan. (Priority: P3, Created: 2026-11-24, Links: commit)

TT-131 closed Done (2026-11-25): Plugin conformance kit and the parameter gate

Done 2026-11-25 (a2f0b697, 42b188ca). PluginParameterGate enforces every declared parameter on the server, and PluginConformance + TinyTitanCLI plugin-check [--install <dir>] [--plugin <id>] [--json] checks static identity, protocol major, probe hygiene, parameter table honesty, reasoning control, factory construction, metadata, architecture, and tokenizer discovery. Verified: PluginConformanceTests green, 20 lint gates green, TinyTitanCLI plugin-check passes 6/6 built-in plugins and all 4 installed model families (qwen3.5_4B_4Bit, ornith-1.5_35B_A3B_4Bit, inkling-2-mini_GGUF-Q4, inkling-2-mini_NVFP4).

Impact: Plugins are verified against the TPP/1 contract automatically. (Priority: P1, Created: 2026-11-24, Links: commit)

TT-130 closed Done (2026-11-24): Plugin Protocol v1: TinyTitanPluginAPI, PluginRegistry, front ends resolve through it

Done 2026-11-24 (21c7c9cf). TinyTitanPluginAPI (Core only; on the library-facade allowlist): EnginePlugin, PluginRegistry (strongest manifest probe wins; tie, no match, other major = error), ParameterSupport/Support (explicit unsupported value refused with the plugin reason, unsupported default replaced and announced). TemplatePlugin is the golden base (weightless counting engine, every requirement implemented and tested); spec docs/plugin-api-v1.md. Inkling2GGUFQ4Plugin is the first standalone plugin (own metadata-only GGUF reader, own tokenizer derivation, own parameter table). Ornith, dense Qwen 3.5 and 6.x run behind labelled adapters (TT-132). Front ends resolve through the registry; every on-disk install resolves to its previous engine; goldens ornith-4 and qwen35-4b-4 identical; variant-isolation covers sources/Plugins.

Impact: Adding a model means editing the host in a dozen places. (Priority: P1, Created: 2026-11-24, Links: design)

TT-129 closed Done (2026-11-25): MTP speculative decode for Inkling 2

Done 2026-11-25 (kept opt-in, default OFF). Implemented Inkling 2's bundled DSpark MTP draft model (block_size = 8, 3 dense BF16 layers + 7-step rnn_hidden Markov head over the 54 mtp.* tensors already resident in model_weights.bin), target tap capture ([5, 23, 41, 48]), and exact 3-tap convStates rollback behind TINYTITAN_INKLING_MTP=on. Exact byte-for-byte identity verified on both the 96-token raw golden (inkling-2-mini-nvfp4.txt) and 128-token chat prompt. Paired 3-round interleaved benchmark (128 tokens greedy, --ram-budget 12G, 59 expert slots/layer): MTP-off 8.047 tok/s (7.496 / 8.047 / 8.078) vs MTP-on 3.404 tok/s (3.348 / 3.407 / 3.404, 0.423×; 64/435 = 14.7% acceptance, 2.03 tok/pass; verify 502 ms/pass = 84% of decode time due to ~6× more unique SSD expert reads per 8-token verify pass). Kept opt-in (default OFF) because speculative verify does not pay under SSD expert streaming.

Impact: Opt-in DSpark MTP path implemented and measured; default stays OFF where SSD streaming dominates verify latency. (Priority: P3, Created: 2026-11-24, Links: plan)

TT-128 closed Done (2026-11-24): Streaming is standard for every served LLM

Done 2026-11-24 (da91167c). Audit of 9 server backends and 6 CLI routes: only the raw-checkpoint Inkling route buffered; it now streams (Inkling2TextDelta). tools/api-feature-check.py streamed row also fails a route that sends its deltas in one burst (2 ms per gap), pinned by benchmark/test_api_feature_streaming.py in CI.

Impact: A client sees nothing until the answer is complete. (Priority: P1, Created: 2026-11-24, Links: plan)

TT-127 closed Done (2026-11-25): Retire the Inkling side routes

Done 2026-11-24 at d2717d63. Deleted sources/Engines/Inkling2 (TinyTitanInkling2), sources/TinyTitan/Inkling2GGUF, Inkling2GGUFManifest, Inkling2ServerBackend, Inkling2GGUFServerBackend, Inkling2Run, RunInkling2GGUF, and their CLI/server branches (-11,934 lines across 79 files). Relocated q4kxl-reference.json to tests/Engines/Inkling2GGUFQ4/Fixtures/, InklingChatTemplateTests to tests/TinyTitanCore/Tokenization/, and GGUFBlockKernelsTests to tests/Engines/Inkling2GGUFQ4/. All 20 lint gates and 20 Inkling/GGUF kernel tests pass. Raw folders models/inkling-2-mini (19 GB) and models/inkling-2-mini-gguf (16 GB) were removed with owner approval on 2026-11-25 (35 GiB freed).

Impact: One code path per Inkling install (standalone TPP/1 plugins). (Priority: P2, Created: 2026-11-24, Links: commit)

TT-126 closed Done (2026-11-25): Inkling 2 wiring: selection table, catalog, launcher, goldens, budget default

Done 2026-11-25 (58c6cc71, c2246f94). ModelCatalog.Kind.plugin(family:reasoning:) + ModelCatalog+Plugins.swift and ModelRouter.standardCounter discover and serve plugin-backed installs (--catalog lists inkling-2-mini-gguf-q4 and inkling-2-mini-nvfp4); wired maxContextExplicit from CLI/server through SessionBuildOptions so Inkling 2 defaults to 32K under --ram-budget while honoring explicit --max-context; added inkling-2-mini (Inkling2GGUFQ4, Inkling2NVFP4) to registry/registry.json (TinyTitanCLI catalog --check green), tools/tinytitan_models.sh, tools/install_models.sh (repack, no Python required), and tools/server_launcher.sh; captured and re-verified both Inkling 2 golden baselines (inkling-2-mini-gguf-q4.txt 622 B, inkling-2-mini-nvfp4.txt 682 B, both byte-identical on --check). Verified: test_launcher_install, test_install_models_menu, test_install_models_batch_status, RegistryInventoryTests, InklingQ4LoadPlanTests, catalog --check, and 20 lint gates green.

Impact: Inkling 2 Q4 and NVFP4 are first-class catalogue, registry, installer, launcher, and golden targets. (Priority: P1, Created: 2026-11-24, Links: commit)

TT-125 closed Done (2026-11-24): Inkling 2 NVFP4 engine variant over its .ssdai install

Done 2026-11-24 (c2256b48). Inkling2NVFP4Plugin: the Q4 graph (copied) over the checkpoint install; resident tensors mapped with measured transforms, NVFP4 experts repacked byte-identically to the Q4 install, MXFP8 experts through new mxfp8_gemv_ids/gemm_tiled_mxfp8 kernels, BF16 embedding kernel. Greedy 95/96 with llama.cpp (one 0.007-logit near-tie); agrees with the raw-checkpoint route wherever the two references agree (they disagree with each other on 7/96); api-feature-check 10/10 at 12G with prompt-cache hits. Decode speed is TT-135.

Impact: The original-precision Inkling cannot be used at all within a RAM budget. (Priority: P1, Created: 2026-11-24, Links: plan)

TT-124 closed Done (2026-11-25): More than one sequence (--max-concurrent-sequences) for Inkling 2

Done 2026-11-25 (a779718a). Both Inkling2GGUFQ4 and Inkling2NVFP4 now support concurrent sequences: per-slot SlotState (KV caches + short-conv histories) in InklingQ4State with reset(slot:) and perSlotBytes, slot-indexed InklingQ4Decoder, lock-serialized multi-slot InklingQ4Runner (positions: [Int], resetSequence(slot:), slot-aware prefillChunked/produce/produceBatch), BatchedLogitProducer completion loop with per-slot InklingQ4LogitsScratch (direct fast path preserved for slots == 1), real perSlotBytes in InklingQ4LoadPlan, and ParameterSupport.concurrentSequences = .supported. Verified: Inkling2GGUFQ4PluginTests, InklingQ4LoadPlanTests, PluginConformanceTests, and 20 lint gates green.

Impact: Inkling 2 now serves concurrent requests with per-slot isolation and accurate memory budgeting. (Priority: P2, Created: 2026-11-24, Links: commit)

TT-123 closed Done (2026-11-24): --kv-bits honoured by Inkling 2

Done 2026-11-24 (2b7aef84), as a measured rejection. 8/4-bit K/V kernels were built and run on the llama.cpp reference cases (96 tokens): 8-bit 95/96 and 4-bit 91/96 top-1 (per-32-channel scales; 94/90 per head). Rejected under the quality rule and not committed. An explicit --kv-bits 8/4 on Inkling is refused with those numbers; the server default (8) is served at 16 with a logged notice instead of being ignored.

Impact: A default parameter silently does not apply. (Priority: P1, Created: 2026-11-24, Links: plan)

TT-122 closed Done (2026-11-24): Inkling 2 Q4 on the shared Session through an EngineFactory variant

Done 2026-11-24 (2b7aef84). The Q4 install is served through ServerModelSession by variantGPUInkling2Q4(): engine model, runner and completion loop over the variant decoder, a Core Inkling tokenizer dialect (renderer and parser moved from the 6.x route), the variant load plan, and the tokenizer derived from the verified GGUF header into the user cache (revised from "install carries tokenizer/", which would modify an install). Prompt cache applies: K/V-row and convolution snapshots (32-51 MB), interior checkpoints via PromptMessageMarkers. Verified: api-feature-check 10/10 at 12G with every row identical to the old route; follow-up turn 202/214 tokens reused, identical repeat 154/165 from a checkpoint; LibraryContractTests on the install.

Impact: Prompt cache, library and CLI paths do not apply to Inkling. (Priority: P1, Created: 2026-11-24, Links: plan)

TT-121 closed Done (2026-11-24): Inkling 2 Mini as real 7.0 engine variants (GGUF and NVFP4)

Open 2026-11-23. Inkling runs on two side routes that bypass the 7.0 engine (TinyTitan/Inkling2GGUF, Engines/Inkling2), so no TinyTitan feature applies: no SSD expert streaming, --ram-budget accepted and ignored (15.95 GB resident at --ram-budget 4G), no expert cache, --kv-bits, prompt cache or more than one sequence. Goal: two variants, one from the Q4_K_XL GGUF and one from the original NVFP4/MXFP8 checkpoint, on the shared Session with streaming, then a paired speed comparison and retirement of the side routes. Finding: the GGUF's routed experts are 90% of its 17.62 GB and are NVFP4 (11.47 GB) and Q8_0 (4.33 GB), not K-quants, so the two variants share the expert format in 20 of 24 layers. Decided 2026-11-23: .ssdai for both, now a hard rule (AGENTS.md): every Hugging Face download converts to .ssdai as it streams, chunk by chunk, each chunk deleted once converted. Measured: aligned per-expert reads 2.95 GB/s cold vs 2.63 GB/s for the GGUF's two unaligned reads, and the unaligned reads were page-cached despite F_NOCACHE (53.5% resident vs 0%). Plan: docs/plan-inkling2-7x-engine.md. Phase 0 done: .ssdai block encodings (GGUF Q8_0/NVFP4, NVFP4, MXFP8) with byte-exact size checks and arch.variantGeometry; goldens unchanged. Owner's rule for both installs: only routed experts 4-bit, everything else at its original 8/16 bits — which both sources already are (last four layers' experts are 8-bit in both, kept). Phase 1, GGUF half done 2026-11-23: TinyTitanRepack --input-gguf converts the Q4_K_XL GGUF to .ssdai in 57 s (13d2f70a); --verify-install passes and every tensor byte matches the source (17.618 GB compared, 0 mismatches). Phase 1, checkpoint half done 2026-11-23: TinyTitanRepack --input-snapshot converts the original NVFP4/MXFP8 checkpoint to .ssdai in about 2 minutes (8dfff3de): experts kept NVFP4/MXFP8, the rest BF16/F32, MTP head included, vision left out; --verify-install passes and all 19.525 GB of non-vision tensor bytes match the source. Phase 1 done 2026-11-23: both stream from Hugging Face (--model inkling2-gguf-q4, --model inkling2-nvfp4, f3660bd5), pinned by commit and header fingerprint, planned from ranged header fetches with no source staged; a dry run against Hugging Face plans both exactly as the local copies, and a full install of each streamed through a loopback mirror hashes file for file like the local install. Phase 2 in progress 2026-11-23 (c73bd30e): the Inkling2GGUFQ4 variant target reads the verified install; 96/96 greedy tokens agree with llama.cpp and every logit is bit-identical to the GGUF route. Experts stream into per-layer slots (page cache bypassed, LRU), bit-identical at 16 and 64 slots; decode 6.3 tok/s at 64 slots (7.5 GB) and 4.3 at 32 (3.8 GB) against 14-17 mapped with the whole file in page cache. Served 2026-11-23 (75fe9d95): TinyTitanServer --model models/inkling-2-mini_GGUF-Q4 serves the variant through the Inkling backend, --ram-budget sizing window and expert slots; api-feature-check 10/10 at 12G. At --ram-budget 4G (measured on the 24 GB M3 as a stand-in for an 8 GB M2): 2.7-3.0 tok/s decode at a 4K window, 2.2-2.4 at 28K, TTFT about 5 s. Prefetch 2026-11-23 (74319771): each decode visit runs the next visit's router on its own input (73.8% right) and reads the guess in the background; 6.1 -> 7.2 tok/s at 64 slots, bit-identical. Streamed decode and the 250-record database, 2026-11-23 (fd29609c): one command buffer per decode token (routers signal a shared event, the decoding thread resolves slots and releases the GPU) and per-expert waits take the 12G plan (76 slots) from 8.3-8.6 to 10.5-10.7 tok/s on a five-request Swift coding workload, bit-identical. The 250-record database was measured live (pinning top experts: level speed, prefill 15% slower) and by replaying the workload's routing trace (no policy built on it cuts total reads; it names 37.7% of a visit's experts against 73.7% for the lookahead router; Belady's floor is 6.8 reads a token against 16.8 for LRU): not kept. With reads skipped the 76-slot run is 17.0 tok/s, so the gap is the GPU waiting for reads; decode scales with slots, 10.7 / 12.8 / 12.9 / 14.7 tok/s at 76 / 90 / 100 / 110 (12G to ~16G). Chat benchmark 2026-11-24 (42882690, "Compare Swift vs C++ in detail", --ram-budget 12G): Q4 12.3-12.5 tok/s with --max-context 32768 (76 slots) but 3.1 at the default 262K window (15 slots), same text; NVFP4 only through the raw-checkpoint side route (64-token cap, no streaming, budget ignored) at about 1.5 tok/s; Ornith 1.5 4-bit 17.5. Closed as the installs-and-Q4-variant outcome; the rest of the integration is split into TT-122 to TT-128 (plan: docs/plan-inkling2-7x-engine.md, "Remaining work").

Impact: The flagship features (streaming, RAM budget, prompt cache) do not apply to this model. (Priority: P1, Created: 2026-11-23, Links: plan)

TT-120 closed Done (2026-11-23): Remove the Inkling 2 GGUF route's 16K context cap

Done 2026-11-23. The 16K was a fixed literal from the route's first commits (62cfb3bb, 6f5b3b09). The session now takes the request (server default 256K, ceiling the model's declared 1M) and allocates what the GPU working set holds beside the mapped weights (Inkling2GGUFContextBudget: 32 KB of KV a position across the eight global visits, about 420 MB fixed measured, 512 MiB reserved), logging the window, because a fixed 64K made the Q4 file fail its first request with Metal out-of-memory on a 24 GB M3. Measured there: Q4 gets 26,624 positions, Q2 the full 256K. Correctness: a 27,074-token needle prompt answers byte-identically to llama.cpp on Q2 (Inkling2GGUFLongContextTests, fixture captured at 27K and 57K); the parity run at 57K and the Q4 retrieval run were not completed, because the machine was swapping. OpenCode still cannot use Q4 on a 24 GB Mac: its first request is 26,936 tokens; Q2 fits it; 8-bit and 4-bit affine KV caches for Inkling 2 Mini subsequently shipped in v7.4 (76a6d034).

Impact: Inkling 2 Mini can take long prompts wherever the GPU holds them. (Priority: P1, Created: 2026-11-22, Links: commit)

TT-119 closed Done (2026-11-24): Dense Qwen 3.5: CLI and server disagree on the same greedy request

Done 2026-11-24 at 855a4718. Root cause was in tools/golden-baseline.sh:311-313: the server leg launched dynamic catalog mode (--models-dir) and then sent data[0]["id"] from /v1/models (ornith-1.5-35b-a3b_4-Bit sorted first alphabetically) instead of $catalog_id, causing ModelRouter to switch to Ornith 4-bit while the CLI ran Qwen 3.5 4B. Fixed to select $catalog_id from /v1/models (failing fast if missing). Verified live on release build: tools/golden-baseline.sh --server qwen35-4b-4 (415 B) and qwen35-4b-8 (397 B) both agree byte-for-byte with CLI.

Impact: CLI and server agree on dense Qwen 3.5 greedy generation; --server checks the requested model rather than data[0]. (Priority: P1, Created: 2026-11-22, Links: commit)

TT-118 closed Done (2026-11-24): Inkling 2 checkpoint server route to API parity, or off the server

Done 2026-11-24 at d2717d63 (closed with TT-127). Inkling2ServerBackend and the raw checkpoint side route are deleted; the checkpoint is served from its .ssdai install through Inkling2NVFP4Plugin (TT-125, c2256b48, api-feature-check 10/10 at 12G).

Impact: The API parity rule holds for every route the server offers. (Priority: P2, Created: 2026-11-22, Links: commit)

TT-117 closed Done (2026-11-22): Dense Qwen 3.5 4-bit on the GPU garbles a greedy count

Done 2026-11-22. Root cause: the 4-bit dense installs store k_proj/v_proj at 8 bits and q_proj/o_proj at 4, and the gated full-attention decode projected q/k/v through the GEMV keyed to the attention slot's width, so it read the 8-bit k/v as packed nibbles. Prefill was right, so only the keys and values a decode step wrote were wrong and the model lost sight of the tokens it had just generated (1, 2, 2, 3, 3, 7…). Located with the activation dump, decode against prefill of the same tokens: GDN layers 0–2 at 0.000, the error entering at layer 3, the first full-attention layer, and growing at every one after it; the 8-bit install stayed within 0.002. Fix: each projection at its own role's width in the single-row path, the multi-row format and the gated o_proj, in all three engine copies. After it the count is right on the 2B/4B/9B 4-bit GPU, the GPU picks the CPU engine's token on all 14 traced steps (top-1 logits within 0.03), and the re-captured 2B and 9B goldens are byte-identical to the CPU engine's; the 4B differs by one word. Ornith 4-bit and the 4B 8-bit goldens are unchanged.

Impact: A quality defect on three shipped GPU variants. (Priority: P1, Created: 2026-11-22, Links: commit)

TT-116 closed Done (2026-11-22): API parity: every served model supports the whole API but vision

Done 2026-11-22. New rule in AGENTS.md, checked by tools/api-feature-check.py (ten rows: chat, streaming with usage, tool call, streamed tool call, tool-result turn, stop string, strict JSON schema, thinking, Anthropic Messages + tools streamed, Responses + tools). Inkling GGUF server route: renders the bundled chat template (Inkling2GGUFChatFormat) and splits output by control token (Inkling2GGUFOutputParser); was text-only with no tools or stops. Dense CPU engine: now renders the tool template and parses calls; was 5/10. Live 10/10 on this M3 24 GB: Inkling Q4 GGUF, Ornith 1.5 35B-A3B 4-bit, Qwen 3.5 4B 4-bit GPU and CPU, Qwen 3.5 9B 4-bit GPU. Inkling parity suite re-run on both GGUFs.

Impact: Coding agents get tools, stops and structured output on every route, not on some. (Priority: P1, Created: 2026-11-22, Links: rule)

TT-115 closed Done (2026-11-22): Cut and publish TinyTitan 7.3

Done 2026-11-22 at 3bfd3f06, tag v7.3. The release carries the native Inkling-2-Mini GGUF decoder (96/96 greedy parity with llama.cpp on UD-Q2_K_XL and UD-Q4_K_XL; 1.26–1.40× llama.cpp on decode, pp64 and pp512 on a 24 GB M3), the experimental Inkling checkpoint route and the dense Qwen 3.5 1M default. Before tagging, CI was red on two false alarms, fixed: a gitleaks match on the type name Inkling2GGUFTensor (exact-value allowlist) and a stale marker in the release-precondition test. A README push cancelled the tag commit's CI run, which was re-run green. The release gate ran 13 installed golden baselines (7 GPU + 6 CPU), and the notes name the 13 absent ones. Published six assets; verified sha256 abcaf455… (engine, 32,134,126 B), c6202e00… (library, 32,034,093 B), 117a92af… (tools, 9,689,826 B).

Impact: 7.3 is public: Inkling 2 Mini runs natively and faster than llama.cpp. (Priority: P1, Created: 2026-11-22, Links: release · commit)

TT-113 closed Done (2026-11-21): Native Inkling2 GGUF (UD-Q2_K_XL / UD-Q4_K_XL) at ≥25% over llama.cpp

Target ≥1.25× llama.cpp (~/.unsloth build) on the 24 GB M3, both files, decode and prefill. Met in every final paired round (2026-11-22, 0981b7dd, llama in the same rounds): Q2_K_XL decode 1.28–1.31×, pp64 1.26–1.36×, pp512 1.33–1.38×; Q4_K_XL decode 1.34–1.38×, pp64 1.26–1.28×, pp512 1.39–1.40× (one stalled Q2 decode round at 1.21× was rerun clean). Greedy parity with llama.cpp 96/96 token by token and 96/96 chunked on both files; tokenizer matches llama; CLI route and loopback server route (6f5b3b09, text only). Key wins: block decode GEMV, parallel loop controllers, tiled chunk attention (16.8 → 4.75 ms per 512-token visit), 128-row and blocked-layout GEMM tiles, split-K small-rows GEMM, chunk controller apply and parallel convolutions (both bit-identical), concurrent chunk projections. Open: margin at pp64 (Q4 1.26–1.28×; Q2 pp64 bimodal across runs), IQ expert GEMV floor at decode, server tools/stop strings.

Impact: The speed goal for Inkling2 on 24 GB Macs; without it the GGUF route is slower than llama.cpp. (Priority: P1, Created: 2026-11-21, Links: 2026-11-22)

TT-112 closed Done (2026-11-25): Port Inkling 2 Mini (mixed NVFP4/MXFP8, looped MoE, multimodal)

Open 2026-11-21. Plan: docs/plan-inkling-2-mini.md. The checkpoint is 26.4B in one ~20GB file: NVFP4 (block-16, FP8 scales) routed experts in layers 0–19, MXFP8 (block-32, UE8M0) in layers 20–23, BF16 elsewhere, plus a 23-layer vision tower, 3-layer MTP and a tiktoken tokenizer. TinyTitan 7.x has no FP4/FP8 runtime, looped graph, relative attention, vision or tiktoken. The quality contract is no requantization: preserve the packed tensors/scales, dequantize at the kernel boundary, and require logits/token parity against the reference. Phase 0 (contract/manifest) can start without the download; phase 1 needs the ~20GB install under models/ and a 32GB+ host.

Impact: Done 2026-11-25 (text scope complete across TT-121/122/124/125/126/129/135). Both Inkling 2 Mini variants (inkling2mini original NVFP4/MXFP8 and inkling-q4-k-xl-unsloth UD-Q4_K_XL) ship as standalone TPP/1 .ssdai plugins with goldens, multi-slot concurrency, opt-in DSpark MTP, catalog/installer/launcher wiring, and paired benchmarks. Vision tower remains out of scope per AGENTS.md. (Priority: P1, Created: 2026-11-21, Links: plan)

TT-111 closed Done (2026-11-20): Make the context cap capacity-only with a thresholded RoPE profile

Done 2026-11-20 (dense GPU; CPU stays native). Thresholded prefill/decode kernels use the native helper below n̂ = 262144 and the fixed 1M extension above it; YaRNRoPEParameters.threshold and the dense RuntimeConfiguration carry it. The dense factory sets EngineFactory.defaultMaxContextTokens = 1M, and ServerModelSession.load applies it only when the caller left the native default with no scaling; the profile stays fixed at 1M for every cap. Verified: all six dense GPU goldens byte-identical at the 1M default; 2B output identical at default/4M/16M; DenseGPURoPETests pin native identity below a 4K threshold, the extended branch, prefill/scalar agreement, and cap/profile independence. A real >262K end-to-end prefill was not run (370k-word attempt stalled in swap); the prefill kernel crosses a reduced threshold instead.

Impact: Short dense answers no longer depend on the context cap, and public 64–512 GB hosts can choose 1M–16M without changing short output; dense CPU remains 262K. (Priority: P2, Created: 2026-11-20, Links: commit)

TT-110 closed Done (2026-11-20): Dense Qwen 3.5 YaRN context: honor --rope-scaling and offer 512K–16M rungs

Done 2026-11-20 at eda429c9. The dense GPU factory had dropped SessionBuildOptions.ropeScalingMode, so --rope-scaling yarn --max-context 1048576 failed with "enable YaRN" even with the flag; it now passes the mode and max context into DenseGPU.RuntimeConfiguration. The rungs are 512K/1M/2M/4M/8M/16M (1M default); explicit 1M works on the 2B install (5-token prompt, one token, peak 1.99 GB; KV grows with sequence). 1M is deliberately not the no-flag default: on the 2B golden prompt the 1M run produces different text from native 262K, so changing the default would fail the stored golden and change every short dense answer. The dense CPU engine has no YaRN; larger rungs are for hosts whose KV budget fits, quality above 2M unmeasured.

Impact: Public users on 64–512 GB hosts can choose 1M–16M explicitly, and 1M is the documented standard long-context rung; the next release carries it. (Priority: P2, Created: 2026-11-20, Links: commit)

TT-109 closed Done (2026-11-20): Cut and publish TinyTitan 7.2

Done 2026-11-20 at 85925b83, tag v7.2. The release carries the Ornith expert-cache fix (7.1's ~7 tok/s to 16.4–21.4 across the RAM budgets), the twelve dense qualification records and shipped: true on all six dense pairs, the stable log-softmax and the TT-050 cleanup. CI test and CodeQL were green; the release gate ran 13 installed golden baselines (7 GPU + 6 CPU) and named the 13 absent ones. Published six assets; verified sha256 fb8e4bb9… (engine, 31,391,955 B), 38bf4e19… (library, 31,596,417 B), c09f8bf8… (tools, 9,500,149 B).

Impact: 7.2 is public with the Ornith regression fixed and the dense claim carried; the post-release compile/test policy commit is 7ab81c1b. (Priority: P1, Created: 2026-11-20, Links: release · commit)

TT-108 closed Done (2026-11-25): Re-qualify Ornith 4-bit at the new 160-slot default

Done 2026-11-25. Re-qualified models/ornith-1.5_35B_A3B_4Bit on release TinyTitanCLI at the 160-slot default (cache=10.55G, estimate=12.84G): 3 rounds greedy 128 tokens measured 14.313 / 15.685 / 15.796 tok/s (median 15.69 tok/s, up from old 32-slot 11.55 tok/s); 96-token golden matched benchmark/golden/ornith-1.5-35b-a3b-4bit.txt byte-for-byte. Updated registry/registry.json (decodeTokS: 15.69, date: "2026-11-25").

Impact: Registry qualification updated to reflect the 160-slot default. (Priority: P2, Created: 2026-11-20, Links: commit)

TT-107 closed Done (2026-11-20): Ornith 35B variant ignored the resolved expert-cache slots

Done 2026-11-20 at d7748378. The 7.0 Ornith35B4Bit factory always loaded 32 slots (env override only), so the session's resolved count from the profile, --ram-budget or --expert-cache-slots never reached the model; the CLI/server decoded at ~7 tok/s against 6.x's 10–21. EngineFactory gained buildModelWithSlots(directory, arch, context, slots), ServerModelSession.load passes its load-plan slot count, and the Ornith variant uses it (env remains the last word); an EngineRoutingTests case pins 64 slots through the path. Corrected 192-token sweep: 8G 16.41, 10G 19.02, 12G 20.10, 14G 21.33, 16G 20.96, max 21.35 tok/s. The ornith-4 golden is byte-identical; full suite and gates green.

Impact: The 7.1 CLI/server Ornith path was running at one third of the 6.x rate for a configuration reason, not a kernel difference; the RAM budget now has a real effect. (Priority: P1, Created: 2026-11-20, Links: commit)

TT-106 closed Done (2026-11-20): Cut and publish TinyTitan 7.1

Done 2026-11-20 at 1905868f, tag v7.1. Version 7.1 and the release notes landed first; CI was green on the tag commit, the gate ran 10 test-target runs and 7 golden baselines were identical (ornith-4 plus the six dense GPU baselines), with the 13 absent baselines named in the notes. The engine, library and tools archives were published with sha256/size in the Release body; all binaries are generic arm64. tools/release.sh refused nothing and --publish completed.

Impact: 7.1 is public with six assets and verified checksums. The dense qualification/shipping (TT-081) landed after this cut, so 7.1's artifacts predate that claim; the next release is the first to carry it. (Priority: P1, Created: 2026-11-20, Links: release · commit)

TT-105 closed Done (2026-11-20): Update dsh-tinytitan to DeepSeek Harness 0.2.2-rc.5

Done 2026-11-20 at f3a80af3. The bundle pinned 0.2.2-rc.1 in four places; rc.5 is the current latest/next. Version, exact peers, lockfile and SUPPORTED_DSH_VERSION moved to rc.5; the README/docs/wiki were updated. Compatibility was checked, not assumed: compaction types are unchanged, the shipped standard preset still parses and builds (23 → 20 rows, tool-office retained, no tool-ralph, compaction repointed), startActivation only gained an optional name, and rc.5's removal of parentAgent was handled by reading parentSession/delegationDepth with the old field as fallback. A throwaway rc.5 web profile with the plugin booted and wrote the llm-pi-ai tinytitan route/selectedDefault; plugin suite 157 tests, eslint/prettier clean.

Impact: The published plugin now targets the current harness; the running host must upgrade to 0.2.2-rc.5 before the linked bundle runs, because the pin is exact by design. (Priority: P2, Created: 2026-11-20, Links: commit)

TT-104 closed Done (2026-11-20): Build every product for Apple M3 (local only)

Done 2026-11-20 at 5ee35b21. The release is portable (apple-m1 codegen); there was no native builder, so "optimized for M3" was unverified. tools/build_m3.sh now builds all six executables and both libraries with -target-cpu apple-m3 / -mcpu=apple-m3 into .build/m3, refuses a non-M3 host, verifies the flags in the verbose compiler log and every artifact's arch/build command, and is deliberately not wired into release.sh/build_library.sh. 97 Swift and 10 C compile commands carried the flags. A 3-pair 4B decode measured 22.44–22.50 tok/s portable vs 22.45–22.54 native: no difference outside noise.

Impact: The M3 option exists and is verified; the shipped release stays compatible with M1–M6. The honest result is no measurable speed win on this workload. (Priority: P2, Created: 2026-11-20, Links: commit)

TT-103 closed Done (2026-11-20): Audit the scripts and gates for the four-target product

Done 2026-11-20 at d78f4bb1. stdout-clean walked only the facade target's closure, library-facade covered only TinyTitanLib, verify_cpu_models.sh still checked the 6.x bench runner rather than the shipped CPU path, and build_library.sh stated a stale module count. Fixed: the stdout gate reads the TinyTitanLib product's targets (16 targets, 1,092 files), the facade gate includes CPUEngine (177 declarations, backend package), the CPU verifier runs TinyTitanCLI --engine cpu, and the module count is gone. A bash 3.2 heredoc parse failure in the gate itself was found and fixed.

Impact: The gates now cover what an embedder actually links; the shipped CPU path is exercised, not just the fallback. (Priority: P2, Created: 2026-11-20, Links: commit)

TT-102 closed Done (2026-11-20): 7.0 — the CPU facade in the library product and the CLI --engine cpu

Done 2026-11-20 at d73f8fd8. The dense CPU engines were server-only: CPUModelBackend lived in TinyTitanServerCore, Session was typed to ServerModelSession (Metal-shaped), and the CLI had no CPU path. The backend and its factory helpers moved to TinyTitanCPUEngine, which the TinyTitanLib product carries; Session now runs over any ServerInferenceBackend (backend box held weakly by the session, so unload() still reports engineShutDown), the raw-prompt path is tokenizeRawPrompt + renderedPromptIDs for both engines, and the new public CPUEngine publishes the same Session/ChatMessage/GenerationOptions surface. EngineFactories.routingCPUFactory picks the per-width dense variant and refuses a GPU-only family by name; the CLI's --engine cpu \| gpu selects it; the CPU backend reports prefill/decode seconds. Verified: serial suite 2,407 green, library contract 5/5, live 4B CPU 7.6 tok/s with a real footer, --engine gpu and ornith-4/qwen35-4b-4 goldens byte-identical, Ornith CPU refusal by name, embedded check, build_library stages TinyTitanCPUEngine.swiftmodule, 20 lint gates green.

Impact: The library and the CLI can now run the dense CPU variants the server serves; product targets are the facade, legacy engine, variant factories and CPU engine. Greedy CPU/GPU agree for the first tokens then diverge (engine numerics), so CPU text is not held to the GPU golden. (Priority: P2, Created: 2026-11-20, Links: commit)

TT-101 closed Done (2026-11-20): 7.0 — the variant factory surface ships in the library product; the CLI routes variants

Done 2026-11-20 at 8c4ef4cf. The 7.0 factories lived in TinyTitanServerCore, so the CLI injected EngineFactories.sixXGPU() for every model — including the shipped Ornith 4-bit variant — and an embedder linking TinyTitanLib could not construct a variant engine at all. EngineFactories+Variants.swift moved to the new TinyTitanVariants target, which the TinyTitanLib product now names beside the facade and the legacy engine; routingFactory(directoryURL:) applies the server's selection table, and Run/CalibrationMeasurement call it. The catalog lookup moved to ModelCatalog+Lookup.swift (the file-length rule). Verified: serial suite 2,406 green, catalog 14/14, factory 7/7 (a new pin that routingFactory selects the Ornith variant), goldens ornith-4 and qwen35-2b-4 byte-identical through the routed CLI, embedded-dependency check ok, build_library.sh stages TinyTitanVariants.swiftmodule plus arm64 variants, 20 lint gates green.

Impact: The 7.0 engine is now reachable from both products, not just the server; the remaining 7.0 work is per-model ports (TT-081/083/084/085/086), not the surface. (Priority: P1, Created: 2026-11-20, Links: commit)

TT-100 closed Done (2026-11-20): The dense Qwen 3.5 4B 8-bit install is dead — the 2B repair found a sibling

Open 2026-11-20. models/qwen3.5_4B_8Bit/model_weights.bin is 4,266 of 4,267 1 MiB blocks all zero (99.98%); every other install scans clean (2B 4/8, 4B 4-bit, 9B 4/8, Ornith). The symptom is TT-097's recorded qwen35-4b-8 golden mismatch — the current output is a run of ! where the fluent baseline is expected — and the install was created in the same 2026-11-16 window as the dead 2B installs. TT-097 read the repeated ! as inherited reference behaviour; this scan shows the weights are zero, so parity (both engines read the same zeros) could not catch it. Done 2026-11-20: a fresh 4B 8-bit snapshot (828 tensors, 4.47 GB) was repacked; the install scans 0/4267 zero blocks, 426/426 residents byte-identical, receipt re-issued, dense4B8BitParity passed (132 s), denseGPUParityAgainst6x passed (12.7 s), golden qwen35-4b-8 is identical to the fluent baseline, and the registry size is 4,486,157,130. The qwen35-4b-8 "inherited" ! was this dead payload, not reference behaviour.

Impact: A supported install is silently dead and its qualification/golden records are meaningless until repaired; the converter's content guard (ba5982fe) prevents new zeroed downloads but cannot repair an existing install. (Priority: P1, Created: 2026-11-20, Links: TT-098, guard)

TT-099 closed Won't Do (2026-11-25): Ornith 1.5 35B-A3B ANE prefill fails the identical-greedy quality bar — fp32 attempts inert, sidecar rejected

Won't Do — rejected 2026-11-19 on the identical-greedy bar. The ANE executed the sidecar at 4.245% error vs 0.075% on the GPU; stage isolation pinned it to the block tail's fp16 accumulation (core 0.64%, gate 1.74%, wo 3.96%, gate+wo 4.25%); fp32 attempts were inert (CoreML canonicalizes; compute_precision=FLOAT32 leaves 4.248%). The tail split fixed at 8a858510 (exporter returns attn/gate, runtime applies sigmoid/wo on the GPU in fp32) took verify to 0.147% synthetic / 0.619% real, live logits 5.55% → 4.34%, and the greedy output from a repeated-S loop to coherent (35-char common prefix). Paired benchmark @10G (v7-ornith-ane-ram10): GPU 140.10 s vs ANE 118.00 s median = 1.187× (4,333 tokens; GUI-host caveat — load 10.5; single-run at default budget 1.30×). Rejected because the output is still not token-identical (the residual is the attention core's 0.62% fp16, likely inherent — moving the core to the GPU removes the ANE benefit) and the project's quality rule does not ship a text-changing sidecar behind the documented install step. Both sidecars are preserved out of the auto-selected location as evidence (ane_prefill-rejected/ fused, ane_prefill-rejected-split/ the 0.619% candidate). Owner decision 2026-11-19: quality over speed — final. The GPU path (0.075%) is the smallest error rate and serves; a revival would need the ANE core's fp16 accumulation error eliminated, which the measurements rule out on this hardware. Ornith serves prefill on the GPU (golden byte-identical after the rename; TINYTITAN_PREFILL_ANE=on refuses by name); tools/ane_sidecars.sh continues to refuse new Ornith 35B sidecars. The v4.5 token-for-token agreement was one prompt, not a guarantee. Records: benchmark/ane-prefill/README.md, docs/handover-ane-ornith.md, the gate-2/3 JSON records.

Impact: A known quality-degrading sidecar must not be regenerated by the documented install step; the model is served on GPU instead. (Priority: P2, Created: 2026-11-19, Links: plan, revert, records)

TT-098 closed Done (2026-11-20): Both dense 2B installs are dead — zeroed payloads the converter wrote and every check blessed

Open 2026-11-19. models/qwen3.5_2B_4Bit and qwen3.5_2B_8Bit have 0.52%-nonzero model_weights.bin payloads (4B/9B/Ornith are ~97.5%); probed tensors across attention, MLP, layernorms and even embed_tokens are all zero. manifest hash == receipt hash == actual sha256 == hash of the zeros, so the converter wrote the zeroed payload and the entire chain (install receipt → dense parity → goldens) self-consistently "validated" it — parity cannot catch zeroed weights because both engines read the same zeros. The 2B has never been functional since the 2026-11-16 installer run (TT-096); the AGENTS.md "2B fails instruction-following" lore is very likely this defect (zeroed weights → constant logits → repeated-token output). Amplifier, not cause: tools/verify_ane_sidecar.py computed relative = 0/0 = nan and nan > 2.0 is False, so the sidecar verify said "ok" over a dead graph — fixed 2026-11-19 at b2cc6b5f (refuses non-finite/all-zero with named reasons; 2B now exits 1, Ornith still 0 at 0.555%). Owed: root-cause why the dense converter zero-writes the 2B specifically (4B/9B healthy, same path); re-install both 2B widths (operator-authorized download+convert); re-capture 2B parity/golden/qualification; correct AGENTS.md's 2B lore and the registry 2B rows once healthy. Progress 2026-11-20: both installs rebuilt from one fresh 2.55 GB source: 4-bit 1.32 GB / 99.43% nonzero, 8-bit 2.00 GB / 98.53%; the repack byte-diffed 320/320 residents, re-issued both receipts, and DenseSSDAIEquivalent, dense2B4BitParity, dense2B8BitParity plus goldens qwen35-2b-4/-8 all pass. The converter now refuses a size-correct zeroed download (ba5982fe, suite test_prepare_qwen35). Owed: re-evaluate the AGENTS 2B lore and the registry 2B rows against a healthy install. Closed 2026-11-20: both installs rebuilt healthy, the converter refuses a size-correct zeroed download (ba5982fe), and the AGENTS 2B lore plus the registry sizes were corrected against the rebuilt installs (dfa67c92). The original zero-write was not reproduced on current main — the pipeline is healthy — so the silent-pass hole, not a reproducible writer bug, is what the guard closes.

Impact: A shipped supported model is silently dead and its qualification records are meaningless; every future 2B observation inherits the defect until the install and its lore are corrected. (Priority: P1, Created: 2026-11-19, Links: verifier fix)

TT-097 closed Done (2026-11-19): Make the server process serve the 7.0 variant engines

Done 2026-11-18. Core owns the engine contracts/factory boundary; Ornith 4-bit and all six dense Qwen 3.5 installs use shipped variants through eager, managed and catalogue launches. DenseGPU is token-identical to the 6.x GPU oracle on all six installs. The full feature matrix verified streaming, explicit sampling overrides, reasoning split and cache reuse; Ornith, 4B4 and both 9B widths passed tool calls. The 2B widths and 4B8 inherit the 6.x oracle's repeated-! response on the weather-tool probe, confirmed byte-identical by a permanent regression test. All twelve dense @cpu/@gpu requests and both single-model launch paths pass; this exposed and fixed HTTP validation of the unlisted @gpu alias. Two queued 8,410-token Ornith prompts completed on the variant. 6.x remains for other models and as oracle; TT-087 stays Won't Do. No benchmark was run on the busy host; paired performance comparison remains deferred to a quiet host. Raw goldens pass for 4B4 and both 9B widths; 2B4/2B8/4B8 retain older fluent baselines but currently emit repeated ! on the independent 6.x reference as well as the variants, so this is recorded as inherited install/reference behavior and the baselines were not recaptured. Root cause found 2026-11-19 (TT-098): the installed 2B payload is zeroed — constant logits from zeroed weights are what produce the repeated-! output, on the variants and 6.x alike. Correction 2026-11-20: the 4B8 repeated-! was a 99.98%-zeroed payload (TT-100), not inherited reference behaviour; the repaired install passes its golden. Startup-alias correction 2026-11-20: the launcher's --model <id>@cpu/@gpu startup spelling was refused by the catalog lookup after the refactor (the HTTP alias still worked); fixed at 1220cc1e with theModelFlagFindsAnEngineAlias and live loads.

Impact: Production routing and engine-parity acceptance are complete; performance acceptance and the inherited raw-golden mismatches are explained by TT-098. (Priority: P2, Created: 2026-11-16, Links: spec §11)

TT-096 closed Done (2026-11-16): Add the dense Qwen trio (2B/4B/9B) at both quants + install via the installer script

Done 2026-11-16. All six dense variants now exist and serve the CPU path like 6.x: ported Qwen35Dense2B4Bit (77638454, was a notPorted scaffold) and Qwen35Dense2B8Bit (c1dc7dac); the 4B/9B 4/8-bit variants were already ported. The config-driven CPUEngine is quant-agnostic (4-bit and 8-bit engines are byte-identical), so each variant differs only in its statics. Installed via tools/install_models.sh (qwen35-2b/2b-8bit/4b/4b-8bit/9b/9b-8bit) — the installer streams from HF, converts, hashes, writes the verified-install receipt, and correctly refuses to mix snapshots (cleared stale staging twice). Parity vs the 6.x CPU engine on the same installs — all six passed: dense2B4BitParity (183.9s), dense2B8BitParity (57.6s), dense4B4BitParity (430.2s), dense4B8BitParity (164.5s), dense9B4BitParity (230.2s), dense9B8BitParity (677.8s). variant-isolation/file-length/swift-format/swiftlint/func-length green.

Impact: 7.0 gains the full dense trio at both quants as dedicated paths, and the installer script is proven to import them end to end. (Priority: P1, Created: 2026-11-16, Links: commit)

TT-095 closed Done (2026-11-16): Full-chunk prefill deadlock — parallelFor replaces concurrentPerform on the I/O worker pool

Done 2026-11-16 at 61f92ba1. A full 4096-token MoE prefill chunk deadlocked mid-layer at 0% CPU (a 5,818-token prompt stalled at layer 18-25; OpenCode's agent turn hung). Root cause isolated by forcing serial I/O (which completed): executeCachedPreads fanned miss reads with DispatchQueue.concurrentPerform from the expert-I/O scheduler's 4 fixed worker threads; concurrentPerform counts the caller as a worker and blocks it, starving the GCD pool under concurrent fetches. Fix: a generic dispatch-group parallelFor in TinyTitanCore (caller waits without consuming a pool thread), used at the 6 scheduler-context sites (executeCachedPreads/decodeBlocks/readRanges) in the runtime and the Ornith35B4Bit variant. RANSDecode (layer-open) and NgramTableReader (main path) are not on the worker pool, left. Verified: ParallelForTests 3/3 (incl. fixed-worker-pool stress), the 5,818-token prompt completes ("ok", 40 layers x 2 chunks), golden ornith-4 byte-identical, 20 lint gates green.

Impact: A long prompt must finish, not hang; the fix removes a thread-pool deadlock without changing numerics or I/O parallelism. (Priority: P1, Created: 2026-11-16, Links: commit)

TT-094 closed Done (2026-11-16): P2 — attention command-buffer coalescing (measured non-adoption) + P3-P5 no-change

Done 2026-11-16. A reuse-attnCB-for-softmax/tail candidate passed policy tests 3/3 and golden ornith-4 (byte-identical). Its first paired A/B was too swap-confounded (13.19-13.75 GB swap) to read; re-measured the same day on a quiet machine: mean −0.88%, 0/3 rounds positive, parity identical throughout — the swap run's +15%…+114% deltas were artifacts, and the shipped three-buffer split stays (measured-REJECTED; same signature as the early-commit experiment in §6). P3: readahead at the real 1.69 MiB expert stride gave no reliable benefit. P4: 1/2/4/8-thread sweep had no stable winner. P5: no ANE sidecar in the Ornith install, so no valid ANE measurement. All documented in docs/perf-ornith-post7.md §11-12.

Impact: A candidate is only adopted when it is faster under acceptable memory pressure and parity-identical; these did not clear that bar. (Priority: P2, Created: 2026-11-16, Links: findings)

TT-093 closed Done (2026-11-16): P1 — batched dense CPU prefill (dequantize once + SGEMM at M>=16)

Done 2026-11-16 at 07cecaf1. Dense variants dequantize each projection once and run Accelerate SGEMM for M>=16; M<16 and decode keep per-token GEMV. Parity: DenseVariantBatchedMatmulTests 4/4, CPUBatchedPrefillTests 5/5. Microbenchmark (dequant included): M=16 1.7-2.9x, M=64 5.7-6.2x on 2B/4B 4/8-bit, projections/FFN only. Full-model golden text/timing not checked (no dense installs; none downloaded). docs/cpu-prefill-quant-gemm.md updated.

Impact: Batched prefill reuses weights once per layer instead of re-streaming them per token; measured win with per-token fallback below the crossover. (Priority: P1, Created: 2026-11-16, Links: commit)

TT-092 closed Done (2026-11-16): Remove bf16dense/MTP models and sync installer/launcher catalogs

Done 2026-11-16 at ca90dc00. Removed ornith15-bf16dense, ornith15-mtp, qwen36-mtp from the installer CATALOGUE, the shared resolver, the launcher, the OpenCode provider map, and the release/golden target lists. Added shared tinytitan_install_target so installer and startup accept identical canonical base keys and width-suffixed targets with matching display names, preserving aliases (ornith15/qwen38flash etc.). Legacy staging is reclaimed. test_install_models_menu, test_install_models_batch_status, test_launcher_install, test_launcher_ram, test_launcher_port, test_models_memory_gate, test_tinytitan_profile: 139/139 green.

Impact: One catalog, one spelling: installer and launcher can no longer offer removed builds or disagree on keys. (Priority: P2, Created: 2026-11-16, Links: commit)

TT-091 closed Done (2026-11-16): Post-7.0 — Ornith 4-bit prefill/decode performance investigation

Done 2026-11-16 (measured; no parameter change accepted). Clean production run of published v7.0: 19.65 tok/s footer decode (12/12 verified, no traces; quiet-host measurement vs the 11.55 qualification). Paired interleaved parity-checked A/B (benchmark/minor_wins_ab.py): decode is GPU-compute bound (wait_ms ~36-39 ms GPU attn+router), I/O ~99.5-100% hidden, kernels already bf16+simdgroup, occupancy ~47.8%. I/O knobs measured-REJECTED (pagecache -15%, advice-off -21%, immediate -27%, stack -19%, 0/3 positive). Prefill chunk 2048-vs-4096 REJECTED (clean median -0.7%; a swap-confounded first run falsely showed +31% — re-run with free memory inverted it). TensorView pre-resolution analyzed (~1% marginal). The GPU-occupancy lever was then attempted: early-commit of attnCB/softmaxCB before the router encode (overlap attention GPU with CPU encode). Paired 3-round A/B, parity held: +12.8%/+4.7% under swap load but -16.5% under clean conditions (cb1 and wait both higher when not swap-thrashed) — a load-only 'win' that hurts normal operation. REJECTED + reverted. Net: no accepted perf change; engine near-optimal clean. Findings: docs/perf-ornith-post7.md (commit 8d5d1277).

Impact: Measure before touching: every shipped knob is already optimal; a solid gain needs the occupancy restructure, not a parameter tweak. (Priority: P2, Created: 2026-11-16, Links: findings)

TT-090 closed Done (2026-11-15): 7.0 — cut and publish the release

Done 2026-11-15. Published v7.0 at 15ffd4c7 (annotated tag). The dry run caught a 7.0 packaging regression — the Metal shaders moved to TinyTitanCore in the extraction, so the bundle is TinyTitan_TinyTitanCore.bundle, but release.sh/build_library.sh still asserted the pre-7.0 TinyTitan_TinyTitan.bundle name and refused staging; fixed at 15ffd4c7 (assert the Core bundle carries .metal sources; library check made name-agnostic). CI + CodeQL green; full serial suite 2,684 tests + 20 lint gates green; catalog --check exit 0; golden ornith-4 byte-identical in the release gate. All three archives staged + uploaded (engine 4 Mach-O / library .a+.dylib 2 Mach-O, each exactly arm64): engine sha256 c8800737…, library b13549a6…, tools 63813430… (publish digests; fresh scratch build). All other golden targets reported not checked (no install under models/, none fetched). Two-push publish complete (main + wiki).

Impact: A tag alone is not a release: the artifacts, checksums and the wiki publish are what close 7.0. (Priority: P1, Created: 2026-11-15, Links: release, release notes)

TT-089 closed Done (2026-11-15): 7.0 — qualify Ornith 1.5 35B 4-bit and ship it in the registry

Done 2026-11-15 at 87d1dad5. registry/registry.json marks ornith-1.5-35b-4bit shipped: true with the qualification record: golden gate byte-identical (tools/golden-baseline.sh --check ornith-4, exit 0), decode 11.55 tok/s from the production benchmark (12/12 answers verified, bench-cache_on_mtp_off_4bit-20261115T185402), goldenSHA256 363ba710…, hardware Apple M3 MacBook Pro 24 GB; unmeasured fields stay null. catalog --check's describe-pipe deadlock fixed at c3e65db9, so the shipped-unqualified refusal now guards a real shipped-and-qualified variant.

Impact: "A variant is qualified, not merely compiled" — the shipped pair carries measured evidence, and the registry is the one place it is recorded. (Priority: P1, Created: 2026-11-15, Links: qualification)

TT-088 closed Done (2026-11-15): 7.0 — the Ornith35B4Bit variant port and 6.x parity

Done 2026-11-15. Ornith35B4Bit owns the qwen36-family GPU engine with SSD expert streaming for the one shipped pair (77236b51), conformant to the EngineVariant contracts (bc112a90). OrnithParityTests drives the variant and the original 6.x runtime engine on the same install and asserts identical greedy tokens: passed (24 tokens). On the way: the repacker's manifest family rawValue bug fixed (17529070), and the Ornith install completes and verifies with --verify-install (~19.5 GiB).

Impact: The 7.0 shipped focus: one engine path per (model, quantization), proven on the real 35B MoE instead of a scaffold. (Priority: P1, Created: 2026-11-15, Links: port, parity)

TT-087 closed Won't Do (2026-11-18): 7.0 phase 9 — delete the 6.x machinery

Won't Do for now — prerequisite reachable 2026-11-18. TT-097 routes Ornith and every dense Qwen 3.5 install to shipped variants, but other supported models still require the qualified 6.x runtime and it remains the regression oracle. 6.x is not deleted from main; the full tree is preserved on archive/6.x-final. Revisit only when every remaining served model has a qualified variant.

Impact: The routing prerequisite is met for the TT-097 scope, not a claim that 6.x can now be removed safely. (Priority: P2, Created: 2026-11-14, Links: spec §14)

TT-082 closed Done (2026-11-18): 7.0 — Ornith variant qualified, including server re-host

Done 2026-11-18. Ornith 1.5 35B-A3B 4-bit remains parity-qualified against 6.x and is now the engine used by eager, managed and catalogue server launches. TT-097 completed the deferred server-serves-variant work; two queued 8,410-token prompts completed on variantGPUOrnith, and the golden server-agreement gate is byte-identical.

Impact: Variant qualification and production server routing are both verified; no benchmark was run on the busy host. (Priority: P1, Created: 2026-11-14, Links: spec §11)

TT-081 closed Done (2026-11-20): 7.0 phase 3 — qualify and ship the dense family

Done 2026-11-20 at 5dffa771 (records at 65d9948e). All twelve dense variants (2B/4B/9B x 4/8-bit x CPU/GPU) carry qualification records — golden body SHA-256, a two-run 64-token decode mean, hardware and date — and are now shipped: true; the six CPU dense baselines were captured and re-checked with tools/golden-baseline.sh --engine cpu, and the release gate checks both GPU and CPU dense baselines. Measured decode (GPU/CPU tok/s): 2B4 54.10/19.64, 2B8 35.71/19.13, 4B4 27.68/8.28, 4B8 17.23/9.11, 9B4 15.92/4.44, 9B8 9.38/5.19. catalog --check, RegistryInventoryTests and the full suite are green. The 7.1 artifacts predate the dense records; the next release is the first to carry them.

Impact: The dense family is qualified, shipped in the registry and checked by the release gate; the only remaining release step is the next cut. (Priority: P2, Created: 2026-11-14, Links: commit)

TT-080 closed Done (2026-11-15): 7.0 phase 2 — matrix test and the first qualification record

Done 2026-11-15. Both halves landed, with the scope narrowed by the 7.0 release decision (Ornith 4-bit only, handover 21f89da7): the model-free matrix test at 9d348220 (every role resolves, default width is the variant's own, the 8-bit-as-nibbles trap pinned; 3 tests, tests/Engines/Qwen35Dense2B4Bit), and the first qualification record at 87d1dad5 — ornith-1.5-35b-4bit is shipped: true with goldenSHA256 and a measured decode row (TT-089), so catalog --check has one shipped-and-qualified variant (its describe-pipe deadlock fixed at c3e65db9). The original qwen35-2b-4bit record is deferred with the dense/2B variants: they are foundation for future releases, not the 7.0 shipped focus, and their registry qualification stays null until they ship.

Impact: "A variant is qualified, not merely compiled" (spec §1.5) — the record is what makes phase 3 startable. (Priority: P1, Created: 2026-11-14, Links: plan)

TT-079 closed Done (2026-11-14): 7.0 phase 2 — golden and benchmark parity against 6.x

Done 2026-11-14 at 78ad7feb. DenseParityTests runs each dense variant and the 6.x runtime CPU engine on the same install and asserts identical greedy tokens: ALL FOUR PASSED (4B 4/8-bit, 9B 4/8-bit). The benchmark/qualification numbers are recorded under TT-080.

Impact: Parity is the acceptance bar: a port is only real when its greedy tokens match 6.x on the same install. (Priority: P1, Created: 2026-11-14, Links: plan)

TT-078 closed Done (2026-11-14): 7.0 phase 2 — port the dense family graph into the variants

Done 2026-11-14 at 78ad7feb (scope: the dense family 4B/9B, not 2B; the 7.0 shipped focus was later narrowed to Ornith 4-bit only — TT-088). The config-driven dense CPU engine is ported into all four dense variants (Qwen35Dense4B4Bit/8Bit, Qwen35Dense9B4Bit/8Bit), each with its own geometry/quant/source statics, reading through the Core SSDAIManifestReader. The generic install-reading stack (ResidentIndex, ModelError, SSDAIModelDirectory, BoundedMetadataRead, manifest types, SSDAIManifestReader) lifted into TinyTitanCore first (commits 32ee8403..bcf7b321). Variants isolated (Core/Format/KernelsC only).

Impact: The dense family proves the variant template on the cheapest models before the 35B port. (Priority: P1, Created: 2026-11-14, Links: plan)

TT-077 closed Done (2026-11-14): 7.0 phase 2 — tinytitan catalog --check

Done 2026-11-14 at 527b7f52. CatalogCommand in the CLI core: --check refuses a missing target, an orphan variant target, or a shipped-unqualified variant (targets from swift package describe, variant targets from sources/Engines); --markdown renders the model list. Pure finding logic test-first (6 tests). Live: --check exits 0 on the current all-unshipped registry, exits 1 naming a shipped-unqualified stub; --markdown renders. Wired into dispatch + usage. Gate: 6 tests green, full lint green. The spec's §5 gate (registry ↔ target ↔ qualification consistency) does not exist; adding a model still means hand-editing six lists. Next: CatalogCommand.swift in TinyTitanCLICore (registry parse + swift package describe target names + shipped-implies-qualified), wired as tinytitan catalog [--check] [--markdown]. Gate: CatalogCheckTests green; the real check exits 0 with all-unshipped and refuses a shipped-unqualified stub.

Impact: The one-registry promise (spec §5) is only real when a gate refuses the inconsistent state. (Priority: P1, Created: 2026-11-14, Links: plan)

TT-076 closed Done (2026-11-14): 7.0 phase 2 — the Qwen35Dense2B4Bit variant scaffold

Done 2026-11-14 at 6e002766. The first variant target (sources/Engines/Qwen35Dense2B4Bit) imports only TinyTitanCore; statics grounded in the 2B converter geometry and the dense family sampling row; init/prefill/decode/qualify refuse with VariantError.notPorted until the graph port (TT-078). Registry entry names the target, pinned test-first. Gate: variant-isolation + core-purity green, 15 core tests green, full lint green. The smallest shipped model has no variant target: sources/Engines/Qwen35Dense2B4Bit/ does not exist and the registry entry's target is null. Next: add the target (depends on TinyTitanCore only), the conformance skeleton with real statics read from the 2B's actual contract and ModelProfile row (never from memory), and the registry wiring driven test-first. Gate: build green, variant-isolation green, RegistryTargetsTests green.

Impact: The template every later variant copies must exist and be proven compilable and isolated before any graph is ported. (Priority: P1, Created: 2026-11-14, Links: plan)

TT-075 closed Done (2026-11-14): 7.0 phase 2 — the EngineVariant contracts in TinyTitanCore

Done 2026-11-14 at 109edf54. The contract types live in sources/TinyTitanCore/Variant/ (VariantID, QuantSpec/QuantRole/VariantQuant, GeometryContract, PerformanceProfile, SamplingProfile+ThinkingDefaults, ModelRecipe, Qualification, EngineContext/LoadedModelHandle/SessionState + the EngineVariant protocol), test-first with 13 tests in a new TinyTitanCoreTests target. 6-bit refused by name; quant resolution perTensor>roles>default; geometry names the first mismatch. The handle types are minimal and feature-free (spec §8). Gate: 13 contract tests green, core-purity green, full lint green. The 7.0 unit (EngineVariant, spec §3) has no Swift existence: no VariantID, no QuantSpec/QuantRole/VariantQuant, no PerformanceProfile/SamplingProfile split, no GeometryContract, no Qualification. Next: implement the contract files in sources/TinyTitanCore/Variant/ with the plan's step-4.1 test list (6-bit refused by name, resolution order perTensor > roles > default, geometry near-miss refusal). Gate: VariantContractsTests green, core-purity green.

Impact: Every variant target, the registry check and the matrix test are typed against these contracts; later phases cannot start without them. (Priority: P1, Created: 2026-11-14, Links: plan)

TT-074 closed Done (2026-11-14): 7.0 phase 1 — the core-purity and variant-isolation gates

Done 2026-11-14 at 0312f2fc. Both gates live in tools/lint.sh (now 20 checks), written test-first (benchmark/test_lint_core_purity.py, test_lint_variant_isolation.py, 10 tests, both directions), registered in the all chain/usage/case arms/CI. core-purity refuses model knowledge in the core; variant-isolation refuses cross-variant/runtime imports and distinguishes "no variants yet" (ok) from an empty Engines dir (fail). AGENTS.md count raised to twenty; layout doc updated; historical 18-gate run records marked as records, live claims updated. Gate: 10 gate tests green, full lint green. Nothing enforces the isolation rule (spec §3) today: TinyTitanCore can silently grow model knowledge and a variant target can import another variant or the runtime. Next: two new fail-closed lint checks (core-purity, variant-isolation) written test-first per the plan's step 3.1, registered in tools/lint.sh, AGENTS.md's count sentence updated in the same commit (docs gate). Gate: the new unittest suites pass, full lint reports 20 checks.

Impact: The rewrite's product is isolation; unenforced isolation is directory hygiene, not a boundary. (Priority: P1, Created: 2026-11-14, Links: plan)

TT-073 closed Done (2026-11-14): 7.0 phase 1 — extract TinyTitanCore by pure code motion

Done 2026-11-14 at 1944cacd. TinyTitanCore holds the four genuinely generic, self-contained pieces (UTF-8 text helpers, suspension slot, hardware capabilities, process memory); cross-module access uses the package idiom. Scope narrowed by measured coupling: the tokenizer cluster (GF* types), the Metal context (shader bundle + model names) and the tool-call parsers (Qwen/K2 wire formats) stay in TinyTitan — they are not generic yet; JSONValue moved back too (its jinjaSendableValue throws ToolCallParserError). Gate: serial suite 2343 tests green (the +3 over the pre-move count are TT-072's registry tests), all other target counts unchanged; full lint green. The generic pieces (Metal context, tokenization, concurrency, hardware, process memory) live inside the model-carrying TinyTitan target, so a variant target cannot depend on them without inheriting every family switch. Next: move exactly the plan's step-2.2 file set with git mv, add the TinyTitanCore target, fix imports mechanically. Gate: suite counts unchanged, full lint green, stdout-clean covers the new target.

Impact: The variant targets and the isolation rule cannot exist until a generic-only library does (spec §1.3, §4). (Priority: P1, Created: 2026-11-14, Links: plan)

TT-072 closed Done (2026-11-14): 7.0 phase 0 — freeze 6.x and write the registry inventory

Done 2026-11-14. registry/registry.json (schema v1: 9 models, 19 shipped pairs, converter-pinned sources) and tests/TinyTitan/Registry/RegistryInventoryTests.swift (3 tests) landed at 63297e4e. Reconciliation findings recorded: (1) the dense 2B/4B/9B have no ModelProfile rows — family defaults serve them, so the "spells every entry in full" claim does not hold for dense; (2) tools/prepare_qwen38.py pins no source sha (REPO only) — the registry records not-pinned-in-converter for Qwen3.8; (3) installer table 19 keys, golden targets 21 (k2-4/k2-8 exist with no install or graph), ModelProfile 13 rows. Gates: RegistryInventoryTests 3/3 green, docs gate green (db4cebc3), pushed.

Impact: The 7.0 migration now has ground truth to be parity-checked against. (Priority: P1, Created: 2026-11-14, Links: plan)

TT-052 closed Done (2026-11-20): Adopt the stable log-softmax and cross-entropy from arXiv:2610.31642 before any logprobs surface

Done 2026-11-20 at e58a02c3. StableLogSoftmax implements the margin form (argmax excluded from the LSE, loss softplus(-margin)) and pins the paper's case: z = [9,-9,-9], target 0 → 3.046e-8 where the standard float form returns 0. TinyTitanBench's CPU NLL scorer delegates to it. No logprobs/top_logprobs API exists yet; when one is added it must report these stable quantities.

Impact: The math debt is retired before a client depends on the numbers; a future logprobs surface has the correct formulation available. (Priority: P3, Created: 2026-10-28, Links: commit)

TT-051 closed Done (2026-11-24): Remove the unreferenced ServerCore declarations deprecated in ccfee98

Done 2026-11-24 at 855a4718. Deleted ModelRouter.reasoningChoice(for:) (ModelRouterError.swift) and ServerMemory.isFirstTurn(_:) (ServerMemory.swift) after verifying zero callers across sources/, tests/, examples/, and benchmark/. ModelRouterTests and ServerMemoryTests green; 20 lint gates green.

Impact: Two dead deprecated helpers removed from TinyTitanServerCore. (Priority: P3, Created: 2026-10-23, Links: commit)

TT-050 closed Done (2026-11-20): Remove the unreferenced engine declarations deprecated in ccfee98

Done 2026-11-20 at 4ad807cd. Model.releaseLayerStreamer, Model.routedExpertBits(layer:expert:) and RealForwardRunner.requireSharedScalarGateBuffer had no caller in sources, tests, examples or benchmark; the variants carried verbatim copies, so all nine blocks (6.x runtime, Ornith35B4Bit, DenseGPU) were removed. The layer-major-prefill record keeps the measurement without naming the deleted helper. swift build --build-tests green, full serial suite green, all twenty gates green.

Impact: The deprecated surface is gone from every copy; no reader can mistake it for a supported call. (Priority: P3, Created: 2026-10-23, Links: commit)

TT-070 closed Won't Do (2026-11-14): re-publish the v5.18 tools archive (harvested from the removed audit ledger as AUD-139)

The 2026 pre-production audit's one blocked row, harvested here before its ledger was deleted so the finding survives it. Symptom: v5.18 published no tinytitan-5.18-tools.tar.gz (confirmed against the release assets on 2026-10-06), so tools/install_tinytitan.sh — which downloads and checksums the tools archive of the release it installs — refused the newest release for anyone installing from that tag. The remedy the audit proposed (an owner re-publish of the v5.18 asset) was never needed: the installer always targets releases/latest (latest_tag, install_tinytitan.sh line 400), and v6.3 (2026-11-14) ships tinytitan-6.3-tools.tar.gz, verified against its published .sha256 at publish time. The v5.18 asset stays missing deliberately — re-publishing a superseded release's archive rewrites release history for no user who can still reach it. Closed Won't Do with that reason recorded rather than silently dropped.

TT-069 closed Done (2026-11-13): the audit records are deleted, with their gate

The retention the 2026-10-06 archive note asked for ended: with the owner's approval, AUDIT/ (brief, ledger.json, ledger.md, baseline, environment, scope tiers, tool coverage), audit_2310.md and docs/audit-ledger.json are removed. The docs gate's ledger machinery went with them — ledger_commit_evidence FAILS when no ledger is tracked, so the gate could not survive the deletion unchanged: the ledger checks are excised from tools/docs-facts.py (the tag-citation and derived-count checks stay, and CI's fetch-depth: 0 is still needed for the tag resolution), and benchmark/test_docs_facts_ledger.py with its CI step is deleted with its subject. The first excision cut also removed five keeper functions sitting inside the range; the gate caught it as a NameError rather than a silent pass, and they were reinserted from HEAD. sources/.../RepackAudit.swift stays — the verify-install trail is engine code, not an audit report. Gates green: docs 133 documents / 108/113 suites, ruff 241 scripts; 87 tests across the docs-facts, lint-scan-guard and release suites, OK. Evidence: commit 92566b7a in the source repository.

TT-068 closed Done (2026-11-13): the dead-file cleanup sweep

38 tracked files removed by a reference scan, not by hand: a file went only if nothing in CI, the lint gates, the installer, the release path, tests, sources, plugins or live docs names it — a CI-registered suite naming its subject keeps that subject alive, so all 55 coupled benchmark scripts and their 114 suites stay. Gone: 12 free analysis scripts, 12 cache/MTP A/B result JSONs, 9 ANE-prefill and 10 internal-speeds measurement records (READMEs and the still- referenced records stay), 2 dead Swift benches, quality_rubric.md, and the two dead tools compare_qwen35_precision.py and prepare_qwen35_2b.py (prepare_qwen35.py --size 2b handles the 2B natively). Kept on purpose: benchmark/golden (release baselines) and AUDIT/ + audit_2310.md (live docs-facts gate inputs — the ledger gate glob-discovers every tracked *ledger.json). Gates green after the sweep; the docs gate's counts adapted on their own (140 documents, 242 python scripts, 270 ledger references resolved). Evidence: commit a3185a07 in the source repository.

TT-067 closed Won't Do (2026-11-13): the Qwen3.8 RAM matrix

The planned --ram-budget 8-18G decode sweep for the 4/8/16 hybrid install (tools/ram-matrix.sh, ~30 min) was dropped on the owner's decision — no time for it, and the sweep would have cost the same session time again for numbers with no decision waiting on them. Not measured: the only decode number the install carries is the smoke run's 3.09 tok/s at --ram-budget 12G (64 tokens, cold). The tool stays in the tree and runs when a budget decision actually needs it.

TT-066 closed Done (2026-11-13): the OpenCode provider file lists every installer model

plugins/opencode-tinytitan/opencode.json — the checked-in source of truth server_launcher.sh merges into ~/.config/opencode/ — now carries all nineteen models install_models.sh supports, keyed by the ids ServerModelIdentity.apiModelID derives from each installer --model-id (<modelID> without -4bit/-8bit, plus _<bits>-Bit). The default is tinytitan/qwen3.8-flash-next-8bitrest_4-Bit, the 4/8/16 hybrid; the stale qwen3.8-flash-next-mtp_4-Bit default (the retired 4/4/16 build) is replaced. OpenCode cannot read a custom provider's /v1/models, so the list is static by design: a model whose install is missing shows in the picker and serves 404 model_not_found until it is installed. Verified on the machine: the merge wrote the block into the local opencode.jsonc (backup made, one stale leftover entry removed) and opencode models lists exactly the nineteen tinytitan ids. Evidence: commit aa0a8f63 in the source repository.

TT-065 closed Done (2026-11-13): the 4/8/16 hybrid is the canonical _4Bit install

The two superseded Qwen3.8 installs were deleted (the gutted 4-bit install, whose experts and n-gram table had been moved out, and the BF16Rest conversion source — about 72 GB freed; the hardlinked n-gram table survives under the hybrid's link), and the 4E-8R-16N hybrid was renamed to the canonical qwen3.8-flash-next_125B_A6B_4Bit. The receipt was re-issued in place by --verify-install (57 files, 175.8 GB, exit 0 — the receipt is path-bound, so a rename always needs this), and the manifest's modelID is qwen3.8-flash-next-8bitrest, matching a fresh installer hybrid. The install directory keeps the canonical _4Bit spelling and the recipe lives in the manifest, so the installer row, the golden target, the release gate and tinytitan_install_dirname (now uniform) are back on _4Bit. start.sh and link_qwen38_shared.sh were retired: their only job was the one-time move into the hybrid folder, and a rerun of --move against the renamed install would have gutted it. The golden --check qwen38-4 passes against the renamed install. Evidence: commit 5ff93048 in the source repository.

TT-064 closed Done (2026-11-13): the installer ships qwen3.8 as two hardcoded recipe types

tools/install_models.sh now offers exactly two Qwen3.8-Flash-Next types: the 4-bit selection is the 4E-8R-16N hybrid (routed experts 4-bit, every resident tensor 8-bit, the n-gram table fp16), installed under a directory named for the recipe and produced with prepare_qwen38.py --bits 4 --rest-8bit; the 8-bit selection is uniform 8-bit over the same fp16 table. The qwen38flash-mtp row and its converter plumbing are removed, and the no-Python fallback no longer suggests TinyTitanRepack --model qwen38flash (the RockTalk streaming build is 4/4/16, a recipe the installer no longer produces). tinytitan_install_dirname is the single source of the install directory spelling for the launcher catalog, the server launcher's install lookups and the release golden gate; release.sh dropped the qwen38 MTP NON_GOLDEN entry. The qwen38-4 golden target points at the hybrid and its baseline is re-captured from the real install (a new recipe, the sanctioned re-capture); --check passes. The hybrid install itself was verified three ways the same day: structural (786 resident tensors all exactly 8-bit derived from their own payload bytes, 293 bf16 carried through, zero 4-bit residents, experts and n-gram hash-identical to the originals), content (written 8-bit bytes decode within 0.49 median / 0.88 max quantisation steps of the bf16 source; all bf16 passthroughs byte-identical), and integrity (--verify-install re-hashed 57 files / 175.8 GB, exit 0). Evidence: commit a8463106 in the source repository.

TT-063 closed Done (2026-11-13): the 4E-8R-16N hybrid install is built and verified

models/qwen3.8-flash-next_125B_A6B_4E-8R-16N — routed experts 4-bit, every other quantised resident tensor 8-bit, n-gram table fp16 — was built locally from the two installs already on disk, no download: experts and n-gram table moved from the 4-bit install, the rest requantised bf16 -> 8-bit from the BF16Rest install (tools/requantize_qwen38_rest.py, decode self-check, 786 quantised tensors, 688 changed width). --verify-install passed and wrote the receipt; the smoke run (64 greedy tokens, --ram-budget 12G) generated coherent text at 3.09 tok/s cold, expert hit rate 63.6%. Consequences: the 4-bit install is dismantled (empty packed_experts/), so the qwen38-4 golden target's final baseline is the 2026-11-13 re-capture (5488ee02); the RAM matrix was later dropped (TT-067). Evidence: docs/qwen38-flash-next-port.md in the source repository.

TT-062 closed Won't Do (2026-11-12): GLM-5.3-Flash is not ported

(Renumbered from the draft's TT-061, which the wide-verify task took before this entry could be pushed.) zai-org/GLM-5.3-Flash (320B, 18B active) was planned through the normal converter path with 4-bit routed experts and an 8-bit remainder, and closed before any code or download. It is a runtime port, not a wiring job: KDA linear attention, MLA attention without positional encoding, the DSA indexer and mHC have no kernel in the engine. The install would be about 181 GB, and the decode projection on the 24 GB M3, calibrated on the Qwen3.8-Flash-Next measurements, is 1.0-1.6 tok/s at uniform 4-bit and 0.8-1.2 tok/s with the 8-bit remainder — a calculation, not a measurement. Each expert is about 14 MB, so a token reads 2.4-3.1 GB from an SSD that tops out at 3.9 GB/s. Evidence, the unstarted plan and what would reopen it: docs/glm53-flash-port.md in the source repository (commit 1d5b1da).

TT-057 closed Won't Do (2026-11-12): the as-is GGUF decode stays at engine speed

The target (6, later 10 tok/s at --ram-budget 10G) is not reachable on a 24 GB M3 under the quality rule (identical greedy text, llama.cpp top-5). The path itself ships as an experimental feature. Final measurements, alternating runs, 200 tokens: 4.58 / 4.61 tok/s at 10 GB, 4.82 / 4.81 tok/s at 12 GB; the converted model's 12 GB record is 4.29-4.81. A token is ~107 ms waiting on the GPU's attention half and ~90 ms waiting on expert reads, serialised by the layer dependency. Rejected levers with numbers: two-token MTP (expert union 1.585x vs 1.574 tokens a pass), wider read-ahead (saturates the drive), one encoder per command buffer (no measurable boundary cost, 4.5 us a dispatch either way), Q6_K two-row GEMV (within noise). Evidence: docs/plan-gguf-decode-10toks.md in the source repository.

TT-049 and the closed campaign notes

One row is open. What closed most recently is TT-049, the stale Qwen3.8-Flash-Next decode row on the Benchmarks page: its 6.82 tok/s (v4.7, 2026-08-30) is withdrawn and the page now carries the current build's measured levels — median 5.40 tok/s over 15 identical control runs at the shipped 96-slot default, greedy 384-token CLI, byte-identical output — as its own labelled protocol, decided by the operator on 2026-10-17. The table's own gate0 instrument still cannot certify a row on this Mac (its 15% GPU preflight has never read below 43% here); the evidence is docs/qwen38-decode-12gb-measurements.md §5r, §5s, §5t, §5bd and §5bn in the source repository. What closed before that: the continuous weight feeder — the idea that the SSD should read steadily through a session instead of bursting per request. The operator's description of the machine turned out to be right and the first attempt to price it was wrong. §5v read 112 one-second drive samples, found zero idle samples, and called that "no burst/idle alternation" — but a 1 Hz series averages a 1.7 ms burst into the second around it. It then bounded the prize at 0.075% of a token on io_hidden_pct=99.77, a counter that compares a read against the completion timestamps of the command buffers beside it, so it answers "did the host block"; the routed command buffer is event-gated, so the GPU is the one that waits. Rebuilt on the device side (§5w), one decode token of 217.3 ms is 113.0 ms of GPU busy and 102.0 ms of idle, and 52.8 ms of it — a quarter of every token — is the GPU idle between the hit-phase kernels and the miss-fixup kernels, waiting for bytes. The lever still closes, for a better reason: bytes per miss came out at exactly one expert stride in five arms, and dividing the bytes a token needs by §5w's measured in-burst rate puts that delivery at 3.80 GB/s mean, 97% of the four-thread ceiling — the burst is not slow, the bytes are the bill, and fetching them sooner needs them known sooner, which is the router's readback, not the drive. The prefetch ring already tries, adopting 18.56 of 73.5 demand misses per token with free=0.99, about one spare landing slot. Same section's falsifier also put a number on the shipped 96-slot default: halving the cache took misses x1.83 and that gap x1.70-1.91 in both paired rounds with byte-identical output, so the default is worth +12.2% decode — the largest single knob in the campaign, and already at the top of this host's RAM ceiling (docs/qwen38-decode-12gb-measurements.md §5v, §5w; the offline timeline built to beat it is benchmark/continuous_feeder_sim.py, which refuses to publish any rate until its control arm reproduces a measured clock). Two follow-ons from that section are measured. The wait the decode loop pays once per layer is already the cheapest primitive on this machine — waitUntilCompleted() at 101.6 µs p50 beats both spin arms by 56% with a 3× tighter tail — so the ~0.44 ms/layer §5w left unattributed is host work, not wake latency, and the lever in that direction is fewer, larger command buffers (§5x). And the offline miss replay is now calibrated well enough to rank placement rules: it counts 89.28 placements/token inside the engine's own 92.26 and reproduces §5w's capacity response to 2.0%. Through it, the shipped LFU is already the best victim order at 4 608 slots — LRU, FIFO and random are all worse — so §5y pointed at how the budget is divided across layers. §5z tested that and closed it. A heat-proportional split does transfer: learned on one session and spent on another, six out of six transfers beat the uniform split and four beat an oracle that read the future of the trace they were scored on, because which layer is busy correlates +0.957 to +0.976 across sessions even where not one route row agrees. It is still rejected, on the plan's own bar — at 480 expert requests per token a percent of placements buys a fifth of a point of hit rate, so every static partition of these slots is capped near +1 point and the bar was +7. §5y's other reason for not building it, that a non-uniform split is a data-layout change, was wrong: each layer already owns its slot table, so the change is one expression. The headroom at this budget is temporal, not spatial — Belady on the same 4 608 slots reaches +8.4 points — which is the feeder question, not the budget one (§5z). Before that, the 32K context cap is measured neutral on v5.20. It was the one configuration the decode campaign ever found that beat the shipped default (+9% in docs/qwen38-decode-12gb-measurements.md §5o), and it won by freeing the headroom 45f55bb now frees by default, so seven interleaved cold runs at the derived 96 slots put the paired median at −0.10%, inside the 1.6% identical-arm band, with byte-identical output text (§5u). --max-context is therefore a capacity ceiling again, not a speed knob. Before that, the two load-time RAM lines began reporting the slots actually allocated — an operator who overrode the derivation with --expert-cache-slots used to get a log line naming the rung that never ran (shipped in v5.20); and before that, a local caller stopped being judged by the OpenAI wire's caps (RequestRules, .local from the facade, .wire for HTTP), which is what TT-046 was really about. The toolchain rule is not a task: Xcode 27 / Swift 6.4, and nothing else, is supported — stated in AGENTS.md and carried by the README, the wiki and the release process. One consequence is worth recording here because it closed a planned stage: the shipped .swiftmodule is not stable across toolchains, and does not need to be, so the XCFramework was never a fix for a promise this project makes. The plugin bundles' DeepSeek Harness pin moved to 0.2.1-alpha.2 on 2026-10-11: both bundles and tools/dsh_local.sh support exactly that release, enforced at load, and the autonomy preset mounts the harness's own ralph bundle where 0.2.1's standard no longer ships the row. It moved again on 2026-10-17, to 0.2.1-rc.2, after that release was installed systemwide and the exact-version gate did what it is for — it denied the plugin rather than letting it write into a harness home it was not written against. The bump is four pin sites and one pre-release tag: both SUPPORTED_DSH_VERSION constants, three peerDependencies rows, the launcher default and both READMEs, with the refused-release list updated first so the old release is provably refused, and rc.2's own shipped standard composition verified to parse through the preset builder. The 2026-10-06 source audit closed the same day with every finding fixed or measured and shipped as v5.19, the first release the installer's own checksum check accepts. The one open row is an operator decision and cannot be closed by an automated step here: TT-048 needs a ~69 GB fetch plus both repacks, which no gate or release is permitted to run.

After that, the context ceiling moved: the engine accepts --rope-scaling yarn --max-context 2097152 — the LongRoPE 8× over the native 262,144 — while 262,144 stays the native default and 1,048,576 the YaRN default. It is a position range, not a quality guarantee: the per-dimension λ search from arXiv 2402.13753 is still unimplemented, and at 2M this family costs 12 KB of KV per token (24.6 GB at 8-bit) before the model, so the rung is for hosts that can hold it.

Clone this wiki locally