Methodology

Built by AI, checked like it matters

How Manioc Server was made — the method, the evidence, and the limits, in public.

This software was written by AI. That sentence is usually where trust ends, and honestly, it should be where questions start. Most AI-generated software earns its reputation: no spec, no tests that can fail, no adversarial review — a plausible first draft shipped as a finished product.

This page describes the process Manioc Server was built under, with the receipts attached: the specifications, the test batteries, the audit history, and the failures. Everything named here exists in the public repository or the project records, pinned to exact commits, so any reader can check our arithmetic instead of taking our word for it. Where a number below comes from a report rather than a fresh count, it says so.

Manioc Server turns a spare home computer into a Tor onion-service hosting box for non-technical owners: an encrypted disk unlocked by a paper passphrase, a website container with no network of its own, signed updates, and installable apps.

The method

Eight practices, in the order work flows through them.

  1. Spec first. Behaviour is specified before it is built, as numbered, testable decisions with an explicit list of properties that must hold no matter what. For Manioc that is the A-series design record (A1–A26) plus the Owner Guide: if a behaviour isn't in the record, it isn't promised. If a requirement can't be tested, it is marked as vision, not smuggled in as a rule.
  2. Decisions are dated, and never silently edited. Every owner ruling lives in the record with its date. When a ruling changes, a dated amendment supersedes it and names what it replaces — the removal of the spare passphrase (A25) and the ruling that recipes are installers, not update channels (A26), are amendments with dates and reasons, not quiet edits. Anyone can reconstruct why the software does what it does, and when that changed.
  3. Gated stages. Work proceeds in stages, and no stage starts until the previous one passes its gate — build checks, test batteries, and boot proofs for that slice, run fresh so no verdict can depend on another stage's leftovers. A failing gate is fixed in the code, never in the tests.
  4. Some tests are written by the other side. Several of the sharpest checks were written by reviewers, from the design record and the claim being made, rather than by the builder from the code — negative controls that plant the attack and require the defence to refuse. A test written by the same mind that wrote the code tends to share its assumptions; a reviewer's can't.
  5. Independent adversarial audit, pinned to a commit. Finished batches are audited by reviewers who did not build them. The reviewer re-derives the verdict from a clean checkout before it counts — our numbers are only real if an adversary gets the same numbers. A finding is closed only when the auditor re-verifies the fix. Never on the builder's word.
  6. Planted attacks. Testers deliberately do the thing the design fears — plant a symlink where the app can write, raise a canary listener the website container must never reach, replay an older update set — and count whether the system refuses. Survivors are information: each one becomes a permanent test.
  7. Physical verification. Anything that can be settled on real (or virtualised-real) hardware is settled there: installs, kernel updates, reboots, attack plants. Documents argue; hardware answers. This turns out to be the practice that catches what every reader missed — see the failures section.
  8. Public honesty. Limitations are published, not discovered: pages that state what is not built, interim limits disclosed while a fix is pending — the container-update limit sat on this site as an interim disclosure while its fix waited on a design decision — and warnings that stay up until the evidence, not the calendar, takes them down.

The specifications

A reviewer shouldn't have to guess what the software is supposed to do. These are the controlling documents.

DocumentSizeWhat it is
DESIGN v1 + v2 + v3 amendments336 + 435 + 759 linesThe design record; the A-series decisions A1–A26 all live here (recipes are installers, not update channels, is A26)
Owner Guide (in tree: OWNER-GUIDE-2026-10-15.md; live: maniocserver.org/guide)226 lines (in-tree source, at public main 720aafa)The behavioural contract an owner can hold the software to — what updates do, what the passphrase means, what happens if it's lost

The tests

Manioc has no single unit-test mountain; its evidence is batteries and harnesses, which suits an operating system:

The audits

Every reviewer so far has been an AI — independent of the builder, working from a fresh clone, under an adversarial brief, but an AI. No human expert has reviewed this project yet. That is the outstanding leg, and nothing below should be read as a substitute for it.

