Skip to content

cli 0.2.1: --mode / --persist flags and referencePersistMs sweep - #2

Merged
Jncch merged 1 commit into
mainfrom
feat/cli-reference-sweep
Jul 22, 2026
Merged

cli 0.2.1: --mode / --persist flags and referencePersistMs sweep#2
Jncch merged 1 commit into
mainfrom
feat/cli-reference-sweep

Conversation

@Jncch

@Jncch Jncch commented Jul 22, 2026

Copy link
Copy Markdown
Owner

@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> sets policy.referencePersistMs.
  • --sweep referencePersistMs=a:b:step finds the emit knee:
$ fsieve replay examples/meeting --mode reference --sweep referencePersistMs=0:4000:1000
  referencePersistMs   emits  ratio
  0                    7      0.116667
  1000                 6      0.100000
  2000                 5      0.083333
  3000                 4      0.066667
  4000                 3      0.050000

Also corrects the 0.2.0 CHANGELOG, which claimed --sweep could already vary diff.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) && lint green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WyitJEKkrbE4VYXnk2buwA

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
@Jncch
Jncch merged commit 73f70f9 into main Jul 22, 2026
4 checks passed
@Jncch
Jncch deleted the feat/cli-reference-sweep branch July 22, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant