Preserve paged branch-local continuity semantics - #19
Merged
Conversation
dajiaohuang
force-pushed
the
audit/memory-plot-backtest-20260830
branch
from
August 30, 2026 07:17
95c37d2 to
d290b23
Compare
dajiaohuang
force-pushed
the
audit/memory-plot-backtest-20260830
branch
from
August 30, 2026 07:20
d290b23 to
f59e3e0
Compare
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.
Problem
Long campaigns exposed four authority-boundary defects: proposition-only actor-knowledge edits reset epistemic metadata and provenance; edits on a sibling branch retimestamped and reordered the current branch; fact/knowledge searches could not page beyond the first 100 results or provide cursor lookahead; and ContinuityService could neither traverse all three authority streams nor filter private facts before a player page was cut.
Solution
Verification
Compatibility
Public facades can continue enforcing their existing <=100 response pages; the 500-record service boundary allows a one-record lookahead without unbounded reads. Continuity adds an optional offset and retrieval.pagination metadata without changing the default first-page result shape. Direct ActorKnowledgeService.revise now treats omitted optional fields as unchanged; source_event_id=None remains the explicit provenance-clear operation.