Repository navigation
docs(adr): 0095 the console offers phone actions on a worker, and a worker lists the phones it could enrol (#1131) - #1903
Conversation
… and a worker lists the phones it could enrol (#1131)
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Decision taken1. May
To revert: one check in 2. Does the Inbox offer Remove phone on a quarantined or absent phone? ADR 0037 §3 wants every surface to read one action list.
To revert: the Inbox reads Written by an agent. |
Review ledgerRound 1: 7751c53 {"findings":[{"id":"R1","role":"spec","class":"contradicts accepted ADR 0073 s5","outcome":"fixed","path":"docs/internal/adr/0095-the-console-offers-phone-actions-on-a-worker-and-a-worker-lists-the-phones-it-could-enrol.md:41","round":"1","fix":"38bb0b8a22599d7479153973dd21ec60c566b7b7"},{"id":"R2","role":"spec","class":"false statement about typed-id enrol","outcome":"fixed","path":"docs/internal/adr/0095-the-console-offers-phone-actions-on-a-worker-and-a-worker-lists-the-phones-it-could-enrol.md:88","round":"1","fix":"38bb0b8a22599d7479153973dd21ec60c566b7b7"},{"id":"R3","role":"spec","class":"false statement: one case gets through","outcome":"fixed","path":"docs/internal/adr/0095-the-console-offers-phone-actions-on-a-worker-and-a-worker-lists-the-phones-it-could-enrol.md:55","round":"1","fix":"fa66f6ca6d83457eb388fa5d344d318f95a9d6d5"},{"id":"R4","role":"spec","class":"false consequence: joined worker console","outcome":"fixed","path":"docs/internal/adr/0095-the-console-offers-phone-actions-on-a-worker-and-a-worker-lists-the-phones-it-could-enrol.md:119","round":"1","fix":"38bb0b8a22599d7479153973dd21ec60c566b7b7"},{"id":"R5","role":"spec","class":"contradicts ADR 0037 s3 Inbox omitted","outcome":"fixed","path":"docs/internal/adr/0095-the-console-offers-phone-actions-on-a-worker-and-a-worker-lists-the-phones-it-could-enrol.md:11","round":"1","fix":"38bb0b8a22599d7479153973dd21ec60c566b7b7"},{"id":"R6","role":"spec","class":"false consequence: unknown route 404","outcome":"fixed","path":"docs/internal/adr/0095-the-console-offers-phone-actions-on-a-worker-and-a-worker-lists-the-phones-it-could-enrol.md:121","round":"1","fix":"38bb0b8a22599d7479153973dd21ec60c566b7b7"},{"id":"R7","role":"spec","class":"false statement: within the hour","outcome":"fixed","path":"docs/internal/adr/0095-the-console-offers-phone-actions-on-a-worker-and-a-worker-lists-the-phones-it-could-enrol.md:133","round":"1","fix":"38bb0b8a22599d7479153973dd21ec60c566b7b7"},{"id":"R8","role":"spec","class":"false statement: minute after delete","outcome":"fixed","path":"docs/internal/adr/0095-the-console-offers-phone-actions-on-a-worker-and-a-worker-lists-the-phones-it-could-enrol.md:40","round":"1","fix":"fa66f6ca6d83457eb388fa5d344d318f95a9d6d5"}]}Written by an agent. |
ADR 0095 for #1131, Accepted — not yet implemented. It narrows ADR 0037 §3 and ADR 0073 §5.
device.attached(GET /v1/attached-phones,simlock device attached), kept apart fromGET /v1/devices, which lists Simlock's own records. A gateway refuses it. Protocol +1.device removestays phones-only (ADR 0050 stands). Under ADR 0061 the first draft's virtual delete rarely helps.It replaces the earlier draft ADR 0055 (#1132). This PR is the bottom of #1131's stack and merges with the feature's last task.
Status
Implement: fix done Review: fix-check at fa66f6c, passed Hardware: n/a Gate: waiting for the stack
Next: finish the PR body, then the stack
Ledger:
ro.serialno(physical-handler.ts:173-192), so its USB listing is left out. A USB-enrolled phone stores no serial, so its Wi-Fi listing gets through andaddrefuses it (physical-enrollment.ts:257-281). R8 is fixed in fa66f6c and verified by spec. A delete triggers a pass atconverger.ts:985.holdFillstops a fill for the four conditions the ADR lists: memory pressure, an unserved waiter, the refill delay and retry backoff (policy.ts:730-735,:751-752).State: {"issue":1131,"branch":"feature/1131-adr","pr":1903,"stacked":true,"last":"a9b17a68fa89","done":"review","mode":"fix","audited":true,"adr":true,"assessment":"complete","rounds":["1:7751c5329ca35597ef5bd3a8939e005f78c32441","2:38bb0b8a22599d7479153973dd21ec60c566b7b7","fix-check:review:fa66f6ca6d83457eb388fa5d344d318f95a9d6d5"],"round":"fix-check","commit":"fa66f6ca6d83457eb388fa5d344d318f95a9d6d5","checkedBase":"067d669809307c65e44afc9ac9071f222fb8bdf7","reviewBase":"067d669809307c65e44afc9ac9071f222fb8bdf7","lenses":1,"findings":"/private/tmp/claude-501/-Users-szymon-chmal--t3-worktrees-pitlane-t3-efaf43a2-67c220de5d3711f2/c430f604-9f7e-4775-9eaf-1b3f8f5f5ebd/scratchpad/findings-1903.json"}
Review
Spec review: 8 blocking, 8 fixed, 0 notes. Code review: skipped. Claims review: skipped.
Rounds: 2. Tokens: 2.8M.
Runs: 9. Cost USD: 3.292. Agent seconds: 737.
Assessment: complete
Written by an agent.