Skip to content

Keep conversation history rendering off the typing path - #8781

Merged
huangruiteng merged 2 commits into
mainfrom
codex/steward-composer-input-latency-20261114
Nov 15, 2026
Merged

huangruiteng merged 2 commits into
mainfrom
codex/steward-composer-input-latency-20261114

Conversation

@loopx-agent

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

Copy link
Copy Markdown
Collaborator

Typing in a long conversation rerendered the loaded transcript on every edit. The timeline reuses its last render while only the draft changes. New messages and queue state still update it. Timeline actions use the latest committed handlers for the same conversation, so a saved suggestion appends to the text being edited.

This revision integrates the inline Goal confirmation from #8780. The stable review callback returns the prepared proposal to the draft card. The inline confirmation reaches the same conversation's current apply handler. The packaged test loses the apply response, opens the same conversation again, retries the original action, and verifies a single registered Goal. An unavailable Agent produces zero apply requests. A typed first-Turn failure remains visible in the card.

We compared packaged Chat at 74ca883d5bd3 and c34c39ab8659 using the same local HTTP/Core path and 195 synthetic messages. Twenty-four draft edits updated the history DOM props 24 times on base and zero times on the candidate.

Chromium workload Keys per build Key to next browser frame p95
1200px, normal CPU 64 14.1 → 8.2 ms
1200px, 4× slowdown, two interleaved samples 144 48.0 → 13.7 ms
390px, 4× slowdown, 2,704-character draft 64 43.5 → 15.4 ms
1200px, 4× slowdown, four replies arrive while typing 120 45.7 → 10.6 ms

Both versions display all four new replies and keep the draft. The candidate has a 72.9 ms outlier in the concurrent-delivery run. Twelve Chinese pastes per build preserve all 2,704 characters. Time to the next browser frame approximates visible input. The installed macOS WebView and physical IME need separate validation.

The exact wheel contains the same 31 current Chat assets and entry HTML tested over HTTP. Six packaged browser scenarios cover draft suggestions and inline Goal creation, keyboard/queue recovery, scoped drafts and attachments, managed Agent sessions, and source revocation/recovery. Standard local premerge passed. The patch changes no request or storage format. Rollback restores the pre-patch contents of the three files from the tested base.

First viewport in packaged Chat

The report, search and composer stay visible with the same synthetic conversation. The narrow search shows an earlier report and keeps the draft. The inline Goal examples use a disposable backend and a synthetic conversation with an intentionally failing stub Agent.

Base desktop · 1200×854 Candidate desktop · 1200×854
Base desktop Candidate desktop
Base narrow · 390×844 Candidate narrow · 390×844 Earlier report found
Base narrow Candidate narrow Narrow search retaining the draft
Inline Goal confirmation · 390×844 Inline recovery · 390×844
Ready for one confirmation Retry the original creation

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

mergify Bot commented Nov 14, 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 14, 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.1-sol · OpenAI · runtime_reported · reasoning_effort=max

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

评审提交 f48c0ac5719fb071f41d37cc70b3063fc6a445fe,对照目标基线 80c6949727c1f239fd0b105dd01cf556091c8b02。

动机 / Motivation

在 LoopX Chat 的长会话里一边阅读记录、一边输入和修改草稿的用户。 用户在含长篇报告和大量旧消息的原会话中输入、查找旧记录,并在读失败后继续修改同一份草稿。 基线在仅编辑草稿时仍更新已加载的历史行,即使历史数据未变化。 两版各用相同的 464 条历史。输入时,首条历史行的 React props 在桌面 24 次按键中从 13 次变化降为 0,窄屏 16 次从 10 次降为 0。两版键入都完整,重新打开后均读到第 465 条并保留 2,391 字符的草稿。 输入指标采样浏览器帧之间的 React props 引用;实际安装的 macOS WebView、实体输入法与主干冲突解决后的组合版本仍待验收。

改动思路 / Approach

Chat/Core 继续拥有原 Session、历史和队列。工作区页面管理草稿与当前会话动作,时间线复用可显示的数据和同行为回调。 沿用现有 ChannelTimeline 与队列投影,仅稳定每个会话的历史 props;回调随已提交的当前草稿和会话更新。

