Thanks for leading with the limits. "I'd rather hear which part breaks first than get a star" makes it easy to give useful feedback, so here's mine on your three open questions.
Path mapping: I'd go with your logical ID and build it from the git remote URL plus the path inside the repo. Store the session's cwd relative to the repo root, and on restore look for a local checkout with the same remote. That survives /Users vs D:\ and different clone folders, and it fails clearly for non-git projects instead of resuming in the wrong place.
Divergent sessions: I wouldn't try to merge them at all. Since the transcripts are mostly append-only JSONL, you can find the shared prefix by hashing lines and show the two continuations as sibling forks of one session. Nobody loses work, and the user picks which one to resume. That's probably more honest than any automatic merge.
Transport: the same append-only shape helps here. Send a byte offset plus a hash of the last synced line and ship only what's new, then fall back to a full copy when the hash doesn't match (compaction or a format change rewrites the file).
Since transcripts can hold credentials, an optional redaction pass before anything leaves the machine might be worth it even when it's self-hosted. Which agent's format has been the most painful to parse so far?
Abraam Gotsiridze
Thanks for leading with the limits. "I'd rather hear which part breaks first than get a star" makes it easy to give useful feedback, so here's mine on your three open questions.
Path mapping: I'd go with your logical ID and build it from the git remote URL plus the path inside the repo. Store the session's cwd relative to the repo root, and on restore look for a local checkout with the same remote. That survives /Users vs D:\ and different clone folders, and it fails clearly for non-git projects instead of resuming in the wrong place.
Divergent sessions: I wouldn't try to merge them at all. Since the transcripts are mostly append-only JSONL, you can find the shared prefix by hashing lines and show the two continuations as sibling forks of one session. Nobody loses work, and the user picks which one to resume. That's probably more honest than any automatic merge.
Transport: the same append-only shape helps here. Send a byte offset plus a hash of the last synced line and ship only what's new, then fall back to a full copy when the hash doesn't match (compaction or a format change rewrites the file).
Since transcripts can hold credentials, an optional redaction pass before anything leaves the machine might be worth it even when it's self-hosted. Which agent's format has been the most painful to parse so far?