探索代理可能把代码库或规格资料留在仓库外,并向未来代理开放
原文依据:1 处可选探索步骤明确要求代理在仓库外保存 Markdown 笔记,并使所有未来子代理都能访问。指令没有限定笔记内容、保存位置、保留期限或清理方式。
笔记若包含私有代码片段、内部架构、issue 内容或其他敏感上下文,会形成仓库访问控制和正常清理流程之外的持久副本,并扩大到后续代理。
这是可选但可执行的步骤:探索代理可读取代码库文件或外部文档,并被要求把 Markdown 笔记保存在仓库外、供所有未来子代理访问。若笔记包含私有代码、规格或凭据片段,未限定的位置、访问范围和清理期限可能扩大数据暴露面。文本未证明一定写入敏感信息;用户可要求限定临时目录、排除秘密、限制为本次任务代理并在结束时清理。
2. (optional) Use an **exploration subagent** to conduct any exploration required by the tickets - relevant codebase files or external documentation. Ensure the exploration subagent can save files - it should save its markdown notes in a directory outside the repo, accessible by all future subagents. This lets **implementer subagents** focus on implementation rather than exploration.