具体改动 / Changes

关键代码讲解

  • 时间线使用 React memo 复用历史节点,工作区稳定队列和消息投影 随读到的队列及会话更新。上面的次数是对浏览器帧之间的引用变化采样。
  • 当前会话动作 按会话键分派,读取已提交的最新回调。建议追加到当前草稿 在打包版保留手输文本,且没有启动模型。
  • 切换到另一个 Goal 后,对话和草稿各自保留。原历史 503 时保留原稿并禁用发送,恢复服务后点重试读回 465 条。搜索可定位旧消息,草稿建议追加到当前草稿,点击后零模型 Turn。

按 docs/architecture/rfcs/app-conversation-and-async-inbox-v0.md 核验 draft-timeline-isolation、independent-recovery 和 current-draft-action。原会话失败的标记、重试和发送状态均在打包入口实测。原会话草稿与失败恢复依据

对主干的风险 / Risks

当前主干已合入 #8780,两个会话组件发生实质 Git 冲突。解决时保留 #8780 的 Goal 草稿新动作,提交新版本后复核同一草稿和长会话用例。 主干读回为 74ca883d5bd3e4bc64671bac54210eac9e97ed05。GitHub 显示 mergeable=false,用这两个提交运行 git merge-tree 在 channel-timeline.tsx 和 personal-workspace-page.tsx 复现相同冲突。主干 Goal 草稿路径

语义与 CI 对齐

两版打包构建、会话输入与队列恢复 smoke、5 项本地预合并选中检查通过。 托管 CI 未查询。

我的整体评价 / Verdict

通过上述精确提交的独立评审。检查打包版 1200 × 854 和 390 × 844 首屏,长报告与历史查找都可见,输入框贴底,窄屏长草稿可继续编辑。该改动覆盖渲染时机,现有报告折叠方式延续。 输入指标采样浏览器帧之间的 React props 引用;实际安装的 macOS WebView、实体输入法与主干冲突解决后的组合版本仍待验收。 当前合并仍受 Git 冲突阻塞。

English verdict: APPROVE at f48c0ac. Packaged typing, scoped drafts and history recovery passed. Current-main integration is blocked by conflicts with #8780 and requires a new tested head.

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 14, 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.1-sol · OpenAI · runtime_reported · reasoning_effort=max

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

评审提交 c34c39ab86597beda2c7626e49ced1c566523454,对照目标基线 74ca883d5bd3e4bc64671bac54210eac9e97ed05。旧评审对应整合 #8780 前的版本,本次重新核了完整 diff。

动机 / Motivation

使用 LoopX Chat 在长会话里查旧记录、同时编辑草稿的用户。 载入同一份 185 条消息的中英混合历史。用户连续编辑草稿,也要能查早期报告、切换 Goal 后保留各自草稿,并确认对话里的 Goal 草稿。 主干在隔离输入试验中每次编辑都替换受测历史行的 React DOM props,工作量随已加载的会话历史增长。 隔离输入试验中,受测历史行的 props 更新从 24 次降至零。普通键盘采样的桌面计数从 24 降至 6,窄屏从 24 降至 5。两版都完整保留草稿、查找历史和 Goal 创建恢复。 证据范围是打包 Chromium 与隔离的本地 Chat 后端。已安装的 macOS WebView、实体输入法和实际输入延迟百分位仍待测。

改动思路 / Approach

Chat Store 仍负责原 Session、历史与队列,原有 typed action 负责创建和重试。工作区页面只稳定时间线的 props,并按已提交的当前会话分派动作。 只加 React memo 无法复用每次新建的队列键、过滤数组和回调引用。稳定现有数据与回调即可移除这部分输入开销,完整保留现有动作契约和失败恢复。 会话键随来源、会话或所选 Agent 改变。历史卡片调用已提交的同会话处理器,建议追加到用户正在编辑的草稿。队列读取、新消息和卡片自身状态继续驱动各自更新。

具体改动 / Changes

