tags in post editor need to have semantic suggestions #60

Closed
opened 2026-07-20 18:46:37 +00:00 by hugo · 1 comment
Owner

when I edit tags in the post editor meta data, I expect suggestions for tags based on semantic similarity, as happens in ../bDS2, because I don't want to remember the exact tag names. I think I seen suggestions once (maybe after triggering taxonomy suggesions?), but then they were gone again. this behaves very weird and must align to how it works with bDS2.

Also when I type part of a tag, I need suggestions based on that entered part, so I can see what tags are there. again, I don't want to remember tags.

when I edit tags in the post editor meta data, I expect suggestions for tags based on semantic similarity, as happens in ../bDS2, because I don't want to remember the exact tag names. I think I seen suggestions once (maybe after triggering taxonomy suggesions?), but then they were gone again. this behaves very weird and must align to how it works with bDS2. Also when I type part of a tag, I need suggestions based on that entered part, so I can see what tags are there. again, I don't want to remember tags.
hugo added the bug label 2026-07-20 18:46:42 +00:00
Author
Owner

Implemented in b641f64. The post editor now loads semantic tag suggestions from the existing project embedding index whenever a post opens, is selected, metadata expands, the query clears, or indexing completes; clean post refreshes preserve them. Empty queries show the weighted top-five similar-post tags with selected tags excluded. Typed queries show case-insensitive substring matches from existing project tags, limited to eight, and only offer creation for a genuinely new name. Accepting a new name creates the canonical tag entity and rewrites portable meta/tags.json. Semantic lookup now reads stored vectors and the HNSW index without model inference, so disabled or unindexed projects return no suggestions and offline use remains safe. Added focused view, app-state, persistence, refresh, and no-inference regression tests plus complete localization and README coverage. Neutral review against issue #60, bDS2 ListValues/PostEditor/Embeddings behavior, and editor_post.allium plus embedding.allium found no remaining gaps. Verified with cargo test --workspace (including 473 core and 169 UI tests), cargo build --workspace, strict workspace Clippy, cargo fmt check, allium check for every spec, cargo bundle-macos, and Computer Use of the exact repository app bundle. Visual checks confirmed partial matches, exact-name create suppression, and semantic suggestions returning after the query was cleared. The full test run completed without a keychain prompt.

Implemented in b641f64. The post editor now loads semantic tag suggestions from the existing project embedding index whenever a post opens, is selected, metadata expands, the query clears, or indexing completes; clean post refreshes preserve them. Empty queries show the weighted top-five similar-post tags with selected tags excluded. Typed queries show case-insensitive substring matches from existing project tags, limited to eight, and only offer creation for a genuinely new name. Accepting a new name creates the canonical tag entity and rewrites portable meta/tags.json. Semantic lookup now reads stored vectors and the HNSW index without model inference, so disabled or unindexed projects return no suggestions and offline use remains safe. Added focused view, app-state, persistence, refresh, and no-inference regression tests plus complete localization and README coverage. Neutral review against issue #60, bDS2 ListValues/PostEditor/Embeddings behavior, and editor_post.allium plus embedding.allium found no remaining gaps. Verified with cargo test --workspace (including 473 core and 169 UI tests), cargo build --workspace, strict workspace Clippy, cargo fmt check, allium check for every spec, cargo bundle-macos, and Computer Use of the exact repository app bundle. Visual checks confirmed partial matches, exact-name create suppression, and semantic suggestions returning after the query was cleared. The full test run completed without a keychain prompt.
hugo closed this issue 2026-07-20 20:52:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hugo/RuDS#60