Skip to content

fix(release): repair dsh closeout test, antigravity failover alias, and release download retry - #9147

Merged
loopx-agent merged 1 commit into
mainfrom
codex/release-2.4.0-fixes-20261121
Nov 20, 2026
Merged

loopx-agent merged 1 commit into
mainfrom
codex/release-2.4.0-fixes-20261121

Conversation

@loopx-agent

Copy link
Copy Markdown
Collaborator

Problem

Three release-blocking / post-merge gaps were present on main ahead of v2.4.0 + Desktop App + dsh-loopx-plugin 0.1.1-beta.7:

  1. dsh-loopx-plugin integration test failure on quota_settlement_plan_v2: packages/dsh-loopx-plugin/tests/admission-closeout.integration.spec.ts still expected a command_template on quota_spend from settlement_plan_v1. Under quota_settlement_plan_v2, durable_writeback carries --settle-turn and quota_spend is runtime-owned (owner === "runtime" with no command_template), causing 6 integration tests to fail (expected 'undefined' to contain '--turn-instance-id ...').
  2. feat(steward): support per-endpoint model preferences and Codex-to-Antigravity failover #9141 Post-merge P2 Antigravity failover alias bug + Config UI endpoint_models:
    • AntigravityAdapter.endpoint_model_capacity did not accept reasoning_effort or canonicalize short aliases (e.g. "carbon", "gemini-4-carbon", "argon"), and manager_session_quota_route passed manager_model_resolution(..., endpoint="antigravity")[0] directly without the endpoint's resolved reasoning effort, causing codex -> antigravity failover to return None when a short alias was configured in endpoint_models.antigravity.model.
    • capability_configuration_editor("steward_executor") did not document endpoint_models JSON-mode authoring in loopx/capabilities/configuration_ui.py (while capability_configuration_editor_v0 / Dashboard Zod input_kind has no generic object/json field type).
  3. Single-shot gh release download fragility in release tooling: scripts/chat_bundle.py:release_build() (invoked by .github/workflows/release-artifacts.yml) and single-shot gh release download calls in .github/workflows/desktop-release-artifacts.yml and .github/workflows/desktop-updater.yml aborted immediately on transient GitHub CDN / API errors.

Changes

  1. packages/dsh-loopx-plugin/tests/admission-closeout.integration.spec.ts:
    • Assert rawPlan.schema_version === 'quota_settlement_plan_v2'.
    • Assert durable_writeback is agent-owned with --turn-instance-id, --todo-id, and --settle-turn, and quota_spend has owner === 'runtime' and command_template === undefined.
    • Verify durable_writeback commits validation, durable_writeback, and quota_spend receipts for effectId, and explicitly verify idempotent spend replay via quota spend-slot --execute (idempotent_replay === true, appended === false, preserved effectId) before todo complete and event-log/run-index checks.
  2. Antigravity alias canonicalization + Config UI endpoint_models contract:
    • loopx/capabilities/native_chat/antigravity_adapter.py: add reasoning_effort: str | None = None to AntigravityAdapter.endpoint_model_capacity, canonicalize model_id + reasoning_effort via resolve_antigravity_model_placeholder (and canonicalize model_id in metadata_review_capacity) before _matching_antigravity_model_config, and share quota-row extraction in _extract_user_model_quota.
    • loopx/chat_manager.py: resolve target_ag_config = manager_model_config(clean_environment, endpoint="antigravity", machine_defaults=defaults) in manager_session_quota_route and pass both model_id=target_ag_config["model"] and reasoning_effort=target_ag_config["reasoning_effort"] to AntigravityAdapter.endpoint_model_capacity(...).
    • loopx/capabilities/configuration_ui.py: keep steward_executor editor fields strictly within Dashboard-supported input_kinds (select, string_list, text) so frontend capabilityConfigurationFieldSchema remains intact, and explicitly document JSON-mode authoring and guided-save preservation for endpoint_models.
    • Added unit/integration regression tests in tests/test_antigravity_steward_adapter.py, tests/test_chat_manager_model_adoption.py, tests/capabilities/test_capability_configuration_ui.py, and tests/test_chat_machine_configuration_api.py.
  3. Bounded gh retry hardening:
    • scripts/chat_bundle.py: add _retry_gh (4 attempts, 1s/2s/4s exponential backoff on subprocess.CalledProcessError) wrapping both gh api release listing and gh release download in release_build(), clearing and recreating the temporary download subdirectory before each download attempt.
    • .github/workflows/desktop-release-artifacts.yml and .github/workflows/desktop-updater.yml: add matching 4-attempt bounded retry loops with partial-file cleanup around gh release download calls.
    • Added retry recovery and bounded-exhaustion unit tests in tests/presentation/test_chat_bundle.py.

