Ninlil records devices it sees on the network but does not know yet, so the operator can see them #143

Open
opened 2026-10-31 12:42:14 -04:00 by claude · 0 comments
Owner
  • Draft: PN-1
  • Priority: high (this is the base for device alerts and notifications, and most of the data is already collected and thrown away)
  • Agent: none (epic)
  • Depends on: none
  • Decisions: Q-PN-1, Q-PN-2, Q-PN-3, Q-PN-4

Why

Presence tracking already sees every device on the LAN: the neighbor table, DHCP grants and DNS queries. It then drops every sighting of a device the client registry does not know. ClientPresenceFlushService.cs:31-33 says "a sighting of an unknown device is dropped, since presence tracking never registers devices itself". DnsClientOriginEnum (src/dotnet/src/Ninlil.Dns.Common/Enum/DnsClientOriginEnum.cs:14-31) has only Manual and Dhcp. No device inventory shows devices that never leased from Ninlil.

What changes

Child issues, in order:

  • #144: storage (origin value, acknowledged flag, downgrade guards)
  • #145: the presence flush creates discovered devices (on by default)
  • #146: REST API (origin filter, summary count, acknowledge, 30-day retention)
  • #147: snapshot and client regeneration
  • #148: console

Discovery depends on Linux interfaces (rtnetlink neighbor table). README.md:409-410 already says presence is unavailable on Windows and macOS.

Acceptance

  • #144 to #148 closed.
  • README.md (client registry and presence sections) and ENVIRONMENT.md describe discovery.

Source

audit-feature-parity.md §2A gap #10; owner gap list item "discovered devices" (first release plan, 2026-09-24).
Owner decision 2026-10-31: discovery is on by default (Q-PN-1); discovered devices live in the client registry under a new origin (Q-PN-2); an acknowledged flag marks them seen (Q-PN-3); unacknowledged ones are deleted after 30 days unseen, configurable (Q-PN-4).

- **Draft:** PN-1 - **Priority:** high (this is the base for device alerts and notifications, and most of the data is already collected and thrown away) - **Agent:** none (epic) - **Depends on:** none - **Decisions:** Q-PN-1, Q-PN-2, Q-PN-3, Q-PN-4 ### Why Presence tracking already sees every device on the LAN: the neighbor table, DHCP grants and DNS queries. It then drops every sighting of a device the client registry does not know. `ClientPresenceFlushService.cs:31-33` says "a sighting of an unknown device is dropped, since presence tracking never registers devices itself". `DnsClientOriginEnum` (`src/dotnet/src/Ninlil.Dns.Common/Enum/DnsClientOriginEnum.cs:14-31`) has only `Manual` and `Dhcp`. No device inventory shows devices that never leased from Ninlil. ### What changes Child issues, in order: - #144: storage (origin value, acknowledged flag, downgrade guards) - #145: the presence flush creates discovered devices (on by default) - #146: REST API (origin filter, summary count, acknowledge, 30-day retention) - #147: snapshot and client regeneration - #148: console Discovery depends on Linux interfaces (rtnetlink neighbor table). README.md:409-410 already says presence is unavailable on Windows and macOS. ### Acceptance - [ ] #144 to #148 closed. - [ ] README.md (client registry and presence sections) and ENVIRONMENT.md describe discovery. ### Source `audit-feature-parity.md` §2A gap #10; owner gap list item "discovered devices" (first release plan, 2026-09-24). Owner decision 2026-10-31: discovery is on by default (Q-PN-1); discovered devices live in the client registry under a new origin (Q-PN-2); an acknowledged flag marks them seen (Q-PN-3); unacknowledged ones are deleted after 30 days unseen, configurable (Q-PN-4).
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#143
No description provided.