Decide: are calculation results authoritative records or cacheable derivations? #15
Labels
No labels
bug
decision
docs
enhancement
integration
ops
security
tech-debt
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rbrooks/BatteryStorageCalculator#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Open Question carried over from
docs/roadmap.md.Consequential: if results are cacheable derivations, they can be dropped and recomputed freely, and cleanup is trivial. If they are authoritative records, they must survive formula changes, which means historical results cannot be regenerated and must be retained as-is.
The current implementation leans ''cacheable'' - results carry a calculation version and input hash and are invalidated when either changes. But report snapshots (Milestone 17) imply some results are meant to be durable records of a point in time.
Resolving this determines the retention policy question too.
Decision (Ryan, 2026-07-17): calculation results are cacheable derivations, not authoritative records.
Consequences:
home_report_snapshots, migration 006) — anything that needs to survive formula changes should be captured as a snapshot, not by retaining raw results.Closing as decided.