Repository navigation
EzyChat and WhatsApp notes reach the brain; portal opens them; release 0.1.9 - #44
Merged
Merged
Conversation
…e 0.1.9 OWNED_DIRS left out inbox/ezychat and inbox/whatsapp, so their notes were written but never committed or indexed by gbrain, an existing chat note was not reused, and the portal's /api/note refused them. The portal now checks against OWNED_DIRS, and a test keeps every SOURCE_STYLE folder owned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4pmGivhYbxN4if6YkUnGA
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Problem
EzyChat notes were written (Sync runs showed "1 note written") but never reached the brain, and clicking one showed "That is not a synced note."
Cause
OWNED_DIRSinapp/src/core/commit.tslisted only email, Teams, meetings and AI.inbox/ezychat/andinbox/whatsapp/were missing, so:git commited or indexed bygbrain sync→ invisible torecallownedPathcheck inpipeline.ts)/api/noteregex rejected the pathFix
inbox/whatsappandinbox/ezychattoOWNED_DIRS./api/notenow validates againstOWNED_DIRSinstead of a hard-coded regex.SOURCE_STYLEfolder must sit underOWNED_DIRS, so a new connector can't regress this.Existing uncommitted EzyChat/WhatsApp notes get committed and indexed on the next sync run.
Tests
bun test: 382 pass, 0 fail.Generated by Claude Code