pub const MAX_EFFECTS: usize = 4096;
The most effects one live document lists: one per proposed attempt, so at most the plan’s attempt bound, and never more than this.