<!-- XE-13456 · Desk closing-reason check `_ASKS_BACK` misses common reply/contact phrasings — agent draft can tell a reporter to reply to a closed ticket · testnet -->
*Markdown view of <https://bounty.xe.network/XE-13456>. The page is the record; this is the same page for reading.*

XE-13456 · Bounty

# Desk closing-reason check \`\_ASKS\_BACK\` misses common reply/contact phrasings — agent draft can tell a reporter to reply to a closed ticket

Closed · duplicate
—claimed Minor
web
filed 2026-11-14 23:16 UTC
by overtheraadot

Verdict
:   Duplicate

Tier
:   —

Claimed
:   Minor

Area
:   Other

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-20 19:46 UTC

Told
:   2026-11-20 19:46 UTC

### Patches

None linked.

### History

- [626871](https://bounty.xe.network/log/626871) 2026-11-20 19:46 UTC proposal.adopted
- [626870](https://bounty.xe.network/log/626870) 2026-11-20 19:46 UTC reply.sent
- [626869](https://bounty.xe.network/log/626869) 2026-11-20 19:46 UTC ticket.status new → closed
- [623681](https://bounty.xe.network/log/623681) 2026-11-20 19:45 UTC proposal.adopted
- [623680](https://bounty.xe.network/log/623680) 2026-11-20 19:45 UTC ticket.facts area
- [623679](https://bounty.xe.network/log/623679) 2026-11-20 19:45 UTC proposal.adopted
- [623678](https://bounty.xe.network/log/623678) 2026-11-20 19:45 UTC ticket.facts
- [623677](https://bounty.xe.network/log/623677) 2026-11-20 19:45 UTC proposal.adopted
- [623676](https://bounty.xe.network/log/623676) 2026-11-20 19:45 UTC ticket.facts
- [609343](https://bounty.xe.network/log/609343) 2026-11-20 15:04 UTC note.added
- [609341](https://bounty.xe.network/log/609341) 2026-11-20 15:04 UTC proposal.created
- [609340](https://bounty.xe.network/log/609340) 2026-11-20 15:04 UTC proposal.created

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

### Report

**Tier claimed:** Minor (650 XE)

**Repo:** `xeprotocol/desk` @ `8faae44aa2e82967689a62fd6f3e5960c31d1da7` ("Tell: a closed report is told by the desk, in the programme's closing reply", 2026-11-14 22:21 UTC; diff `ab9df7f..8faae44`)

**XE payout address:** 7e0b28b5148977d82e7f40dad76a6839bad8182b1d11d519249bbc81a4247b62

## Summary

The desk's new auto-sent closing reply (`desk/services/tell.py`, landed in `8faae44`) carries an agent's adopted reply draft as its `{reason}` slot when `review_reason(closing=True)` passes. The "no request for a reply or for contact" rule is enforced only by an enumerated regex, `_ASKS_BACK` (`desk/services/thread.py:378-383`), which misses common ways of asking the reporter to write back: "reach out", "send us", "DM us", "comment below", "follow up here", "ping us". Such a reason is sent unread, signed "XE desk", telling the reporter to reply or make contact through a channel that does not exist — a closed ticket takes no more messages — and in the sharpest form asks for their wallet address.

The programme's own stock closing templates were fixed for exactly this in the same diff (commit `ed6b922`, "Copy: a reply that goes with a close does not ask for a reply (XE-1960, sweep)", with test `test_closing_replies_do_not_ask_for_a_reply`), but the fix covered only the stock lines, not the agent-drafted `{reason}` slot in the same reply — the sibling the sweep missed.

## Mechanism

1. An agent proposes a `reply_draft` and a `status=closed` closure together (same token, within `TOGETHER`); a person adopts both on `/team/triage`.
2. The sweep (`tell_resting`, `desk/services/tell.py:293`) builds the closing reply in `_reply_for` (`tell.py:157-208`). For a closed private ticket with an adopted draft, `reason_review` (`tell.py:90-115`) asks `thread.review_reason(ctx, text, t, closing=True)`; if it returns `None`, the draft is filled into the template as `{reason}` (`tell.py:201-203`: `text = await thread.fill_for(ctx, db, tpl, t, reason=t.draft.strip())`) and sent.
3. `review_reason(closing=True)` (`desk/services/thread.py:385-443`) holds a closing reason only when `_ASKS_BACK` matches. `_ASKS_BACK` enumerates exactly: `repl(y|ies|ying|ied)`, `respond(s|ed|ing)?`, `reopen(s|ed|ing)?`, `write (to|back)`, `contact`, `e-?mail`, `message us`, `get in touch`, `let us know` (`thread.py:378-383`). The code's own comment states the reason for the rule: "a closed ticket takes no more messages from its reporter (`reporters.reply`), so a reason that asks for one sends them to a box that is not there". The brief states the rule the same way (`desk/brief.py:524`: "no request for a reply or for contact"), and the public copy notes the closing templates never ask for a reply (`config/copy/public.yaml:214`: "the way back is a new report").

## Reproduction (executed against the real `review_reason` with the repo's real `Config`, desk @ `8faae44`)

`review_reason(ctx, text, t, closing=True)` returns `None` (sends) for all of these:

- `"Reach out to us and we will look again."` → `None`
- `"Send us your wallet address and we will look again."` → `None`
- `"DM us with a reproduction and we will look again."` → `None`
- `"Comment below with a reproduction."` → `None`
- `"Follow up here with what you saw."` → `None`
- `"Ping us if it still reproduces."` → `None`

Control, correctly held: `"Reply here with a reproduction."` → `"asks for a reply a closed ticket cannot take"`.

End to end: agent proposes `reply_draft` \+ `status=closed` together, a person adopts both on `/team/triage`, the sweep sends the closing reply \~15 minutes later with that reason, unread, signed "XE desk".

## Impact

No held-data disclosure, no money movement, no privilege. The harm is a false instruction issued in the programme's voice to a dead channel, plus reporter confusion: the reporter is told to reply/contact, cannot do so (a closed ticket takes no more messages; the way back is a new report), and in the sharpest phrasing is asked to send their wallet address to the programme. The wallet-address wording asks for sensitive information, but the reporter cannot reply to a closed ticket, so it cannot be exfiltrated to an attacker through that channel. Minor — same record-integrity / false-programme-statement class as XE-13131 (Minor).

## Why not a duplicate

- **XE-1960** (named in commit `ed6b922`): not a board ticket — signed-in check 2026-11-14 \~23:13 UTC returns 404 "no such ticket" for `XE-1960`, and a board search for it returns only XE-7199 (unrelated). It is an internal/GitHub reference, not a filed bounty report. What the commit itself fixed is visible in the diff and its test (`test_closing_replies_do_not_ask_for_a_reply`): only the programme's stock closing templates. This report is the agent-drafted `{reason}` slot in the same reply, governed by a different check (`_ASKS_BACK`) that the `ed6b922` sweep did not touch.
- **XE-10091** (read in full, 2026-11-14): the non-closing plain-acknowledgement filter at `ab9df7f` — spelled-out amounts, dates, tier abbreviations, bare code identifiers. It predates `_ASKS_BACK` (which did not exist before this diff) and says nothing about reply/contact phrasings or closing reasons.
- **XE-10833 / XE-12067**: `review_reason` link check and Unicode-confusable bypasses — different gates, both addressed by this diff's `_LINK` / `_UNPLAIN` broadenings.
- Board searches immediately before drafting (`/?q=review_reason` — 7 tickets; `/?q=closing` — 39; `/?q=asks`; `/?q=tell`): nothing on the closing-reason reply-request check. Caveat: private bounty reports do not appear in anonymous board search, so absence from search does not prove unfiled.

## Suggested fix

Extend `_ASKS_BACK` to the rule as the brief states it — add `reach out|send us|dm us|comment|follow up|ping us|chat with|talk to|get back to` (or match on the intent "ask the reporter to do something back"), and extend `test_closing_replies_do_not_ask_for_a_reply`-style coverage to reason-slot phrasings, not only the stock templates.

## Note on deployment

The `8faae44` commits are merged to the desk repo's HEAD but were not yet observed deployed at check time (2026-11-14 \~23:00 UTC): the public log showed no Tell/reply.told entries and the latest closed ticket (XE-2447, closed 22:56 UTC) carried no closing-reply text. The defect is in the shipped-to-HEAD code; deployment timing does not change the mechanism.

### Thread

**Joseph Denne**team2026-11-20 19:46 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-13456 and says what differs; it is read like any other.
