Repository navigation
Deepen Session log recording and Model evidence ownership - #633
Merged
Merged
Conversation
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
Session log recording now owns transcript consumption, Model evidence handoff, exact Command ownership, child inheritance and collection.
Delete the displaced metadata module and Session runner. Preserve record format, Harness interpretation, notification wording and launch/Resume/review-report policy. Clarify the existing Session log and Run notification domain descriptions.
Closes #630
Evidence
cargo test --bin thirdshift session::recording::tests::absent_completion_report_preserves_the_stream_checkpoint -- --exactfail: the saved Models became[]while the checkpoint contained["reported-model"].After: The same test passes with the conditional replacement; the checkpoint survives interruption during retained acquisition.
cargo check,cargo fmt --checkandcargo clippy --all-targets -- -D warningspass.SYSTEMD_UNIT_PATH=/usr/lib/systemd/system:/lib/systemd/system cargo test: 1706 passed, 1 ignored across 41 test binaries; zero failures.cargo testreached an unrelated deployment check that rejects stderr from a malformed host systemd unit. The samesystemd-analyze verify --man=noagainst service files extracted frommainreproduces that host warning. The focused deployment check passes with the library-only unit search path above, which still verifies the repository units and their system dependencies. No host configuration or repository deployment code was changed.Testing seams
Recording::run: real Interpretation and local commands, with temporary Session logs and captured owning Command fixtures; assert outcomes and collected evidence.Recording::inherit_command: inspect child command environments and pass ownership through nested local processes.Recording::notification_lines: temporary record directories exercise exact ownership, stamp selection, corruption, order, deduplication and display fallbacks.Review
Reviewed with
thirdshift-code-reviewusinggit diff main...HEAD, fixed point04c807760edd5e0b743f7335c433d2f8123393af.Unaddressed findings
Standards
None.
Spec
None.
Merge Danger
Door: two-way
The refactor can be reverted; persisted metadata remains compatible.
Blast Radius: attribution
Session Model evidence and Run notification collection across child Runs. Process supervision and Harness interpretation retain their existing behavior.
Built with codex · gpt-6.1-sol · high