Local Verification

  • pnpm --dir packages/dsh-loopx-plugin typecheck: PASS
  • pnpm --dir packages/dsh-loopx-plugin test: PASS (15 test files, 372/372 tests passed, including all 14 cases in tests/admission-closeout.integration.spec.ts)
  • dsh-loopx-plugin smokes (smoke:peer-range, smoke:mcp-transport, smoke:install, smoke:artifact, smoke:profile, smoke:runtime, and smoke:registry -- --tarball ...): all PASS
  • uv run --extra test python -m pytest -q tests/test_antigravity_steward_adapter.py tests/test_chat_manager_model_adoption.py tests/capabilities/test_capability_configuration_ui.py tests/capabilities/test_steward_executor_machine_defaults.py tests/test_chat_machine_configuration_api.py tests/presentation/test_chat_bundle.py tests/desktop/test_update_feed.py: PASS (338 passed, 13 subtests passed)
  • uv run --extra test ruff check ...: PASS (All checks passed!)
  • uv run --extra test mypy: PASS (Success: no issues found in 17 source files)
  • uv run --extra test python examples/desktop-release-workflow-smoke.py & examples/release-artifacts-smoke.py: PASS
  • uv run --extra test loopx check --scan-path ... (12 changed files): PASS (errors=0, warnings=0, checks=6, public boundary clean)
  • uv run --extra test loopx --format json canary premerge --from-git-diff --git-diff-base origin/main: PASS (ok=true, selected=14, failures=0, merge_gate_passed=true)

Risks & Notes

  • Frontend apps/presentation/dashboard source files and capabilityConfigurationFieldSchema were intentionally left untouched (endpoint_models continues to be authored in Dashboard JSON mode and preserved by completeMachineConfiguration across guided saves).
  • Remote GitHub Actions workflows for desktop release backup/verification and release-build retry paths were validated locally via workflow contract smokes and mocked CalledProcessError tests; live GitHub release execution runs on tagged release workflows.

@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.

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

Reviewer: model_agent (self_reported, model Gemini, provider Google)

Reviewed exact head: 921bf3ab5a0b6f92a5beb8c7082bb597172157e1

动机 / Motivation

维护发布流水线的开发者与运维人员、运行 dsh-loopx-plugin 集成测试的贡献者,以及在 steward_executor 中配置 endpoint_models 短别名触发 Codex 到 Antigravity 自动回退的本机管家用户。

修复前,admission-closeout.integration.spec.ts 仍按 v1 假设期待 quota_spend.command_template 而稳定失败,manager_session_quota_route 将短别名直接传入未规范化且缺少 reasoning_effort 的 endpoint_model_capacity 导致故障转移返回 None,release_build 与桌面工作流单次 gh 下载失败即中断;修复后,集成测试覆盖 quota_settlement_plan_v2 与 quota spend-slot 幂等重放,故障转移探测规范化别名并校验推理档位,发布下载先清理临时目录再执行最多 4 次有界退避重试。

在 exact head 921bf3a 上,dsh-loopx-plugin 全部 15 个测试文件(372 个用例)与 7 项发布/注册表 smoke、7 组 Python 回归套件(338 passed, 13 subtests passed)、ruff、mypy(17 个严格配置模块)、桌面/发布工作流 smoke、canary premerge(quick)与 loopx check --scan-path(12 个变更文件)全部通过。

本 PR 不修改 apps/presentation/dashboard 前端表单组件与 capabilityConfigurationFieldSchema(也不改动 capability-localization.ts 静态文案),不调整主干其他非本次发布路径的 gh CLI 调用,也不改变 steward_executor_machine_defaults_v1 的已有保存语义。

如果不修复这三项问题,插件发布前集成门禁会持续因结算契约版本升级而阻塞,配置了 carbon / argon 短别名或特定推理档位的灵活管家路由会在主端点配额耗尽时无法触发故障转移,而发布构建面对 GitHub 瞬时网络波动也缺乏幂等恢复能力。该切片边界紧凑且可独立回滚。

改动思路 / Approach

