boardx / boardx/workspacex

data-gap(chat): agent run 无真实暂停/取消能力(D10 后半,需后端新契约)

Open
#2,281 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
1h 7m
Merged PRs (30d)
969

Description

## 背景

`chat-main-fidelity-rubric.md` D10 要求 agent 执行中的行内操作卡带「暂停」按钮。调查结论(见 #2280):

- 后端 run 执行路径(`apps/api/src/application/agent-run/execute-run.ts` 等)没有任何取消/暂停操作。
- `packages/contracts` 里没有任何 `cancelRun`/`pauseRun` 之类的操作定义。

要诚实实现,需要后端:
1. 设计"暂停一个正在执行的 run"在语义上是什么(真中断模型调用?还是让当前工具调用跑完但不再规划下一步?)——这是产品/架构决策,不是纯前端能定。
2. 新增契约操作 + 执行器里对应的可中断点。

这是一次新的能力面,不是保真度修复能补的空缺。本 issue 只记录数据缺口,不实现、不伪造。

## 关联

总览:#2268;同批调查:#2280

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the findings in #2280, then inspect apps/api/src/application/agent-run/execute-run.ts and the packages/contracts definitions. First resolve whether pausing means interrupting the model call or allowing the current tool call to finish. Done requires an agreed semantic model, a new operation contract, and corresponding interruptible execution points; this issue explicitly does not implement them.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.