Point backend at run_shell and run_python executors
Why: the deliverable workflow prompts call run_shell and run_python, but those tools were not in the registered binary, so generation fell back to text-only write_artifact. Evidence: backend feature/exec-interpreters 2880b58; go test ./... 19 packages ok in modules/backend. Impact: Dev gitlink moves to the interpreter commit. Merge the backend PR before this one so the recorded SHA is on backend main. Refs: task feature/exec-interpreters Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
# feature/exec-interpreters 任务卡
|
||||
|
||||
任务主记录:<PR 链接,task-finish 时填写>;状态:进行中;owner:weichen
|
||||
任务主记录:<PR 链接,推送后回填>;状态:进行中;owner:weichen
|
||||
|
||||
## 基线与授权
|
||||
|
||||
- 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)= 4c4071e5d8e256dd8f82ba9c74efa1effd1e9df3
|
||||
- 工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-exec-interpreters(worktree);分支:feature/exec-interpreters
|
||||
- 授权与交付终点:<本次允许的动作与终点;未授权事项写明>
|
||||
- 授权与交付终点:落地 run_shell / run_python 并打开 Backend 与 Dev PR。合入 main 由所有者执行。不恢复 write_docx。
|
||||
|
||||
## 目标与非目标
|
||||
|
||||
<预期结果、受影响入口/模块/契约;明确不做什么。>
|
||||
- 目标:注册 run_shell / run_python。脚本落盘到会话沙箱 .agent/ 并保留;解释器限 bash / python3 绝对路径;超时与请求取消先到者生效,超时杀掉进程组;非零退出与超时以文本返回。
|
||||
- 附带:register_artifact 按扩展名写入 Office/PDF/图片 MIME,避免二进制被当成文本索引。
|
||||
- 非目标:写侧护栏与 indexTextOf(feature/binary-doc-index)、预览嗅探、输入排队。
|
||||
|
||||
## 同步记录
|
||||
|
||||
@@ -20,6 +22,6 @@
|
||||
|
||||
## 结果与验证(完成后填写)
|
||||
|
||||
- 结果:
|
||||
- 验证:
|
||||
- 影响与剩余项:
|
||||
- 结果:Backend feature/exec-interpreters @ 2880b58 注册两个执行器,并在 app.go 挂上。
|
||||
- 验证:Backend `go test ./...` 19 包 ok(含 echo 留痕、空脚本、runtime.exec 闸、进程组超时、python ZIP 魔数、register_artifact 回填)。
|
||||
- 影响与剩余项:模型可执行工作区脚本并登记二进制交付物。Dev 组合验证见本卡同步后的 make test 记录。
|
||||
|
||||
+1
-1
Submodule modules/backend updated: 3c08f9008e...2880b58b7b
Reference in New Issue
Block a user