三类修复分别保留在现有直接拥有方中:AntigravityAdapter.endpoint_model_capacity 与 _extract_user_model_quota 集中负责别名规范化与配额行校验,manager_session_quota_route 通过既有 manager_model_config 提供目标模型与推理档位,configuration_ui 维持兼容字段集合,scripts/chat_bundle.py 以单一 _retry_gh 包装发布下载与 API 列表并先清理临时目录;未引入新协议版本、前端 schema 改动或第二套决策状态。

当前 PR 边界仅覆盖 v2.4.0 发布前已验证的三项回归修复与配套单元测试,将 Dashboard 前端独立 object/endpoint_models 引导表单编辑器与本地化文案同步保留为后续独立改进。

变更域 原路径 / 行为 新路径 / 行为 所有权与失败语义
DSH 集成关闭路径 读取 quota_spend.command_template 校验 quota_settlement_plan_v2、--settle-turn 与 quota spend-slot 幂等重放 测试对齐 settlement_plan.ts 既定运行时所有权
Antigravity 故障转移 裸 model_id 查表且不传 reasoning_effort 经 resolve_antigravity_model_placeholder 规范化并传 manager_model_config 不支持模型或档位不匹配在 RPC 前 fail-closed 返回 None
发布下载重试 单次 gh api / gh release download 最多 4 次退避重试(1s/2s/4s),每次下载前清理临时文件/目录 仅对 CalledProcessError/命令退出码重试,4 次耗尽即失败

具体改动 / Changes

本 PR 针对 exact head 921bf3ab5a0b6f92a5beb8c7082bb597172157e1 修改 12 个文件(+574/-89),其中运行时与发布脚本 4 个文件、工作流 2 个文件、回归测试 6 个文件。

对照已接受规范 docs/architecture/rfcs/manager-runtime-profile-v0.md (基准提交 e3e2bee )中的 Antigravity 与 Steward 选路契约:

  • Contract-Antigravity-Tier-Effort :已实现(implemented)。AntigravityAdapter.endpoint_model_capacity 与 metadata_review_capacity 复用 resolve_antigravity_model_placeholder 将短别名与 reasoning_effort(low/medium/high)规范化为精确模型 ID 并在不匹配时直接拒绝对话配额探测,由 tests/test_antigravity_steward_adapter.py::test_antigravity_endpoint_model_capacity_resolves_short_aliases_and_rejects_mismatches 覆盖。
  • Contract-Steward-Endpoint-Models-Failover :已实现(implemented)。manager_session_quota_route 通过 manager_model_config(..., endpoint="antigravity") 统一解析 endpoint_models.antigravity 的模型与推理档位并传入 endpoint_model_capacity,同时 capability_configuration_editor 保持 Dashboard capabilityConfigurationFieldSchema 支持的 input_kind 集合不变,由 tests/test_chat_manager_model_adoption.py::test_codex_to_antigravity_failover_resolves_short_alias_endpoint_model、tests/capabilities/test_capability_configuration_ui.py 与 tests/test_chat_machine_configuration_api.py 验证。
  • 其余两项修复边界:packages/dsh-loopx-plugin/tests/admission-closeout.integration.spec.ts 对齐 loopx/control_plane/quota/settlement_plan.ts 已落地的 quota_settlement_plan_v2 协议(durable_writeback 为 agent 所有且携带 --settle-turn,quota_spend 为 runtime 所有且无 command_template);scripts/chat_bundle.py、.github/workflows/desktop-release-artifacts.yml 与 .github/workflows/desktop-updater.yml 则在现有发布流程上增加有界重试与半成品清理,不涉及新增 RFC 协议。

