Benjamin Wittes thinks indefinite detention will last until al-Qaeda no longer exists:

As long as the United States is fighting the Taliban, it has the authority to detain members of the Taliban. As long as the United States is fighting Al Qaeda or groups that are functionally part of or co-belligerent with Al Qaeda members, it has the authority to detain members of Al Qaeda. And when either conflict can meaningfully be said to be over, detention authority will end with it–just as detention authority did, in fact, end in Iraq.

Mary Dudziak counters.