<!-- XE-13763 · DAO harness: a passed resolution whose signing session fails can never execute — the worker's retry only looks for session_id == '' · testnet -->
*Markdown view of <https://bounty.xe.network/XE-13763>. The page is the record; this is the same page for reading.*

XE-13763 · Bounty

# DAO harness: a passed resolution whose signing session fails can never execute — the worker's retry only looks for session\_id \=\= ''

Closed · duplicate
—claimed Minor
web
filed 2026-11-15 04:22 UTC
by Jeri055

Verdict
:   Duplicate

Tier
:   —

Claimed
:   Minor

Area
:   DAO harness

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-15 10:27 UTC

Told
:   2026-11-15 10:27 UTC

### Patches

None linked.

### History

- [258567](https://bounty.xe.network/log/258567) 2026-11-15 10:27 UTC proposal.adopted
- [258566](https://bounty.xe.network/log/258566) 2026-11-15 10:27 UTC reply.sent
- [258565](https://bounty.xe.network/log/258565) 2026-11-15 10:27 UTC ticket.status new → closed
- [257700](https://bounty.xe.network/log/257700) 2026-11-15 10:27 UTC proposal.adopted
- [257699](https://bounty.xe.network/log/257699) 2026-11-15 10:27 UTC ticket.facts
- [257698](https://bounty.xe.network/log/257698) 2026-11-15 10:27 UTC proposal.adopted
- [257697](https://bounty.xe.network/log/257697) 2026-11-15 10:27 UTC ticket.facts
- [257696](https://bounty.xe.network/log/257696) 2026-11-15 10:27 UTC proposal.adopted
- [257695](https://bounty.xe.network/log/257695) 2026-11-15 10:27 UTC ticket.facts area
- [257694](https://bounty.xe.network/log/257694) 2026-11-15 10:27 UTC proposal.adopted
- [257693](https://bounty.xe.network/log/257693) 2026-11-15 10:27 UTC ticket.award
- [256369](https://bounty.xe.network/log/256369) 2026-11-15 10:26 UTC note.added

[Full history](https://bounty.xe.network/log?ref=XE-13763) · [JSON](https://bounty.xe.network/v1/tickets/XE-13763) · [markdown](https://bounty.xe.network/XE-13763.md)

### Report

Summary
resolutions.open\_deferred\_sessions (dao/dao/services/resolutions.py:215-226) is the worker's only retry for a passed resolution still owed its execution session, and it selects only resolutions with session\_id \=\= ''. Once open\_session writes a session id (resolutions.py:179) nothing ever clears it. If that session reaches a terminal non-submitted state, the resolution stays 'passed' forever and its ops can never execute.

Reproduction (executed end-to-end against a local Postgres 16, real route handlers and services, real ed25519 keys; the node is a stub that answers)

1. A resolution in status 'passed' with ops and session\_id\='' — the worker pass opens its session (opened\=1, session\_id set).
2. Both keyset members approve (block built) and sign; the node refuses the block for a block-level reason (non-transient XeError 400, chain unmoved, keyset still met) — sessions.\_refused sets the session to 'failed', its designed terminal state for 'building the same ops again would draw the same refusal'.
3. Worker retry pass: opened\=0. The resolution is still 'passed', still pointing at the failed session; the session count for it stays 1\.
4. A member cancels the failed session (the only act left on it) — status 'cancelled'. Retry pass again: opened\=0. Nothing changes.

There is no fallback creation path: sessions.create is called for a resolution only from open\_session, and the members' manual session routes cover only the registry/anchor record kinds. Recovery is a brand-new resolution — a different instrument with a different number, decided again — while the record keeps showing the original as passed, with its session link leading to a dead session.

Impact
A governance decision that passed can silently lose its execution to a single node refusal at submit time, with no error, no event on the resolution, and no path short of re-deciding the matter under a new number. Distinct from XE-4148 (a session marked failed whose block had in fact landed — a wrong status): here the failure is real; what is lost is the resolution's execution.

Suggested fix direction
Let the deferred-session pass also select passed resolutions whose named session is in a terminal non-submitted state (failed/cancelled) — or clear session\_id when such a session ends — so the owed execution is retried under a fresh session, with the retry on the resolution's record.

### Thread

**Joseph Denne**team2026-11-15 10:27 UTCdesk

Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the
first verifiable submission, so this one closes as a duplicate. If you believe it is a different
bug, file a new report that links https://bounty.xe.network/XE-13763 and says what differs; it is read like any other.
