*Territory · 1 understanding* ## Summary A comparison function, compareBacktests, is specified to run a current rulebook and a proposed one over the same recorded log and report what would change: newly blocked, newly allowed, other changes, and each rule's decided count before and after. The specification requires both reports to come from the same log, with the same events and the same at at every index, and treats a mismatch as an error. A "Compare with a proposed change" control snapshots the rulebook as baseline, and edits in the rulebook panel then show what would change. ## Explanation - In a specification dated Oct 19, 2026, compareBacktests(baseline, proposed) is required to take both reports from the same log — the same events and the same at at every index — and to error otherwise. - compareBacktests(baseline, proposed) requires both reports to come from the same log (same events and the same at at every index); otherwise it is an error. - In a changelog dated Oct 18, 2026, compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log and reports newly blocked, newly allowed, other changes, and each rule's decided count before and after. - compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log: newly blocked, newly allowed, other changes, and each rule… - The same changelog says "Compare with a proposed change" snapshots the rulebook as baseline, and then any edit in the rulebook panel shows what would change. - "Compare with a proposed change" snapshots the rulebook as baseline, then any edit in the rulebook panel shows what would change. ## Threads - compareBacktests(baseline, proposed) comparing a current rulebook against a proposed one on the same log - compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log: newly blocked, newly allowed, other changes, and each rule… - The same-log requirement: both reports must share the same events and the same at at every index, or it is an error - compareBacktests(baseline, proposed) requires both reports to come from the same log (same events and the same at at every index); otherwise it is an error. - "Compare with a proposed change" snapshotting the rulebook as baseline and showing what edits would change - "Compare with a proposed change" snapshots the rulebook as baseline, then any edit in the rulebook panel shows what would change. ## How it formed On Oct 18, 2026 the changelog described compareBacktests and the "Compare with a proposed change" control; on Oct 19, 2026 the specification added the requirement that both reports come from the same log. - compareBacktests(baseline, proposed) requires both reports to come from the same log (same events and the same at at every index); otherwise it is an error. - compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log: newly blocked, newly allowed, other changes, and each rule… - "Compare with a proposed change" snapshots the rulebook as baseline, then any edit in the rulebook panel shows what would change. ## What's still open The specification requires the same log for both reports and calls a mismatch an error, while the changelog does not say what happens when the logs differ. - compareBacktests(baseline, proposed) requires both reports to come from the same log (same events and the same at at every index); otherwise it is an error. - compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log: newly blocked, newly allowed, other changes, and each rule… ## Consultant **Where it shows up** — The comparison shows up as a named function, compareBacktests(baseline, proposed), and as a "Compare with a proposed change" control that snapshots the rulebook as baseline and then shows what edits would change. **A way forward** — Keep the same-log requirement explicit: state in the comparison's own documentation that both reports must share the same events and the same at at every index, and what error a mismatch raises. ## Ideas - A proposed rulebook change should be replayed against a recorded request log so the decisions it would have changed are known before it goes live. ## Understandings - compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log: newly blocked, newly allowed, other changes, and each rule's decided count before and after. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-robot-domain-rules-CHANGEL|NeuroverseOS/Neuroverseos-governance: docs/provenance/robot-domain-rules-CHANGEL]] — 2026-10-18 ## Who, where and what Things: [[Bevia/World/Things/compareBacktests(baseline, proposed)|compareBacktests(baseline, proposed)]]