Repository navigation
Store Session logs beside their owning Command log - #602
Merged
Merged
Conversation
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
Session logs now sit beside their owning Command log. Dispatched Runs, Tickets and Base fixes inherit that command's folder; existing logs stay in place.
Closes #599
Evidence
cargo test --test command_logs a_pickup_spec_keeps_its_tickets_session_logs_beside_its_command_log -- --exactfailed:commands/pickup/lacked Tickets 21 and 22's transcripts. The plain Run and Pickup Run regression tests also reproduced the old destination.After: The same test passes.
cargo test --test command_logspasses all 11 tests, including child Ticket inheritance, Architect dispatch, Base fixes and failure paths.cargo test --no-fail-fastpasses the full suite.cargo clippy --all-targets -- -D warningsandcargo fmt --checkpass.commands/secure/.cargo test --test continuationpasses all 8 tests; no-session assertions now check transcript files rather than shared-directory absence.Test seams
Review
Standards: one finding, addressed by sharing
CommandKind::folder()across Command and Session log paths. Spec: no findings. Both axes reviewed all 33 changed files, including the folder-mapping correction; no changed file was left unread. Reports are saved to.thirdshift-review-JVNwYE/standards.mdand.thirdshift-review-JVNwYE/spec.mdin the session worktree.Security: completed a single-session guidance review of
1e73f4fdbd398e7c4b664367b0d07faf208b70cc...HEAD, including supporting code and relevant attack-class guidance. Checked folder allowlisting, child argument propagation, log creation and consumers, and failure paths against the repository's trust and confidentiality ADRs. No introduced Security findings or proof-of-concept candidates were identified. This pass used source inspection; no tests were run and no source changes were made.Unaddressed findings
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Reverting restores the destination for future Session logs; existing files are not moved.
Blast Radius: logging
Tools that read the old Session log folder need the new command folder. An obstructed command folder now also prevents starting a session, because its Session log cannot be created there.
Built with codex · gpt-6.1-sol · high