关键代码讲解

  • ChannelTimeline 用 React memo 复用相同输入,保留原有消息排序、查找、队列过滤和行内确认。工作区也复用可读队列的 Session/Turn 键,读取失败仍进入原重试入口。时间线和队列阅读 可读队列投影
  • timelineActions 用会话键核对当前已提交的处理器。管家和普通 Goal 的建议、准备与确认,以及 managed Goal 的取消、打断和编辑入口,沿用已有动作所有者。当前会话动作 三个时间线入口
  • goalDraftScenario 新增已输入文字后的建议测试。独立打包验证也在两版分别键入、查找第 9 项原报告、切到 Goal 再返回,读回两份独立草稿和零新 Turn。追加建议回归

基线 RFC 的 draft-timeline-isolation、independent-recovery 与 current-draft-action 均已按当前提交验证。行内确认来自已合入 #8780 的实际目标基线。原会话草稿与恢复契约 打包验收入口

对主干的风险 / Risks

同一 Session 的队列 GET 收到 503 时,两版都显示失败并保留草稿,重试后恢复。丢失创建响应时,同一草稿的连点只发一次 apply;重开后使用同一操作 ID 重试,Core 各登记一个 Goal,首轮启动失败仍可见。没有可用 Agent 时 preview 返回 409,apply 与 Goal 都为零。

同一会话的历史行 props 更新 主干 候选
隔离 24 次输入提交 24 0
桌面 24 次真实键盘事件采样 24 6
窄屏 24 次真实键盘事件采样 24 5

采样读取 React 写给首条历史行的 DOM props 引用。普通键盘两组会经过后台读取与浏览器调度,统计包括这些更新。隔离组记录了全部 24 次 React 输入提交,观察期间没有资源读完。试验里的浏览器帧时序出现节流,延迟百分位保留未验收。

语义与 CI 对齐

两版的 TypeScript 检查和 Chat 构建通过,两个 wheel 各 37 个 Chat 文件与测试资产逐字一致。两版各通过 16 项聚焦测试,候选 standard premerge 的 4 项直接检查与 5 项选中检查全部通过。 原来冲突的 #8780 已包含在目标基线。对取到的当前 main 独立运行 merge-tree 也能生成合并树。现有 Session、队列、action 字段和权限边界沿用。托管 CI 未查询。

我的整体评价 / Verdict

通过本提交的代码评审。连续编辑减少历史行更新,确认响应遗失后仍能以同一操作继续,Goal 只登记一次。1200 与 390 像素实看同一段长会话。查找、草稿卡和底部输入框都可达,窄屏没有横向溢出。行内确认和首轮失败各有自己的可操作动作。 已安装 macOS WebView 和实体输入法未进行视觉复验。 当前分支和平台状态以独立就绪检查为准。

English verdict: APPROVE at c34c39a. Packaged transcript reuse, separate drafts and original Goal confirmation recovery were verified. Installed WebView and physical IME remain unverified.

