Skip to content

Document LooChat setup and private Lark recovery for 2.4.0 - #9076

Merged
huangruiteng merged 5 commits into
mainfrom
codex/document-workbench-and-lark-recovery-20261119
Nov 23, 2026
Merged

huangruiteng merged 5 commits into
mainfrom
codex/document-workbench-and-lark-recovery-20261119

Conversation

@loopx-agent

@loopx-agent loopx-agent commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Goal And Delivered Outcome

Keep the 2.4.0 release guide aligned with the Workbench installer, the full PyPI distribution, and the private Lark recovery behavior. This update preserves the release notes that reached main through #9183 and #9190 and adds the parts of #9076 that are still needed.

  • Both languages explain that the 2.4.0 uninstaller uses the configured LOOCHAT_HOME. Operators preview the removal and verify the checkout before running it. The packaged installer rejects an unrelated directory on install preview and still lists that directory on uninstall preview. Uninstall review
  • Both languages name the full loopx wheel and sdist as the distributions that include Core Chat and its assets. The standalone loopx-core staging result contains the CLI and task runtime. Packaging review
  • The private Lark entry explains that a confirmed recall retires the queued card and a temporary source lookup failure keeps it pending. It also explains how the original Turn, provider and text receipt are used to verify historical images. Recall guard #8847, image recovery #8999

Author Declaration

Written by model_agent, OpenAI Codex (GPT-6).

Scope And Continuation

The current main was merged into the PR branch so GitHub resolves the real PR diff against current policy and release-guide history. The remote file view now reports one changed file, docs/product/releases/v2.4.0.md, with +12/-10. Compare current main with the exact head

This proposes a documentation correction for the already-published 2.4.0 installer. Delivery in an actual signed-in Lark conversation and the personal illustrated release guide remain separate release checks.

Validation

Tested revision 62cc509b3d494331516799c4b7bb94b1f8c32d8e. Inputs are repository fixtures, public release artifacts and a simulated Lark provider.

Check kind Result Evidence
real_entrypoint passed An unrelated fixture directory was rejected by install preview with exit 1. Uninstall preview returned 0 and printed the same configured directory; the fixture sentinel was preserved.
integration passed Public PyPI 2.4.0 wheel and sdist SHA-256 values matched. The wheel contains 24 Core Chat files and 46 Chat web files; the sdist contains 25 and 49 respectively. Actual standalone loopx-core source staging contains the CLI entrypoint and task runtime but zero Chat or Chat-web files.
integration passed 106 focused private Lark historical-image, media-receipt and recall cases passed with 485 deselected. Lark uses a simulated provider.
static passed The release-readiness document smoke passed. Changed-path quick premerge passed four direct checks, three selected catalog canaries and the public-boundary check.

Validation disclosure guidance

Historical image delivery verification

At head 62cc509b3d494331516799c4b7bb94b1f8c32d8e, both languages distinguish the original text delivery receipt from the evidence needed to confirm a historical image delivery. The original receipt identifies the reply. The image in the original conversation, or the same Turn's delivered recovery state with a matching independent media receipt, confirms delivery. Unconfirmed delivery stays pending verification.

The earlier Workbench uninstall preview and complete loopx distribution corrections are preserved. The focused Lark cases, bilingual release-body validation, public-boundary scan, public package inspection and standard diff-selected premerge all passed.

Frontend / Visual Evidence

UI impact none. The change updates release-guide text below the opening section.

Type Of Change

  • Documentation update

LoopX Area

  • Public docs or presentation surface

Boundary Checklist

  • The diff and description use public-safe evidence.
  • The change updates the affected bilingual sections in one guide.
  • The bilingual RFC diff gate passes.
  • UI impact is recorded.
  • The commit has a DCO sign-off.

Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>

@loopx-agent loopx-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent · gpt-6.2-sol · OpenAI (runtime_reported, max)

Request changes conclusion (author-owned PR; GitHub blocks formal self-review)

[P2] 卸载说明把配置目录说成已验证的 Workbench checkout

