Commit Graph
394 Commits
Author SHA1 Message Date
key 721839c847 feat(aihr): harden finance RAG retrieval and evidence gates 2026-08-03 22:34:18 +08:00
key 99e8c509d5 fix: harden knowledge lifecycle rollout 2026-08-03 16:00:45 +08:00
key df77998e0c feat: complete governed knowledge lifecycle 2026-08-03 14:34:54 +08:00
key a275f98fad feat: support RTF knowledge uploads 2026-08-03 01:49:48 +08:00
key a07bbcca07 fix: support authenticated video citation playback 2026-08-02 22:04:09 +08:00
key 6ad8a017a4 feat(aihr): close functional checklist gaps 2026-08-02 12:15:45 +08:00
key 699cc08050 feat: govern knowledge assets and source citations 2026-08-02 01:43:43 +08:00
key 72c56e7c96 fix(knowledge): focus formal citation snippets 2026-07-31 01:17:15 +08:00
key ca61b1f36f fix(knowledge): reject irrelevant formal citations 2026-07-31 01:02:48 +08:00
key 218d6e38c9 fix(knowledge): normalize no-evidence model replies 2026-07-31 00:50:19 +08:00
key bf703b7853 fix(knowledge): gate policy answers by formal sources 2026-07-31 00:28:41 +08:00
key 6a29f9900c fix(knowledge): preserve retrieved evidence 2026-07-30 23:24:34 +08:00
key a5c835ddd8 fix(agent): close pilot policy edge cases 2026-07-30 23:13:32 +08:00
key 3ac39df0eb fix(agent): enforce policy question boundaries 2026-07-30 22:53:58 +08:00
key c16a3e83d7 feat(release): close handler and microphone gaps 2026-07-30 12:01:45 +08:00
key edb8c8255b fix(learning): restore mobile mistakes query 2026-07-30 00:40:03 +08:00
key 0b652a3835 fix: align Tika parser with 500MB uploads 2026-07-29 21:45:52 +08:00
key 140aa6f31f fix: allow 500MB async knowledge uploads 2026-07-29 17:55:12 +08:00
key 652e48884b fix(aihr): recover stalled media processing 2026-07-29 15:09:01 +08:00
key 70e5516ff3 fix(release): close fixed-code mobile auth gaps 2026-07-29 11:59:30 +08:00
key 8764031d4a release: gate August 1 content candidates 2026-07-29 01:36:07 +08:00
key 9ea5d79a62 release: prepare August 1 Android RC 2026-07-29 00:35:15 +08:00
key 9ae5f750c8 fix: align Windows dev, App compiler, and ASR 2026-07-26 21:27:37 +08:00
admin f57e0a53c6 feat(mobile): expand TTS voices and align App SDK 2026-07-26 17:05:43 +08:00
adminandClaude Opus 5 7b014765d6 fix(agent): answer follow-up questions instead of asking to clarify
The planner falls back to CLARIFY whenever no keyword matches and the model
plan is unavailable or malformed. Mid-conversation that produced a dead end:
a follow-up such as "如果我要报销,一般需要查哪几个文件?" was answered with a
clarification request even though the previous turn had established context.

When a non-media request carries a conversationId and a contextVersion above
zero (i.e. at least one turn has completed), route CLARIFY to KNOWLEDGE_QA
with a grounded knowledge search.

Tradeoff: this also suppresses the deliberate CLARIFY for explicitly vague
phrasing ("你看着办", "帮我处理一下") from the second turn onward, which will
now run a knowledge search instead of asking back. Blank input is still
rejected earlier by requireQuestion.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-25 23:58:30 +08:00
admin c2358686ce fix(agent): tolerate Jackson int-range decode in Redis draft/session reads
全局 Redisson codec 用 DefaultTyping.NON_FINAL,final 的 Long/record 不写类名:
数字草稿 id 读回 Integer、realtime 会话 record 读回 LinkedHashMap,confirm 与
工具调用路径双双 ClassCastException(生产 19:35 日志实证)。改为 Number/String
防御转换与 ObjectMapper.convertValue 显式还原,补 3 个回归测试,模块 693 全绿。
2026-07-25 19:48:17 +08:00
admin 30ef6a8f6b feat(org): add incremental employee sync via upstream change feed
- POST /api/aihr/org/sync-changes(superadmin/hr_operator):拉取上游
  /sync/changes,按稳定 employee.id 回源 /employees/{id},只替换受影响
  员工,不再依赖每次全量覆盖;dryRun 仍须显式,首次必须传 sinceTime
