Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/review/LESSONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ reviews can cite them, and each number is in exactly one file

| Area | Files | Entries | Read for |
| --- | --- | --- | --- |
| Safety model (AGENTS.md section 1) | [`safety.md`](lessons/safety.md), [`safety-2.md`](lessons/safety-2.md), [`safety-3.md`](lessons/safety-3.md) | 149 | every review |
| Shared code and the reference device | [`shared-code.md`](lessons/shared-code.md), [`shared-code-2.md`](lessons/shared-code-2.md), [`shared-code-3.md`](lessons/shared-code-3.md) | 127 | omarchy-mobile and app pull requests |
| Shell and scripts | [`shell.md`](lessons/shell.md), [`shell-2.md`](lessons/shell-2.md), [`shell-3.md`](lessons/shell-3.md) | 151 | omarchy-mobile and app pull requests |
| Kernel (linux-omarchy-mobile) | [`kernel.md`](lessons/kernel.md), [`kernel-2.md`](lessons/kernel-2.md), [`kernel-3.md`](lessons/kernel-3.md), [`kernel-4.md`](lessons/kernel-4.md) | 176 | linux-omarchy-mobile pull requests |
| The gates themselves | [`gates.md`](lessons/gates.md), [`gates-2.md`](lessons/gates-2.md), [`gates-3.md`](lessons/gates-3.md) | 140 | every review |
| Reviews and merging | [`reviews.md`](lessons/reviews.md), [`reviews-2.md`](lessons/reviews-2.md), [`reviews-3.md`](lessons/reviews-3.md) | 159 | every review |
| Claims and evidence | [`claims.md`](lessons/claims.md), [`claims-2.md`](lessons/claims-2.md), [`claims-3.md`](lessons/claims-3.md), [`claims-4.md`](lessons/claims-4.md) | 217 | every review |
| Corrections (where a review was wrong) | [`corrections.md`](lessons/corrections.md), [`corrections-2.md`](lessons/corrections-2.md) | 61 | every review |
| Safety model (AGENTS.md section 1) | [`safety.md`](lessons/safety.md), [`safety-2.md`](lessons/safety-2.md), [`safety-3.md`](lessons/safety-3.md) | 156 | every review |
| Shared code and the reference device | [`shared-code.md`](lessons/shared-code.md), [`shared-code-2.md`](lessons/shared-code-2.md), [`shared-code-3.md`](lessons/shared-code-3.md) | 130 | omarchy-mobile and app pull requests |
| Shell and scripts | [`shell.md`](lessons/shell.md), [`shell-2.md`](lessons/shell-2.md), [`shell-3.md`](lessons/shell-3.md), [`shell-4.md`](lessons/shell-4.md) | 157 | omarchy-mobile and app pull requests |
| Kernel (linux-omarchy-mobile) | [`kernel.md`](lessons/kernel.md), [`kernel-2.md`](lessons/kernel-2.md), [`kernel-3.md`](lessons/kernel-3.md), [`kernel-4.md`](lessons/kernel-4.md) | 187 | linux-omarchy-mobile pull requests |
| The gates themselves | [`gates.md`](lessons/gates.md), [`gates-2.md`](lessons/gates-2.md), [`gates-3.md`](lessons/gates-3.md) | 144 | every review |
| Reviews and merging | [`reviews.md`](lessons/reviews.md), [`reviews-2.md`](lessons/reviews-2.md), [`reviews-3.md`](lessons/reviews-3.md) | 162 | every review |
| Claims and evidence | [`claims.md`](lessons/claims.md), [`claims-2.md`](lessons/claims-2.md), [`claims-3.md`](lessons/claims-3.md), [`claims-4.md`](lessons/claims-4.md) | 223 | every review |
| Corrections (where a review was wrong) | [`corrections.md`](lessons/corrections.md), [`corrections-2.md`](lessons/corrections-2.md) | 63 | every review |

