16 Commits
Author SHA1 Message Date
Kevin Burchell d438b7e4be Move to kburchtree.cloud: allow the new address in brainfeed-push (deployed v2) 2026-11-26 17:33:16 -08:00
Kevin BurchellandClaude Opus 5.5 ab870baf16 Reminder delivery setting: phone + Telegram, phone only (Telegram backup after 10 min), or Telegram only
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 11:16:01 -07:00
Kevin BurchellandClaude Opus 5.5 b5bd9c9476 Push notifications for reminders: Web Push via brainfeed-push (pg_cron every minute, exactly-once log), Settings → Notifications per device
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 10:17:30 -07:00
Kevin BurchellandClaude Opus 5.5 2cabed7860 Review mode: one note at a time (Ideas / To-dos / Everything), Keep / Pin / Archive / Remind, keys, swipe, undo; notes.reviewed_at
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 07:10:04 -07:00
Kevin BurchellandClaude Opus 5.5 b86de1497b Hermes 1.4 fourth review: updated_at required with checklist item numbers (400 if missing or malformed), README retry wording, duplicate-text test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 12:15:07 -07:00
Kevin BurchellandClaude Opus 5.5 8509611f7e Hermes 1.4 third review: numbered checklist picks are never retried after a conflict (409), optional updated_at precondition for stale numbers, README error/status-code corrections
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:48:53 -07:00
Kevin BurchellandClaude Opus 5.5 bb7584d181 Hermes 1.4 second review: single row->advisory lock order, time-zone lookup errors are 500 not UTC, no more ignored reads, keyset paging with before_id, duplicate-aware checklist retry check, web-vs-API and paging tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:22:23 -07:00
Kevin BurchellandClaude Opus 5.5 7d2a222687 Hermes 1.4 review fixes: serialize nesting with a per-user lock, atomic note edits (bf_update_note), refuse re-targeted checklist numbers on retry, surface read errors, children_truncated, README fixes, race tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 12:59:10 -07:00
Kevin BurchellandClaude Opus 5.5 838f5bf3d0 Hermes 1.4 + API v6: list_tags, check_items, notes inside notes, archived search filter, error codes in helper output
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 12:37:58 -07:00
Kevin BurchellandClaude Opus 5.5 6e73f598a1 Hermes 1.3.1 + API v5: fixes from Hermes's 1.3 review
1. Specific-dates reminders can't be split: a DB trigger keeps due_at on one
   of the dates whatever changes it; the API rejects single-time edits and
   accepts dates_local to replace the list atomically; web snooze hidden.
2. Claims return has_more_dates; delivery says 'last scheduled date' on the
   final one instead of promising more.
3. append_note is one atomic UPDATE (bf_append_note); the web app's
   'Add to this note' uses the same pattern (append_to_note).
4. setup.sh parses 'hermes cron list' blocks and matches the job name
   exactly; a failed or unreadable listing aborts instead of creating;
   duplicates abort; paused jobs are resumed and the schedule reconciled.
Docs: calendar week vs next 7 days, overdue_before, checklist wording,
archived notes in calendar vs search. Tests: 53 pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 18:53:52 -07:00
Kevin BurchellandClaude Opus 5.5 5b40c602e3 Hermes skill 1.3 + API v4: calendar, append_note, archive, specific dates
- API: POST /v1/calendar (repeats expanded in the user's zone, DST-safe),
  POST /v1/notes/append (server-side time stamp), notes/update 'archived',
  reminders 'dates_local' (repeat 'dates'); note/reminder columns include
  archived_at, parent_id and dates
- Helper 1.3: 'calendar' and 'append_note' ops; delivery wording for dates
- SKILL 1.3: calendar, append, archive, checklist/heading formatting,
  specific-date reminders
- Tests: 50 pass (incl. DST calendar projection and dates validation)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 18:25:32 -07:00
Kevin BurchellandClaude Opus 5.5 60b6881847 Calendar phase 2 (web): specific-dates reminders, week view, move/drag
- Reminders on any set of dates ('Specific dates…' with a date picker in the
  composer and the edit form); delivery steps through the dates server-side
- Week view (Month/Week toggle; stacked on phones)
- Move a reminder to another day: drag on desktop, or Move + tap a day
  (also from the Reminders tab); keeps the time, Undo available

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 18:15:28 -07:00
Kevin BurchellandClaude Opus 5.5 023f165911 Headings, add-to-note entries, nested notes; fix Archived/To-do filters
- '# ', '## ', '### ' lines render as headings (H button in the composer)
- 'Add to this note' appends a time-stamped entry ('— Oct 4, 8:30 PM')
- Notes can live inside another note (one level): Move into…, Take out,
  '▸ N inside' expander, '+ New note inside', 'in: <parent>' label in
  search/filters; DB trigger enforces same owner, one level, no self
- Fix: the To-do change had made the Archived view empty and let To-do
  include archived notes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 17:52:02 -07:00
Kevin BurchellandClaude Opus 5.5 cad8c84270 Archive: hide notes from feed/board without deleting
Archive button on every note (with Undo), Archived view in the tag list,
search still finds archived notes (labelled), tag counts and the board
exclude them, export includes archived_at.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 17:31:13 -07:00
Kevin BurchellandClaude Opus 5.5 6440af5252 Photos: API upload route, Hermes helper/skill 1.2, iPhone Shortcuts
- /v1/photos: raw image upload (type sniffed from bytes: JPEG/PNG/GIF/WebP,
  10 MB, 10 per note), attaches to a note or creates a 'Photo' note;
  atomic bf_append_attachment RPC; 'ios' source; 'message' in replies
- helper 1.2: add_note photos + attach_photos from the private inbox,
  every photo validated before anything is created, copies deleted after
- SKILL 1.2: Telegram photos copied from the gateway cache, never from
  message text
- ios/build_shortcut.py: separate link and photo Shortcuts with their own
  revocable token (a combined one fetched images from shared web pages)
- tests: 43 pass, including 7 photo tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 20:44:15 -07:00
Kevin BurchellandClaude Opus 5.5 9c07eaa0af Hermes integration: agent API, skill, helper, setup, tests
- brainfeed-api edge function: fixed v1 operations (add/search/edit notes
  and reminders, claim/ack delivery, self-revoke), token bound to user,
  sha256 fingerprints only, constant-time compare, X-BrainFeed-Token header
- DB: api_tokens with column-locked RLS, lease-based reminder claims,
  DST-safe anchored recurrence, reactivation rules
- Hermes skill + stdlib helper + setup.sh (install/activate/status/test/
  uninstall) + end-to-end tests
- Web app: Settings panel for time zone and connected agents

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 17:20:19 -07:00