Skip to content

EzyChat and WhatsApp notes reach the brain; portal opens them; release 0.1.9 - #44

Merged
jazztong merged 1 commit into
mainfrom
claude/quirky-allen-065kqv
Nov 14, 2026
Merged

jazztong merged 1 commit into
mainfrom
claude/quirky-allen-065kqv

Conversation

@jazztong

Copy link
Copy Markdown
Contributor

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_DIRS in app/src/core/commit.ts listed only email, Teams, meetings and AI. inbox/ezychat/ and inbox/whatsapp/ were missing, so:

  • notes were never git commited or indexed by gbrain sync → invisible to recall
  • a later run couldn't reuse the chat's existing note (ownedPath check in pipeline.ts)
  • the portal's /api/note regex rejected the path

Fix

  • Add inbox/whatsapp and inbox/ezychat to OWNED_DIRS.
  • /api/note now validates against OWNED_DIRS instead of a hard-coded regex.
  • Test: every SOURCE_STYLE folder must sit under OWNED_DIRS, so a new connector can't regress this.
  • Release 0.1.9 + CHANGELOG.

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

…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
@sonarqubecloud

Copy link
Copy Markdown

@jazztong
jazztong marked this pull request as ready for review November 14, 2026 17:05
@jazztong
jazztong merged commit e18b46c into main Nov 14, 2026
4 checks passed
@jazztong
jazztong deleted the claude/quirky-allen-065kqv branch November 14, 2026 17:06
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.

2 participants