40 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 Fable 5.2 a40ee2761a Service worker: delete only this app's old caches
Every app on krburchel.github.io shares one cache store, so clearing every
unknown cache wiped the other apps' offline files on each update.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 10:23:13 -08:00
Kevin BurchellandClaude Opus 5.5 58696cb8f5 Note actions: Pin + Edit + ⋯ menu; phone composer stays one line until tapped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 12:26:59 -07:00
Kevin BurchellandClaude Opus 5.5 1969cba7b9 Compact layout option: menu → Layout: Comfortable / Compact (per device)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 12:12:39 -07:00
Kevin BurchellandClaude Opus 5.5 91cc05d724 Remove orphaned uploads on failed saves, export fails loudly without reminders, calendar newest-load-wins with errors, board column load errors, guarded calendar move undo
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 16:46:53 -07:00
Kevin BurchellandClaude Opus 5.5 4da4ba8c7d More data-safety fixes: checklist ticks/add-item re-apply on newest copy, keep edit drafts across redraws, keep add-to-note text on failure, guarded board move/undo, delete undo restores inner notes, stale reminder check-off refused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 12:50:54 -07:00
Kevin BurchellandClaude Opus 5.5 e0afea77d4 Codex review fixes: keep drafts on failed saves, no file loss offline, newest search wins, edit conflict check, To-do includes #todo, fold long notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 11:53:57 -07:00
Kevin BurchellandClaude Opus 5.5 6ed1acd8df Notifications copy: Telegram is now a choice
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 11:17:50 -07: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 357c3e9c87 Ignore local comparison PDF source
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 10:00:04 -07:00
Kevin BurchellandClaude Opus 5.5 39a4011031 Dictation: mic button in the composer (browser speech recognition), spoken hashtags and new lines
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:51:07 -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 6d1c34750e Tag bar: Full / Filters only / Hidden, from the menu (per device)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 07:00:03 -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 e09a5c72ac Login: work with Keychain/password managers, tie reset to the account, clearer wrong-password message, request persistent storage
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 12:06:10 -07:00
Kevin BurchellandClaude Opus 5.5 859dff3e5a Tag suggestions while typing #: most-used first, arrows/Enter/Tab/tap to pick
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 13:00:40 -07:00
Kevin BurchellandClaude Opus 5.5 f3537c01ad Seasonal themes: monthly palettes, header stripe, emoji, particles, settings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 12:41:27 -07:00
Kevin BurchellandClaude Opus 5.5 9abc58d49b setup.sh: compare cron fields by their first word
'hermes cron list' prints explanations after values, e.g. 'no-agent (script
stdout delivered directly)', so the exact mode comparison rejected the
correct job. Compare script/mode/delivery by first word and accept trailing
text after the schedule; a mismatch error no longer suggests removing a job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 19:26:35 -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 a27f18229d Board: drag cards between columns, Archive drop zone, tap-to-move
Moving a card swaps its column tag: in the text when the tag is written
there (so later edits keep it), otherwise in the tag list. Undo restores
both. Phones use a Move button then tap a column. Board card actions only
show on hover on desktop so cards stay compact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 18:35:17 -07:00
Kevin BurchellandClaude Opus 5.5 3c62c723a2 Remove stray Python cache file; add .gitignore
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 18:25:42 -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 45d1d65f88 Calendar tab (phase 1) and reminder editing
Month grid with reminder and note markers (overdue red, done grey), future
repeats projected with the server's rules (anchored dates, month-end clamp),
day agenda with check-off/snooze/edit/delete, '+ Reminder' pre-filled for
the chosen day, and a stacked phone layout. Reminders can now be edited
(text, time, repeat) in both the Reminders and Calendar tabs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 18:05:34 -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 0789dafd75 Checklists and a To-do filter
Lines like '- [ ] item' / '- [x] item' render as tappable checkboxes in any
note (so Hermes, the iPhone Shortcut and search all work unchanged). Checked
items collapse under 'N completed', '+ Add item' appends, a progress count
shows in the note footer, and finishing a list offers to archive it. The
composer has a checklist button; Enter continues a list, Enter on an empty
item ends it. 'To-do' in the sidebar shows notes with open items.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 17:38:21 -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 1ad0a507c0 Fix password reset form reappearing after a successful save
updateUser emits USER_UPDATED before resolving; the recovery flag was still
set, so the form was shown again and resubmits failed with same_password.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 17:12:41 -07:00
Kevin BurchellandClaude Opus 5.5 c64354b68b Web app: forgot-password email and set-new-password screen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 16:40:17 -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 f90f78c0c7 setup.sh: fix cron job detection under pipefail
grep -q exited on the first match, hermes then hit SIGPIPE while printing
its trailing gateway warning, and pipefail reported the existing job as
missing. That made 'test' wrong and could let 'activate' create a duplicate
or 'uninstall' skip removal. Capture the list first, then match.
README: troubleshooting for gateway/terminal environment mismatch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 04:58:57 -07:00
Kevin BurchellandClaude Opus 5.5 f2a78717d6 Hermes skill 1.1: request files instead of shell heredocs; fix cron runs docs
Hermes review found (1) note text in a fixed-delimiter heredoc could escape
into the shell, (2) 'hermes cron runs' takes a job ID, not a name.

- helper: 'call NAME.json' reads a JSON request from a private inbox
  (plain files only, no links/paths, 64 KB cap, deleted after reading,
  allow-listed ops only); status reports the inbox path
- SKILL.md: agent writes requests with its file tool; user text never
  appears in a shell command
- setup.sh creates inbox/ (700); docs use cron list -> runs <id>
- tests: hostile payloads stored verbatim with no execution, bad names,
  links, disallowed ops, oversized and non-JSON requests (36 pass)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 04:49:32 -07:00
Kevin BurchellandClaude Opus 5.5 c9db4c61b0 Hermes setup: keep an installed copy of setup.sh for status/uninstall
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 17:21:02 -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
Kevin BurchellandClaude Opus 5.5 d3cbbcc0a2 BrainFeed: private notes feed with tags, board, reminders
Supabase backend (RLS, signup allowlist, hashtag trigger, realtime,
private attachments bucket) and a static PWA frontend for GitHub Pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 12:24:16 -07:00