Repository navigation
[#236] Single-pass Comparison selection and per-frame density - #240
Merged
Merged
Conversation
Key the Individual Analysis density memo on the canonical track references and the Analysis Window instead of the activities array, which is rebuilt on every render, so replay frames no longer recompute the density. Density output is unchanged. Ref: #236 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the post-commit reconciliation effect with a render-phase adjustment keyed on the available range and the selected Activity IDs, so selecting a Comparison never commits with the Analysis Window still covering the Primary's full range and heavy window memos run once per selection. Transitions, trigger count and reset-token steps are unchanged; render-phase updates use absolute values so StrictMode double rendering advances the token exactly once per trigger. Refs are synced in a layout effect instead of during render. Ref: #236 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This was referenced Nov 26, 2026
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.



Changes
b65cdae: the Individual Analysis HEEL/SOG density memo is keyed on the canonical track references and the Analysis Window, so replay frames no longer recompute the density. Output unchanged.1413d28: Analysis Window reconciliation on Activity/available-range changes moves from a post-commit effect to a render-phase adjustment. Selecting a Comparison no longer commits a stale window beyond P∩C, and heavy window memos run once per selection. Transitions, trigger count and reset-token steps are unchanged; StrictMode advances the token exactly once per trigger.Evidence
b65cdaeand1413d28.Accepted risk
Pre-merge profiling with the #228 driver was not run; the product owner accepted this risk. Post-deployment profiling follows the grouped release as follow-up evidence.
Ref: #236
🤖 Generated with Claude Code