服务的 WorkingDirectory 会检查,目录删除直接使用配置的 LOOCHAT_HOME。对仅含示例文件的非 Workbench 目录,安装预览拒绝,卸载预览返回成功并将它列为删除目标。请在中英文同时要求核对预览目标和 checkout 所有权,或先补齐拒绝边界再承诺该范围。 相关代码

[P2] 明确带 Chat 的是完整 loopx 分发

独立 loopx-core 的真实 source staging 排除了 Chat 模块和 web assets。“Core wheel”容易把需要 Core Chat 的读者引到该分发。请在中英文明确写出完整 loopx wheel 和 sdist 的包名。 相关代码

动机 / Motivation

准备安装或移除独立 LooChat,以及继续使用 Core 内置 Chat 和 Lark 私聊的 2.4 操作者。发布页增加 Workbench 安装和回退段,也补充历史 Lark 文字回复的图片恢复和回执校验。对照实际安装器、Core 包准备入口、Core 代理和 Lark worker。正向用法得到本地观察,两处新增承诺超出实现。正式标签、实际部署、账户和飞书图文资格沿既有发布验收。

改动思路 / Approach

LooChat 独立源码安装并记录 revision。Goal 沿 Core 的既有 CLI 和 registry。历史图片补发由原私聊 worker 读取本地主机描述和快照,再核对原 Turn、回复和权限。三个运行路径对应同一个双语发布 notes 文件,实际安装、核验、回退和服务行为取自同提交已有实现。在隔离目录依次走正常 preview、安装拒绝及卸载 preview。检查独立包实际源清单,执行核心代理和原 Lark 回执测试。

具体改动 / Changes

精确 head 47054a35fa9a72e728be13e9828983968d830570,diff base 27eaeb127777378d1e95d98e478ccfa779d08873,1 个文件 +50/-8。逐项复核 safe-removal-and-rollback、separate-distributions、original-recovery。验收约定

关键代码讲解

  • Workbench 下载和 checkout 使用同一 ref。真实 dry-run 没创建配置、安装目录或服务。源码
  • 代理映射到原 Core healthz,断开本地上游后返回同一错误码与 502。源码
  • 卸载服务核对 WorkingDirectory,目录删除随后直接使用已解析的 INSTALL_DIR。源码
  • 独立 loopx-core 准备层从准入清单排除 Chat 和 web 树。源码
  • 历史 Lark 沿原已核验文字回执、Turn 和私有描述。撤回、快照错误、未核验送达保持原失败路径。源码

对主干的风险 / Risks

卸载预览对指向普通目录的 LOOCHAT_HOME 返回成功并将该目录列为删除目标。正常安装在同目录拒绝,示例文件经预览后也仍在。两种语言的“自己的检出目录”要说明实际检查。独立 loopx-core 的 source staging 排除 Chat 和 web。Core 代理正常返回健康,断开返回 502。Lark 在原文字回执、Turn、授权和快照均核验时才补发。

语义与 CI 对齐

七项可选面双语结构检查通过。精确源的 11 项离线安装、43 项 Lark 和 1 项独立 Core staging 测试通过。Lark 的权限与拒绝分支用模拟 provider。安装、卸载和打包逻辑与基线一致,当前两处风险源于新增文案。

我的整体评价 / Verdict

请求修改当前提交。中英文都应写清卸载预览的实际路径核验,以及带 Chat 的完整 loopx 和独立 loopx-core 的包名。保留已核验的安装与原回复步骤。

English verdict: REQUEST_CHANGES. Clarify the actual uninstall target and name the complete loopx distribution explicitly. Standalone loopx-core excludes Chat. The independent installer, proxy and Lark positives passed.

Comment thread docs/product/releases/v2.4.0.md Resolved
Comment thread docs/product/releases/v2.4.0.md Resolved

@loopx-agent loopx-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent · Gemini · Google (self_reported)

Request changes conclusion (author-owned PR; GitHub blocks formal self-review)

[P2] 卸载作用域说明超出 install.sh 实际校验边界

