Skip to content

Conversation

@rynskrmt
Copy link
Owner

@rynskrmt rynskrmt commented Jan 7, 2026

No description provided.

@rynskrmt rynskrmt self-assigned this Jan 7, 2026
@rynskrmt rynskrmt added the enhancement New feature or request label Jan 7, 2026
@rynskrmt rynskrmt linked an issue Jan 7, 2026 that may be closed by this pull request
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1c3e93fdd6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 70 to 75
// Prepare Usecase for fetching data
summaryUC := usecase.NewSummaryUsecase(a.Store)
opts := usecase.SummaryOptions{
IncludeHidden: false, // Default false for sync? Or true? Let's say false for now to keep private stuff private unless wanted.
// Logic for date selection relies on same logic as summary
}

Choose a reason for hiding this comment

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

P2 Badge Pass hidden dirs into sync filtering

The sync path builds SummaryOptions without providing HiddenDirs, so GetSummary never applies the hidden-directory filter (it only runs when HiddenDirs is non-empty). As a result, wip sync will export events from directories the user explicitly configured as hidden, which defeats the privacy intent called out in the comment and can leak logs into Obsidian. This shows up whenever a user has hidden_directories configured and runs wip sync expecting hidden paths to be excluded; pass HiddenDirs: a.HiddenDirs() (and optionally respect --include-hidden) to ensure the filter is applied.

Useful? React with 👍 / 👎.

@rynskrmt rynskrmt merged commit 977720f into main Jan 7, 2026
@rynskrmt rynskrmt deleted the 5-obs-sync branch January 7, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Obsidian Integration for Daily Notes Sync

1 participant