During context-dependent decision-making, anterior lateral motor cortex is required to configure stimulus-response mappings. Two-photon imaging reveals neurons that jointly encode context and choice, suggesting that flexible behavior arises from dynamic reconfiguration of local circuits rather than abstract context representations.