在 LOOCHAT_HOME 指向非 Workbench 普通目录时进行反事实测试:apps/workbench/install.sh --dry-run 会拒绝并退出 1(exists and is not a Workbench checkout),但 --uninstall --dry-run 返回 0 并计划对该目录执行 rm -rf。原因在于 install.sh 第 51–64 行只针对 systemd 服务移除检查 same_dir "$(service_dir)" "$REMOVE_APP",随后直接对 $INSTALL_DIR 执行 rm -rf,并未像第 77–88 行安装分支那样校验 .git 与 Workbench checkout 归属。请在英文第 188 行与中文第 443 行同步写明 --uninstall 会删除配置的 LOOCHAT_HOME 目录并要求先核对 --uninstall --dry-run 目标路径(或先在 install.sh 补齐检出校验)。相关文档

[P2] 明确区分含 Core Chat 的完整 loopx 与独立 loopx-core 分发

中英文验证边界处(#L275 / #L513)写为 The Core wheel and source distribution contain the packaged Core Chat / Core 的 wheel 与源码分发包含打包的 Core Chat。但实际检查 packages/loopx-core/prepare.py 的 prepare_core_source() 可见,loopx-core 阶段化产出 1,919 个文件且明确排除 loopx/chat/、loopx/web/、loopx/canary/、loopx/cli.py、loopx/chat.py 与 loopx/chat_*.py(loopx/web/ 与 loopx/chat/ 文件数为 0),只有 pyproject.toml 中的完整 loopx 分发才包含 web/chat 静态资源。请在中英文同时显式写出完整 loopx wheel 与 sdist 包含 Core Chat,避免读者误装独立 loopx-core。相关文档

动机 / Motivation

本 PR 面向正在按 2.4.0 发布说明安装或卸载独立 LooChat Workbench、选择含内置 Core Chat 的 PyPI 分发包,以及验证 Lark 私聊历史图片恢复与防误触发护栏的本机操作者与维护者。改动前,2.4.0 发布说明缺少 LooChat 源码安装/卸载与私聊历史图片恢复核验步骤;改动后中英文补充了安装、健康检查与恢复流程,但新增两处与实际脚本/打包实现不符的断言:实测当 LOOCHAT_HOME 指向非 Workbench 目录时,install.sh --dry-run 拒绝并提示 exists and is not a Workbench checkout,而 install.sh --uninstall --dry-run 仍返回 0 并列出 rm -rf 删除该目录;同时独立 loopx-core 的 prepare_core_source() 明确排除 loopx/chat/ 与 loopx/web/,只有完整 loopx 包才打包 Core Chat。LooChat 的 Core Workspace 命名统一、/api/health 与 /api/loopx/healthz 502 fallback(loopx_core_unavailable)及 Lark 私聊历史恢复与 recall 护栏验证已准确落盘,但 #L188/#L443 的卸载作用域承诺与 #L275/#L513 的“Core wheel”包名仍需修正后才可合并。中英文发布说明仍需在 #L188/#L443 补充卸载目标路径与 --uninstall --dry-run 核对提示(或先在 install.sh 增加检出校验),并在 #L275/#L513 显式区分完整 loopx 分发与不含 Chat 的独立 loopx-core。本 PR 不修改 apps/workbench/install.sh 运行时卸载逻辑或 packages/loopx-core 打包排除清单,也不执行真实飞书发布或在线宿主安装验收。

改动思路 / Approach

本 PR 为纯文档增量(1 个文件 +50/-8),围绕既有中英文 2.4.0 发布指南 docs/product/releases/v2.4.0.md 对接三类已合并能力:独立工作台安装与故障回退、Core Workspace 名称对齐,以及 Lark 私聊历史文本回复的图片补发与 Steward 卡片误召回护栏。核心代码与打包机制均沿用基线既有实现,无需新增运行时代码或配置。

我们按发布文档门禁做正向核对与反事实探测:在隔离环境复现 install.sh --dry-run 与 --uninstall --dry-run 对非 Workbench 目录的行为差异,运行工作台 E2E 安装单测与代理健康路径对照,执行 prepare_core_source() 校验实际打包白名单,并验证 Lark 私聊历史补发与防召回单测。除上述两处新增陈述外,其余步骤均与实际代码吻合。

具体改动 / Changes

审阅基线为 27eaeb127777378d1e95d98e478ccfa779d08873,精确提交为 47054a35fa9a72e728be13e9828983968d830570,依据发布门禁 docs/product/release-readiness.md#final-release-body-usage-gate(固定版本 27eaeb127777378d1e95d98e478ccfa779d08873)逐条核对:

  • workbench-uninstall-scope-accuracy:not_met — #L188 与 #L443 承诺卸载受限在 Workbench 检出目录内,但 apps/workbench/install.sh#L51-L64 在 rm -rf "$INSTALL_DIR" 前未校验证明目录归属,需在双语文本补充先检查 --uninstall --dry-run 输出或补齐脚本护栏。
  • core-chat-distribution-boundary:not_met — #L275 与 #L513 称 “The Core wheel and source distribution contain the packaged Core Chat”,与实际 loopx-core(排除 Chat)及完整 loopx(含 web/chat)命名冲突,需显式写明包名边界。
  • loochat-setup-and-recovery-docs:implemented — Core Workspace 重命名、/api/health 与 /api/loopx/healthz 断连返回 502 loopx_core_unavailable,以及 #8999 历史图片补发和 #8847 recall 护栏与源码实现一致。

关键内容讲解

  1. LooChat Workbench 中英文新增小节(docs/product/releases/v2.4.0.md#L180-L198、#L435-L453):说明独立源码安装方式、LOOCHAT_HOME 与 Core .env 连接边界,以及 apps/workbench/packages/daemon/src/adapters/loopx/proxy.ts 在上游断开时返回 502 与 loopx_core_unavailable;其中第 188 / 443 行的卸载作用域描述超出了 apps/workbench/install.sh#L51-L64 的实际保护。
  2. Private Lark 历史恢复与防误触发更新(docs/product/releases/v2.4.0.md#L203-L207、#L458-L462):对应 loopx/extensions/lark/private_conversations.py 中 report_private_recall 与 _reconcile_historical_answer_images 流程,测试覆盖率与文档一致。
  3. 分发边界说明(docs/product/releases/v2.4.0.md#L275、#L513):packages/loopx-core/prepare.py#L15-L33 与 packages/loopx-core/pyproject.toml#L6 构建 loopx-core 时显式剔除 Chat 与 Web 资源,而 pyproject.toml#L6,L83 定义的完整 loopx 才包含 web/chat/*。

对主干的风险 / Risks

  • 高概率操作风险:两处 P2 文案直接面向安装/卸载与选包操作者,若不修正即合入主干,用户按文档清理错误指向的 LOOCHAT_HOME 时可能遭遇无警告删除,或安装 loopx-core 后找不到内置 Chat。
  • 本地验证记录:
    • examples/release/release-readiness-doc-smoke.py(7 个 --surface 参数):PASS
    • loopx check --scan-path docs/product/releases/v2.4.0.md:公开边界检查 clean(0 errors, 0 warnings),PASS
    • scripts/check_rfc_bilingual.py --base 27eaeb1277 --head HEAD:PASS
    • loopx canary premerge --from-git-diff --git-diff-base 27eaeb127777378d1e95d98e478ccfa779d08873:17/17 执行检查通过(0 failures),PASS
    • node --test apps/workbench/packages/e2e/test/install.spec.mjs:11/11 PASS
    • pytest(文档、发布、文档 IO 5 个套件):54 passed, 2 skipped;test_rfc_bilingual.py 与 test_contributor_task_board.py:42 passed;test_lark_private_conversations.py 专项过滤:62 passed(512 deselected)与 4 passed(570 deselected);test_core_distribution.py -k "not wheel":1 passed, 47 skipped(实际 wheel 构建测试已跳过,记为部分验证)。
    • examples/docs-governance-smoke.py:7/8 项 PASS,check_rfc_status_index() 在不变基线 27eaeb1277 上已因 monorepo-distribution-split-v0.md/.zh-CN.md 存在日期日志标题(### Core discovery checkpoint — 2026-11-19)而失败(pre_existing_unrelated)。
    • 反事实复核(LOOCHAT_HOME 非 Workbench 目录 --dry-run vs --uninstall --dry-run;prepare_core_source() 清单检查):FAIL(复现上述 2 项 P2 偏差)。

我的整体评价 / Verdict

当前评估为 justified_increment,但两处中英文准确性缺陷导致 user_experience 为 regression(long_horizon 为 not_applicable,仅改文档不涉运行时状态)。视觉审阅结论:仅修改 Markdown 发布文档 docs/product/releases/v2.4.0.md,未涉及任何前端渲染视图、样式或截图界面(未验证范围:无(纯文档变更,无前端视觉渲染改动;真实宿主机 LooChat 端到端安装与在线飞书发帖由独立发布门禁覆盖))。文档增量本身体积克制且已通过全部发布结构、公开边界与双语 premerge 门禁,无需调整架构。请先修正 #L188/#L443 与 #L275/#L513 的两处 P2 中英文文案并复跑 release-readiness-doc-smoke.py 与 canary premerge。

English verdict: REQUEST_CHANGES. Fix the bilingual LooChat uninstall checkout boundary wording (#L188/#L443) and distinguish the full loopx wheel/sdist carrying packaged Core Chat from standalone loopx-core (#L275/#L513) in docs/product/releases/v2.4.0.md at 47054a35fa9a72e728be13e9828983968d830570.

@mergify

mergify Bot commented Nov 20, 2026

Copy link
Copy Markdown

This pull request has merge conflicts with main and cannot be merged
until they are resolved. Please rebase or merge the base branch, @loopx-agent.

Choose the remote for the base repository, not an out-of-date fork.
For a fork clone, first inspect git remote -v; upstream must point
to https://github.com/loopx-project/loopx.git. If it is absent, add it
with git remote add upstream https://github.com/loopx-project/loopx.git.
Then run:

git fetch upstream
git rebase upstream/main
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEAD

For a same-repository clone whose origin points to
https://github.com/loopx-project/loopx.git, use origin instead of
upstream for fetch/rebase. If you prefer merging the base, use
git merge <base-remote>/main and push normally.

Keep the DCO Signed-off-by trailer on every commit when you rebase.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify Bot added the needs-rebase Mergify: the pull request has merge conflicts with its base branch label Nov 20, 2026
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
@mergify mergify Bot removed the needs-rebase Mergify: the pull request has merge conflicts with its base branch label Nov 22, 2026

@loopx-agent loopx-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh

Request changes conclusion (author-owned PR; GitHub blocks formal self-review)

[P2] 用历史补图状态确认图片送达

不明确的图片送达和已确认的图片送达拥有同一份已验证的原文字回执,核对该回执无法区分两个状态。 中英文分别说明原文本回执用于认领原回复,图片送达以原私聊的媒体核对或合格操作者对同轮历史补图状态及独立媒体回执的读回为准。未确认保持待核。 英文说明 · 中文说明 · 2.4.0 发送及读回

动机 / Motivation

安装或卸载 2.4.0 LooChat、以及核对历史图片是否已补发的维护者会查阅这份双语指南。 新说明正确要求预览并检查实际卸载目录,也明确完整 loopx 分发包含 Chat。遇到历史图片发送结果不明确时,指南却引导核对始终保留的原回执。 本地证据确认安装器和分发两处修正。历史补图的原文字回执相同,独立媒体送达状态才说明结果。 此提交只改一份双语发布指南。真实个人 Lark 会话和完整发布验收仍属单独边界。

改动思路 / Approach

指南把三类事实放回各自有权威的入口。安装器负责解析卸载目录,发行包决定组件归属,原私聊 worker 独立验证文本与补图。 沿用现有安装器和原私聊恢复 owner。最小改动是更正两处回执读回说明,无需添加安装或发送机制。

具体改动 / Changes

评审提交 05850b5508fe9ef537ff6cc4da7768bb3d09a21a,比较基线 ca0ab3b0adbd4d1faf9168825205d319d890a8d0。一份中英双语发布指南,+12/−10,三个内容面均核对。 验收依据

关键内容讲解

  • activation-and-rollback 两种语言要求同环境预览并确认 Workbench 检出目录。实际安装预览拒绝普通目录,卸载预览仍打印该目录。安装与移除
  • distribution GitHub 与 PyPI 摘要均匹配,2.4.0 wheel/sdist 各有 24 个 Chat Python 文件和 30 个相应 web 资源,独立 Core 源准备排除它们。分发边界
  • recover-and-verify 已撤回来源的卡片退休,短暂查询失败继续等待。历史补图的状态与原回执说明仍需修改。Lark 段落

对主干的风险 / Risks

PASS,四条 2.4.0 安装器预览、公开两包摘要和内容、独立 Core staging、代理 502 对照,以及 19 项相关测试和 10 项专门历史图片用例通过。另有 51 项安装候选测试跳过。FAIL,发送确认不明时原文字回执仍有效,指南提供的检查无法证明补图。本地 managed premerge 的直接检查通过。当前检查读取到严格 change-quality 回执缺失,合并资格仍待验证。 未查询远端 CI。

我的整体评价 / Verdict

请求修正历史补图的核验指引。保留已验证的卸载边界、分发区分和撤回保护说明。 原 Turn、会话和 provider owner 保持唯一,源码未增加重放或发送入口。 不明确的图片送达和已确认的图片送达拥有同一份已验证的原文字回执,核对该回执无法区分两个状态。 改动是发布指南正文,未改应用页面或布局。 使用公开 v2.4.0 制品、隔离目录及模拟 Lark provider。未执行实际卸载、已登录私聊发送或公开渠道发布。

English verdict: REQUEST_CHANGES at 05850b5. The installer and distribution corrections are verified. The original text receipt stays verified when image delivery is unconfirmed. Point both languages to the separate historical media state and receipt.

Comment thread docs/product/releases/v2.4.0.md Resolved
Comment thread docs/product/releases/v2.4.0.md Resolved
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>

@loopx-agent loopx-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh

Approval conclusion (author-owned PR; GitHub blocks formal self-approval)

动机 / Motivation

使用 2.4.0 的 Workbench 安装者和恢复私聊历史图片的授权操作者需要确认卸载目标、安装包和图片回执。 旧说明把卸载写成停止服务的同级操作,也只让读者检查私聊回复。当前说明先核对卸载预览路径,再按原会话或独立媒体回执核对图片。 中英文都能区分完整 loopx 分发与独立 Core,并将原文字回执和补图送达证据分开。 本次审查覆盖使用说明和现有发行制品。真实账号中的端到端送达和正式合并由现有流程继续验收。

改动思路 / Approach

真实合成只改说明,现有执行所有者已覆盖路径、分发和媒体验真,采用原有安全界限即可交付这次文档修正。 独立可合成范围是一份双语发布指南,既有安装、分发和 Lark 状态所有者保持原路径。 Workbench 应用程序根据已配置的检出路径展示卸载目标。原私聊的绑定、提供方和 Turn 继续控制媒体读回。完整发行包用公开散列和实际内容核对,独立 Core 用发布 tag 的源 staging 检查。

具体改动 / Changes

实际变更为一份使用说明。按照现有发布契约,safe_uninstall 对应同一环境中的预览及目标路径核对,distribution_contents 对应两种分发内容,private_media_readback 对应原会话中的媒体或同轮状态和独立回执。英文和中文均已覆盖。 发布契约 · 准确提交的指南

关键代码讲解

以下是说明引用的既有行为。安装器的 --dry-run 在卸载分支显示 LOOCHAT_HOME 指向的实际目录。私聊 worker 的 _reconcile_historical_answer_images 先匹配原回复和绑定,再读取实际媒体,确认后才写入 delivered。独立 Core 的 prepare.py 负责源 staging,未在 staging 提供 Chat 的入口或前端包。 安装器 · 媒体恢复 · Core staging

对主干的风险 / Risks

GitHub 文件视图使用较早的 base,列出 154 个路径。以当前 main 的实际共同祖先和三方合成为准,153 个路径属于继承内容,16 个已在主干进一步演进的路径也在合成结果中保留主干 blob。净变化为一个文件,新增 12 行、删除 10 行。 我用真实 v2.4.0 安装器对同一个外部夹具做了两种预览。安装预览退出 1,卸载预览列出该路径且文件仍在。发布的 wheel 与 sdist 均通过散列校验,均含 Core Chat 和 29 个相关 JS/CSS 路径,独立 Core 的源 staging 保留 CLI 和任务运行时。私聊 worker 的 39 个 tag 用例通过,包括媒体未确认、来源临时不可查和确认撤回。准确头的发布指南 smoke 通过,快速预合并四项直接检查、四项选择检查通过。GitHub 上现有四条讨论的处理属于审批收尾。

我的整体评价 / Verdict

原回复与媒体证据分开后,继续等待的历史补图仍可在原会话核对。双语指南明确了卸载和分发选择,减少操作员自行推断的成本。实际三方合成只更新发布指南中的文字段落,未修改渲染布局、交互控件或工作台代码。 Lark 以 v2.4.0 真实 worker 和模拟提供方验证。未在已登录私聊发消息,未重新安装分发包,未查询 CI。 文档复用既有状态词汇与执行权限。建议将 PR 描述的比较链接指向已验证的实际比较基准,方便后续读者复核一份指南的变化。

English verdict: APPROVE at 6971cf1. The current-main composition changes only the bilingual guide. Verified tagged installer previews, released archive contents, 39 focused private Lark worker cases, bilingual condition checks, and local quick premerge.

Signed-off-by: huangruiteng <huangrt01@163.com>
Signed-off-by: huangruiteng <huangrt01@163.com>

@huangruiteng huangruiteng left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent · GPT-5 · OpenAI · self_reported

审批结论 / Approval conclusion

动机 / Motivation

使用 2.4.0 Workbench 安装器、选择 Python 分发包或恢复私聊历史图片的操作者,需要从同一份双语发布指南判断实际删除目标、哪个包包含 Core Chat,以及怎样才算确认图片送达。修改前,指南可能把普通目录的来源核验、独立 loopx-core 与完整 loopx、原文字回执与图片送达证据混在同一个承诺里;按错误理解操作会造成本地文件丢失、装错分发包或把尚未确认的图片当作已送达。修改后,中英文都给出可核对的预览路径、包名和独立媒体验证记录,读者不必再从实现细节自行推断。

  • affected_caller_or_operator: Operators installing or removing Workbench, choosing a LoopX distribution, or verifying historical private Lark images in the 2.4.0 guide.
  • before_after_scenario: The old file view and guide could leave these facts ambiguous; the current head shows one bilingual guide diff and explicit preview, distribution and media-readback steps.
  • observable_outcome: GitHub reports one changed file, the installer preview exposes the actual target, public artifacts establish package contents, and historical image delivery remains pending without the delivered state and matching media receipt.
  • non_goals: This does not modify installer or runtime code, republish 2.4.0, or claim a new signed-in Lark end-to-end send.

改动思路 / Approach

本次只修正发布指南这个投影面,事实仍由现有 owner 提供:安装器解析 LOOCHAT_HOME,发行构建决定 wheel/sdist 内容,原私聊 worker 用原 Turn、provider 和独立媒体记录核验补图。文档负责把操作者需要核对的边界放在正确位置,不新增安装、发送或状态机路径。

flowchart LR
  A[Operator reads 2.4.0 guide] --> B{Which operation?}
  B -->|Uninstall| C[Preview same LOOCHAT_HOME]
  C --> D[Verify printed checkout target]
  B -->|Choose distribution| E[Full loopx includes Core Chat]
  E --> F[Standalone loopx-core excludes Chat/web]
  B -->|Recover historical images| G[Original Turn + provider]
  G --> H{Delivered state and matching media receipt?}
  H -->|Yes| I[Verified delivery]
  H -->|No| J[Keep pending]
Loading

上图是依据精确 head 文档和既有 owner 绘制的说明,不替代执行证据。关键变化不是增加能力,而是让三个现有边界有同一个可操作、双语一致的入口。

具体改动 / Changes

精确 head 62cc509b3d494331516799c4b7bb94b1f8c32d8e 相对当前 main 只修改 docs/product/releases/v2.4.0.md,为 +12/-10。合并当前 main 后,GitHub 文件视图也从错误的 154 个文件收敛到 1 个文件;这不是删除原 PR 内容,而是让真实 merge base 成为祖先。

关键内容讲解

  • Workbench 段先要求在同环境执行 install.sh --uninstall --dry-run,并核对打印路径确实是自己的 checkout。真实 fixture 上安装预览退出 1,卸载预览退出 0 并列出该目录,fixture 文件未受影响。
  • Private Lark 段把原文字送达回执与图片送达证据分开:回执只标识原回复;从记录确认补图还要求同一 Turn 的 delivered 状态和匹配的独立媒体回执,否则保持待核。
  • 发布验证段明确完整 loopx wheel/sdist 含 Core Chat 与 web assets,独立 loopx-core 只提供 CLI 与任务运行时。公开 PyPI 2.4.0 wheel 含 24 个 Chat 文件和 46 个 Chat web 文件,sdist 分别为 25/49;loopx-core staging 的 Chat/Web 文件数为 0。

规格依据是 docs/product/release-readiness.md revision f4eeed9d325bfd6e8994175798a8d7480ab8c199。RELEASE-LIFECYCLE 要求可选能力的中英文说明保留可执行状态、readback、精确回退和版本化文档,本 head 的两个 surface 均保留这些字段。RELEASE-AUTHORITY 要求权限边界说明 provider、隐私和主机限制,Private Lark 段现在明确原 Turn、provider 身份、群聊限制和撤回保护。RELEASE-ARTIFACT-IDENTITY 要求发布包字节与版本化制品可核验,本次用公开 wheel/sdist 的 SHA-256 和实际文件清单核对文档承诺。

对主干的风险 / Risks

最强回归场景是文档让操作者把任意 LOOCHAT_HOME 当成已验证 checkout,或让读者安装不含 Chat 的独立 loopx-core。当前 head 明确要求核对预览路径,并点名完整 loopx;对非 Workbench 目录的真实预览和公开制品清单分别覆盖这两个反例。另一个反例是把原文字回执当成图片送达:106 个历史图片、媒体回执和撤回相关 Lark 用例通过,未确认路径仍保持 pending。

release-readiness-doc-smoke.py 通过;quick premerge 的四个直接检查、三个 catalog canary 和 public-boundary 检查全部通过;git diff --check 通过。loopx check --scan-path docs/product/releases/v2.4.0.md 报告本文件 public boundary scan clean: 1 files,同时读取本机注册表时出现 15 个既有 Goal 迁移错误,属于评审环境状态,不是本 PR 文件或 changed invariant 的失败。GitHub 远端 CI 在本轮复审时为 pending,作为诊断记录保留;本 head 的关键事实由上述本地真实边界检查独立覆盖。

真实登录飞书会话的图片发送不在本次 docs-only 改动内,Lark 验证使用模拟 provider;完整 loopx 制品验证读取已发布 2.4.0 artifact,而不是在源码树重新生成 tag。两项都属于明确的 release boundary,不阻止本次文档修正。

我的整体评价 / Verdict

problem_context.long_horizon 为 improved:正确的包、路径和恢复回执会减少后续误删、误装和重复人工核查。problem_context.user_experience 为 improved:中英文指南把三项决策放在操作者实际需要的位置;视觉审阅为 not_applicable,因为只改 Markdown 发布说明,不改变渲染布局、样式或交互组件。

没有 blocking finding。变更复用安装器、发行构建和 Lark worker 的既有权威,没有新协议、持久状态或第二套回执。

English verdict: APPROVE at 62cc509. The GitHub diff now shows one bilingual guide change; installer target, public distribution contents, historical image verification and quick premerge evidence all pass.

@huangruiteng
huangruiteng merged commit f953404 into main Nov 23, 2026
5 of 8 checks passed
@huangruiteng
huangruiteng deleted the codex/document-workbench-and-lark-recovery-20261119 branch November 23, 2026 07:10
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.

2 participants