Repository navigation
fix(sleep): honor configured splits in harvested task exports - #517
Open
Sylan1024 (ningsiyuan1024) wants to merge 1 commit into
Open
Sylan1024 (ningsiyuan1024) wants to merge 1 commit into
Sylan1024 (ningsiyuan1024) wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Why
A configured test split appears in a normal night but disappears when the same sessions are exported with
harvestor pinned on the first handoff round. This can change which tasks teach new rules and which tasks measure them.What changed
Resolve validation and test fractions the same way for a normal cycle, CLI harvest, and the first handoff round. A resumed handoff continues to read its saved task partitions.
The normal nightly path already honors these settings after #235.
Verification
The two new offline tests replay 24 synthetic Claude Code transcripts through the public CLI. They reproduced the mismatch on the base and now confirm identical partitions by task ID across ordinary runs, harvested exports, and handoff snapshots. The 14-test export and handoff selection passes.
On Windows Python 3.11, the full suite reports 2,535 passing tests. All 37 branch failures also occur on the same upstream base.
The human contributor is responsible for design and review. Codex implemented and tested the change.