You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "testikun (via GitHub)" <gi...@apache.org> on 2026/09/03 06:17:52 UTC

Re: [I] feat(runtime): bind Sessions and AgentRuns to immutable Connection identity [maka]

testikun commented on issue #3860:
URL: https://github.com/apache/maka/issues/3860#issuecomment-5521417176

   > *This was generated by AI during triage.*
   
   I’d like to take a bounded persistence/resolution slice for immutable Connection identity.
   
   Scope:
   - persist the canonical `connectionId + connectionSlug + model` for new and explicitly reconfigured Sessions, and copy it into new AgentRuns;
   - preserve an existing ID through branches, copies, inherited children, recovery, and continuation paths;
   - resolve bound records by ID, validate the stored slug, and fail closed on deletion, reuse, or ID/slug mismatch;
   - keep legacy slug-only records decodable and use a revision/CAS-gated lazy adoption path only where the current catalog match is provable;
   - leave the Runtime Host wire contract, CLI/TUI, Desktop pickers, and multi-account behavior unchanged in this slice.
   
   I’ll start by tracing the current resolver and persistence seams, then add focused core/storage/runtime tests for propagation and same-slug replacement safety.
   
   **中文摘要:** 认领 Connection 不可变身份的持久化与解析切片,兼容旧 slug-only 数据,并防止删除后同名连接误用旧凭据。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org