- extPartyId 优先级翻转为 employee.id 优先:上游 employee_number 仅
  7/3417 匹配既有主体,稳定 employee_id 匹配 3417/3417
- 脱敏手机号保留本地既有有效值;上游显式清空则同步清除;手机号字段
  整体缺失拒绝写入
- 范围字段明确不一致视为迁出,写入时同事务删除本地旧记录(含登录
  身份);范围字段缺失保守跳过不删;回源详情主体与 resource_id 不一致
  在任何范围动作前拒绝
- 任职快照拉取失败在写入路径 fail-closed,不用员工字段兜底降级覆盖
- 全量同步:脱敏手机号在任何写入模式(含 replaceExisting=false)默认
  拒绝,allowPartialReplace=true 时脱敏员工保留本地手机号
- 测试 38 个(org 域),全模块 690 通过
2026-07-25 18:15:20 +08:00
admin acd5fd3a6d fix(practice): generate replies from coach hints 2026-07-25 15:44:45 +08:00
admin 230dfb4dfc feat(broadcast): finish multi-role insight experience 2026-07-25 15:18:58 +08:00
admin 7990db6883 feat(broadcast): expose employee role insights 2026-07-25 14:33:27 +08:00
admin 91ebe41259 feat(broadcast): generate grounded role insights 2026-07-25 14:24:08 +08:00
admin c35fd0741b feat(broadcast): add multi-role insight contract 2026-07-25 14:19:03 +08:00
admin 7ced39b03b fix(practice): restore scenario content updates 2026-07-25 13:39:23 +08:00
admin fa9d6da975 feat(practice): streamline pilot content operations 2026-07-25 12:51:39 +08:00
admin 35b37b07f7 feat(practice): server-owned realtime personas with knowledge tool calling
- AihrRealtimePersonaRegistry whitelist: owner-calm (default), owner-impatient,
  digital-mentor (search_knowledge); persona binds default voice
- /realtime/session assembles session.update server-side (instructions/tools);
  browser forwards payload verbatim; Redis session record 30min with sliding renewal
- /realtime/tools/invoke validates login identity + Redis session ownership +
  persona tool whitelist, then read-only searchAuthorized; per-account rate limits
- source=realtime skips sop review and knowledge-gap persistence (Beta no-persist)
- frontend: persona cards replace 56-voice picker; serialized tool-call chain with
  soft-landing fallback
2026-07-25 11:13:04 +08:00
admin f545983de8 fix(knowledge): bind summary cards to cited evidence 2026-07-25 01:45:41 +08:00
admin 4d2b3828c0 feat(brand): rename product to 帮道 2026-07-25 01:09:49 +08:00
admin 7e37b6803e fix(upload): allow 500mb multipart uploads 2026-07-25 01:06:38 +08:00
admin c9d2012ec1 feat(aihr): finalize practice growth and access boundaries 2026-07-25 00:42:19 +08:00
admin 09278d40c6 merge: integrate broadcast question correction
# Conflicts:
#	docs/BRD_PRODUCTION_MIGRATION_RUNBOOK.md
2026-07-25 00:13:49 +08:00
admin 5f8d8f96f0 fix(agent): preserve broadcast consultation context 2026-07-25 00:12:53 +08:00
admin 9b39ffbb76 fix(agent): bound user questions 2026-07-24 23:48:25 +08:00
admin fdd98049e5 fix(agent): decouple media analysis from knowledge scope 2026-07-24 23:37:46 +08:00
admin 342f84a9de feat(aihr): complete company message R1-R3 2026-07-24 23:25:15 +08:00
admin 5b7c5613f5 feat(agent): move mobile ask to unified agent 2026-07-24 22:36:14 +08:00
admin 6ba4e06a2f feat(agent): audit orchestrated runs 2026-07-24 22:13:04 +08:00
admin 434bab6fed feat(agent): require web research consent 2026-07-24 20:37:51 +08:00
admin 6f8c549752 feat(agent): confirm existing domain drafts 2026-07-24 20:33:07 +08:00
admin 775a326ae2 fix(agent): route media by intent 2026-07-24 20:27:03 +08:00
admin ffe830f64a feat(agent): orchestrate read-only work tools 2026-07-24 20:17:21 +08:00