Skip to content

feat(qa): acknowledge Mantis PR requests - #126702

Merged
obviyus merged 2 commits into
mainfrom
feat/mantis-command-ux
Aug 20, 2026
Merged

obviyus merged 2 commits into
mainfrom
feat/mantis-command-ux

Conversation

@obviyus

@obviyus obviyus commented Aug 20, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

A maintainer could mention Mantis on a pull request and see no acknowledgement. The Telegram desktop proof also required extra command wording even though the mention has one default job.

Why This Change Was Made

This adopts the small, proven ClawSweeper interaction pattern: acknowledge an authorized request immediately, expose the active workflow, and keep one durable result comment. A bare @openclaw-mantis mention now dispatches the agentic Telegram Desktop proof; remaining text is optional proof guidance. Older scenario workflows remain available through manual Actions dispatch so they cannot compete for the same mention.

User Impact

Authorized maintainers now get an immediate 👀 reaction followed by a Mantis comment linking to the active workflow. The proof, short-circuit result, and subsequent runs update that same marker-backed comment instead of adding PR comment noise.

Evidence

  • node scripts/run-vitest.mjs test/scripts/mantis-telegram-desktop-proof-workflow.test.ts test/scripts/ci-workflow-guards.test.ts (149 tests passed)
  • node scripts/check-changed.mjs -- <changed paths> (passed)
  • pnpm docs:list (passed)
  • .agents/skills/autoreview/scripts/autoreview --mode uncommitted (clean, no actionable findings)

Live GitHub acknowledgement proof requires the workflow to exist on the default branch; exact-head CI and local ClawSweeper review are the pre-merge gates.

Rank-up moves

  • Repair the fallback status ownership and add a focused regression that proves terminal replacement. — applied as a simpler terminal path: if the Mantis App cannot create its durable comment, the workflow-token fallback posts a visible failure linked to the run and fails request resolution. No proof job starts, so there is no second terminal comment or cross-owner update.
  • Capture a redacted default-branch authorized-comment run showing the acknowledgement and durable status update. — skipped pre-merge because GitHub resolves issue_comment workflows from the default branch, where this trigger change does not exist yet. The focused workflow regressions cover bare-mention dispatch, 👀 acknowledgement, exact run-link publication, and marker-backed in-place result updates; a live invocation becomes possible only after landing.
  • Confirm whether scenario-specific Mantis PR comments remain supported, then align routing tests and documentation with that decision. — owner decision confirmed by Ayaan: PR comments invoke the single agentic Mantis Telegram Desktop proof. Scenario-specific PR comment routing is intentionally retired; the scenario workflows remain available through manual Actions dispatch. Workflow triggers, routing tests, and docs all enforce that decision.

@clawsweeper

clawsweeper Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@obviyus
obviyus marked this pull request as ready for review August 20, 2026 15:03
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: S maintainer Maintainer-authored PR labels Aug 20, 2026
@obviyus
obviyus force-pushed the feat/mantis-command-ux branch 4 times, most recently from e4c11f2 to c1130df Compare August 20, 2026 15:31
@obviyus
obviyus force-pushed the feat/mantis-command-ux branch from c1130df to b18587e Compare August 20, 2026 15:37
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Aug 20, 2026
@obviyus
obviyus force-pushed the feat/mantis-command-ux branch from b18587e to 5fa5e08 Compare August 20, 2026 15:41
@obviyus
obviyus merged commit 4768ac5 into main Aug 20, 2026
147 checks passed
@obviyus
obviyus deleted the feat/mantis-command-ux branch August 20, 2026 15:49
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 21, 2026
Give maintainers immediate visibility when Mantis is requested. Bare mentions now react, link the active run, and keep one run-owned status comment through proof, short-circuit, or failure.

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant