Restack desktop session and metadata strategy resolution #64
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/local-recall!64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-13-session-resolution-restack"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Issue #13 already had a complete implementation in historical PR #61, but that PR was stacked on
agent/issue-12-audit-hardeningand merged only into that feature branch. Modernmaincontains issue #12 through PR #59 plus later work, while issue #13 remained open, so the old branch could not be merged mechanically without reintroducing divergent history.This PR restacks and reconciles the issue #13 slice directly onto current
main.Reconciliation with PR #61
Reused from PR #61:
local-recall statuscommand;Adapted for current
main:The current typed metadata models and lifecycle boundaries remained compatible, so the core PR #61 session implementation did not require an alternate lifecycle or collector rewrite.
Architecture and scope
Session resolution is synchronous startup/status decision logic with finite async probe deadlines. It creates no detached tasks, queues, subprocesses, dynamic imports, or persistence paths. Actual collectors for generic Xorg, Qtile, and ActivityWatch remain deferred to issues #14, #15, and #16; capture policy remains issue #17.
Security and privacy
DISPLAYalone never proves Xorg.Validation
Red phase on current
main:uv run --no-sync pytest tests/unit/session tests/unit/test_package.py -qModuleNotFoundError: No module named 'local_recall.session'errors.Green phase:
uv run --no-sync pytest tests/unit/session tests/unit/test_package.py -qCanonical gate:
./scripts/checkCloses #13