8000 Feature/1.0.0 by ThreeFish-AI · Pull Request #241 · ThreeFish-AI/negentropy · GitHub
[go: up one dir, main page]

Skip to content

Feature/1.0.0#241

Open
ThreeFish-AI wants to merge 20 commits intomasterfrom
feature/1.0.0
Open

Feature/1.0.0#241
ThreeFish-AI wants to merge 20 commits intomasterfrom
feature/1.0.0

Conversation

@ThreeFish-AI
Copy link
Owner

背景

  • 本次变更要解决的问题:
  • 关联上下文/Issue/文档:

核心变更

风险与回滚

  • 主要风险:
  • 回滚方式:

验证证据

  • 单元测试:
  • 集成测试:
  • E2E/Workflow:
  • 覆盖率/关键截图:

影响范围

  • 前端:
  • 后端:
  • GitHub Actions / 文档:

Next Best Action

ThreeFish-AI and others added 20 commits March 10, 2026 09:52
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)

Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
GitHub Actions 的 Workflow 执行有异常(具体链接如下),深入分析并修复。你可以在推送代码到 GitHub 远程 Repo 后,等待 GitHub Actions 在线 (vibe-kanban)
8000
- 将后端与 UI 测试主链路提取为 reusable workflows,入口 workflow 改为薄封装调用
- 新增 negentropy-release.yml:tag 触发 → QA 门禁 → 工件打包 → GitHub Release
- 新增 negentropy-dependency-review.yml:PR 阶段对 lockfile 变更执行高危漏洞扫描
- 提取 CI 内联数据库初始化脚本为独立的 scripts/init_test_db.py

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- next.config 启用 output: "standalone" 以支撑可移植工件打包
- 新增 start-production.mjs 智能启动器,统一源码/Playwright/Release Bundle 三种场景
- Playwright 配置对齐 standalone 启动方式,新增 gracefulShutdown 与 PORT 环境变量传递
- lint 脚本新增 --max-warnings=0,将警告升级为 CI 阻断项
- 新增契约测试:standalone 输出回归 + start 脚本路径与启动器文件一致性

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- 将 HomeBody 从 page.tsx 迁移至独立的 home-body.tsx,page.tsx 缩减为薄入口
- AGENT_ID / APP_NAME 改为具名导出,支持测试直接引用
- 删除 route.ts 中未使用的 AguiLifecycleEvent 局部类型定义
- 集成测试 import 路径同步更新

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- 后端 pyproject.toml 新增 fail_under = 50 覆盖率基线
- UI vitest 新增 json-summary/lcov 报告格式与覆盖率硬性阈值
- ESLint 忽略 coverage/playwright-report/test-results 生成产物目录
- test_model_names.py 使用 monkeypatch 隔离环境变量,显式传入 _env_file=None

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- 新增 docs/qa-delivery-pipeline.md:流水线拓扑、设计边界、Mermaid 图与 IEEE 引用
- engineering-changelog.md 新增 2026-03-10 QA 流水线基线收口里程碑条目
- README.md 补充 QA 流水线文档链接

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- 修复 eventKey 对 TEXT_MESSAGE_CONTENT 使用 delta 文本导致实时流与 hydration 无法去重
- 新增 mergeEventsWithRealtimePriority 实现 Realtime-Wins 合并策略
- 导出 isSemanticEquivalentEntry 用于跨 messageId 的语义等价匹配
- 新建 error-filter.ts 过滤 litellm 内部 logging 错误
- 在 conversation-tree 和 chat-display 中拦截非关键 RUN_ERROR
- AdkMessageStreamNormalizer 按 functionCall 边界分割文本段

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- session-hydration: mergeEventsWithRealtimePriority 去重与生命周期保留(4 例)
- conversation-tree: 非关键 RUN_ERROR 不创建 error 节点(1 例)
- chat-display: 非关键 error 节点不渲染(1 例)
- adk: AdkMessageStreamNormalizer 混合 content.parts 分割验证(2 例)

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
如图所示,Chat 交互中,用户的输入需要调用工具(比如 Google Search)时,智能体调用工具的过程会在流式回答过程中在 UI 上体现出来(Search 调用是以一个特定能够表达 (vibe-kanban)
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
如图所示,Chat 交互中,用户的输入需要调用工具(比如 Google Search)时,智能体调用工具的过程会在流式回答过程中在 UI 上体现出来(Search 调用是以一个特定能够表达 (vibe-kanban)
pyproject.toml 的 addopts 全局注入了 --cov,导致集成测试和性能测试
虽然全部通过但因覆盖率不足 50% 而失败。添加 --no-cov 显式覆盖,
覆盖率门禁仅对单元测试生效。

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
1. lib/adk.ts: tool 角色消息处理中 text 变量超出 else 块作用域,
   改为调用 extractTextParts() 在使用处提取文本。
2. adk.test.ts: functionResponse 测试数据补充必填的 name 字段,
   与 schema.ts 中 adkFunctionResponseSchema 的定义保持一致。

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
GitHub Actions 的 Workflow 执行有异常(具体链接如下),深入分析并修复。你可以在推送代码到 GitHub 远程 Repo 后,等待 GitHub Actions 在线 (vibe-kanban)
pyproject.toml 的 addopts 全局注入了 --cov,导致集成测试和性能测试
虽然全部通过但因覆盖率不足 50% 而失败。添加 --no-cov 显式覆盖,
覆盖率门禁仅对单元测试生效。

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
1. lib/adk.ts: tool 角色消息处理中 text 变量超出 else 块作用域,
   改为调用 extractTextParts() 在使用处提取文本。
2. adk.test.ts: functionResponse 测试数据补充必填的 name 字段,
   与 schema.ts 中 adkFunctionResponseSchema 的定义保持一致。

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
GitHub Actions 的 Workflow 执行有异常(具体链接如下),深入分析并修复。你可以在推送代码到 GitHub 远程 Repo 后,等待 GitHub Actions 在线 (vibe-kanban)
当用户发送新消息时,消息列表会自动滚动到底部,确保用户能看到最新发送的消息。

实现方式:
- 在 ChatStream 组件中添加 scrollToBottomTrigger prop
- 在 home-body 中维护 scrollToBottomTrigger state
- 用户发送消息时更新 trigger,触发强制滚动到底部

这个实现遵循 React 数据流模式,简洁且易于维护。

🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
feat(chat): 自动滚动到最新消息
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0