Skip to content

feat(calendar): add ClawVisor Calendar-to-Brain collector#751

Closed
alexandreroumieu-codeapprentice wants to merge 3 commits intogarrytan:masterfrom
alexandreroumieu-codeapprentice:fix/v0-29-1-pglite-connect
Closed

feat(calendar): add ClawVisor Calendar-to-Brain collector#751
alexandreroumieu-codeapprentice wants to merge 3 commits intogarrytan:masterfrom
alexandreroumieu-codeapprentice:fix/v0-29-1-pglite-connect

Conversation

@alexandreroumieu-codeapprentice
Copy link
Copy Markdown

@alexandreroumieu-codeapprentice alexandreroumieu-codeapprentice commented May 8, 2026

Summary

  • Add a local Calendar-to-Brain collector backed by ClawVisor/credential-gateway.
  • Write Google Calendar events as source markdown pages under ~/brain/sources/google-calendar/YYYY/ with calendar service redaction.
  • Add fixture-based tests for dry-run/write/redaction behavior.
  • Silence shipped embedding max_batch_tokens startup warnings by adding a real Google cap and explicit dynamic-limit sentinels for Ollama/LiteLLM.

Validation

  • bun test test/calendar-to-brain.test.js
    • 3 pass / 0 fail
  • bun test test/ai/adaptive-embed-batch.test.ts
    • 24 pass / 0 fail / 49 expect() calls
  • Manual smoke: limited 7-day Calendar write + targeted GBrain import/search succeeded locally, with google.calendar:[redacted] and no email/service ID leakage.
  • Manual smoke: gbrain get sources/google-calendar/2026/2026-05-11 no longer emits the embedding max_batch_tokens warnings.

Notes

  • No Gmail sync, no cron, and no backfill are enabled by this PR.

@alexandreroumieu-codeapprentice alexandreroumieu-codeapprentice changed the title fix: connect engine in v0.29.1 migration feat(calendar): add ClawVisor Calendar-to-Brain collector May 9, 2026
@alexandreroumieu-codeapprentice alexandreroumieu-codeapprentice marked this pull request as draft May 9, 2026 10:50
@alexandreroumieu-codeapprentice
Copy link
Copy Markdown
Author

Superseded by the smaller split draft PR #790. Follow-up Calendar-to-Brain safety/polish branches are prepared separately.

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.

1 participant