A numbered file (`claims-2.md`) continues the one before it; an area's parts
are read together.
Expand Down
43 changes: 43 additions & 0 deletions docs/review/lessons/claims-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,49 @@

Part of [the review lessons](../LESSONS.md), which says how they are used and how they grow.

- **L-811. A stage recorded as "passed" is laid against every clause of its
Pass line, and a stop rule written as "any X error" against the lines the
run logged and kept going through.** #835's H1 passed on its kernel criteria
with three of its listed after-checks not done, and logged a UFS `dme-set`
failure line under stop conditions that begin "any UFS error"; the line is
benign (the 9a's plan has it on every healthy wake), but the plan didn't say
so. *Check:* split the Pass line at its semicolons and tick each clause
against the result; grep the result paragraph for `failed\|error` and match
each hit to a stop condition or to a sentence that excuses it by name, with
the sibling plan that records it (`git grep -n '<line>' origin/main --
device/`). Extends L-435 and L-756. *From:* #835, round 60, 2026-11-17.
- **L-810. A phone test of a packaged drop-in starts with the merged view,
because a hand copy of the same name in `/etc` silently replaces the
package's file.** On #806 the contributor's 8 Pro had
`/etc/systemd/sleep.conf.d/10-omamobile.conf` from an earlier experiment;
with it in place the test would have "passed" on the old settings. *Check:*
when asking for a phone run of any `/usr/lib/systemd/*.d`, `modprobe.d`,
`udev/rules.d` or NetworkManager `conf.d` file, ask first for
`systemd-analyze cat-config`, `modprobe -c` or `NetworkManager
--print-config`, and for `pacman -Qo` on every file it lists under `/etc`;
pass the finding on to the device's other owners. Extends L-362 and L-46.
*From:* #806, round 60, 2026-11-17.
- **L-802. A fix "tested on the phone" by swapping a file into the extracted
image by hand has not run its own code path.** #863's stub was copied over
the image's library, and the new function ran once inside a live namespace;
the profile's start, where the function sits under `set -e` before cbd,
never ran with it. *Check:* for a profile or runner change, ask which
invocation executed the new lines (the unit's start, or a hand call), and
whether the hand-modified image was restored before the run that counts.
Extends L-361 and L-436. *From:* #863, round 60, 2026-11-17.
- **L-801. A sleep series is described by what ended each sleep and how long
it was, and it counts only for the path that was run.** #846's 86 of 86 were
all modem wakes within 29 s, while the failures being closed came on
RTC-woken sleeps of 120 s with the modem off; its later 300 of 300 held four
wakes on the touchscreen's interrupt with nobody at the phone; #912's 470
sleeps were `systemctl suspend -i` with 60 s alarms, for a default that
enables sleeps of hours with no alarm. *Check:* ask for `pm_wakeup_irq` (or
sleepd's "woken by" line) and the length per cycle next to any "N of N
woke"; name the command, wake source and length range of the path the change
turns on, and find rows with those on the same kernel and package; for a
source that isn't the test's own, `git log -S` when it became a wake source
and name the PR that would make it a default. Extends L-345, L-482 and
L-625. *From:* #846 with #758, rounds 60 and 61; #912, round 63, 2026-11-20.
- **L-800. When a cell's "works once X" condition is met, the new word is
still read against the legend, the diff against the caveats it drops, and
any "that belongs to the other cell" against the other cell.** #846 moved
Expand Down
95 changes: 52 additions & 43 deletions docs/review/lessons/claims.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,58 @@

Part of [the review lessons](../LESSONS.md), which says how they are used and how they grow.

- **L-1159. A plan finding written the same day as the fix that answers it is
checked against main's log for that afternoon.** #711's §11.1 says the
extraction tools sort with the locale's collation; #712 had made all four
sorts `LC_ALL=C` and merged half an hour after the record was written, so
the PR's own base already had the fix and the "open" item was closed.
*Check:* for each open item in a draft's body or plan, `git log -S'<the
fix's token>' <the record's date>..origin/main -- <the files it names>`, and
`git grep` the PR's base for it. Extends L-971 and L-936. *From:* #711,
round 66, 2026-11-23.
- **L-1158. A page over an existing radio feature waits on a run of the
feature itself on the reference phone, before the page's own run.** #539's
NetworkManager hotspot path had waited two weeks for its 7 Pro run while two
other brcmfmac phones showed that the tile's AP mode doesn't start at all
(#523), and nothing on main records the 7 Pro's AP mode. *Check:* `git grep
-n -i '<feature>' origin/main -- device/cheetah docs/DEVICES.md` for a
recorded run of what the page drives; if there is none, the phone test's
first step is main's own path, with a stop and a decision written for "it
doesn't start". Extends L-651 and L-574. *From:* #539 with #523, round 66,
2026-11-23.
- **L-1157. A GPU cell is read against the session's renderer environment, not
the kernel driver.** #993's row said the PowerVR GPU "works" because
`pvrsrvkm` binds, while its own `uwsm/env.d` file forced llvmpipe for every
session. *Check:* `git grep -n
'LIBGL_ALWAYS_SOFTWARE\|GALLIUM_DRIVER\|QT_QUICK_BACKEND' <head> --
packages/omamobile-device-<x>` before accepting a GPU "works"; if the
session falls back to software, the legend's word is "boots". Extends L-28
and L-1015. *From:* #993, round 66, 2026-11-23.
- **L-1156. A draft titled "stage 0" is read by its commit subjects before its
title, because a day of flashes can arrive as notes commits.** #1002 opened
as read-only stock facts on a locked phone; 33 commits the next day recorded
an unlock and about thirteen slot B flashes and boots, while the title,
description and Wanted row stayed "stock facts". *Check:* `git log
--format='%cI %s' origin/main..<head> | grep -i -E
'flash|stag|boot|hardware|trial|unlock|verify'`; any hit turns a docs draft
into a bring-up record, read against L-109 and CONTRIBUTING §3.2 and §3.3.
Extends L-486 and L-922. *From:* #1002, round 66, 2026-11-23.
- **L-1155. A notes table of slot bytes is read across every boot it skips,
not only the rows it shows.** #1011's two diagnostic rows were consistent
with Fastboot, but the bytes just before the write (0x35 `04`, from `0c`)
and the retry count Fastboot read afterwards could only come from an
unrecorded step between them. *Check:* lay each recorded byte from every
read (rows, preflight copies, "differed only at") in boot order, apply what
each boot and Fastboot visit should change, and ask for every step a jump
needs. Extends L-884 and L-1082. *From:* #1011, round 66, 2026-11-23.
- **L-1154. A record of "an image built from this branch" is read for its
"plus" clauses before it counts as a boot of the branch.** #931's RAM boot
carried the owner's local disk-encryption unlock in the init, needed because
that phone's root is LUKS2, so the shared init that ran was not the PR's,
and the merged descriptor can't boot that phone. *Check:* `grep -n -i
'plus\|not part of\|local\|on top' <the record>` around each boot a PR
cites, and name which shared files ran as written. Extends L-802, L-436 and
L-361. *From:* #931, round 66, 2026-11-23.
- **L-1119. A notes entry that explains how two packages got onto a phone is
read through the newer package's `depends=`.** #970 answered "which of the
two came from where" exactly, and the locally installed device package's
Expand Down Expand Up @@ -365,46 +417,3 @@ Part of [the review lessons](../LESSONS.md), which says how they are used and ho
/org/freedesktop/login1/session/auto org.freedesktop.login1.Session Id`
(read-only); ask how the app was started before accepting a session
workaround. Extends L-29 and L-46. *From:* #866, round 60, 2026-11-17.
- **L-811. A stage recorded as "passed" is laid against every clause of its
Pass line, and a stop rule written as "any X error" against the lines the
run logged and kept going through.** #835's H1 passed on its kernel criteria
with three of its listed after-checks not done, and logged a UFS `dme-set`
failure line under stop conditions that begin "any UFS error"; the line is
benign (the 9a's plan has it on every healthy wake), but the plan didn't say
so. *Check:* split the Pass line at its semicolons and tick each clause
against the result; grep the result paragraph for `failed\|error` and match
each hit to a stop condition or to a sentence that excuses it by name, with
the sibling plan that records it (`git grep -n '<line>' origin/main --
device/`). Extends L-435 and L-756. *From:* #835, round 60, 2026-11-17.
- **L-810. A phone test of a packaged drop-in starts with the merged view,
because a hand copy of the same name in `/etc` silently replaces the
package's file.** On #806 the contributor's 8 Pro had
`/etc/systemd/sleep.conf.d/10-omamobile.conf` from an earlier experiment;
with it in place the test would have "passed" on the old settings. *Check:*
when asking for a phone run of any `/usr/lib/systemd/*.d`, `modprobe.d`,
`udev/rules.d` or NetworkManager `conf.d` file, ask first for
`systemd-analyze cat-config`, `modprobe -c` or `NetworkManager
--print-config`, and for `pacman -Qo` on every file it lists under `/etc`;
pass the finding on to the device's other owners. Extends L-362 and L-46.
*From:* #806, round 60, 2026-11-17.
- **L-802. A fix "tested on the phone" by swapping a file into the extracted
image by hand has not run its own code path.** #863's stub was copied over
the image's library, and the new function ran once inside a live namespace;
the profile's start, where the function sits under `set -e` before cbd,
never ran with it. *Check:* for a profile or runner change, ask which
invocation executed the new lines (the unit's start, or a hand call), and
whether the hand-modified image was restored before the run that counts.
Extends L-361 and L-436. *From:* #863, round 60, 2026-11-17.
- **L-801. A sleep series is described by what ended each sleep and how long
it was, and it counts only for the path that was run.** #846's 86 of 86 were
all modem wakes within 29 s, while the failures being closed came on
RTC-woken sleeps of 120 s with the modem off; its later 300 of 300 held four
wakes on the touchscreen's interrupt with nobody at the phone; #912's 470
sleeps were `systemctl suspend -i` with 60 s alarms, for a default that
enables sleeps of hours with no alarm. *Check:* ask for `pm_wakeup_irq` (or
sleepd's "woken by" line) and the length per cycle next to any "N of N
woke"; name the command, wake source and length range of the path the change
turns on, and find rows with those on the same kernel and package; for a
source that isn't the test's own, `git log -S` when it became a wake source
and name the PR that would make it a default. Extends L-345, L-482 and
L-625. *From:* #846 with #758, rounds 60 and 61; #912, round 63, 2026-11-20.
18 changes: 18 additions & 0 deletions docs/review/lessons/corrections.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@

Part of [the review lessons](../LESSONS.md), which says how they are used and how they grow.

- **C-63 (2026-11-23). Round 64 asked kernel #249 to drop the angle brackets
around a 40-hex blob id in its commit message;** checkpatch exempts a 12-40
hex word only inside `<...>` or `[...]`, so the change the author made as
asked turned the gate red for two pushes. *Lesson:* a wording request on a
kernel commit message that touches a hash is run through checkpatch before
it is posted: rebuild the commit with the suggested message on its own tree
(`git log -1 --format=%B <c> | sed ... | git commit-tree <c>^{tree} -p
<c>^`), then `git format-patch -1 --stdout <new> | scripts/checkpatch.pl
--strict -`. Extends L-1098, L-743 and C-4. *From:* kernel #249, rounds 64
to 66.
- **C-62 (2026-11-23). Round 63 told #931 that its `depends` entry `libssc`
had no provider;** it is in Arch's `extra` (the phone installed it from Arch
Linux ARM's), and `iio-sensor-proxy` depends on it. L-639's grep of our tree
and open PRs was all the review ran. *Lesson:* a "nothing provides it"
finding is checked against the distribution's repositories too: `pacman -Si
<name>` on the review laptop, and the Arch Linux ARM index if the package
might be aarch64-only, before it is reported. Extends L-639. *From:* #931,
rounds 63 and 66.
- **C-61 (2026-11-21). A round 65 reviewer read 9 of the 25 lesson files to
save context,** and said so in its report, which is the only reason it is
known. The index says which areas every review reads, and a lesson that was
Expand Down
45 changes: 45 additions & 0 deletions docs/review/lessons/gates-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,51 @@

Part of [the review lessons](../LESSONS.md), which says how they are used and how they grow.

- **L-796. A package test that runs a start script calling the host's `sync`
fails under a loaded review machine.** `omamobile-modem`'s `test/all` gives
three `sync`s 20 s; with parallel reviews building, one case ended with rc
124 on #850's tree and passed on the next run. *Check:* on a timeout in a
case the PR doesn't touch, read `uptime`, time a `sync`, and rerun on main
and on the head before calling it the PR's; the script could take its `sync`
from a variable the test overrides. Extends L-42 and L-346. *From:* #850,
round 60, 2026-11-17.
- **L-793. A docs PR that adds a place to download a program is checked for
what verifies the download.** The release bundle is verified by signature
whatever its URL; the installer app's files had a checksum file beside them
and nothing else. *Check:* for each new download link, name the file, what
the reader is told to check it against, and whether that check is anchored
in a key or only in the same page. Extends L-632 and L-422. *From:* #843,
round 60, 2026-11-17.
- **L-785. A tool that starts keeping state under the user's home is run by the
tests with that home in scratch.** #855's `mkdir` under `XDG_DATA_HOME` made
`tests/phone-ssh` and `tests/make-bundle` write into the tester's real home,
and made the tool exit under `set -u` where `HOME` is unset. *Check:* run
the suite with `HOME` and `XDG_*` pointed at an empty scratch directory and
list it afterwards; run the tool's first lines with both unset. Extends
L-454 and L-681. *From:* #855, round 60, 2026-11-17.
- **L-783. A base image pinned by digest under a rolling-release `pacman -Syu`
needs a keyring refresh and a named bump step.** The pin fixes the trust
root and nothing else; without a refresh the job fails some months later on
every PR at once. *Check:* for a digest pin of a rolling distribution's
image, find who bumps it (Dependabot, a comment with the command) and
whether the first package step updates the keyring. *From:* #853, round 60,
2026-11-17.
- **L-782. A pin of a moving tag is compared with what the tag resolves to
today, not only with the release the PR names.** #853 pinned
`actions/checkout` to v5.0.0's commit, which is genuine, while `@v5` had
been at v5.1.0 for four months, so "no behaviour change" moved CI back three
commits, a security default among them. *Check:* `git ls-remote
https://github.com/<owner>/<action> 'refs/tags/v<N>*'`: the pinned id is a
tag's target in the action's own repository (a fork's commit also resolves
under the parent's name) and equals the major tag's target unless the PR
says why not; for a container digest, compare with the registry's
`docker-content-digest` for the tag and read the index for its platforms and
build date. *From:* #853, round 60, 2026-11-17.
- **L-781. "The builds are run by hand, so there is no test" is checked against
the test file's own stand-ins.** `tests/kernel-pr-check` has had a stand-in
`make` for `--build` since the device-tree comparison. *Check:* `grep -n
'stand-in\|fake' tests/<the tool's test>` before accepting that a path can't
be tested. Extends L-454. *From:* #851, round 60, 2026-11-17.
- **L-780. A gate fallback for "this file can't be checked the usual way" is
fed a file that is simply broken, on the real build, and the summary line is
read for what it counts.** #851 built an included `.c` through its includer;
Expand Down
Loading