Show HN: Maslow– from scratch Rust transformer that refuses on conflicting facts A public research project called Maslow released a from-scratch Rust transformer, built on Hugging Face Candle primitives, that refuses to answer when its retained facts conflict: on the example table, a real run of the v0.9.5.1 release binary reported 4 retained facts, 2 consistent, 1 contradicted, 1 unverified and 0 invalid, with the contradicted `sky|clear_day` key returning REFUSE. The language specialist is a `TinyTransformer` with width 64, a 256-byte vocabulary, maximum sequence length 32, 4 heads and 84,800 parameters, locked in tests; weights are trained in-repository rather than derived from a pretrained model and are not yet published because language training is in progress. The code is Apache 2.0 licensed and requires Rust 1.85 or later, and the project states the verification run did not train, load weights or invent a fact. Maslow is a public research project in Rust. It studies a budget-aware hierarchical gate that loads specialists only when residual budget allows, and a custom decoder-style transformer TinyTransformer implemented with Hugging Face Candle primitives. Weights are trained from scratch in this repository; they are not derived from a pretrained model. The code is licensed under the Apache License, Version 2.0 https://github.com/thatREAguy/Maslow/blob/main/LICENSE . The weights will be released under the same license. None are published yet, because language training is in progress. Rust 1.85 or later is required the minimum supported version, tested in CI . From the repository root: cargo test --release -- --test-threads=1 --test-threads=1 is recommended because several tests write per-process files and spawn the same binary as a child. To try verification without retraining, copy the example retained-fact table this is not a weight file and run the binary: cp examples/maslow v0947 structures.json . cargo run --release -- verify cargo run --release -- recall "day grass color?" cargo run --release -- recall "day sky color?" verify reads maslow v0947 structures.json once, when maslow v095 facts.json does not already exist, and writes a ledger in the current directory. It does not load weights. recall answers a recognized query from the grammar and from consistent ledger values, without loading weights. Unrecognized wording can activate the neural reader if a v0.9.4.7 checkpoint is present; that reading is an unverified proposal, and it cannot answer or be stored. The example queries below are recognized by the grammar, so no weights are loaded. On that example table, a real run of the release binary produced: === VERIFY v0.9.5.1 === Retained: 4. Consistent: 2. Contradicted: 1. Unverified: 1. Invalid: 0. Created: 0. Forwards: 0. The ledger is the only stored answer. A refused key is not a count. The answer key was not read. No weights were loaded. grass|clear day consistent - green sky|clear day contradicted - REFUSE snow|overcast unverified - REFUSE sun|clear day consistent - yellow coal|clear day absent - REFUSE PASS: verification did not train, did not load weights, and did not invent a fact. This is not a claim that the retained colors are true. This is not a 99.4% result. bash $ maslow recall "day grass color?" green $ maslow recall "day sky color?" MISS Day sky is a miss because the ledger marks sky|clear day as contradicted: the retained value is blue, and the evidence set also includes "day sky is green". A retained color is not treated as a verified fact. A full maslow local run trains the leading reader and writes its own structures and checkpoint files. Those artifacts, and other maslow outputs from commands run in the repository root, are gitignored. Run the binary with no arguments to list commands. The gate decides whether a specialist may run, and unloads it when it should be dormant. The language specialist is a from-scratch Candle TinyTransformer width 64, byte vocabulary 256, maximum sequence length 32, 4 heads, 84,800 parameters, locked in tests . The typed compiler used by later experiments has 69,915 parameters, or 70,235 with role vectors; v0.9.4.7 maslow local is the leading reader. From v0.9.4.9, a seeded grammar answers a sentence it recognizes. Unrecognized wording can activate the neural reader; that reading is only an unverified proposal and cannot answer or be stored v0.9.4.10 . v0.9.5.1 stores answers in a ledger maslow v095 facts.json rather than in the old fact table. v0.9.5.2 reconstructs a consistent query into the grammar slot {w} {e} is {v} and refuses every other request without loading weights maslow reconstruct . The planning specialist and the Doctor, Lawyer, and Librarian domain brains are still stubs. The implemented networks use FP32; quantization is a possible future optimization. Details are in MODEL CARD.md https://github.com/thatREAguy/Maslow/blob/main/MODEL CARD.md . ARCHITECTURE.md and NEXT PHASE.md describe earlier phases. The locked research tip is v0.9.5.2 : structural reconstruction. See CHANGELOG.md https://github.com/thatREAguy/Maslow/blob/main/CHANGELOG.md and SCOPE v0.9.5.2.md . Language training is in progress. Model weights, checkpoints, and runtime experience or structure files are not committed. - Not a product and not a hosted API. - Not an open-domain language model. - Not a 99.4% claim. That figure appears in the scope files as a research target, not as a measured result. Weights are trained from scratch in this repository, on corpora written for Maslow a small, closed set of color and sky sentences and related templates . They will be released under Apache-2.0 alongside the code. Until that release, this is an open-source codebase with no published checkpoints. See MODEL CARD.md https://github.com/thatREAguy/Maslow/blob/main/MODEL CARD.md . Current work is language training toward a public weight release under Apache-2.0. The locked experiment record is the SCOPE v .md files. NEXT PHASE.md https://github.com/thatREAguy/Maslow/blob/main/NEXT PHASE.md is an earlier planning note; it is not a schedule. The Cargo package version is 0.1.0 Cargo.toml . Research milestone versions, such as v0.9.5.2, are recorded in the SCOPE v .md files and in CHANGELOG.md https://github.com/thatREAguy/Maslow/blob/main/CHANGELOG.md . Those two series are independent; a research lock does not bump the crate version. Please cite this repository if you use it. Metadata is in CITATION.cff https://github.com/thatREAguy/Maslow/blob/main/CITATION.cff . @software{godsil maslow 2026, author = {Godsil, Elijah}, title = {Maslow}, year = {2026}, url = {https://github.com/thatREAguy/Maslow}, license = {Apache-2.0}, version = {0.9.5.2} } This repository is public and open source, but it is not accepting contributions, issues, or pull requests yet. Please treat it as read-only until the basics are covered. A contributions guide will be added when that changes. Copyright 2026 Elijah Godsil. Licensed under the Apache License, Version 2.0. See LICENSE https://github.com/thatREAguy/Maslow/blob/main/LICENSE and NOTICE https://github.com/thatREAguy/Maslow/blob/main/NOTICE . To report a vulnerability, see SECURITY.md https://github.com/thatREAguy/Maslow/blob/main/SECURITY.md .