You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a server-side operation to adopt a legacy session as a chat #593
Part of #583. Depends on responsive indexed inventory.
Problem
Legacy kind=unknown sessions are inspect-only. Operators can read historical chats but cannot resume or write, even when they know a record was a top-level chat.
Decision
Adoption creates a new explicit-main session from a server-side snapshot copy and retains the original unknown source. It is not physical format migration and not in-place promotion.
Acceptance criteria
Authenticated server-side preflight returns capability and stable reason codes.
Eligible source is owned, unknown, complete, structurally valid, terminal/idle, not live/awaiting/leased, and has valid tool pairing.
Reserved child/team/parallel/scheduled prefixes or relationships remain permanently ineligible.
Workspace/environment and provider/model compatibility are explicit; missing bindings require user selection and never silently use today's default.
Revalidate every precondition at mutation time.
Success creates a new opaque main ID with equivalent transcript, valid resumable state, and an audit relationship to the source.
Cross-provider replay data follows existing neutralization rules.
Cancel/failure leaves the source untouched.
No automatic or bulk adoption and no client-side transcript upload.
Activity