Skip to content

💡 [REQUEST] - <Persistent context auto-reload for session continuity> #2144

@rustcoule1-ux

Description

@rustcoule1-ux

起始日期 | Start Date

03/28/2026

实现PR | Implementation PR

No response

相关Issues | Reference Issues

No response

摘要 | Summary

Enable automatic context persistence and reload across chat sessions. Currently, users must manually delete and re-upload session log files to maintain project continuity. This feature would allow AI to auto-read context files from project storage or designated folder, eliminating repetitive manual actions and reducing context loss risk.

基本示例 | Basic Example

Current workflow:

  1. User saves session via "SAVE" command
  2. User manually: copies text → saves to file → deletes old file → uploads new file
  3. Next session: repeat delete/upload process

Desired workflow:
Option A: Auto-reload - If file session_log.txt exists in project → auto-load at session start
Option B: Shared folder - AI monitors designated folder for context files with #SYS_CMD header
Option C: Versioned files - Auto-select latest version matching pattern *_v{N}.txt

Impact: 90% time savings (~30 sec → ~5 sec per session), reduced human error

缺陷 | Drawbacks

  • Storage management: Need to handle file versioning and cleanup
  • Privacy concerns: Ensure only user-shared files are accessible
  • Performance: Context loading should not degrade session startup time
  • Backward compatibility: Must maintain current manual workflow for existing users
  • Security: Prevent unauthorized access to context files across different users/projects

未解决问题 | Unresolved questions

  • Should this be opt-in or default behavior?
  • What is the maximum context file size limit?
  • How to handle conflicts when multiple context files exist?
  • Should context sync across devices/sessions be automatic or manual?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions