Gordon

Results issues of Gordon

Rebases and supersedes PR #812. Wires the Phase 1–4b MessageId translations into the actual UI layer across 47 files. Fixes 109 compile errors caused by the upstream rebase (E0004 non-exhaustive...

localization
ux
v0.8.65

## Problem When the engine task panics (or exits unexpectedly) between `TurnStarted` and `TurnComplete`, the event channel `tx_event` is dropped and the mpsc channel closes silently. The UI's event loop...

Localize all user-facing strings in the compact session context inspector (`Alt+C` / `/context`). **Changes** - Add 24 `CtxInsp*` MessageIds for the context-inspector surface - Pass `locale` through `build_context_inspector_text()` → helper...

## Summary Add `FanoutCounts` MessageId and wire it into `FanoutCard::render_lines()` for i18n of the aggregate worker stats line. ## Changes - **`localization.rs`** — new `FanoutCounts` variant with named placeholders (`{done}`,...

## Summary Localize all 15 user-facing strings in the `/queue` command (list/edit/drop/clear) across all 7 shipped locales. ## Changes - **`localization.rs`** — 15 new `CmdQueue*` MessageId variants with translations in...

## 增加可选 Embedding Cache,减少重复生成 Embedding Closes #1631 ### 变更说明 在 Embedding 生成流程中增加可选的透明缓存层。 以 `(content_hash, model_id, dimensions)` 作为唯一键缓存 Embedding 结果: - Cache Hit:直接复用已有向量 - Cache Miss:调用原 Embedding API,并将结果写入缓存 默认关闭(未设置 `ENABLE_EMBEDDING_CACHE` 时为...

## 问题描述 当前文档 re-index 流程会删除原有 chunk 后重新切分并生成 embedding。 当文档仅发生少量修改时,大量 chunk 内容实际上没有变化,但仍会重复调用 Embedding API。 此外,不同文档中也可能存在相同内容(如企业制度、条款引用、产品说明等),当前会分别生成 embedding,无法复用已有结果。 例如: - 文档共 200 个 chunk - 修改内容仅影响其中 10 个 chunk - 其余 190 个...

**Severity**: MEDIUM **Description**: `internal/event/event.go` 中有两处 goroutine 入口缺少 `recover()` 保护。如果注册的 `EventHandler` 因代码 Bug 或异常输入触发 panic,整个进程会直接崩溃。 **Affected code**: 1. **`Emit` async mode** — line 146-148: ```go go func() { _ = h(ctx,...