Бэклог
Работа впереди — и уже сделанная.
Открыто · 14
bringup: the host tool that makes a device's first boot images (boot image pack, unpack, swap, check; initramfs)
lab-toolsDecided 2026-11-17 (decision 2026-11-17-bringup-in-lab-tools): lpoco-bringup, a workspace member of lab-tools run as 'lpoco bringup' under one roof - the lpoco dispatcher (lpoco-dispatcher), one pin,…
devlab and tone declare their command lines with argenv, not clap
lab-toolsPractice 43: a program on clap moves to argenv when it is next changed; devlab changed 2026-11-17 (lab-tools 71, 72, 79, 80, 81) and still parses with clap, as does tone; lpoco-health already moved. E…
A turn does not end with unlanded changes
lab-toolsA Stop hook (devlab guard stop) that refuses to end a turn while a place the session worked in holds changes not landed: the places are read off the transcript (the cwd of its Bash calls and the files…
The checks surya-lab ran from the lab, carried into the suite
lab-toolssurya-lab tests/automatic/checks.sh retired on 2026-11-17 (its decision 2026-11-17-the-lab-s-own-conveyor-retires); four of its checks are not yet in the phone suite: bt-sees-devices (a 6 s bluetoothc…
One controlled suspend and wake in the suite
lab-tools доказано тестом fixture tests of the verb (plan with no phone, counters parsed before/after, refuses without a declared way back); then one cycle on surya through surya-lab's queue, the report's soc-sleeps turning from skip to pass or fail2026-11-18, orchestration: the build part goes to the lab-tools builder. surya has run this cycle by hand through surya-lab sleep/way-back.sh (cycle SLEEP bt-on [stop-sensors]: watchdog fuse as the wa…
The microphone, placed on notice
lab-toolsThe microphone can be relied on when it is placed by the phone. Before any listening test the agent notifies its keeper and waits for his word; only then is the test run, with --placed, and counted. T…
The phone's own microphone, heard the same way
lab-toolsThe lab plays a tone, the phone records it: the instrument for the long-open microphone work. And a second lab microphone, to tell left from right.
Listening by itself, at decent hours
lab-toolsThe watcher stays silent: a tone after every start could sound at night. For it to listen unasked the lab needs to say when sound is welcome.
A room of exact zero means the microphone did not record
lab-toolsRight after a reboot the room recorded at -240 dBFS (digital silence) and the tones still passed. devlab hear should refuse in that case.
Modules no entry boots with, taken away
lab-toolsSeen 2026-11-17: removing bring-up's ear try proved remove keeps shared modules (it removed ear's entry only; mic stays). Left on surya: /lib/modules/7.1.0-rc3-sm7150-wcd, from the wcdswr experiment r…
lpoco host, the rest: lab group for headless, watcher units, cross targets, host commands, foreign rules named, NCM
lab-tools доказано тестом a plan test per part from fixtures: listed, nothing changed without the verbAfter lpoco-host's first build (its acceptance on walleye passed), the rest of the host from declarations, each its own small change with its plan test first: (1) a lab group (sysusers.d, MODE 0660 on…
Half-manual tests
lab-toolsSequential tests with an observer - a person now, a rig later.
Built on postmarketOS's conventions
lab-toolsdevice.toml from deviceinfo; tests in the shape of pmOS's initramfs CI; bootrr.
A proper rig
lab-toolsAsked for by the author, for the future: a microphone fixed in place, a webcam that sees the screen, servos that press the buttons and touch the glass - so the tests that need a hand, an eye or an ear…
В работе · 2
lpoco-health: the one health suite on the phone, with switches and run-time detection
lab-toolsLanded 2026-11-17: lab-tools #75, #77 (compat names), package default (next); put on surya by the keeper, runs gathered (docs #213). Open: the surya-lab checks call the new names (keeper repointing);…
lpoco host: the lab host prepared from the lab's and each device's declarations - udev access for gadget serials, host modules, the host's own tools at their pins; plan by default, prepare now to change
lab-tools доказано тестом host/tests/plan.rs plan_grants_gadget_serial_and_changes_nothing (first, failing); then plan_lists_host_tools_at_pins_and_installs_nothing; acceptance: lpoco host prepare now on the lab, then the walleye keeper reads /dev/sda and /dev/ttyACM0 as the lab user ждёт the tty half of the acceptance: walleye's pk5l (the mainline…Decided 2026-11-17 (decision 2026-11-17-lpoco-host; research lab-host-prepare-landscape, lpoco-host-how-it-stands). A new workspace member host/ in lab-tools: the crate and binary lpoco-host, run as `…
Готово · 54
bringup bisect FILE: a declared series of swaps (walleye's s0, s0n, s1, s2, s3), and the lz4 frame kernel part
lab-tools доказано тестом bringup-bisect-runs-declared-seriesBuilt and landed (lab-tools#123, 0bb6fdf on main): lpoco-bringup image bisect SERIES --out DIR; a TOML series (control, [[image]] name/kernel/dtb/ramdisk/cmdline/lz4/footer), each image counted agains…
bringup image swap: one part of a control image replaced, the AVB hash footer kept, and what differs said
lab-tools доказано тестом bringup-swap-s0-reproduces-controlBuilt and landed (lab-tools#110): lpoco-bringup image swap CONTROL --out IMG [--ramdisk|--kernel|--dtb|--cmdline]; proof bringup_swap_s0_reproduces_control passes. Bisect series and lz4 kernel are bri…
bringup image info|unpack|pack|check for header v0, packed byte for byte as mkbootimg
lab-tools доказано тестом bringup-pack-matches-mkbootimgLanded in lab-tools PR 85 (https://github.com/linux-phone-oco/lab-tools/pull/85): crate lpoco-bringup (lib+bin, argenv, family version 0.1.7, release-plz version_group), image info|unpack|pack|check f…
bringup initramfs build: a reproducible newc cpio, the gadget address as a variable, xz or gzip by the device
lab-tools доказано тестом bringup-cpio-matches-gen-init-cpioReplaces build-initramfs.sh. Test: from the walleye spec (busybox, /init, udhcpd.conf, device nodes) the archive is byte for byte what the kernel's gen_init_cpio -t 0 makes, then compressed with the c…
bringup follows by pin and extends by hooks: [tools] version check, manifest-named step hooks, a library API a rust-script can use
lab-tools доказано тестом bringup-refuses-wrong-pinLanded in lab-tools PR 88 (squash on main). Proof bringup-refuses-wrong-pin: bringup/tests/pin_and_hooks.rs (pin refusal, matching pin, parts hook changes ramdisk, failing/missing hook stops) and rust…
bringup is released by release-plz (a bringup-vX.Y.Z tag) and installs on a lab host from the tag
lab-tools доказано тестом bringup-installs-from-tagDone: cargo install --git --tag per package, proven by bringup-installs-from-tag against 0.2.0 (lab-tools #90, read back from main f4e55b0).
devlab fastboot boot reads the slot variables before and after a try and says what changed
lab-tools доказано тестом a test that fails when devlab reports a slot change as only refusedDone 2026-11-17 by lab-tools PR 80 (d510232), recorded there as fastboot-slots-told: devlab fastboot boot now reads current-slot and slot-unbootable/successful/retry-count of a and b before and after,…
devlab reaches a phone over fastboot (walleye speaks nothing else until Linux runs)
lab-toolsDone 2026-11-17 (lab-tools PR 79, device-template fastboot-serial): device.toml [fastboot] serial + writes (false unless said); devlab fastboot state | getvar NAME | boot now BOOT.IMG | reboot now [--…
devlab mcp: the phone for any agent
lab-toolsdevlab mcp (rmcp 3.10, stdio): run, put, get, health_report, health_run, kernel_install, kernel_try, kernel_status, reboot - each the function the command line calls; nothing but the protocol on stand…
fastboot: a phone out of fastboot found by its serial or USB port, else gone from USB
lab-toolsDone 2026-11-17 (lab-tools PR 81, f904196), asked by walleye-coordinator: after a boot try devlab took surya's postmarketOS gadget (18d1:d001) and a shared address for walleye's Linux while walleye ha…
fastboot boot says where the phone went and the slots' flags; set-active gated
lab-toolsDone 2026-11-17 (lab-tools PR 80, d510232), asked by walleye-coordinator after research walleye-first-fastboot-boot-tries: boot now reads current-slot and slot-unbootable/successful/retry-count of a a…
Flashing
lab-toolsdevlab flash did its first real flash (2026-11-10): the pristine stock image, the manifest's fixes baked in, the device tree fingerprinted (a43d069d0a49adcd), the phone back with all 20 checks passing…
A known gap counted apart from a failure, when a run is filed
lab-toolsdevlab gather files each run test_runs row with gaps: failures in the manifest [health] gaps, counted apart from failed, as the phone own verdict counts them (docs gaps-on-the-face). Columns are named…
devlab gather files a device's runs and results into its own base
lab-tools ждёт move-device-rowsdevlab gather files into the lab's own base when it has a devicebase.toml (same test-run record; filed() and derivations from the lab; land lands the lab alone); --docs keeps the old path; the output…
Gathered once the phone is quiet, landed again if main moved
lab-toolsMeasured 2026-11-17 (conveyor session): in about 2 h the watch gathered 5 times and 2 landings failed, other sessions having landed in docs and surya-lab meanwhile; each boot cost two PRs, two CI roun…
The ways, held for agents: devlab guard
lab-toolsClaude Code hooks on the lab call devlab guard: PreToolUse refuses git push to main, python/pip, and ssh/scp/sftp/rsync/sshpass to a phone address devlab has met (each manifest leaves its addresses in…
Health, after every boot
lab-toolsdevlab test, health, watch: regressions raise one board task.
Every change ends with the health report
lab-toolsEvery change devlab makes ends with the phone's health: phone reboot and kernel try wait for the report the new boot writes by itself (the test kernel's boot is measured like any other), provision run…
devlab-health tone make|find on the phone, the awk Goertzels retired
lab-toolsDone 2026-11-17 (conveyor-health): devlab-health is a multi-call binary. tone make|find links lab-tools' tone crate (its clap command a feature now; one WAV reader shared by tone, devlab hear and the…
devlab-health as an Alpine package
lab-toolsDone 2026-11-17: surya takes the suite from its Alpine package. devlab suite put now (lab-tools #51) adds lab-tools' signed repository and key to the phone once, installs or upgrades devlab-health, an…
The mobile-data check made generic, counting its bytes against a budget
lab-toolsDone 2026-11-17 (conveyor-health): telephony/10-mobile-data.sh in the generic suite (lab-tools #60, fixed by #62 to measure the data bearer and never IMS), with devlab-health data plan|spent keeping t…
Gathering is one command
lab-toolsdevlab gather now: the phone's reports into the device lab's tests/results, every unfiled run into docs' test_results and test_runs. Proven 2026-11-17: 5 reports brought from surya, 9 runs filed (5 fr…
The phone checks its own health after every boot
lab-toolsdevlab-health (static Rust runner, health/) and the generic checks: storage, kernel (oops, new warnings, processor crashes, failed units), signal processors, sound cards, Wi-Fi, modem, Bluetooth, disp…
The telephony layer: checks that cost something, at most once a day
lab-toolsPer decision 2026-11-17-health-checks-shell-and-rust, asked by bring-up for surya's SMS loopback and mobile data: devlab-health 0.1.1 runs a third layer after base and shell, telephony (a call, an SMS…
The lab's ear
lab-toolsdevlab hear and devlab health --hear work: a tone on each channel, recorded through the lab's microphone, measured against the silent room; heard checks join the one baseline when listened for. Its fi…
devlab hear asks for the word first
lab-toolsdevlab hear and devlab health --hear refuse without --placed, and say the procedure: tell the microphone's keeper, wait for their word. The lab's microphone can stay named: nothing plays by accident.
Safe test kernels
lab-toolsdevlab kernel: one try by boot counting, a timeout that falls back to stock.
devlab kernel: make a proven test kernel the phone's default
lab-toolsDone 2026-11-17 (orchestration, lab-tools kernel-keep): devlab kernel keep NAME now rewrites the test kernel's entry to sort ahead of stock with 3 tries and systemd-bless-boot no longer masked; its fi…
kernel remove never takes modules another kernel boots with
lab-toolsAsked by bring-up, 2026-11-17: its ear try is the same 7.1.0-sm7150-mic+ build as the kept mic kernel, so removing ear could have taken the default kernel's modules. Now install says the release in th…
A device-tree change is one boot: kernel try --dtb
lab-toolsAsked by bring-up, 2026-11-17: a device-tree experiment on the kept kernel took unkeep, a stock reboot, try and keep again. devlab kernel try NAME --dtb FILE now boots installed kernel NAME's kernel,…
The lab's devlab (and tone) move from 0.1.0 in ~/.local/bin to the family pin 0.2.1, between surya keeper runs
lab-toolsDone 2026-11-17 23:12 in the surya lane's window (keeper idle, lease released): the 0.1.0 copy is kept as ~/.local/bin/devlab-0.1.0; lpoco-lab and lpoco-tone are cargo-installed at lpoco-v0.2.1 with -…
devlab takes the family name (lpoco-...) when device repositories install it, keeping devlab as another name
lab-tools ждёт devlab first pinned or installed by a device repositorySuperseded 2026-11-17 by the one-roof decision: the rename is lpoco-rename-lab-tone, behind lpoco-dispatcher.
Never read LPASS pins through debugfs while LPASS is idle
lab-toolsFound by the bring-up session, 2026-11-17: reading /sys/kernel/debug/gpio and the LPASS LPI pinctrl debugfs on surya while the LPASS clocks were off stalled the bus; the phone hung until a person held…
lpoco: the dispatcher - lpoco NAME runs lpoco-NAME, one version for the family, list and completions
lab-tools доказано тестом lpoco-runs-subcommand-by-pathLanded in lab-tools PR 83 (https://github.com/linux-phone-oco/lab-tools/pull/83): lpoco NAME runs lpoco-NAME, refuses mixed versions, list/--version/completions/man from the argenv declaration, one fa…
lpoco-host --help prints its usage (argenv), as ikb and land do
lab-tools доказано тестом lpoco-host-help-prints-usageLanded in lab-tools #93, released as lpoco-v0.2.2: --help and -h print the usage (arguments and environment read from the argenv declaration) in lpoco, lpoco-host, lpoco-bringup, lpoco-health; lpoco-t…
lpoco host reads each device declaration from origin/main, or names the commit read and how far behind it is
lab-tools доказано тестом lpoco-host-reads-device-from-origin-mainLanded lab-tools #108 (15c7a7c), released v0.3.4. Proof: host test reads_each_device_from_origin_main_and_names_how_far_behind (seen failing first). version of script tools documented as label only.
lpoco host finds script tools (land, agent-env, oco-work) by rev and says what it found, and the devices glob takes a list
lab-tools доказано тестом lpoco-host-finds-script-toolsSeen writing lab.toml (lab-machine #36): plan says land 'found not found' and oco-work 'not installed' though both are in ~/.local/bin, since scripts print no --version and a script pin needs version…
lpoco-lab's command line declared once with argenv (devlab's clap moves over)
lab-toolslanded lab-tools #98 (a365eb2), read back from main; proof devlab/tests/help.rs. Left: declared env still read by std::env::var in flash/provision/watch/phone/hear/device (route through the contract);…
lpoco-lab reads its declared environment through the argenv contract, not std::env::var
lab-tools доказано тестом lpoco-lab-env-read-onceLanded in lab-tools #103 (fd1163d): the five declared env vars are read once in cli.rs; proof lpoco-lab-env-read-once seen failing, then green. Known: a non-UTF-8 HOME counts as unset; empty DEVLAB_RO…
lpoco mcp: one MCP server for the family, every subcommand's tools under its name, old names kept
lab-tools доказано тестом lpoco-mcp-lists-every-family-tooldone: lab-tools#87; proof lpoco-mcp-lists-every-family-tool (lpoco/tests/mcp.rs) green; read back from main
The old names (devlab, tone, devlab-health, the MCP tool names) swept to lpoco ones in small changes, the aliases kept until the sweep ends
lab-toolsLeft by lpoco-rename-lab-tone (lab-tools #86): ~450 references across AGENTS.md, READMEs, briefs, device.toml comments, launchers, devlab-watch@ units and scripts still say devlab or tone. Sweep one r…
devlab becomes lpoco-lab (lpoco lab), tone lpoco-tone; the old names stay as other names
lab-tools доказано тестом lpoco-lab-and-devlab-are-one-programLanded in lab-tools #86: packages lpoco-lab and lpoco-tone, second [[bin]] keeps devlab and tone running the same code; one family version 0.1.7 (release-plz version_group). Proof lpoco-lab-and-devlab…
lpoco-tone's command line declared once with argenv (the last clap in the family)
lab-tools доказано тестом lpoco-tone-help-from-argenvLanded in lab-tools #101, released in v0.3.1 (#97). Proof lpoco-tone-help-from-argenv: lab-tools tone/tests/help.rs, red first, 5 tests pass; programmer review fixed (out-of-range/zero rate and channe…
Reaches the phone
lab-toolsdevlab phone: USB or Wi-Fi, no quoting layer, boot ids.
Provisioning
lab-toolsPackages, files by {compatible}, Wi-Fi; the shared connection undone by a guard. It sets a fresh phone's clock and grows its system to fill its partition first.
A family release is one release PR that writes every member's changelog; main never red between two
lab-tools доказано тестом release-pr-writes-every-changeloglanded lab-tools#121; proof test a_release_where_one_member_changed_writes_every_changelog. Next release PR is the real read-back.
Every release of the lpoco family bumps the version and tags what landed: no changelog-only release under an existing version
lab-tools доказано тестом release-tags-every-changelanded lab-tools #116 and #119; proof: release-tags-every-change, release_plz_ignores_its_own_release_commits (lpoco/tests/release_family.rs). release-plz.toml release_commits lists feat|fix|perf|refa…
A change's health report stays on the phone until the watch files it
lab-toolsSeen by bring-up 2026-11-17: a suite run from its worktree brought the phone's reports into that worktree and they rode along in a landing. devlab no longer brings reports into the clone a command run…
suite put puts the lab as its main has it
lab-toolsSeen 2026-11-17 (orchestration's own slip): suite put run in a surya-lab clone 40 commits behind main put old checks and a known gap main had left (audio-mic) onto the phone, until the suite was put a…
suite put: find the runner by itself
lab-toolsDone 2026-11-17 (lab-tools PR 72): devlab suite put now --runner (no file) builds devlab-health with health/build.sh in the lab-tools devlab was built from and copies it with that tree's checks; --run…
Suite check suspend-irq-quiet: interrupts across one suspended cycle stay under a threshold
lab-tools доказано тестом suspend-irq-quietFrom surya-lab's backlog (floor research; the surya coordinator asked orchestration's builder, 2026-11-18). A generic check in lab-tools health/suite/checks/ with its row in docs tests (ikb test): rea…
Test sounds at a level the manifest sets - quiet by default
lab-toolsAsked by the author, 2026-11-17 (~03:00 local): 'please use quieter sound for tests, asap' and 'there should be a setting in the test suite'. The bring-up session had played a full-scale speaker-test…
kernel try: a try whose release equals the test kernel's is read as stock
lab-toolsDone 2026-11-17 (lab-tools PR 71): where LoaderEntrySelected is empty, devlab kernel try reads the booted entry off the running cmdline's initrd=initramfs-NAME, and the release only where neither says…
kernel try reports what came back
lab-toolsdevlab kernel try reports what the try came to, said by the phone after a new boot answers: booted, not chosen, stopped early, or timed out with its log. Proven 2026-11-11: booted the microphone kerne…