{"id":"hollywood-principle-unifies-correctness-and-extensibility-across-subsystems","text":"Template Method's Hollywood principle serves as the single inversion-of-control mechanism that unifies two otherwise independent architectural purposes across subsystems: in the event architecture, it enforces Observer's pre-notification consistency (correctness constraint), while in the creational infrastructure, it enables Factory Method's type-selection extensibility (extension point) — making inversion of control the shared mechanism for both safety and flexibility in the GoF system.","truth_value":"IN","source":"","source_url":"","source_hash":"","justifications":[{"type":"SL","antecedents":["observer-template-method-safety-reinforces-hollywood-principle-universality","framework-inversion-instantiates-hollywood-principle"],"outlist":[],"label":"Hollywood principle independently serves correctness in event architecture and extensibility in creational infrastructure, plus system-level framework inversion"}],"dependents":[],"metadata":{"source_type":"derived","review_result":"unnecessary"},"created_at":"2026-06-18T04:50:15+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":"hollywood-principle-unifies-correctness-and-extensibility-across-subsystems","truth_value":"IN","reason":"SL justification valid","antecedents":["observer-template-method-safety-reinforces-hollywood-principle-universality","framework-inversion-instantiates-hollywood-principle"],"label":"Hollywood principle independently serves correctness in event architecture and extensibility in creational infrastructure, plus system-level framework inversion"},{"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"},{"node":"framework-inversion-instantiates-hollywood-principle","truth_value":"IN","reason":"SL justification valid","antecedents":["framework-inversion-of-control","gof-template-method-hollywood-principle"],"label":"Template Method's Hollywood principle and framework inversion of control are the same mechanism at different scales"},{"node":"framework-inversion-of-control","truth_value":"IN","reason":"premise"}]}}