This repository was archived by the owner on Nov 15, 2026. It is now read-only.
Repository navigation
feat(desktop): connect the window to lodge in lodge mode, with a 30 s ping - #54
Merged
Merged
Conversation
… ping In lodge mode (app.json names lodge), the shell's bridge stops this computer's readd and waits for its data lock, then opens wss://LODGE/app/read/api with lodge's Origin, one text frame per line, and sends a JSON-RPC notification every 30 s so lodge keeps the session. It never falls back to the local readd. remote.rs reads app.json and the XDG paths as internal/config does, from 2 tables of cases the Go and Rust tests share. Plan 0002, Phase 6 part 1.
…pt, refuse duplicate names The cross-review of 4552dc9 found 4 blocking points: - a WebSocket write could not be interrupted by the stop signal, so a replaced connection could stay open under backpressure; - a connection attempt that finished after forget, or after a newer attempt, was kept for the window; - app.json with a duplicate name outside lodge parsed in Rust and failed in Go's encoding/json/v2; - no lodge-side test covered the line and WebSocket size bounds. Each fix has a test that fails without it, and .memory/corrections.jsonl records the lessons. The local reader and writer now use the helpers the local tests cover.
Re-review 1 of #54 found that the duplicate-name visitor read every ignored number as f64, so a valid file with 1e1000 in an unknown member failed in Rust and parsed in Go. A byte scan over the parsed document now checks member names in every object and skips values, as Go's encoding/json/v2 does. The shared table gains large-number, escaped-name, null and string-document cases.
bketelsen
approved these changes
Nov 5, 2026
11 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Day shift 2026-11-05 line 1 (Brian T909a). Follow-up to the Snowfield rerun in #185 (
dev-snow-bootc-lifecycle-v4cgb,FAILED: fsverity_errorson7.2.15-1-surface).Finding: same defect as snosi#1130
The fs-verity errors on
7.2.15-1-surfaceare the known btrfs defect (upstream fix kdave/linux254e15591ee4, "btrfs: fix the fsverity callback where unexpected range is verified"):fs/btrfs/extent_io.catv7.2.15is byte-identical tov7.2.12(already listed). It still hasreturn fsverity_verify_folio(vi, folio);inbtrfs_verify_folio(), the line the fix replaces withfsverity_verify_blocks(...).ChangeLog-7.2.13,-7.2.14and-7.2.15have 0 btrfs commits.patches/7.2(BASEv7.2.15, commitb68aec8440"Update to v7.2.15", 15 patches) touches no file underfs/ormm/and nothing of fsverity (only drivers,arch/x86boot/ACPI,kernel/power, 2include/linuxheaders). The kernel banner in the serial log:Linux version 7.2.15-1-surface ... #1 SMP PREEMPT_DYNAMIC Sun Nov 1 23:56:22 UTC 2026.fsverity.txt) aredevice=dm-0 ... level=-1(data block). The kept serial log (boot-n) shows both errors at 8.4 s and 9.0 s while GNOME starts (gdm.service), with no btrfs checksum, I/O or device error. Same pattern as Snow on Debian 7.2.11/7.2.12 (desktop readahead, snosi#1130 updates 4 and 5). Every phase attested its expected digests; only the fs-verity judge failed.Changes
known_defect_kernelsgets exactly7.2.15-1-surfacein the 3 lanes (Firn judge, bootc install judge, lifecyclerun.sh), with one comment line. Judge logic unchanged; matching stays exact equality.test_bootc_install_fsverity.py::test_judge_surface_kernel_exact_match_and_lookalikesandtest_firn_install_lane.py::test_judge_surface_kernel_exact_match_and_lookalikes:7.2.15-1-surfacewith errors passes with the visiblefsverity_known_defect=note;7.2.15-2-surface,7.2.16-1-surface,7.2.14-1-surface,7.2.15-1-surface-extra,7.2.15-1,7.2.15+deb14-amd64,7.3.1+deb14-amd64still fail.fsverity_known_surface(PASS withfsverity_known_defect=7.2.15-1-surface) andfsverity_surface_lookalike(7.2.16-1-surface,FAILED: fsverity_errors).test_known_defect_list_is_identical_in_every_laneand the Firn pin).docs/quality.mdandREADME.mdname the 5th entry and the evidence.No risk paths (the repository has no
.github/risk-paths.json).Checks
pytest -q: 1614 passed.policies/check_agent_governance.py: passed.18913782, the 3 templates checked out from the merge-base0dc7b716, tests kept;pytest tests/test_bootc_install_fsverity.py tests/test_firn_install_lane.py tests/test_snow_bootc_lifecycle.py -k "surface or known_defect_list"): 5 failed, 15 passed. These fail: bothtest_judge_surface_kernel_exact_match_and_lookalikes[7.2.15-1-surface-True],test_runner_five_boots_and_post_init_failures_are_offline[fsverity_known_surface], and the 2 list pins. The look-alike cases pass both ways.Cross-review
openai/gpt-6.1-sol, codergithub-copilot/mai-code-2-flash(docs wording by Claude).18913782(base880eecfe, merge-base0dc7b716, all 8 files): Ready, Blocking: none, no findings.Next
A Snowfield dev rerun (
trigger=dev, no publish, no tag move) from this branch, once thelab-devlease is free; the result goes on snosi#1130 and here.Refs frostyard/snosi#1130