{"id":"observer-template-method-safety-reinforces-hollywood-principle-universality","text":"Template Method's Hollywood principle serves dual architectural purposes in the event-driven subsystem: it enforces Observer's pre-notification consistency (guaranteeing self-consistent state before Notify) AND it enables Factory Method's creational inversion (making type selection a framework-controlled extension point), demonstrating that the Hollywood principle's inversion of control is the unifying mechanism for both correctness constraints and extensibility in the GoF system.","truth_value":"IN","source":"","source_url":"","source_hash":"","justifications":[{"type":"SL","antecedents":["observer-consistency-via-template-method","factory-method-inherits-hollywood-inversion"],"outlist":[],"label":"Two independently necessary uses of Hollywood inversion (safety and creation) converge through Template Method, revealing Hollywood as a deeper architectural primitive"}],"dependents":["hollywood-principle-unifies-correctness-and-extensibility-across-subsystems"],"metadata":{"source_type":"derived","review_result":"invalid"},"created_at":"2026-06-18T04:39:57+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":"observer-template-method-safety-reinforces-hollywood-principle-universality","truth_value":"IN","reason":"SL justification valid","antecedents":["observer-consistency-via-template-method","factory-method-inherits-hollywood-inversion"],"label":"Two independently necessary uses of Hollywood inversion (safety and creation) converge through Template Method, revealing Hollywood as a deeper architectural primitive"},{"node":"observer-consistency-via-template-method","truth_value":"IN","reason":"SL justification valid","antecedents":["gof-observer-notify-after-consistent-state","gof-template-method-hollywood-principle"],"label":"Observer's consistency requirement and Template Method's inverted control connect as enforcement mechanism to correctness constraint"},{"node":"gof-observer-notify-after-consistent-state","truth_value":"IN","reason":"premise"},{"node":"gof-template-method-hollywood-principle","truth_value":"IN","reason":"premise"},{"node":"factory-method-inherits-hollywood-inversion","truth_value":"IN","reason":"SL justification valid","antecedents":["factory-method-called-within-template-methods","gof-template-method-hollywood-principle"],"label":"Factory Method as Template Method primitive operation inherits Hollywood principle's inverted control structure"},{"node":"factory-method-called-within-template-methods","truth_value":"IN","reason":"premise"}]}}