关键代码讲解

  1. loopx/capabilities/native_chat/antigravity_adapter.py 中的 _extract_user_model_quota(第 477 行):抽取 metadata_review_capacity 与 endpoint_model_capacity 原本重复的用户邮箱哈希、配额行匹配(唯一匹配校验)与 remainingFraction / 带时区 resetTime 合法性检查,消除两处重复逻辑并保留严格 fail-closed 行为。
  2. loopx/capabilities/native_chat/antigravity_adapter.py 中的 AntigravityAdapter.endpoint_model_capacity(第 770 行):新增 reasoning_effort: str | None = None 参数,在发现本地 Language Server 与发起 RPC 前先调用 resolve_antigravity_model_placeholder(model_id, reasoning_effort) 获取规范模型 ID;当别名有效时匹配对应占位符并回传规范 model_id,当模型不受支持或档位冲突时在零 RPC 开销下提前返回 None。
  3. loopx/chat_manager.py 中的 manager_session_quota_route(第 963 行,第 1011-1017 行):当主端点 codex 受阻而评估回退端点 antigravity 时,改用 manager_model_config(clean_environment, endpoint="antigravity", machine_defaults=defaults) 同时解析该端点的 model 与 reasoning_effort(未显式指定推理档位时由 manager_model_config 按模型后缀或默认 high 补齐,不串用 Codex 的 xhigh)后传入 endpoint_model_capacity。
  4. loopx/capabilities/configuration_ui.py 中的 capability_configuration_editor(第 211 行,第 246-261 行):保持 steward_executor 字段列表仍仅使用 select、string_list、text 三种既有 input_kind,并在 eligible_endpoints 与 executor_model 的描述文本中明确说明 endpoint_models 在 JSON 模式编写且在引导式保存时会被保留(与前端 machine-configuration-settings.tsx 的 completeMachineConfiguration 一致)。
  5. scripts/chat_bundle.py 中的 _retry_gh(第 232 行)与 release_build(第 259 行):封装最多 4 次、指数退避 1s / 2s / 4s 的重试助手,仅捕获 subprocess.CalledProcessError;在 release_build 中同时保护 gh api --paginate 与 gh release download,并在每次下载尝试前经 before_attempt=reset_download_dir 清空并重建独立的 download 子目录(同时将 old_bundle 移至外层 root / "chat",避免残留部分下载文件干扰后续尝试或解压校验)。两个桌面发布工作流采用同等的 4 次 1 << (attempt - 1) 退避循环及 rm -f 单文件预清理。

对主干的风险 / Risks

经独立验证,本次改动不存在阻断合并的正确性、安全性或契约回归缺陷(no blocking finding)。需要记录的非阻断边界与残余风险如下:

  • 负面与失败边界核验:已通过独立反事实探针验证 endpoint_model_capacity("carbon", reasoning_effort="xhigh") 与 endpoint_model_capacity("gemini-4-carbon-high", reasoning_effort="medium") 均不触发 Language Server 调用且返回 None;_retry_gh 单元测试证实连续 4 次 CalledProcessError 后按 [1.0, 2.0, 4.0] 秒退避并原样抛出异常,不吞错也不重试 RuntimeError(如 SHA256 校验失败);工作流中 if gh release download ...; then 在 set -euo pipefail 下不会因单次退出而跳过重试循环,且第 4 次失败显式 exit 1。
  • Dashboard 文案覆盖与未保存 JSON 切换边界(非阻断):在前端 apps/presentation/dashboard/src/features/personal-workspace/capability-localization.ts 中,localizedCapabilityFieldCopy 为 eligible_endpoints 与 executor_model 提供了静态本地化文案,界面中 copy?.description ?? field.description 会优先展示前端静态文案而非后端 configuration_ui.py 的新描述;不过 API 读取模型、CLI 描述与 completeMachineConfiguration 在引导保存时保留已存 endpoint_models 的行为均已核实成立。
  • 尚未覆盖的远端与真实环境:GitHub Actions 在线执行带标签发布的真实 gh release download 重试路径(.github/workflows/desktop-release-artifacts.yml、.github/workflows/desktop-updater.yml 与 release-artifacts.yml 触发的 release_build)未在本机触发远端执行,当前最强替代证据为工作流契约 smoke 与本地模拟 CalledProcessError 单测;此外本仓库其他非本次修改的旧工作流(如 runtime-snapshots.yml、dsh-plugin-publish.yml)仍为单次 gh release download,留待各自需要时治理。
  • 基线合并状态:PR 当前相对远端 main 处于 BEHIND 状态,但变更集与近期 main 提交无文件冲突,合入前按仓库规范关注即可。

我的整体评价 / Verdict

从长程演进与用户体验来看:long_horizon 维度保持稳定(preserved),dsh-loopx-plugin 集成测试在真实 loopx CLI 上验证了从 quota_should_run、refresh-state --settle-turn 到 quota spend-slot --execute 幂等重放与 todo complete 的单次扣费与因果链闭合,Antigravity 故障转移与 gh 退避重试均有明确上界与失败清理;user_experience 维度保持稳定(preserved),已保存的 endpoint_models 配置在引导式能力编辑保存中不会丢失,且短别名配置可真实生效。就视觉审查(visual_review)而言,结论为 not_applicable:本 PR 未修改任何前端 JSX/CSS 或已渲染页面组件,已检查 configuration_ui.py、capabilityConfigurationFieldSchema 与 completeMachineConfiguration,未验证范围为实际浏览器渲染画面(因无 UI 视觉变更),故无视觉回归。

