【前端/API/经验管线】E 任务集成与演示准备#1
Open
dydpop wants to merge 14 commits into
Open
Conversation
Collaborator
Author
|
请审核,看看可不可以 review 一下: 本次主要完成了简单的 E 负责的部分:前端展示、API 适配、Knowledge Import、Wiki/Graph 联动、Self-Evolution Demo、Evolution 页面,以及 Experience Pipeline 收口。 这版没有修改 我本地已经完成过这些检查:
目前我记录到的剩余依赖主要是:
这些依赖暂时不影响 E 侧页面进入和基础展示;E 侧已经做了空状态、错误提示和兼容兜底。 已知非阻塞项:
|
Collaborator
Author
Graph UI 审查说明目的这份说明用于补充本次 PR 中 Graph 界面的 UI 与交互改动,方便组长审查,也方便后续组内同步。除特别说明外,这些改动都属于前端展示和本地演示辅助,不改变飞书接口契约。 本次改了什么
建议审查路径本地启动前后端后,优先打开这个页面: 建议重点检查:
对接口的影响
已验证内容本地已完成基础检查: npm run build
git diff --check
python -m compileall -q skillos\api
python -m pytest skillos\tests\test_layers.py -q浏览器冒烟检查通过: Graph 页面检查时,浏览器控制台没有新增运行时错误。当前仍存在的本地 WebSocket warning 是既有非阻塞问题,不是这次 Graph UI 改动引入的。 给审查人的说明
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动内容
interfaces.md契约不变,前端兼容 WebSocket 新旧格式、执行历史、Wiki/Graph 的skill_id联动。source_type,并将创建失败写入errors。Progress size,避免浏览器 console error。Graph UI 追加更新
test_graph_*demo skills 和加权关系边,方便在真实关系数据不足时审查吸引/排斥效果。docs/modules/06-graph-ui-review-notes.md,也已作为中文 PR 评论补充。接口兼容说明
docs/interfaces.md和docs/architecture.md。ExecutionResult、ExecutionHistoryItem、SystemHealthReport、WebSocket{ type, payload, timestamp }。/ingest/parse与/ingest/parse-and-create保持现有请求/响应字段;source_type限定为trajectory/document/api_doc/script。测试
python -m compileall -q skillos\api skillos\layers\input_knowledgepython -m pytest skillos\tests\test_layers.py -q:40 passed,101 warnings(现有依赖/utcnow deprecation warning)npm run build:通过;仍有 Vite large chunk warning(G6/common chunk,非功能阻塞)git diff --check:通过,仅有 Windows CRLF 提示trajectory/document/api_doc/script四类parse均 success=True、units=1、errors=0/ingest -> /wiki?skill_id=... -> /graph?skill_id=...、/demo、/execution、/evolution、/均无页面运行时 error;本地仍有已知 WebSocket dev warning/graph与/graph?skill_id=test_graph_design_plan均通过;边关系文字缩放显隐、布局设置、节点详情面板可用剩余依赖/风险
ExecutionResult.retrieved_skills数据。给组长的说明
这次 PR 的重点是让 E 任务主链路可演示、可联调、可审查;没有改飞书锁定的接口文档,也没有强行要求其他组调整接口。Graph 里的测试图谱数据主要用于本地审查布局和关系展示,如果团队认为不适合进入
main,可以后续单独拆出或删除。