11 Commits
Author SHA1 Message Date
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 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 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 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 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