Skip to content

feat(#783): sk briefing --no-repeat — skip already-served entries in long sessions#791

Merged
magicpro97 merged 2 commits into
mainfrom
feat/i783-no-repeat
May 31, 2026
Merged

feat(#783): sk briefing --no-repeat — skip already-served entries in long sessions#791
magicpro97 merged 2 commits into
mainfrom
feat/i783-no-repeat

Conversation

@magicpro97
Copy link
Copy Markdown
Owner

Implements #783. Session-scoped entry dedup using ~/.copilot/markers/ cache. Auto-enables with COPILOT_SESSION_ID. Closes #783

Copilot AI review requested due to automatic review settings May 31, 2026 05:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Linh Ngo and others added 2 commits May 31, 2026 14:24
…long sessions

- _load_briefed_ids() / _save_briefed_ids(): read/write ~/.copilot/markers/session-briefed-{ID}.json
- --no-repeat auto-enables when COPILOT_SESSION_ID env var is set
- Adds WHERE ke.id NOT IN (already_served) predicate to retrieval query
- --no-repeat=off to disable; --wakeup always disables (resurfaces everything)
- Fails open: if cache write fails, briefing proceeds normally
- Fix test_fixes.py P121-12 mock to accept new exclude_ids kwarg

Closes #783

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@magicpro97 magicpro97 force-pushed the feat/i783-no-repeat branch from 1823e2f to 77a853e Compare May 31, 2026 07:25
@magicpro97 magicpro97 merged commit 6174f45 into main May 31, 2026
4 of 34 checks passed
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.

feat(briefing): --no-repeat session-scoped entry dedup — skip already-served entries in long sessions

2 participants