{"id":"temporal-state-preserves-encapsulation","text":"The complete temporal state infrastructure (Command for operation-level persistence, Memento for state-level persistence) is unified by encapsulation-preservation as its governing constraint: Memento's layered access architecture (narrow interface for Caretaker allowing only opaque pass-through, wide interface for Originator allowing state restoration) ensures that extending the composition paradigm from spatial object graphs into temporal undo/redo does not violate the encapsulation boundaries that make composition safe.","truth_value":"IN","source":"","source_url":"","source_hash":"","justifications":[{"type":"SL","antecedents":["command-memento-complete-temporal-infrastructure","memento-layered-encapsulation-architecture"],"outlist":[],"label":"Memento's narrow/wide interfaces ensure temporal composition preserves encapsulation"}],"dependents":["event-architecture-safely-persistent","event-architecture-temporally-persistent"],"metadata":{"source_type":"derived","review_result":"invalid"},"created_at":"2026-06-17T23:28:17+00:00","updated_at":"2026-06-18T06:15:08+00:00","reviewed_at":"2026-06-18T06:15:08+00:00","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"temporal-state-preserves-encapsulation","truth_value":"IN","reason":"SL justification valid","antecedents":["command-memento-complete-temporal-infrastructure","memento-layered-encapsulation-architecture"],"label":"Memento's narrow/wide interfaces ensure temporal composition preserves encapsulation"},{"node":"command-memento-complete-temporal-infrastructure","truth_value":"IN","reason":"SL justification valid","antecedents":["memento-captures-state-preserving-encapsulation","command-memento-complete-temporal-infrastructure"],"label":"In-memory state capture (encapsulation-preserving undo/redo) + persistent crash recovery (serialized command replay) covers both volatile and durable temporal needs"},{"node":"memento-captures-state-preserving-encapsulation","truth_value":"IN","reason":"premise"},{"node":"command-memento-complete-temporal-infrastructure","truth_value":"IN","reason":"circular dependency"},{"node":"memento-layered-encapsulation-architecture","truth_value":"IN","reason":"SL justification valid","antecedents":["memento-captures-state-preserving-encapsulation","memento-two-interfaces-narrow-and-wide","memento-caretaker-never-examines-contents"],"label":"Three independently specified Memento properties (encapsulation preservation, dual interface design, caretaker opacity) converge on a single architectural mechanism — layered access control"},{"node":"memento-two-interfaces-narrow-and-wide","truth_value":"IN","reason":"premise"},{"node":"memento-caretaker-never-examines-contents","truth_value":"IN","reason":"premise"}]}}