Warden-S1: A Sub-1 GiB, 128K-Context Local System-One Verifier for Long-Horizon Coding Agents

Autonomous coding agents routinely accumulate 64K to 128K tokens per session while running concurrently across multiple repositories on developer laptops. Verifying their tool calls, secret-handling boundaries, repository rules, and completion claims with cloud judges hits three structural walls: payload ceilings around 33K tokens, recurring API latency and cost, and data-residency risk. Meanwhile, dense small transformers exceed 7 to 14 GiB of KV state at 64K to 128K context, exhausting 16 GB unified-memory laptops on a single session. We introduce Warden-S1, a 752M-parameter local System-One verification model built by surgically stripping the vision tower and multi-token prediction heads from Qwen3.5-0.8B (exact 0.000000 logit parity), yielding an 18 Gated DeltaNet + 6 GQA hybrid backbone paired with five zero-decode heads (noul, choice, score, locus, and salience). Trained on WardenS1-Bench (4,200 trajectories, 225,650,644 tokens, 67,200 probes, 2,100 counterfactual twin pairs) and polished via a Stage 3.5 zero-leakage <4K + 4K-128K replay curriculum, Warden-S1-752M-MLX-Q4 (415.5 MiB on disk) achieves 0.9957 Noul AUROC (0.9964 BF16), 0.8726 Choice F1, 0.0175 ECE, 0.9115 counterfactual net sensitivity, 0.9297 Locus Top-1 recall, and 0.9998 Salience AUROC across 4K to 128K tokens. On Apple M5 Metal, a singleton weight-pinned daemon multiplexes 10 concurrent 64K to 98K sessions inside 858.3 MiB peak active residency (< 1 GiB) with 20/20 BPE-boundary-healed O(Delta L) delta hits (18.76x warm turn speedup on M5, 18.92x on A100) and 104.4 ms p50 L2 host-RAM swaps (22.5x faster than naive copies). In a 100-request stratified head-to-head against commercial Cloud Jev, local Warden-S1 wins matched Noul AUROC (0.9933 vs. 0.9449), accuracy (96.1% vs. 84.9%), Brier (0.0270 vs. 0.0998), and abstention overconfidence (0.0% vs. 100.0%) while accepting 100/100 requests up to 117,899 tokens where Cloud Jev rejects 34% past 33K. A zero-PyTorch 461.3 MiB sharded ONNX-Int4 build brings the same five-head verifier to Linux, Windows, Node, and browser WebGPU.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-24
DOI
https://doi.org/10.5281/zenodo.24494404
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Warden-S1: A Sub-1 GiB, 128K-Context Local System-One Verifier for Long-Horizon Coding Agents

Ryan Joshua Z. Gapac
3 links
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
preprint

Warden-S1: A Sub-1 GiB, 128K-Context Local System-One Verifier for Long-Horizon Coding Agents

Ryan Joshua Z. Gapac
preprint en

Abstract

Autonomous coding agents routinely accumulate 64K to 128K tokens per session while running concurrently across multiple repositories on developer laptops. Verifying their tool calls, secret-handling boundaries, repository rules, and completion claims with cloud judges hits three structural walls: payload ceilings around 33K tokens, recurring API latency and cost, and data-residency risk. Meanwhile, dense small transformers exceed 7 to 14 GiB of KV state at 64K to 128K context, exhausting 16 GB unified-memory laptops on a single session. We introduce Warden-S1, a 752M-parameter local System-One verification model built by surgically stripping the vision tower and multi-token prediction heads from Qwen3.5-0.8B (exact 0.000000 logit parity), yielding an 18 Gated DeltaNet + 6 GQA hybrid backbone paired with five zero-decode heads (noul, choice, score, locus, and salience). Trained on WardenS1-Bench (4,200 trajectories, 225,650,644 tokens, 67,200 probes, 2,100 counterfactual twin pairs) and polished via a Stage 3.5 zero-leakage <4K + 4K-128K replay curriculum, Warden-S1-752M-MLX-Q4 (415.5 MiB on disk) achieves 0.9957 Noul AUROC (0.9964 BF16), 0.8726 Choice F1, 0.0175 ECE, 0.9115 counterfactual net sensitivity, 0.9297 Locus Top-1 recall, and 0.9998 Salience AUROC across 4K to 128K tokens. On Apple M5 Metal, a singleton weight-pinned daemon multiplexes 10 concurrent 64K to 98K sessions inside 858.3 MiB peak active residency (< 1 GiB) with 20/20 BPE-boundary-healed O(Delta L) delta hits (18.76x warm turn speedup on M5, 18.92x on A100) and 104.4 ms p50 L2 host-RAM swaps (22.5x faster than naive copies). In a 100-request stratified head-to-head against commercial Cloud Jev, local Warden-S1 wins matched Noul AUROC (0.9933 vs. 0.9449), accuracy (96.1% vs. 84.9%), Brier (0.0270 vs. 0.0998), and abstention overconfidence (0.0% vs. 100.0%) while accepting 100/100 requests up to 117,899 tokens where Cloud Jev rejects 34% past 33K. A zero-PyTorch 461.3 MiB sharded ONNX-Int4 build brings the same five-head verifier to Linux, Windows, Node, and browser WebGPU.

Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Warden-S1: A Sub-1 GiB, 128K-Context Local System-One Verifier for Long-Horizon Coding Agents — Ryan Joshua Z. Gapac · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS