viettranx
28d29ba046
fix(vault): enrichment pipeline reliability + cross-agent classify
...
9 fixes for vault enrichment pipeline:
1. Queue key = tenant-only (was per-agent, caused multiple batches
blocking EventBus workers and progress bar flashing)
2. Classify chunks 5 candidates per LLM call (prevents response
truncation that caused parse_still_failed errors)
3. Classify prompt improved: explicit "EXACTLY one entry per
candidate", 5-entry example, ctx capped at 30 words
4. max_tokens kept at 1024 (sufficient for 5 candidates)
5. Progress AddDone removes !running guard (safe before Start)
6. Rescan defers event publishing via PendingEvents — Start()
called before workers receive events, eliminating race
7. Upload handler same deferred publish pattern
8. Frontend enrichment timer cancels stale "complete" timeout
when new enrichment starts (prevents bar disappearing)
9. Sidebar tree reloads after rescan completes
Classify now searches across entire tenant (empty agentID) to
build cross-agent links for future vault sharing. Access control
enforced at query time — agents only see their own docs.
2026-04-12 14:31:36 +07:00
..
2026-03-23 22:57:26 +07:00
2026-03-27 10:19:16 +07:00
2026-03-27 10:19:16 +07:00
2026-04-09 21:15:19 +07:00
2026-03-27 10:19:16 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-29 18:01:08 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-10 19:35:02 +07:00
2026-04-10 19:35:02 +07:00
2026-04-09 21:15:19 +07:00
2026-03-14 18:13:52 +07:00
2026-04-10 16:32:54 +07:00
2026-04-09 21:15:19 +07:00
2026-03-29 18:01:08 +07:00
2026-04-12 12:37:53 +07:00
2026-04-12 10:24:07 +07:00
2026-03-23 08:08:23 +07:00
2026-04-12 10:24:07 +07:00
2026-03-23 08:08:23 +07:00
2026-04-11 21:22:23 +07:00
2026-04-10 19:35:02 +07:00
2026-04-02 18:58:24 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-11 23:22:17 +07:00
2026-04-12 08:55:25 +07:00
2026-04-12 12:02:40 +07:00
2026-04-09 23:15:08 +07:00
2026-04-09 21:15:19 +07:00
2026-04-01 19:31:02 +07:00
2026-04-05 08:47:10 +07:00
2026-03-29 23:51:53 +07:00
2026-03-27 09:28:42 +07:00
2026-04-09 21:15:19 +07:00
2026-04-10 10:13:58 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-28 13:33:25 +07:00
2026-04-02 18:58:24 +07:00
2026-04-11 21:22:23 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-02 14:58:03 +07:00
2026-03-29 18:01:08 +07:00
2026-03-14 18:13:52 +07:00
2026-03-29 18:01:08 +07:00
2026-03-14 18:13:52 +07:00
2026-03-14 18:13:52 +07:00
2026-03-23 22:57:39 +07:00
2026-03-29 18:01:08 +07:00
2026-03-29 12:54:12 +07:00
2026-03-23 22:57:26 +07:00
2026-04-09 21:15:19 +07:00
2026-03-23 22:57:26 +07:00
2026-03-27 09:35:57 +07:00
2026-03-27 10:19:16 +07:00
2026-03-27 09:35:57 +07:00
2026-04-09 21:15:19 +07:00
2026-03-31 07:56:01 +07:00
2026-03-23 22:57:26 +07:00
2026-04-09 21:15:19 +07:00
2026-03-23 22:57:26 +07:00
2026-04-12 10:24:07 +07:00
2026-04-09 21:15:19 +07:00
2026-03-30 21:36:09 +07:00
2026-03-30 21:36:09 +07:00
2026-04-09 21:15:19 +07:00
2026-04-03 15:18:54 +07:00
2026-04-03 15:17:08 +07:00
2026-04-03 15:18:54 +07:00
2026-03-25 14:50:43 +07:00
2026-03-31 14:35:57 +07:00
2026-03-29 12:46:23 +07:00
2026-04-03 15:44:39 +07:00
2026-03-30 21:36:09 +07:00
2026-04-04 07:06:34 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-04 13:18:57 +07:00
2026-04-09 21:15:19 +07:00
2026-04-04 13:18:57 +07:00
2026-04-11 23:22:17 +07:00
2026-03-29 18:01:08 +07:00
2026-04-11 23:22:17 +07:00
2026-04-11 23:22:17 +07:00
2026-03-30 21:58:29 +07:00
2026-04-11 23:22:17 +07:00
2026-03-23 22:06:39 +07:00
2026-04-11 23:22:17 +07:00
2026-03-29 22:33:17 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-23 10:17:47 +07:00
2026-03-27 09:35:57 +07:00
2026-04-09 21:15:19 +07:00
2026-03-24 16:01:02 +07:00
2026-03-23 22:57:26 +07:00
2026-03-23 22:57:26 +07:00
2026-03-29 22:33:17 +07:00
2026-03-29 22:33:17 +07:00
2026-04-12 10:24:07 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-12 10:24:07 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-24 20:40:59 +07:00
2026-03-29 22:33:17 +07:00
2026-04-09 21:15:19 +07:00
2026-04-11 21:22:23 +07:00
2026-03-30 14:12:18 +07:00
2026-04-09 21:15:19 +07:00
2026-04-10 20:19:52 +07:00
2026-04-10 20:19:52 +07:00
2026-04-12 13:25:15 +07:00
2026-04-11 21:22:23 +07:00
2026-04-12 14:31:36 +07:00
2026-04-12 14:31:36 +07:00
2026-04-09 21:15:19 +07:00
2026-03-25 22:17:33 +07:00