kernel/src/v4/sk_v4_identity.c: sk_v4_drive_arrived attaches Artemis and sets g_stick_in = 1 (~line 388) before the identity partition's blk_subsys_attach_device (line 398). If that fails it returns with Artemis attached, no identity, d->used unset; the message names xhci, not the partition. A later pull detaches Artemis (art_used), so it recovers.
Done when
Either both partitions are attached or neither is, with a message naming the identity partition
🤖 Filed with Claude Code -- the code review of 2026-11-11, at 4d42d25c (Captain Bob, 2026-11-11: "File the review findings as issues"). Read, not run: each is to be confirmed by a test written first and seen to fail.
### Found
`kernel/src/v4/sk_v4_identity.c`: `sk_v4_drive_arrived` attaches Artemis and sets `g_stick_in = 1` (~line 388) before the identity partition's `blk_subsys_attach_device` (line 398). If that fails it returns with Artemis attached, no identity, `d->used` unset; the message names xhci, not the partition. A later pull detaches Artemis (`art_used`), so it recovers.
### Done when
- [ ] Either both partitions are attached or neither is, with a message naming the identity partition
🤖 Filed with [Claude Code](https://claude.com/claude-code) -- the code review of 2026-11-11, at `4d42d25c` (Captain Bob, 2026-11-11: "File the review findings as issues"). Read, not run: each is to be confirmed by a test written first and seen to fail.
Writing its test (qemu_session.py ident_attach_fail: the identity partition's first sector unreadable) showed the failure this issue is about cannot be provoked: blk_subsys_attach_device() on the identity partition only fails on out-of-memory or a failing blkio_info(), because blk_format_or_load_disk() takes an unreadable header as blank and attaches anyway -- filed as #187. So the half-attached state is unreachable from a disk fault today, and a test written first needs fault injection in the code itself (a host test harness for kernel code -- not ruled). The test mode is kept in the tree (it fails today, on #187's behaviour).
🤖 Claude Code
**Parked** (Captain Bob, 2026-11-12: "park 179").
Writing its test (`qemu_session.py ident_attach_fail`: the identity partition's first sector unreadable) showed the failure this issue is about cannot be provoked: `blk_subsys_attach_device()` on the identity partition only fails on out-of-memory or a failing `blkio_info()`, because `blk_format_or_load_disk()` takes an unreadable header as blank and attaches anyway -- filed as **#187**. So the half-attached state is unreachable from a disk fault today, and a test written first needs fault injection in the code itself (a host test harness for kernel code -- not ruled). The test mode is kept in the tree (it fails today, on #187's behaviour).
🤖 Claude Code
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found
kernel/src/v4/sk_v4_identity.c:sk_v4_drive_arrivedattaches Artemis and setsg_stick_in = 1(~line 388) before the identity partition'sblk_subsys_attach_device(line 398). If that fails it returns with Artemis attached, no identity,d->usedunset; the message names xhci, not the partition. A later pull detaches Artemis (art_used), so it recovers.Done when
🤖 Filed with Claude Code -- the code review of 2026-11-11, at
4d42d25c(Captain Bob, 2026-11-11: "File the review findings as issues"). Read, not run: each is to be confirmed by a test written first and seen to fail.Parked (Captain Bob, 2026-11-12: "park 179").
Writing its test (
qemu_session.py ident_attach_fail: the identity partition's first sector unreadable) showed the failure this issue is about cannot be provoked:blk_subsys_attach_device()on the identity partition only fails on out-of-memory or a failingblkio_info(), becauseblk_format_or_load_disk()takes an unreadable header as blank and attaches anyway -- filed as #187. So the half-attached state is unreachable from a disk fault today, and a test written first needs fault injection in the code itself (a host test harness for kernel code -- not ruled). The test mode is kept in the tree (it fails today, on #187's behaviour).🤖 Claude Code