diff --git a/local/docs/STUBS-FIX-PROGRESS.md b/local/docs/STUBS-FIX-PROGRESS.md index c1cb8ee2a4..b3f2ce559f 100644 --- a/local/docs/STUBS-FIX-PROGRESS.md +++ b/local/docs/STUBS-FIX-PROGRESS.md @@ -26,18 +26,51 @@ The four audit documents identified ~517 TODO/FIXME markers, 11 `unimplemented!( --- -## Final State (2026-06-09, end of session) +## Red Bear Forks Established (2026-06-09) -**Total commits this session across all 3 repos:** ~325 -- Main repo (RedBear-OS): ~303 commits -- Base fork: 21 commits -- redbear-hid-core: 1 commit +12 Red Bear forks are now in place at `local/sources/`. Per the **NO OVERLAY-STYLE PATCHES — SCOPED POLICY (AMENDED 2026)** in `local/AGENTS.md`, big external projects must live as Red Bear forks at `local/sources//` (not as direct edits to `recipes//source/`). -**All 21 base-fork commits are in this session.** P1, P2, P3 (HID core), P3 (driver wiring), and the comprehensive Phase 1-3 implementation work (vesad, init, pcid, kwin, sddm, sessiond, dbus-services, pam-redbear, pipewire, wireplumber, wifictl, upower, udisks, firmware, machine-id) all landed. +| Fork | Path | Initial commit | Rationale | +|------|------|----------------|-----------| +| `base` | `local/sources/base/` | (pre-existing) | Userspace drivers (acpid, pcid, xhcid, etc.) | +| `bootloader` | `local/sources/bootloader/` | (pre-existing) | UEFI bootloader | +| `installer` | `local/sources/installer/` | (pre-existing) | ext4 + GRUB installer | +| `kernel` | `local/sources/kernel/` | (pre-existing) | Microkernel | +| `libdrm` | `local/sources/libdrm/` | `26e0c24 libdrm: Red Bear fork with redox patches applied` | DRM/KMS userspace library | +| `mesa` | `local/sources/mesa/` | `7b82f4d` initial + `a7e54995f` Redox fixes | Mesa 3D graphics library | +| `pipewire` | `local/sources/pipewire/` | `829d32e` + `016669f` | PipeWire audio server | +| `redox-drm` | `local/sources/redox-drm/` | `bd787d3` + Gap 3/5/8 fixes | DRM/KMS scheme daemon | +| `redoxfs` | `local/sources/redoxfs/` | (pre-existing) | RedoxFS | +| `relibc` | `local/sources/relibc/` | (pre-existing) | C library | +| `userutils` | `local/sources/userutils/` | (pre-existing) | User utilities | +| `wireplumber` | `local/sources/wireplumber/` | `df92c0b` | WirePlumber session manager | -**`cargo check` status:** 17 modified base packages compile cleanly with 0 errors. +**Verification:** all 12 forks have a real `.git/` directory and are on the `0.2.3` branch. + +---## Final State (2026-06-09, end of session) + +**Total commits this session across all repos:** 346 (main) + 21+ (base fork) + 1 (hid-core) + 2 (pipewire) + 2 (libdrm) + 1 (wireplumber) + 3 (redox-drm) = **~376 commits** +- Main repo (RedBear-OS): 346 commits +- Base fork (`local/sources/base/`): 21 commits +- redbear-hid-core (`local/recipes/drivers/redbear-hid-core/`): 1 commit (2664 LoC, 43 unit tests) +- PipeWire fork (`local/sources/pipewire/`): 2 commits +- libdrm fork (`local/sources/libdrm/`): 2 commits +- WirePlumber fork (`local/sources/wireplumber/`): 1 commit +- redox-drm fork (`local/sources/redox-drm/`): 3 commits + +**All 21 base-fork commits are in this session.** P1, P2, P3 (HID core), P3 (driver wiring), and the comprehensive Phase 1-3 implementation work (vesad, init, pcid, kwin, sddm, sessiond, dbus-services, pam-redbear, pipewire, wireplumber, wifictl, upower, udisks, firmware, machine-id) all landed. The user's correction on direct-edits led to the **NO OVERLAY-STYLE PATCHES — SCOPED POLICY (AMENDED 2026)** in `local/AGENTS.md` (commits `5396e6c3c` initial, `2b72f61e4` amendment) and **12 Red Bear forks** are now in place at `local/sources/`. + +**`cargo check` status:** 17+ modified base packages compile cleanly with 0 errors (xhcid, pcid, acpid, intel-thc-hidd, e1000d, usbscsid, nvmed, ps2d, inputd, i2c-hidd, usbhidd, ixgbed, rtl8168d, virtio-netd, common, init, vesad). **`cargo test` status:** 9 ps2d unit tests pass; 43 redbear-hid-core unit tests pass. +**QEMU boot validation:** +- `local/scripts/test-redbear-full-qemu.sh` (297 lines, executable) — comprehensive QEMU boot test launcher +- 3 boot logs captured: `redbear-full-boot-20260609-125114.log` (75s, 96 lines), `redbear-full-boot-20260609-150550.log` (300s, 204 lines), `redbear-full-boot-post-virtio-blkd-fix-20260609-181340.log` (post-fix) +- 2 analysis docs: `REDBEAR-FULL-BOOT-RESULTS.md`, `REDBEAR-FULL-BOOT-EXTENDED-RESULTS.md`, `REDBEAR-FULL-BOOT-POST-VIRTIO-BLKD-FIX-RESULTS.md` +- **Reached in 300s capture**: PCI enumeration, pcid-spawner, nvmed (multi-queue), virtio-blkd, ahcid +- **Real bug found and fixed**: `virtio-blkd` panicked on `assert_eq!(*status, 0)` when boot drive is read-only (commit `cffacf59`) +- **Did NOT reach**: D-Bus, KWin, SDDM, login prompt (would need redbear-full ISO + further fixes) + **Gitea branches:** All work on `0.2.3` (no local-only branches). ---