Repository navigation
Carry exact Command ownership through Session logs and child Runs - #799
Merged
Merged
Conversation
This was referenced Oct 19, 2026
Merged
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.
Summary
Keep Session transcripts, Model evidence and review reports with their exact Command, even when Commands share an issue and start second.
Legacy logs remain readable in place. Closes #796.
Evidence
cargo test same_second_commands_keep_session_model_and_review_contents_separate -- --nocapturefailed withlost first Sessionafter the second Command replaced the first transcript.After: the regression passes and verifies both transcripts, Model notification markers and retained Standards/Spec reports. CLI fixtures verify disjoint owned and legacy Session inventories; the nested Spec → Ticket → Base-fix scenario verifies shared ownership through actual child Runs.
cargo fmt --check,cargo clippy --all-targets -- -D warnings,cargo test,cd site && npm test(13 tests), Python script tests and the pinned cargo-dist release-generator freshness check.cargo test --test progress_lines a_log_failure_still_recovers_and_reports_warnings_and_usage -- --exact --nocapture.Test seams
Logs,RecordingandSessions.Review
Reviewed against
issue-794at7a95e111fdadce6b9d6d2e52007a2b0a959b7341.site/docs/index.html. Unread changed files: none. Generated-output exclusions: none.Unaddressed findings
Merge Danger
Door: two-way
No existing logs are moved, rewritten or deleted.
Blast Radius: Logging
Session evidence, inherited ownership and log observation compatibility.
Built with codex · gpt-6.1-sol · high