link_versions: match ComfyUI outputs outside aiedits/; keep real names out of code #195

Merged
cameron merged 2 commits from fix/backfill-comfy-outside-aiedits into master 2026-10-30 19:34:25 +00:00
Owner

Two small follow-ups to #191.

link_versions misses ComfyUI outputs outside aiedits/. The LoadImage-input heuristic only ran for PNGs inside an aiedits/ folder, so early outputs saved to a sibling folder (e.g. edited/) or beside their original were never proposed. It now runs for any PNG whose ComfyUI prompt names a loaded image. It is still review-only. Outside aiedits/, it searches the output's own folder before the parent. On a copy of prod this proposes 34 previously missed edits for review, and 3 more whose input isn't in the library are listed as unresolved, with hints.

No real names in code. The daily-summary cleaner hard-coded two contacts' names in its opening phrases. A pattern now strips "Today, and I discussed" for any contact, with a test. Test fixtures use neutral folder names.

Tests: backfill, video and daily-summary tests pass, and clippy is clean.

🤖 Generated with Claude Code

Two small follow-ups to #191. **link_versions misses ComfyUI outputs outside `aiedits/`.** The LoadImage-input heuristic only ran for PNGs inside an `aiedits/` folder, so early outputs saved to a sibling folder (e.g. `edited/`) or beside their original were never proposed. It now runs for any PNG whose ComfyUI prompt names a loaded image. It is still review-only. Outside `aiedits/`, it searches the output's own folder before the parent. On a copy of prod this proposes 34 previously missed edits for review, and 3 more whose input isn't in the library are listed as unresolved, with hints. **No real names in code.** The daily-summary cleaner hard-coded two contacts' names in its opening phrases. A pattern now strips "Today, <Name> and I discussed" for any contact, with a test. Test fixtures use neutral folder names. Tests: backfill, video and daily-summary tests pass, and clippy is clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
cameron added 2 commits 2026-10-30 19:07:16 +00:00
link_versions only ran the ComfyUI LoadImage match on PNGs inside an
aiedits/ folder, so early outputs saved to a sibling folder (e.g.
edited/) or beside their original were never proposed. Run it for any
PNG whose prompt names a loaded image (still review-only), and search
the output's own folder before its parent when it isn't in aiedits/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The daily-summary cleaner hard-coded two contacts' names in its opening
phrases; a pattern now strips "Today, <Name> and I discussed" for any
contact (with a test). Video path tests use a neutral folder name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cameron merged commit 7b1d252e75 into master 2026-10-30 19:34:25 +00:00
cameron deleted branch fix/backfill-comfy-outside-aiedits 2026-10-30 19:34:26 +00:00
Sign in to join this conversation.