Say which versions the round trip spans, and stop overstating the canary - #1
Merged
Merged
Conversation
The README claimed the round trip was verified on Claude Code 2.1.220. The source transcripts were written by 2.1.219; 2.1.220 is the version that resumed the transferred session. The build session records 2.1.219 on all 951 versioned lines and the target session records 2.1.220 on all 26. transcode.py still said the formats were checked on 2.1.207, in the docstring and in CLAUDE_VERSION_FALLBACK, which contradicted the README for anyone who opened the source. The supported prefix gate is unchanged. The canary was described as asking both agents to recall markers with no file access. Nothing enforces that. The restriction is text in the prompt, Codex runs under a read-only sandbox that still permits reads, and Claude runs with no tool restriction. Say what it actually does. The 0600 note was true of the files this tool writes and misleading about what happens next: when Codex resumes one of those targets it forks a new rollout under its own umask, world readable, holding the same conversation. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates published documentation and in-repo script headers to reflect empirically verified version spans and to avoid overstating the guarantees of the verify-drift.py compatibility canary (notably, “no file access” is a prompt instruction rather than an enforced sandbox/tool restriction).
Changes:
- Clarifies the end-to-end macOS verification statement to span Claude Code
2.1.219→2.1.220, and tightens the0600claim to “files this tool wrote” while noting Codex’s resumed fork behavior. - Rewords the
tools/verify-drift.pycanary description to describe the “no-reading” constraint as an instruction rather than an enforced restriction. - Updates
transcode.py’s documented “verified formats” versions and bumpsCLAUDE_VERSION_FALLBACK.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| skills/switch-agent/scripts/transcode.py | Updates the script’s documented verified versions and adjusts the Claude fallback version constant. |
| README.md | Corrects/clarifies verification claims (version span, file permissions nuance) and explains canary limitations around file-reading enforcement. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| CODEX_HOME = Path(os.environ.get("CODEX_HOME") or (Path.home() / ".codex")) | ||
|
|
||
| CLAUDE_VERSION_FALLBACK = "2.1.207" | ||
| CLAUDE_VERSION_FALLBACK = "2.1.220" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four claims in the published docs did not survive checking against the artifacts on disk.
2.1.2202.1.219wrote the source transcripts,2.1.220resumed the transferred sessiontranscode.pysays formats checked on2.1.2070600after native resumeThe supported version prefix gate is unchanged, so behaviour does not change.
pytest tests/passes, 68 tests.🤖 Generated with Claude Code