在语义兼容性、代码规模与机制归属上:observable_semantics 为 intentional_change_validated,endpoint_model_capacity 修复了此前对 carbon/argon 短别名返回 None 及忽略 reasoning_effort 的缺陷,同时保留了原有全名入参与非法输入 fail-closed 行为;code_volume 判定为 necessary,兼容边界策略为 retain(前后端表单 schema 零破坏升级);change_proportionality 判定为 proportionate,且内部架构评估决策为 retain(各机制均位于既有职责模块内,未引入冗余状态或跨层抽象);default_off_isolation 与 authority_semantics 均检查确认为 not_applicable(未引入新功能开关或新的 Actor/权限协议);semantic_alignment 确认未新增或改写共享协议枚举、Schema 版本或预算阈值(not_applicable)。

本轮在独立检出工作树针对 exact head 921bf3ab5a0b6f92a5beb8c7082bb597172157e1 独立执行的校验结果如下:

  • packages/dsh-loopx-plugin:typecheck PASS;vitest run(15 个文件、372 个用例,含 admission-closeout.integration.spec.ts 全部 14 项)PASS;smoke:peer-range、smoke:mcp-transport、smoke:install、smoke:artifact、smoke:profile、smoke:runtime、smoke:registry(打包 .tgz 验证)全部 PASS。
  • Python 定向回归测试(7 个套件):PASS(338 passed, 13 subtests passed);扩展回归运行 tests/test_steward_interrupted_answer.py 与 tests/test_native_steward_turn_host.py 为 258 passed, 1 failed,其中 test_managed_work_never_commits_without_current_independent_postcondition[stopped_after_model] 在精确基线提交 2d302ca189cf3798ca4d53b7e01d37353ffc19d6 与本 PR head 921bf3ab5a0b6f92a5beb8c7082bb597172157e1 上产生完全一致的失败签名(AssertionError: 'committed' == 'failed'),且 PR 未修改 Codex turn/steward_managed_mode 路径,经基线对比确认为 pre_existing_unrelated,与本 PR 变更路径无关。
  • 静态检查与打包/工作流 smoke:ruff check(全部 9 个涉改 Python 文件)PASS;仓库配置 mypy(17 个严格类型文件)PASS;examples/desktop-release-workflow-smoke.py(含 desktop-release-preflight-smoke.mjs 9 项)与 examples/release-artifacts-smoke.py PASS;loopx canary premerge --tier quick --from-git-diff --git-diff-base origin/main(4 项直接检查 + 3 项目录 canary + 公私边界检查)PASS;loopx check --scan-path(全部 12 个修改文件)PASS(errors=0, warnings=0)。
  • 远端托管运行:GitHub Actions 真实发布下载重试与 CI 检查在本审核契约下未咨询/未触发(UNVERIFIED,非审核证据缺口)。

综上所述,该 PR 在 exact head 921bf3ab5a0b6f92a5beb8c7082bb597172157e1 上逻辑完整、边界克制、独立实证充分,具备批准条件。

English verdict: APPROVE — exact head 921bf3ab5a0b6f92a5beb8c7082bb597172157e1 resolves the dsh-loopx-plugin quota_settlement_plan_v2 closeout test assertions, Antigravity short-alias and reasoning_effort failover routing, and bounded gh release download retries with all local TypeScript, Python, lint/typecheck, and premerge boundary checks passing and no blocking findings.

