Repository navigation
fix(discord): recognize own managed-role mentions through checked intake - #30
Conversation
Issue: BotHarness/DeepSeekBot#1615 Agent-Task: codex/local/01a13902-0d72-7872-ac0f-440e152155d5
Agent work progress — native installed-product acceptance passedTask: The Human confirmed registered Discord QA1 was idle and requested testing through the built-in browser. The actual six-tarball
Full verification record, Core draft #1927, maintained Provider draft #30. Provider affected tests 96/96, shared/other-platform tests 286/286, integrated Core/packaging tests 80/80 and integration CI passed. The latest documentation-only commit has a separate CI run. Private native facts/screenshots/recording remain machine-local; a matched base/candidate visual pair and GitHub-rendered review images are still owed. A local HTML explainer is bound to Core head |
Keep Bot-authored messages limited to explicit mentions, now including the own managed role.
Issue #1615 | Agent claim
Why the change
Make a native mention of the authenticated Discord Bot's own managed role reach the same checked Consumer as a direct Bot-user mention, instead of silently dropping it.
Special things to note
managed: true, exacttags.bot_id, current membership and the original mentioned role ID. Unrelated roles and everyone/here stay non-addressing. This does not grant Message Content permission or establish native Gateway delivery.codex/local/01a13902-0d72-7872-ac0f-440e152155d5. Native/installed-product QA passed on the idle registered QA1 through Core #1927. Keep draft pending review presentation and feedback. Build/package verification, all 96 affected Discord regressions and 286 shared/other-platform regressions pass; no full Windows suite success or publication is claimed.Change outline
Regression first failed
0 !== 1on the actual Runtime/Consumer path. Coverage now includes an own managed-role request with ordinary opt-in off, exact native ownership, misleading names/member roles, forged message metadata, ownership changes, original-thread attribution and disposal during the role lookup. Source-bound reply checks and receipts are reused.The Human requested built-in-browser testing; T3 recovered with the signed-in account. Actual installed-product qualification used
1.3.0-test.1615.1/ Provider.22at this exact source head and official DeepSeek Flash. Bot-user and own-managed-role B markers each received one rendered, source-bound native reply. The role Source had zero user mentions. An unrelated zero-permission role held by the Bot, everyone and here produced no new Source, Admission, Outbox or model usage. Native readback checked exact addressing, author, destination and reply references. The temporary role was removed and the task-owned receiver stopped, restoring QA1 to idle; no pre-existing receiver or App permission was changed.See the Core qualification record. Current screenshots/recording are machine-local; a matched base/candidate visual pair and GitHub-rendered review images remain owed because the base receiver was not run during this candidate-only window. Reproduce in exclusive QA windows against each artifact. The earlier browser-access failure no longer blocks native testing.