From 7841c4afe8759c39cf4556953122aea5a6de71b4 Mon Sep 17 00:00:00 2001 From: aur-build Date: Thu, 19 Nov 2026 18:02:25 +0000 Subject: docs: remove the design and architecture docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DESIGN.md, ARCH_REVIEW.md, docs/DECISIONS.md and docs/INVARIANTS.md are gone, along with the references that pointed at them: the README links and layout entry, the §/I-n citations README carried from the design doc, the Cargo.toml shim comment, and the DESIGN.md citation in the first migration's SQL. Nothing read these files at build or test time; 267 tests pass unchanged. --- README.md | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4d75386..b020ebe 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,9 @@ A build server for AUR packages: it watches recipes, shows a human what changed, and publishes a signed pacman repository containing **only what a human approved**. One process, no async runtime, no external services. -The design is in [`DESIGN.md`](DESIGN.md). The invariants it must never violate -are in [`docs/INVARIANTS.md`](docs/INVARIANTS.md), each mapped to a named test. -Judgement calls where the design left an opening are in -[`docs/DECISIONS.md`](docs/DECISIONS.md). - ## The rule everything else follows -Nothing reaches a consumer without an `approval` row behind it (I1). Every other +Nothing reaches a consumer without an `approval` row behind it. Every other behaviour is downstream of that: the review page freezes the exact bytes a human looked at and hashes them, the approve request must echo both hashes, the build re-checks the recipe pin and the resolved version before it runs, and publish @@ -98,13 +93,12 @@ src/ testcorpus/ the fixture packages the tests build for real templates/ askama templates, server-rendered static/ app.css and one vendored htmx -docs/ DECISIONS.md, INVARIANTS.md ``` ## Testing without root, network, or a real chroot `cargo test` runs the whole thing on an ordinary user account. Two mechanisms -make that possible (§16a): +make that possible: * **PATH shims.** `src/bin/` contains `makepkg`, `pacman`, `repo-add` and `gpg` — the tools the pipeline actually shells out to now that builds run @@ -132,7 +126,7 @@ process mid-step, and a separate test spawns the compiled binary and kills *it*, then asserts a fresh process resumes from the step checkpoints with no duplicate work and the old index still byte-identical. -The sandbox seam (§8a of the design) is tested the same way — the interface is +The sandbox seam is tested the same way — the interface is executed, not mocked: `tests/remote_agent.rs` drives a **full build over the real agent protocol** (frames, rendezvous, log streaming, blob round-trip, bad-token refusal) against the shims on a loopback socket, and @@ -154,8 +148,7 @@ than failing: and compares the hand-written comparator against it over ~1100 pairs. * The live kata tier needs `/dev/kvm` and a cluster (`AUR_KATA_API`); the kata rendezvous and TTL logic itself runs everywhere via a real `sandbox-agent` - process with no VM. The old real-chroot tier retired with devtools; what it - caught is recorded in `docs/DECISIONS.md` rather than silently absent. + process with no VM. The old real-chroot tier retired with devtools. ## Operations @@ -194,12 +187,12 @@ at all; a test greps the rendered page for `