@loopx-agent
loopx-agent merged commit 5eb6b24 into main Nov 20, 2026
32 of 55 checks passed
@loopx-agent
loopx-agent deleted the codex/release-2.4.0-fixes-20261121 branch November 20, 2026 17:33
loopx-agent added a commit that referenced this pull request Nov 21, 2026
* fix(cli): preserve typed runtime diagnostics in Turn failures

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): support per-endpoint model preferences and Codex-to-Antigravity failover (#9141)

Signed-off-by: LoopX Agent <[email protected]>

* Keep the prepared Chat adapter available to a retry (#9134)

A failed worker start can finish cleanup after a same-turn retry has
selected the adapter. Keep its lifetime tied to the Session and let
failed dispatch release its own worker registration. The regression
asserts one upstream turn and explicit adapter closure with the Session.

Port the fix from 4453e4bdd77486ec14b952f88ca893310b32e26c.

(cherry picked from commit 173e42b4f051b885c3a3389e1cad9c5722f7b7dd)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover zero-effect monitors and cleared-replan reports (#9143)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): admit flexible_primary_available executor transitions in conversation_scope (#9145)

Signed-off-by: LoopX Agent <[email protected]>

* Verify quota gate scope through signed lane references (#9101)

* test(quota): verify scoped gates through complete lane references

Signed-off-by: LoopX Agent <[email protected]>

* Test canonical quota gates in both public response modes

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Test C1 planning and Host input from the original quota capture (#9102)

* Use recorded quota decisions in the no-Todo settlement regression

Signed-off-by: LoopX Agent <[email protected]>

* Exercise the complete Host prompt from the captured quota source

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Prepare the CLI budget baseline with a private Git index (#9103)

Signed-off-by: LoopX Agent <[email protected]>

* Exercise C1 Goal delivery and bound replan from the saved source (#9104)

Signed-off-by: LoopX Agent <[email protected]>

* Keep long claim overlap scopes on demand (#9086)

* Link long thin-claim overlap lists to their receipts

Signed-off-by: LoopX Agent <[email protected]>

* Read claim overlap details without copying the lease

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): preserve explicit Monitor Todo selection (#9099)

Carry Todo selection provenance into quota admission. Preserve explicit secondary Monitor polling and recovery from previously admitted receipts.

Signed-off-by: LoopX Agent <[email protected]>

* Keep ready Todo scope details on the required context read (#9106)

Signed-off-by: LoopX Agent <[email protected]>

* Fix archive rollback with custom install directories (#9066)

* refactor(core): defer benchmark implementations during capability discovery

Preserve the benchmark toolkit public exports and static types while keeping execution and experiment implementations out of metadata discovery. Qualify source and installed Core paths, and reconcile the paired minimal/Standard RFC boundary without changing activation or authority defaults.

Signed-off-by: cicolord <[email protected]>

* Defer Yardstick evaluation until an enabled Explore read

Signed-off-by: cicolord <[email protected]>

* Omit empty Todo summary lanes from ordinary Worker context

Signed-off-by: cicolord <[email protected]>

* fix(update): honor configured archive directories during rollback

Signed-off-by: LoopX Agent <[email protected]>

* fix(lark): replay recall guard on current main

Signed-off-by: huangruiteng <[email protected]>

* docs: record the verified LoopX 2.3.0 release baseline

Signed-off-by: LoopX Agent <[email protected]>

* Preserve quota spend source when prepared work is admitted

Signed-off-by: LoopX Agent <[email protected]>

* test(quota): qualify native saved complete-Turn checkpoints

Signed-off-by: LoopX Agent <[email protected]>

* Retry cleanup of an owned file mutation marker

Signed-off-by: LoopX Agent <[email protected]>

* Keep synthetic Git-path test data outside the public source scan

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): share native preparation wait with readiness

Signed-off-by: LoopX Agent <[email protected]>

* fix(doctor): bind package update readback to its Python environment

Signed-off-by: LoopX Agent <[email protected]>

* Keep Doctor discovery separate from service activation

Signed-off-by: LoopX Agent <[email protected]>

* Verify the recorded Python launcher before Doctor probes it

Signed-off-by: LoopX Agent <[email protected]>

* fix(desktop): require runtime qualification for macOS preview updates

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): reuse replan projection owners during recovery

Signed-off-by: LoopX Agent <[email protected]>

* Qualify Codex 0.169 native context replay on main

Signed-off-by: LoopX Agent <[email protected]>

* Stop regenerating retired quota view aliases

Signed-off-by: LoopX Agent <[email protected]>

* fix: pin deferred native context reads to the original capture

Signed-off-by: LoopX Agent <[email protected]>

* Keep native capture navigation within small output budgets

Signed-off-by: LoopX Agent <[email protected]>

* Retire legacy heartbeat work prompt generation

Signed-off-by: LoopX Agent <[email protected]>

* Capture C1 composition failures as receipt diagnostics

Signed-off-by: LoopX Agent <[email protected]>

* Recover interrupted native Todo readiness from the original Turn

Signed-off-by: LoopX Agent <[email protected]>

* Revalidate the original lease before publishing resumed native context

Signed-off-by: LoopX Agent <[email protected]>

* Fence native readiness publication with the canonical lease writer

Signed-off-by: LoopX Agent <[email protected]>

* fix(scheduler): keep Codex fallback on the original C1 runtime

Signed-off-by: LoopX Agent <[email protected]>

* fix(scheduler): pin the originating fallback launchers

Signed-off-by: LoopX Agent <[email protected]>

* Retire the duplicate Codex App scheduler projection

Signed-off-by: LoopX Agent <[email protected]>

* Seed the recorded scheduler profile in the elapsed-backoff fixture

Signed-off-by: LoopX Agent <[email protected]>

* Verify canonical cadence on refused and settled Turns

Signed-off-by: LoopX Agent <[email protected]>

* Pin named Core commands in saved scheduler fallbacks

Signed-off-by: LoopX Agent <[email protected]>

* fix(research): preserve saved case addresses when a version cannot open

Signed-off-by: LoopX Agent <[email protected]>

* Preserve citation focus after a saved study refresh

Signed-off-by: LoopX Agent <[email protected]>

* Capture authenticated LoopX receipts for Research attention (#8790)

* feat(research): capture authenticated LoopX attention receipts

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* fix(research): tighten attention receipt provenance

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* fix(research): publish attention captures after source validation

Signed-off-by: huangruiteng <[email protected]>

---------

Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>
Co-authored-by: huangruiteng <[email protected]>

* Recover the original Session and Turn from a confirmed Chat task

Signed-off-by: huangruiteng <[email protected]>

* perf(lark,native_chat): eliminate redundant full-directory JSON reparsing in steward chat loops (#9041)

* perf(lark,native_chat): avoid full directory reparsing in steward chat loops

- Make LarkOwnerAttention._route iterate capture candidates lazily so matching stops at the newest valid p2p capture.
- Reuse FileChatDiscovery in PrivateIngressObserver._records while preserving strict field validation and fail-closed errors.
- Reuse FileChatDiscovery in ChatExternalConversations.pending so unchanged request journals skip redundant JSON reads and stay mutation-isolated.
- Add regression and scan-efficiency tests in tests/test_lark_steward_directory_scan_perf.py.

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): project small recovery metadata fields to stop data_url memory growth

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Retire transitional smoke checks and duplicate execution (#9073)

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* feat(steward): support probe-gated generic continuous_monitor todos with handoff and user actions (#9074)

Signed-off-by: LoopX Agent <[email protected]>

* Remove redundant defensive prose from prompts and comments (#9072)

Remove redundant defensive prose while preserving published heartbeat wrappers and externally managed skill readiness.

Validated with 197 related tests, independent historical wrapper migrations and negative cases, installed-skill readback, and current-main quick canary. Existing CI qualification and infrastructure limitations remain recorded in PR #9072.

Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>

* Keep original Chat retry errors visible during receipt refresh

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): tolerate report validator python drift and allow cancel of mid-turn failed reports (#9077)

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): add exact-head PR review signals and protected merge confirmation (#9081)

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): add isolated OpenViking long-term memory with per-speaker boundaries (#9083)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(content-ops): slim surface module and eliminate Any (#8961)

* refactor(content-ops): slim surface module and eliminate Any

Signed-off-by: LoopX Agent <[email protected]>

* fix(content-ops): reject malformed angle source_item_ids containers

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(collaboration): batch handoff query Goal lifetime guard lock per Goal (#9085)

Signed-off-by: LoopX Agent <[email protected]>

* fix(hosts): raise managed service startup readiness timeout to 45s (#9087)

Signed-off-by: LoopX Agent <[email protected]>

* perf(manager-context): memoize history_inspect lifecycle checks and scope runtime revision in handoffs query (#9088)

Eliminate the remaining O(N) Effect runtime RPCs and uncached runtime fingerprinting inside tracking.query(): enter effect_runtime_request_scope() for the query, memoize pure history_inspect lifecycle decisions across entries sharing identical Goal refs while holding the Goal lifetime guard, lazily discover legacy ingress files only when external audience recovery needs them, and preserve entry scan order across Goal batches.

Signed-off-by: LoopX Agent <[email protected]>

* refactor(lark): slim private_conversations below 2000 lines with net LOC reduction (#8929)

Signed-off-by: LoopX Agent <[email protected]>

* perf(chat,hosts): skip frontend source re-hashing on immutable installed releases and extend readiness timeout to 90s (#9089)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(control-plane): split and slim quota monitor_poll_commit (#8885)

* refactor(control-plane): split and slim quota monitor_poll_commit

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): preserve legacy lane budget and observation diagnostic order

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* refactor(quota): slim loopx/quota.py and tighten Any count to zero (#8939)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(native-chat): slim external_conversations below 2k lines and retire ceiling (#8911)

* refactor(native-chat): move steward commission mixin to steward_commands and retire external_conversations ceiling

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): respect include_raw_response in retained result recovery

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* refactor(chat): slim chat_runtime below 1,500 lines, fix entry-point project_contexts guard, and retire ceiling (#8920)

* refactor(chat): move session lifecycle mixin to session_open, deduplicate runtime helpers, and retire ceiling

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): drop turn_done_events slot before waking waiters on Thread.start failure

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): paginate open PR signal GraphQL, allow signal-unavailable monitor recovery, and cache private delivery scans (#9093)

Signed-off-by: LoopX Agent <[email protected]>

* perf(lark,native_chat): back off noop recovery retries and cache recovery lookups (#9096)

Signed-off-by: LoopX Agent <[email protected]>

* perf(native_chat,lark): cache unchanged quota backlog health and interrupt observations (#9098)

Signed-off-by: LoopX Agent <[email protected]>

* perf(lark,native_chat): coalesce listener snapshots and cache recovery event summaries (#9100)

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: cicolord <[email protected]>
Signed-off-by: LoopX Agent <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>
Co-authored-by: cicolord <[email protected]>
Co-authored-by: huangruiteng <[email protected]>
Co-authored-by: Lusen Dong <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* refactor(issue-fix): consolidate maintainer-correction admission and slim pr_lifecycle (#8897)

Signed-off-by: LoopX Agent <[email protected]>

* Fix truncated requests and responses in the Codex API relay (#8713)

* fix(codex relay): fence incomplete model requests before drain

Signed-off-by: LoopX Agent <[email protected]>

* fix(codex relay): surface incomplete upstream responses

Port the verified response framing fix to the request-admission branch. Original candidate 27bc3aee311cdfc6a00466ff9d3b58c7db36e01b.

Signed-off-by: LoopX Agent <[email protected]>

* Bound Codex relay writes to clients that stop reading

Signed-off-by: LoopX Agent <[email protected]>

* Reject upstream chunked responses missing the trailer terminator

Signed-off-by: LoopX Agent <[email protected]>

* Validate upstream chunk data delimiters before relay completion

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): repair dsh closeout test, antigravity failover alias, and release download retry (#9147)

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): update v2.4.0 release notes and dsh-loopx-plugin 0.1.1-beta.7 README (#9149)

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): recover saved answers and diagnose lost workers (#9120)

* fix(chat): recover saved answers and diagnose lost workers

Signed-off-by: LoopX Agent <[email protected]>

* style(lark): keep private_conversations within module line budget

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): retain execution_worker_exited in pending backlog count

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): resume steward requests lost before dispatch (#9125)

Signed-off-by: LoopX Agent <[email protected]>

* fix(benchmark): restore frozen v1 archives and align checkpoint/runtime tests with C1 defaults (#9151)

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): stabilize CLI help, architecture guards, onboarding gate, and public smokes (#9152)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover report selection across python upgrades and prevent queue kill on observation monitors (#9155)

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): align extensions, chat, presentation, and transport tests for v2.4.0 (#9156)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 quota, turn-envelope, and capabilities slice (Slice B1) (#9154)

* fix(control-plane): stabilize v2.4.0 quota, turn-envelope, and capabilities slice

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): preserve tokenless identity and exact numeric types in attach_complete_turn_context

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover frozen report contract failures and rebind resumed task leases (#9157)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover pre-dispatch runtime failures across endpoints and stop receipt-unknown disk churn (#9159)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control_plane): align lease recovery, settlement readback, and runtime fixtures (#9158)

* fix(control_plane): align lease recovery, settlement readback, and runtime fixtures

Signed-off-by: LoopX Agent <[email protected]>

* fix(control_plane): forward record_capture in worker outage test and harden version type guard

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 explore, context, and checkpoint tail slice (Slice B4) (#9161)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 replan, monitor recovery, and staged-read slice (Slice B5) (#9160)

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): reconcile final v2.4.0 stabilization PRs and boundary wording (#9162)

* docs(release): reconcile final v2.4.0 stabilization PRs and boundary wording

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): align #9158 and #9161 descriptions with verified commits

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): tolerate minor JSON delimiter glitches and recover saved report candidates (#9164)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): preserve bound yardstick reversals in native replan openings (#9165)

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): recover loopback relay 401 failures and isolate test auth (#9167)

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>
Signed-off-by: cicolord <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>
Co-authored-by: cicolord <[email protected]>
Co-authored-by: huangruiteng <[email protected]>
Co-authored-by: Lusen Dong <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>
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