cli 0.2.1: --mode / --persist flags and referencePersistMs sweep - #2
Merged
Conversation
Adds first-class CLI support for calibrating the 0.4.0 reference diff mode against a recording: - `--mode <previous|reference>` selects the diff comparison baseline. - `--persist <ms>` sets policy.referencePersistMs. - `--sweep referencePersistMs=a:b:step` finds the emit knee, e.g. `fsieve replay <dir> --mode reference --sweep referencePersistMs=0:4000:1000`. Corrects the 0.2.0 CHANGELOG, which claimed --sweep could already vary diff.mode; it could not (fixed-whitelist sweep + algorithm-only diff flag). No behavior change to existing flags. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WyitJEKkrbE4VYXnk2buwA
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.
@framesieve/cli 0.2.1 - calibrate reference mode
Completes the "tune without guesswork" story for core 0.4.0's reference diff mode.
--mode <previous|reference>selects the diff comparison baseline.--persist <ms>setspolicy.referencePersistMs.--sweep referencePersistMs=a:b:stepfinds the emit knee:Also corrects the 0.2.0 CHANGELOG, which claimed
--sweepcould already varydiff.mode(it could not).Scope
CLI-only patch (0.2.1). core stays 0.4.0, adapters 0.3.0 (unchanged). 3 new CLI tests; full
build && test (136) && lintgreen.🤖 Generated with Claude Code
https://claude.ai/code/session_01WyitJEKkrbE4VYXnk2buwA