[P1] Detect desktop session and resolve metadata-source strategies #13

Closed
opened 2026-07-17 23:59:49 +00:00 by lost-rob0t · 1 comment
lost-rob0t commented 2026-07-17 23:59:49 +00:00 (Migrated from github.com)

Goal

Discover the active desktop environment safely and select the best available metadata sources.

Requirements

  • Detect Xorg versus Wayland without guessing.
  • Detect window manager/desktop environment where possible.
  • Probe configured metadata sources by capability and health.
  • Support ordered composition rather than one exclusive source.
  • Track provenance and confidence for every metadata field.
  • Fall back to generic Xorg metadata when specialized adapters are unavailable.
  • Unsupported sessions must not silently start recording.

Acceptance criteria

  • Qtile, generic Xorg, and ActivityWatch selection paths are testable with mocked environments.
  • Conflicting values are resolved by documented policy.
  • Probe failures are sanitized and do not execute untrusted commands.
  • The selected capture and metadata strategies are visible through a status command.

Depends on

## Goal Discover the active desktop environment safely and select the best available metadata sources. ## Requirements - Detect Xorg versus Wayland without guessing. - Detect window manager/desktop environment where possible. - Probe configured metadata sources by capability and health. - Support ordered composition rather than one exclusive source. - Track provenance and confidence for every metadata field. - Fall back to generic Xorg metadata when specialized adapters are unavailable. - Unsupported sessions must not silently start recording. ## Acceptance criteria - Qtile, generic Xorg, and ActivityWatch selection paths are testable with mocked environments. - Conflicting values are resolved by documented policy. - Probe failures are sanitized and do not execute untrusted commands. - The selected capture and metadata strategies are visible through a status command. ## Depends on - #5 - #6 - #12
lost-rob0t commented 2026-07-19 06:53:24 +00:00 (Migrated from github.com)

Work started on stacked draft PR #61. Its base is agent/issue-12-audit-hardening so #13 remains ordered behind #12 while hosted CI is blocked. The Zara integration issues local-recall#60 and lost-rob0t/zara#56 remain backlog-only and are not part of this branch.

Work started on stacked draft PR #61. Its base is `agent/issue-12-audit-hardening` so #13 remains ordered behind #12 while hosted CI is blocked. The Zara integration issues local-recall#60 and lost-rob0t/zara#56 remain backlog-only and are not part of this branch.
Sign in to join this conversation.
No milestone
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.

Dependencies

No dependencies set.

Reference
nsaspy/local-recall#13
No description provided.