diff --git a/data/backlog.json b/data/backlog.json index ad7d5bd..c919409 100644 --- a/data/backlog.json +++ b/data/backlog.json @@ -191,4 +191,4 @@ {"project":"linux-phone-oco/lab-tools","id":"bringup-steps-helpers","title":"The helper map: lpoco bringup steps reads docs' chain and names, per step, its lpoco command or the gap","status":"open","note":"Today: image pack/check/swap/bisect, initramfs build, lab fastboot, flash, provision, suite. Gaps: UART, banner, shell, dmesg map, PMIC, charger, storage. Each gap filled becomes its own item.","opened":"2026-11-18","waits":null,"blocked_by":"bringup-steps-seed","hardware":null,"needs":null,"device":null,"proof":"a test in lab-tools: every helper named in docs' bringup_steps is a subcommand lpoco --help lists at the pinned release, and lpoco bringup steps --device google-walleye prints the gaps","rank":null,"about":"bringup-steps"} {"project":"linux-phone-oco/lab-tools","id":"bringup-step-runner","title":"Research: a runner that walks a device's ready steps - helper, then proof, then the claim in its base; a step that changes the phone queued to its keeper","status":"open","note":null,"opened":"2026-11-18","waits":null,"blocked_by":"bringup-steps-helpers,feed-device-steps","hardware":null,"needs":null,"device":null,"proof":"a research row and a decision with what was rejected, and its failing test: the runner on a made-up device with two ready steps runs each helper and proof and writes two claims","rank":null,"about":"bringup-steps"} {"project":"linux-phone-oco/docs","id":"milestones-step-terms","title":"Milestones name steps: step:ID@device in criteria, read from step_status by milestone-readiness","status":"open","note":null,"opened":"2026-11-18","waits":null,"blocked_by":"feed-device-steps","hardware":null,"needs":null,"device":null,"proof":"milestone-readiness counts a step term done only when step_status says done for that device; a walleye milestone 'reaches a shell' over step:shell-on-console@google-walleye reads ready","rank":null,"about":"bringup-steps"} -{"project":"linux-phone-oco/lab-tools","id":"host-record-from-check","title":"lpoco host check writes the install record for a root file it proves in place, so the first plan after 0.15 asks no sudo","status":"open","note":"From host-plan-unreadable-not-new (#173). Also: plan words 'up to date' only while the file's check passes (share check for 50-lpoco.rules).","opened":"2026-11-18","waits":null,"blocked_by":null,"hardware":null,"needs":"build","device":"xiaomi-surya","proof":"host plan test from fixtures: with no record and an unreadable rules folder, a passing share check records the staged hash and the next plan lists 0 root commands for it; a failing check records nothing","rank":5,"about":"lpoco-host-rest"} +{"project":"linux-phone-oco/lab-tools","id":"host-record-from-check","title":"lpoco host check writes the install record for a root file it proves in place, so the first plan after 0.15 asks no sudo","status":"done","note":"2026-11-18, lab-tools-builder: done (lab-tools #175, main 9458bfa). A passing share check (every measured device passed, at least one measured) records the staged hash of the polkit rule, share unit and helper that plan could not read and has no record for; check and prepare both do it. A file recorded with other content stays a root install; a failing check records nothing. Proof: host/tests/plan.rs a_passing_share_check_records_the_rule_it_proved_and_a_failing_one_records_nothing (seen failing first) and a_passing_share_check_does_not_vouch_for_a_rule_recorded_with_other_content. share::probe takes the fake root so /run state is testable. Not done: plan wording 'up to date' tied to the file's check passing. Limit: check now writes the install record.","opened":"2026-11-18","waits":null,"blocked_by":null,"hardware":null,"needs":"build","device":"xiaomi-surya","proof":"host plan test from fixtures: with no record and an unreadable rules folder, a passing share check records the staged hash and the next plan lists 0 root commands for it; a failing check records nothing","rank":5,"about":"lpoco-host-rest"} diff --git a/data/session_log.json b/data/session_log.json index 37ee3c0..a784f44 100644 --- a/data/session_log.json +++ b/data/session_log.json @@ -118,3 +118,4 @@ {"project":"linux-phone-oco/device-template","id":"2026-11-18-template-research","entry_date":"2026-11-18","title":"Research: device-template, its children and drift","done":"Asked by the author through orchestration. Read the template's, labs' and idealkb's history and PRs (no phone, no lab changed); measured drift by blob id and manifest keys; a researcher read cruft, copier, GitHub templates, actions-template-sync, Yeoman, Nix, projen, Renovate at source. Recorded research device-template-drift-measured and device-template-follow-world, decision 2026-11-18-device-template-follows-by-release, six backlog items unranked, the hand-over device-template-how-it-stands, the subject's summary, and the failing test template-drift.sh (exit 1 today) in research/device-template/2026-11-18/.","considered":"Landing the test in device-template or a lab: neither has a failing-test convention and the labs are not this session's, so it lives in the research material and each item's proof names it. Checking device.toml's shape in the test: left to the schema decision (optional tables would give false failures).","rejected":"Re-recording device-template-follow (orchestration's, in progress): its rank would drop; the decision is tracked by it instead.","date":null,"about":"device-template"} {"project":"linux-phone-oco/docs","id":"2026-11-18-research-bringup-steps","entry_date":"2026-11-18","title":"Research: bring-up steps as data","done":"bringup-steps-research.r1 (research lead, from orchestration). Mined google-walleye-lab (161 backlog items, 120 session logs, the bring-up order plan), surya-lab and docs' surya records, lab-tools' lpoco-bringup and lpoco-health tests (a researcher subagent), and docs' tables (components, features, feature_support, support_status, milestones, tests, the parts feed). Looked around at 22 outside sources (a researcher subagent). Drafted the tables, records, query, seed and failing test and ran them in a scratch clone of docs. Recorded 18 sources, the research, the decision, 11 backlog items unranked, the hand-over row; landed data and the material only.","considered":"Landing the schema myself; steps as components; status typed in docs; edges as a list field; an issue tracker; per-driver probe steps; a 30-day expiry","rejected":"Landing tables.toml, records and queries here: AGENTS.md sends them to the owner, orchestration. The rest: see the decision's rejected.","date":null,"about":"bringup-steps"} {"project":"linux-phone-oco/lab-tools","id":"2026-11-18-host-records-the-root-files-it-installs","entry_date":"2026-11-18","title":"host records the root files it installs","done":"Built host-plan-unreadable-not-new (lab-tools #173): Seen {Absent, Text, Unreadable} in FileChange, install record, plan wording. Programmer review: two findings fixed (only PermissionDenied counts as unreadable; no diff printed for an unreadable file).","considered":"Recording at check time (kept as host-record-from-check); a record keyed per file vs one file (one file, lines HASH DST).","rejected":"Treating every read error as unreadable: a non-UTF-8 readable file would be called up to date unread.","date":null,"about":"host-plan-unreadable-not-new"} +{"project":"linux-phone-oco/lab-tools","id":"2026-11-18-host-record-from-check","entry_date":"2026-11-18","title":"host: record from the share check","done":"Built host-record-from-check (lab-tools #175): a passing share check records the hash of the unreadable polkit rule, unit and helper, so the next plan asks no sudo for them.","considered":"Recording for any unreadable file with a record; gating on ok>0 only.","rejected":"Recording over a recorded hash of other content: the probe shows some rule works, not that it is this one (reviewer finding, fixed). Recording when one of several devices failed.","date":null,"about":"host-record-from-check"} diff --git a/docs/backlog.md b/docs/backlog.md index 605e676..93bfa64 100644 --- a/docs/backlog.md +++ b/docs/backlog.md @@ -4806,10 +4806,10 @@ Project : linux-phone-oco/lab-tools Status -: open +: done Note -: From host-plan-unreadable-not-new (#173). Also: plan words 'up to date' only while the file's check passes (share check for 50-lpoco.rules). +: 2026-11-18, lab-tools-builder: done (lab-tools #175, main 9458bfa). A passing share check (every measured device passed, at least one measured) records the staged hash of the polkit rule, share unit and helper that plan could not read and has no record for; check and prepare both do it. A file recorded with other content stays a root install; a failing check records nothing. Proof: host/tests/plan.rs a_passing_share_check_records_the_rule_it_proved_and_a_failing_one_records_nothing (seen failing first) and a_passing_share_check_does_not_vouch_for_a_rule_recorded_with_other_content. share::probe takes the fake root so /run state is testable. Not done: plan wording 'up to date' tied to the file's check passing. Limit: check now writes the install record. Opened : 2026-11-18 diff --git a/docs/index.md b/docs/index.md index 0f44700..debe05e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,7 +25,7 @@ The memory of linux-phone-oco, whose goal is Linux phones as good as Android for - [Platforms](platforms.md): 7 - [Problems](problems.md): 17 - [Research](research.md): 59 -- [Session Log](session_log.md): 120 +- [Session Log](session_log.md): 121 - [Shell Releases](shell_releases.md): 2 - [Sources](sources.md): 259 - [Step Status](step_status.md): 0 diff --git a/docs/session_log.md b/docs/session_log.md index 3de2b5c..112e5bd 100644 --- a/docs/session_log.md +++ b/docs/session_log.md @@ -2672,3 +2672,27 @@ Rejected About : host-plan-unreadable-not-new + +--- + + + +### host: record from the share check + +Project +: linux-phone-oco/lab-tools + +Entry date +: 2026-11-18 + +Done +: Built host-record-from-check (lab-tools #175): a passing share check records the hash of the unreadable polkit rule, unit and helper, so the next plan asks no sudo for them. + +Considered +: Recording for any unreadable file with a record; gating on ok>0 only. + +Rejected +: Recording over a recorded hash of other content: the probe shows some rule works, not that it is this one (reviewer finding, fixed). Recording when one of several devices failed. + +About +: host-record-from-check