forked from longtao.wu/droboticflow
Introduce an optional viewAnchor viewing bookmark on ReviewProblem (sourceItemId?, sliceId, atSeconds, timeBasis) persisted via JSON/BSON. The anchor recalls the recorded picture, including for task-scope problems whose target semantics stay global zeros, and never acts as a problem target or decision gate input. canonicalReviewProblems validates the anchor against the same current reviewed evidence (aggregate source identity included), allows discarded slices as bookmarks, rejects nonfinite time and unknown bases, converts between capture-seconds and slice-seconds to the evidence's canonical basis, and clamps out-of-window time like existing record validation. Legacy problems without an anchor stay valid with no invented frame. Cover with quality/acceptance public-handler tests for anchor persistence, source isolation, invalid-anchor rejection, legacy saves and idempotent replay, plus a canonicalization unit test for nonfinite time and discarded-slice anchors.