WhenPinReviewHeadline outcome
2026-10-18tree + shipped ISORunbook security audit, phases 0–2 (Semgrep, TruffleHog; record: audit/INTERIM-SUMMARY.md)No Critical or High candidates in the phases run
Oct 2026variousPublic-repo review rounds 1–4 (fourth at c85318a)Findings triaged into dated fix batches; one round drove a full history rewrite and redaction pass
2026-10-21—Review 5, deanonymization-focusedReturned narrow: the reviewer's own safety filter stopped the primary network-vector hunt mid-pass; the perimeter it could check verified well. That open scope is routed to the human review
2026-10-219d1080aReview 6 re-grade17 of 20 earlier findings closed; one High stands — four superseded pre-rewrite commits remain fetchable from GitHub by full SHA, and the purge request that removes them is the owner's to file
2026-10-231d0d86cFull code audit (static read)4 High, 10 Medium, 8 Low, and a 27-task fix brief
2026-10-24branch audit-fix-batch-2026-10-24Fix batch for the unambiguous scope (T1 kernel updates, T3 restart state, T8 symlink boundary)Code + local harnesses, then rig-verified on the proof guest (report addenda, 2026-10-24). On 2026-10-28 the branch was cleaned for the publication guard (five ci-scan hits scrubbed or reworded; code head 06596fc, branch tip d05b713 after the auditor's delta pack was re-pinned to it), a merge into public main was proven in a throwaway clone the same day (ci-scan passes, every suite green on the merged tree), and the branch was pushed to the public repository. It is still unmerged, and none of it is in the published ISO: formally open until the auditor re-verifies it and the owner integrates it
2026-10-251d0d86cBug & security review (27 tools)10 findings (F1–F10): one High — container images never update (F2). F2 was decided the same week (signed image packages through the existing update channel), built, independently re-verified, and merged to public main; the Owner Guide now describes the shipped behaviour, with only a rig-run proof of the swap outstanding. F8 is rig-pending. F9 is an unmerged candidate branch (systemd hardening), gated on rig validation. The rest were fixed on a branch and fast-forwarded to public main, now 720aafa
2026-10-28720aafaParser fuzzing (Atheris) — the recipe-manifest and update-metadata parsers the 2026-10-25 review had not covered≈20.9 million executions. One root-cause pattern at six sites: the parsers assumed parsed JSON is a dictionary and that version/floor values are strings, so type-confused JSON escapes their error handling as an uncaught traceback in tools that run as root — one Medium (a malformed floor file inside any shipped signed package would wedge the updater at the start of every run, before any update phase), five Low. The version comparator (10,303,262 runs, invariant assertions on) and the package floor reader (90,215 mutated packages) held clean, and the run established that the updater parses nothing before apt's signature and hash verification. Fixes are not yet applied

Where the method caught real things

Where it failed

What this does not prove

Sizes

Counted from the tree at the pins above (method: line counts by extension or shebang over the shipping tree onionhost/ + build/ + debian/):

Manioc Server
Total size18,786 lines in the shipping tree (17,819 code + 967 config/rules), re-derived 2026-10-28 at public main 720aafa
Evidence shapeBatteries and harnesses, above — no unit-test mountain
Security/anonymity machinery≈7,200 lines sit in files whose names mark them as that machinery (updater trust chain, recipe channel, backup encryption, Tor apt method, firewall, isolation boundary) — a blunt file-level count, stated as one

Closing

The claim here is narrow: not "AI wrote it, therefore it's good," and not "trust us." It's that the work was specified before it was built, gated before it shipped, audited by parties who didn't build it, tested against real hardware, and written down — including the failures — in public, at pins anyone can clone. Judge it the way the auditors did: check the record, run the battery, plant the attack.

The repository: github.com/CameronRuggles/ManiocServer.

Sources & pins (appendix)

Every claim above derives from one of these records, checked while this draft was written (2026-10-25; pins and counts refreshed 2026-10-28). Audit verdicts are reported by the named records; counts of lines were re-derived from the tree at the pins given.

Pins (verified with git rev-parse):

Methodology spine: the methodology review of 2026-10-25 (project records).

Manioc records: MANIOC-AUDIT-FIX-BATCH-REPORT-2026-10-24.md (incl. Addenda 2–3) and AUDIT-FIX-HANDOFF-CORRECTION-2026-10-25.md (note the report body pre-dates its addenda: it records the rig items as blocked, and the addenda + correction memo supersede that state); MANIOC-AUDIT-FIX-BRIEF-2026-10-23.md; the 2026-10-23 full code audit (project records); MANIOC-BUG-SECURITY-REVIEW-2026-10-25.md (F1–F10, tool table, post-fix suite counts); the parser-fuzzing report of 2026-10-28 (project records); audit/INTERIM-SUMMARY.md; RELEASE-ISO-RUN-2026-10-23.md; RIG-SESSION-NEXT-CHECKLIST-2026-10-25.md; the Review 5 deanonymization pack and egress interim, and the Review 6 re-grade manifest at 9d1080a (project records); design docs DESIGN-v1.md, DESIGN-v2.md, DESIGN-v3-amendments.md (A1–A26 token scan); OWNER-GUIDE-2026-10-15.md; warning wording verified verbatim in this site's index.html and download.html.

Derived counts (refreshed 2026-10-28): Manioc LOC by extension/shebang over git ls-files onionhost build debian at 720aafa, excluding the bundled EFF wordlist data file (18,786 total; 17,819 code; 967 config; ≈7,200 in security-named files, 28 files, name-pattern classification); t3-reboot-state-test.py re-run 2026-10-28 on the cleaned branch: FAILURES: 0.