zai-org / zai-org/feedback

[Bug] 重启zcode会导致某些对话的上下文丢失

Open
#49 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: P2 status: 待评估 type: Bug
Dominant language
No language data
Stars
22
Forks
1
PR merge metrics
No merged PRs in 30d

Description

提交前确认 · Pre-submission checklist
  • 我已搜索过现有 issue,确认这不是重复 / I searched existing issues and confirmed this isn't a duplicate.
  • 我已阅读 CONTRIBUTING.md / I've read CONTRIBUTING.md.
问题类别 · Category

对话 / Agent 交互 · Agent chat

涉及的 Agent 框架 · Agent framework

ZCode Agent(自研)

严重程度 · Severity

影响体验 · Major (功能可用但体验受损 / works but degraded)

复现频率 · Reproducibility

必现 · Always

问题描述 · Description

当一个对话除了要使用工作目录外,还需要额外目录协作的情况下,关于额外协作目录的上下文会丢失

复现步骤 · Steps to reproduce
  1. 打开zcode
  2. 在一个工作空间下开启新/老对话
  3. 在对话中让其去操作另一个目录中的东西(举例,后端项目和前端项目分别在两个目录,在操作后端目录的时候协同去修改另一个前端项目的内容)
  4. 在完成任意的一轮/多轮协同任务任务后,退出zcode,在进入对话继续完成后续协同任务,就会出现前端项目的所有记忆丢失的问题
期望表现 · Expected behavior

能够继续在这个对话中完成协同目录开发

实际表现 · Actual behavior
Image
ZCode 版本 · ZCode version

v3.1.7

设备 / 系统 / 浏览器 · Device / OS / Browser

macos Tahoe 26.5.1

截图 / 录屏 / 日志 · Screenshots / Recordings / Logs
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue provides reproduction steps for ZCode Agent conversations that use an additional directory, but it names no source files or tests. Start by tracing how conversation context and additional working directories are persisted and restored across a restart. Done means the additional directory context remains available when the conversation is reopened.

Written by the indexing model from the issue text.

Assessment

Domain
ai
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.