You know how a GPS navigator works? It doesn't just suggest roads — it maintains a live model of every legal turn from your current position, pruning illegal U-turns and one-way violations in real time. Now imagine a second, deeper system: instead of just blocking illegal moves, it teaches the driver to internalize the road network so they start wanting to take legal routes. That's the two-part architecture of Weave of Formal Thought. The committed claim: WoFT is the first constrained-decoding system that is provably sound AND complete with respect to the full Tree-sitter grammar specification — handling context-sensitive lexing, maximal-munch tokenization, and keyword extraction that prior frameworks like Synchromesh, PICARD, and GrammarFormer either approximate or ignore. Existing decoders sacrifice completeness (they reject some valid tokens) to avoid the complexity of real-world lexer behavior. WoFT does not. The mechanism is a speculative-lexing construction layered on top of generalized LR parsing. Where a standard constrained decoder maintains one parser state and one lexer state, WoFT maintains concurrent lexer-state hypotheses synchronized with a GLR graph-structured stack. Think of it as running multiple parallel lexer futures at each decoding step, then collapsing them once the next subword token resolves the ambiguity. This is what buys completeness — every subword token that could extend to a valid program prefix is admitted, and every token that cannot is rejected. No approximation, no vocabulary masking heuristics. The second contribution is orthogonal and arguably more interesting for the ML crowd. Rather than just constraining the decoder externally, WoFT trains the language model to interleave non-terminal grammar symbols — the parse tree's internal nodes — directly into its generation stream. The model treats these symbols as latent variables, optimized via the reweighted wake-sleep (RWS) algorithm targeting the importance-weighted evidence lower bound (IW-ELBO) of the surface text. The model learns which structural annotations help prediction and which are noise, creating what the authors call an "adaptive structural scratchpad." The headline number: fine-tuning StarCoder2-3B with the RWS objective on Python reduces per-token cross-entropy by 14.3% relative to a text-only supervised fine-tuning baseline. That's a meaningful signal that flat autoregressive training genuinely discards structural information that the model can recover when given the right inductive bias. The baseline here is SFT on the same data — not a stale comparison, but also not a comparison against the strongest code models available today (GPT-4, Claude, DeepSeek-Coder-33B). The integrity picture is mixed in the way single-author papers often are. The formal engine claims are backed by mathematical proof — soundness and completeness with respect to Tree-sitter's specification — which is strong. The ML results are empirical on one language (Python), one model (StarCoder2-3B), and one metric (cross-entropy). No downstream task evaluation (HumanEval, MBPP, SWE-bench) is reported. Code is released on GitHub, which is a significant plus. But the absence of pass@k or functional correctness numbers means we're measuring the model's surprise, not its actual coding ability. The obvious next experiment is evaluating on downstream code-generation benchmarks — HumanEval pass@1, MBPP, or similar. The 14.3% cross-entropy improvement is suggestive but not dispositive: lower perplexity doesn't always translate to better functional correctness. My honest read is (c) — the authors are saving this for the next paper, because the formal-engine contribution is already substantial and mixing in benchmark results would dilute the theoretical narrative. But it also might be (b): the cross-entropy gains may not fully transfer to pass@k, and reporting that would undercut the story.