Files
RedBear-OS/local/docs
vasilito 7ca41f4d60 docs(DBUS-INTEGRATION-PLAN): append §16 round-2 review findings
Bump to v4.1 and add §16 documenting the round-2 fixes verified during
the doc-cleanup phase. Each finding cites exact paths and distinguishes
working-tree present from runtime-proven, following the §15 evidence
discipline.

G1. StatusNotifierWatcher — sender validation, owner-keyed registry,
    lifecycle purging, bounded entries (APPLIED, 22 tests)
    Honesty flag: the const BUS_NAME remains
    "org.freedesktop.StatusNotifierWatcher" — only the recipe.toml
    comment was updated to reference org.kde. The actual well-known
    name change was NOT applied.

G2. redbear-notifications — sender-validated InvokeAction
    NotificationRecord stores { owner, action_keys }. InvokeAction
    returns fdo::Result<()> with three-condition validate_invoke
    (id known, caller == owner, action_key declared).

G3. redbear-wifictl — NmState enum 0..70 + OwnedObjectPath types
    New NmState enum covers Unknown..ConnectedGlobal. Root state()
    maps NmDeviceState via from_device_state(). All NM interface
    methods now return OwnedObjectPath via try_path() helper.

G4. redbear-sessiond — host-safe Can* test
    can_methods_return_na now detects host vs Redox target via
    kstop_writable() and asserts the correct expected value. No
    behavioral change in the production path.

G5. redbear-statusnotifierwatcher — comprehensive sender tracking
    and purge-on-disconnect (covered in G1 detail).

Also corrects two stale inline entries:
- §5.1 service-name table now notes 22 tests (vs prior 12)
- §3.1 redbear-statusnotifierwatcher entry expanded with round-2
  scope per the G1 changes.

Verified against committed HEAD (1dc5b0dcb0): 22 statusnotifierwatcher
tests pass; 16 notifications tests pass; 35 wifictl tests pass;
52 sessiond tests pass.
2026-07-27 22:32:25 +09:00
..