Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Resume the conversation. Keep the old credentials too?

说明与用途

在保存 AI 助手会话时,旧的启动凭证可能会被持久化。新的逻辑在保存时移除它们,并在恢复时注入当前凭证,保留对话历史。

问题

When an AI assistant is resumed, the saved conversation may still contain old launch credentials, potentially exposing them or causing confusion about which credentials are active.

结果

The experiment confirmed that the new save/load logic preserves conversation history while preventing old launch credentials from being persisted. Legacy files remain unchanged until explicitly resaved, and the old credentials are not revoked by deletion.

工作流

  • 1. Launch assistant with environment variables (including credentials).
  • 2. Save session – old logic writes full environment to disk.
  • 3. Resume session – old logic loads old credentials from disk.
  • 4. New logic: on save, strip env field; on load, inject current env.
  • 5. Verify that conversation history is intact and that the file no longer contains old credentials.
  • 6. Confirm that reading a legacy file does not rewrite it; only a subsequent save removes the old env.
  • 7. Identify responsibilities for legacy files and backups.

证据

Our real-file experiment showed an easily missed state: resume used the current value while the old value remained in the file on disk.

来源

Reading and changing a file are separate operations.

来源

  • 记录日期: 2026-09-21T00:30:38.272Z