@huangruiteng
huangruiteng merged commit cbdc765 into main Nov 15, 2026
36 of 50 checks passed
@huangruiteng
huangruiteng deleted the codex/steward-composer-input-latency-20261114 branch November 15, 2026 05:16
loopx-agent added a commit that referenced this pull request Nov 15, 2026
…000 commits (#8759)

* Deliver verified images in private Lark answers

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

* Keep image retries behind new private Lark replies

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

* Recover missing images from one verified private Lark reply

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

* Use one wall clock for private Lark image retries

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

* Recheck the original Lark reply before historical image writes

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

* Verify private Lark image sources before every redirect

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

* feat(coordination): add postgresql authority checkpoints and local-to-pg-seed exporter

- Add authority_checkpoints table DDL and tenant-scoped RLS policies.
- Store incremental delta in authority_commits and bounded checkpoints every 64 commits and on genesis cursor 1, resolving table bloat and the 20,000 commit recovery ceiling.
- Implement scanCommitted bounded delta replay from covering checkpoint via AuthorityStateReplay.
- Add setupPostgreSqlAuthoritySchemaAndRole for explicit schema installation and least-privilege restricted role assembly.
- Add exportLocalToPgGenesisSeed with sanitization (expired leases, local absolute paths, .local/ references, Feishu IDs, private materials) and fail-closed privacy boundary scan.
- Add loopx postgres setup and loopx postgres local-to-pg-seed CLI commands.
- Add test suites for checkpoints, sanitization, role assembly, and CLI invocation.

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

* Recheck the historical Lark reply before each media write

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

* Retry Lark image uploads after an explicit App scope rejection

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

* Honor original Lark stop and closure before deferred images

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

* Recheck private answer control after Lark source read

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

* Read the current Core session after delayed image controls

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

* Fence private answer media dispatch with original controls

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

* Keep Lark media checks with private delivery

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

* Recheck Lark image sources after recording upload intent

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

* Read both original Feishu messages together before media upload

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

* Verify Feishu sources at the guarded image dispatch

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

* Preserve pre-dispatch Feishu source and session validation

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

* Recover and verify PostgreSQL checkpoint history with append-only privileges

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

* Verify backup history to its captured cursor beyond 20000 commits

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

* Generate explicitly synthetic secret fixtures at test time

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

* Recover private image uploads when the Lark CLI cannot start

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

* fix(chat): preserve the first Goal's registered conversation (#8798)

* fix(chat): preserve the first Goal's registered conversation

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* test(chat): keep original Goal adoption compatible with Python 3.11

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

---------

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* Avoid rereading delivered Lark settings records and empty queues

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

* Recover private Lark images after a CLI descriptor limit

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

* Enable existing checks and the original authorized Task in managed Chat

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* Reuse the canonical boundary projection and narrow Task JSON types

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* Keep confirmed Goal creation attached to its original Task (#8805)

Reuse the existing C1 source observation guard

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* Assert the lease source probe returned an observation (#8796)

(cherry picked from commit 2c099be)

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

* Recover an owed replan debit before the next host Turn (#8794)

* Recover an owed replan debit before the next host Turn

Consider the original Todo binding when an admitted replan has verified writeback. Require the exact spend receipt before another guard grants delivery, even if the Todo lifecycle has changed. Keep explicit selection on the same recovery path and let the existing settlement owner replay the original debit.

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

* Preserve ordinary completed-Todo successor admission

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

* Replay one validated Turn debit across concurrent observations

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

* Validate original Turn spend terms before debit and replay

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

---------

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

* Keep conversation history rendering off the typing path (#8781)

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

* feat(coordination): complete remote task lifecycle and opt-in gateway access (#8747) (#8765)

* feat(coordination): add complete remote task lifecycle and opt-in gateway access (#8747)

Align with PR #8747 (multi-loopx-agent-cloud-collaboration-v0) and
remote-authority-task-service-v0 (#8508):

1. Extend RemoteAuthorityService with full remote task settlement:
   - Add 'complete', 'block', 'defer', 'todo_add', and 'snapshot' operations.
   - Enforce hard-lease fencing and claim-request ownership checks.
   - Settle completion receipts and deterministic cross-machine snapshot digests.
   - Maintain default-deny Tenant/Goal/Actor authorization and incarnation pinning.

2. Introduce controlled remote authority gateway in Python control plane:
   - Default-disabled access: local private Goals never connect to remote
     authority or leak local credentials.
   - Opt-in gateway metadata projection for explicitly configured goals and
     the 'loopx-quality-review' canary.
   - Fail-closed should-run health check when remote authority is unconfigured
     or unreachable.

3. Conformance and unit test coverage across TypeScript and Python suites.

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

* test(coordination): assert subprocess readback before decoding

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

* fix(coordination): qualify explicit remote task reads and lifecycle receipts

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

* fix(coordination): preserve existing successors on remote completion

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

* test(remote-authority): prove ordinary admission stays local

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

---------

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

* test(chat): preserve create-only intent in workspace selection smoke

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

* Defer material inventory during configuration discovery (#8807)

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* Defer report providers during Turn reads

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* test(core): require installed provenance before qualification

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* Reuse the final source check for staged Turn requests (#8820)

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* Defer PR wait provider loading until permission is checked (#8821)

Load the optional PR reconciler only after the invocation-time observation permission check, inside the existing provider failure boundary. Preserve original permission, cadence, result and unknown-effect owners, and document the bounded default-closure and timing-window change.

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* Load provider options only for the selected capability editor (#8822)

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* docs: describe README session continuity directly (#8823)

* Skip automatic usage observers for supported opt-outs (#8824)

* Skip automatic usage observers for supported opt-outs

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* Record installed Core and C1 observer qualification

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

---------

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* docs(blog): add EdgeBench controlled Context ON vs OFF 10-task score comparison (#8760)

* docs(blog): add EdgeBench controlled Context ON vs OFF 10-task score comparison

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

* docs(blog): use declarative mechanism-led opening in zh context-delivery score section

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

---------

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

* fix(heartbeat): preserve proven waits before their due time (#8825)

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

* Fix manager discovery in ordinary installs (#8830)

* Package the manager discovery projection

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* Record selected manager discovery distribution qualification

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

---------

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

* test(workspace): verify confirmed Goal creation against the current contract (#8816)

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

* Fix Windows CLI output probe reader invocation (#8817)

Port the probe fixture and native Windows regression coverage from e6eb92d and 8d200aa. Decode the generated PowerShell literals into argv before launching the pinned reader.

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

* refactor(issue_fix): fold reviewer source trust/freshness vocabularies into one owner (#8826)

reviewer_recommendation.py restated the trust and freshness sets that
repository_context.py already owns. Import both as aliases of the owner
objects so the decision has a single source, and add an architecture guard
that pins single ownership by value, by identity, and by wiring through both
public builders. REVIEWER_SOURCE_KINDS stays local (deliberately narrower).

Signed-off-by: psychologister <230141834+psychologister@users.noreply.github.com>
Co-authored-by: psychologister <230141834+psychologister@users.noreply.github.com>

* fix(scheduler): reject superseded heartbeat receipts on the Python follow-up route (#8708)

* fix(scheduler): reject superseded heartbeat receipts on the Python follow-up route

The Python compatibility route for scheduler-ack-current/scheduler-fail-current
checked only that the receipt for --turn-instance-id exists; a receipt already
superseded by a newer heartbeat Turn still committed scheduler state, while the
native TypeScript transaction rejects it as heartbeat_receipt_stale.

Thread the Turn from build_scheduler_followup_payload through
record_quota_scheduler_ack / record_quota_scheduler_ack_for_decision /
record_quota_scheduler_failure_for_decision into _run_native_followup, which now
sends turn_instance_id with require_heartbeat_receipt=true. The TypeScript
transaction remains the single owner of the missing/stale/superseded fence (it
also rechecks under the scheduler state lock); optional parameters keep the
in-process API, which has no Turn, unchanged.

Fixes #8605

Signed-off-by: Lihua <1017343802@qq.com>

* Keep scheduler follow-up hint reads out of legacy migration

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

---------

Signed-off-by: Lihua <1017343802@qq.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Co-authored-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>

* Resume the original quota settlement after lifecycle writeback (#8728)

* fix(replan): resume settlement after lifecycle review writeback

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

* Recover committed replan settlement before rebuilding its review

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

---------

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

* fix(antigravity): keep the project registry in generated wakes (#8768)

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

* fix(chat): keep workspace checker reads portable (#8814)

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

* Reject external Turn retries when the captured work changes (#8828)

* Recheck captured work before launching an external Turn host

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

* Keep complete-source metadata assembly outside Turn planning

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

---------

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

* Preserve PostgreSQL runtime access and recover seed output retries

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

* Validate recovery cursor metadata without a fixed history ceiling

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

---------

Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Signed-off-by: psychologister <230141834+psychologister@users.noreply.github.com>
Signed-off-by: Lihua <1017343802@qq.com>
Co-authored-by: Lusen Dong <lusendong.6789@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>
Co-authored-by: Lusen Dong <cicomaple@gmail.com>
Co-authored-by: psychologister <st040325@gmail.com>
Co-authored-by: psychologister <230141834+psychologister@users.noreply.github.com>
Co-authored-by: Lihua <1017343802@qq.com>
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