This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
chaim 8eac791c93 feat: re-process re-classifies AI metadata via review screen
Old behavior: clicking "עיבוד מחדש" on a source quietly re-chunked +
re-embedded the file but kept the existing metadata (title, identifier,
summary, labels). Sources whose original AI classification produced weak
metadata had no path to recover short of deleting and re-uploading.

New behavior: re-process now opens the same batch review screen as a
fresh upload — AI suggests fresh metadata (kind, title, identifier,
summary, labels, dates), the user reviews/edits, and committing
overwrites kb_source + replaces chunks. The card is tagged "עיבוד מחדש"
with a 🔄 icon so the user knows what they're committing.

Form precedence on the review card: user edits > AI suggestion > existing
source metadata. Existing labels are pre-filled in metadata_json and
surface as fallback if the AI classifier times out — so the form is
never blank, and existing labels are never silently dropped just because
the AI didn't re-suggest them.

Backend: shira-hermes 4ad569d.

Refs Task Master #22

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 17:11:57 +00:00
S
Description
Archived from gitea.marcus1.com
183 KiB
Languages
JavaScript 67.4%
PHP 26.1%
Go Template 6.2%
Shell 0.3%