Skip to content

chore(archive): apply expand-lan-identification deltas#120

Merged
chenchaoyi merged 1 commit into
mainfrom
chore/archive-expand-lan-identification
May 23, 2026
Merged

chore(archive): apply expand-lan-identification deltas#120
chenchaoyi merged 1 commit into
mainfrom
chore/archive-expand-lan-identification

Conversation

@chenchaoyi

Copy link
Copy Markdown
Owner

Summary

Archive of expand-lan-identification change after PR #119 merged. Applies the 7 spec deltas into canonical openspec/specs/<capability>/spec.md and moves the change directory to openspec/changes/archive/2026-05-23-expand-lan-identification/.

Canonical specs updated:

  • cli — added DITING_LAN_PROBE + DITING_LAN_UPNP_FETCH env vars
  • events — added LANActiveProbeConsentedEvent
  • event-log — added serialiser + emit method
  • i18n — added ~30 EN→ZH strings
  • scenesscene_defaults gained lan_active_probe
  • tui-shell — expanded LAN detail modal (5 sections), Class column + [new] chip, P keybinding
  • lan-inventory_ping_one/_sweep 3-tuple, 8 new LANHost fields, 7 new requirements

Test plan

  • openspec validate --specs --strict — 22/22 passed
  • CI green

🤖 Generated with Claude Code

Archive of `expand-lan-identification` change after PR #119 merged
to main as commit 5a76d00.

Delta specs applied to canonical specs at `openspec/specs/`:

- **cli** — added `DITING_LAN_PROBE` + `DITING_LAN_UPNP_FETCH` env vars
- **events** — added `LANActiveProbeConsentedEvent` dataclass
- **event-log** — added serialiser + `emit_lan_active_probe_consented` method
- **i18n** — added ~30 EN→ZH strings for the new LAN UX
- **scenes** — `scene_defaults` gained `lan_active_probe` knob
- **tui-shell** — modal-stack list grows with `LANProbeConsentScreen`;
  `LANDetailScreen` expands from 4 to 5 sections (Active discovery
  added, Class / Model / TTL rows added); new LAN row Class column
  + `[new]` chip; new `P` keybinding for public-scene consent
- **lan-inventory** — `_ping_one` / `_sweep` return 3-tuple
  `(reachable, rtt_ms, ttl)`; LANHost gains 8 new fields
  (vendor_raw, nbns_name, upnp_*, ttl, ttl_class, device_class,
  bonjour_model); 7 new requirements (multi-tier OUI, vendor
  normalization, scene-gated active discovery, public-scene
  one-shot override, TTL fingerprint, device classifier,
  consent JSONL event)

Change moved to `openspec/changes/archive/2026-05-23-expand-lan-identification/`.

Validates: openspec validate --specs --strict → 22/22 passed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@chenchaoyi chenchaoyi merged commit 9631ead into main May 23, 2026
5 checks passed
@chenchaoyi chenchaoyi deleted the chore/archive-expand-lan-identification branch May 23, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant