{"id":"command-dual-role-decoupling-and-state","text":"Command uniquely serves a dual role in the GoF catalog: it is both a sender-receiver decoupling pattern (reifying requests as objects to parameterize invokers) and a state-capture pattern (storing request history for undo/redo alongside Memento's state snapshots) — bridging the behavioral and temporal dimensions of system design.","truth_value":"IN","source":"","source_url":"","source_hash":"","justifications":[{"type":"SL","antecedents":["command-memento-state-capture-family","four-decoupling-patterns-topology","command-encapsulates-request-as-object","command-undo-via-unexecute-and-history"],"outlist":[],"label":"Command appears in two depth-1 derivations (decoupling topology and state-capture family), confirming its dual role"}],"dependents":["behavioral-modification-taxonomy-reliable","behavioral-modification-three-dimensions","command-bridges-two-modification-dimensions","command-callback-to-compositional-participant","state-capture-extends-composition-temporally"],"metadata":{"source_type":"derived","review_result":"unnecessary"},"created_at":"2026-06-17T17:55:06+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":"command-dual-role-decoupling-and-state","truth_value":"IN","reason":"SL justification valid","antecedents":["command-memento-state-capture-family","four-decoupling-patterns-topology","command-encapsulates-request-as-object","command-undo-via-unexecute-and-history"],"label":"Command appears in two depth-1 derivations (decoupling topology and state-capture family), confirming its dual role"},{"node":"command-memento-state-capture-family","truth_value":"IN","reason":"SL justification valid","antecedents":["command-memento-token-objects","command-undo-via-unexecute-and-history","gof-memento-iteration-two-benefits"],"label":"Token objects enable temporal decoupling through captured state"},{"node":"command-memento-token-objects","truth_value":"IN","reason":"premise"},{"node":"command-undo-via-unexecute-and-history","truth_value":"IN","reason":"premise"},{"node":"gof-memento-iteration-two-benefits","truth_value":"IN","reason":"premise"},{"node":"four-decoupling-patterns-topology","truth_value":"IN","reason":"SL justification valid","antecedents":["four-patterns-decouple-senders-receivers","command-decouples-invoker-from-receiver","gof-mediator-replaces-many-to-many-with-one-to-many","chain-of-responsibility-implicit-receiver","gof-observer-intent-one-to-many-dependency"],"label":"Decoupling patterns span a topology from reified request to implicit broadcast"},{"node":"four-patterns-decouple-senders-receivers","truth_value":"IN","reason":"premise"},{"node":"command-decouples-invoker-from-receiver","truth_value":"IN","reason":"premise"},{"node":"gof-mediator-replaces-many-to-many-with-one-to-many","truth_value":"IN","reason":"premise"},{"node":"chain-of-responsibility-implicit-receiver","truth_value":"IN","reason":"premise"},{"node":"gof-observer-intent-one-to-many-dependency","truth_value":"IN","reason":"premise"},{"node":"command-encapsulates-request-as-object","truth_value":"IN","reason":"premise"}]}}