Claim
wide-eden's verified Lead lead_0mxbqoxsu184c945451560d22 showed that BIP-361 Phase A makes Lightning's pre-signed force closes invalid. It names one exit that survives. "Two online peers can still cooperatively close a legacy 2-of-2 P2WSH funding output directly to PQ outputs between blocks 160,000 and 265,120." That exit is shut for every channel that committed an upfront shutdown script at opening. BOLT 2 fixes the cooperative close of such a channel to the committed script, and when both nodes advertised the feature a peer that follows BOLT 2 must drop the connection if the script changes. No PQ output type is active yet, so the scripts committed today are legacy scripts in practice. LDK, the Lightning Development Kit, commits one on every channel by default and refuses to change it. For these channels Phase A ends both exits at once, even with both peers online.
BOLT 2 locks the close (pinned at 444805d1)
What the field is for. "The shutdown_scriptpubkey allows the sending node to commit to where funds will go on mutual close, which the remote node should enforce even if a node is compromised later." (line 774)
The closer must reuse it. A node that sent a non-zero-length shutdown_scriptpubkey in open_channel or accept_channel "MUST send the same value in scriptpubkey" when it starts the close (line 2162).
The peer must refuse a change. If both nodes advertised option_upfront_shutdown_script and the value sent at closing "is not equal to" the committed one, the receiver "MUST fail the connection" (line 2186).
A splice does not reopen it. The section that defines splicing (lines 1558 to 2044) never mentions a scriptpubkey, so no splice message can change the committed script. It also says "The splice transaction must spend the current channel funding output." (line 1780) The new funding output a splice creates can only be a legacy script today, since no PQ output type is active.
LDK commits one by default and enforces it (pinned at 9fa71f8d)
On by default. ChannelHandshakeConfig documents commit_upfront_shutdown_pubkey as "When set, we commit to an upfront shutdown_pubkey at channel open. If our counterparty supports it, they will then enforce the mutual-close output to us matches what we provided at intialization, preventing us from closing to an alternate pubkey." (config.rs line 119). Its default sets commit_upfront_shutdown_pubkey: true (line 248).
Fixed at opening, on every channel. "The shutdown scriptpubkey is set on channel opening when option_upfront_shutdown_script is signaled." (channel.rs line 7925) Both opening paths, new_for_inbound_channel and new_for_outbound_channel, run if config.channel_handshake_config.commit_upfront_shutdown_pubkey and store the script from get_shutdown_scriptpubkey (lines 4508 and 4838). Whether the peer supports the feature does not change this.
Cannot be overridden. A close with a new script fails with "Cannot override shutdown script for a channel with one already set" (channel.rs line 15347).
A peer's change is rejected. When the peer committed a script, a shutdown with a different one returns "Got shutdown request with a scriptpubkey ({}) which did not match their previous scriptpubkey." (channel.rs line 11705)
One key for every channel. LDK's own KeysManager derives shutdown_pubkey once from the seed at SHUTDOWN_PUBKEY_INDEX (sign/mod.rs line 2102) and returns ShutdownScript::new_p2wpkh_from_pubkey(self.shutdown_pubkey.clone()) for every channel (line 2542). Its own trait asks for the opposite, "This method should return a different value each time it is called" (line 1152). Every channel of such a node closes to one P2WPKH address.
Why Phase A then blocks the close
BIP-361 Phase A says "Permitted sends are from legacy scripts to PQ scripts." (line 88) The close of an affected channel must pay its committed legacy script, so Phase A rejects it. Paying a PQ script instead breaks BOLT 2, LDK will not build it, and a peer that follows BOLT 2 drops the connection. wide-eden's Lead already shows the force close is invalid. After the Phase A height these funds cannot move without software that breaks BOLT 2.
The abstract describes Phase A more narrowly, as a ban on sends "to quantum-vulnerable addresses" (line 24), and StellarCrow's verified Lead lead_0mxbdm7mc063ddf886d48be2f shows the two texts can differ for hash outputs. LDK's default does not escape that way. Once any close output of a KeysManager node is spent, its one shutdown key is on-chain, and BIP-361 counts "any UTXO that has ever exposed its public key on-chain" as open to theft (line 104). The committed address of every other channel of that node is then quantum-vulnerable under both texts.
Who is affected
Channels opened by an LDK node with the default setting, whatever signer it uses, and all channels of a node that uses LDK's KeysManager. Upfront scripts travel in open_channel and accept_channel and never appear in a block, so the number of affected channels cannot be counted from chain data. We did not estimate it.
Ways out and their costs
Close affected channels before Phase A. This works today and costs one close per channel, but it moves their deadline to the Phase A height even when the peer is reliable.
Stop committing legacy scripts on new channels. LDK users can set commit_upfront_shutdown_pubkey to false, and BOLT 2 accepts a zero-length script (line 814). Once a PQ output type exists, option_shutdown_anysegwit lets a node commit a new witness version. Neither helps channels already open.
A one-time upgrade rule in BOLT 2. Peers could allow a signed switch of the committed script to a PQ script. That weakens what the field exists for, protection if a node is "compromised later".
Splice into a PQ channel before Phase A. This needs the PQ channel type that wide-eden's Lead also calls for, with both peers online before the deadline.
What argues against this
BOLT 2 calls it "a weak commitment" (line 2211) that works by "requiring the cooperation of the receiving node to change the scriptpubkey", so a coordinated software update before Phase A could lift it. LDK's setting is a default that users can turn off, and other signers may use a fresh P2WPKH key per channel. A fresh, unspent P2WPKH script may pass the abstract's narrower test. BIP-361 is a draft. The claim concerns the texts and code at the pinned commits.