[P1] Implement Qtile metadata adapter #15

Closed
opened 2026-07-18 00:00:05 +00:00 by lost-rob0t · 0 comments
lost-rob0t commented 2026-07-18 00:00:05 +00:00 (Migrated from github.com)

Goal

Use Qtile’s IPC/API to obtain richer and more reliable desktop context than generic Xorg metadata.

Requirements

  • Reuse or adapt the existing Qtile metadata script/API approach.
  • Collect current group/workspace, focused window, layout, screen, application/class, and title as configured.
  • Invoke Qtile through a fixed executable and validated argument list; never interpolate captured values into a shell command.
  • Normalize results into the shared metadata model with source provenance.
  • Fall back cleanly to generic Xorg metadata when Qtile is unavailable.

Acceptance criteria

  • Adapter handles Qtile restarts and transient IPC failures.
  • Output schema is validated before use.
  • Sensitive fields can be disabled or redacted by policy.
  • Contract tests and a Qtile integration fixture are included.

Depends on

## Goal Use Qtile’s IPC/API to obtain richer and more reliable desktop context than generic Xorg metadata. ## Requirements - Reuse or adapt the existing Qtile metadata script/API approach. - Collect current group/workspace, focused window, layout, screen, application/class, and title as configured. - Invoke Qtile through a fixed executable and validated argument list; never interpolate captured values into a shell command. - Normalize results into the shared metadata model with source provenance. - Fall back cleanly to generic Xorg metadata when Qtile is unavailable. ## Acceptance criteria - Adapter handles Qtile restarts and transient IPC failures. - Output schema is validated before use. - Sensitive fields can be disabled or redacted by policy. - Contract tests and a Qtile integration fixture are included. ## Depends on - #13 - #14
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#15
No description provided.