Skip to content

fix: ask_user suggests tapping options without buttons - #137978

Merged
steipete merged 5 commits into
openclaw:mainfrom
harshitgupta31415:fix/ask-user-reply-guidance
Sep 6, 2026
Merged

steipete merged 5 commits into
openclaw:mainfrom
harshitgupta31415:fix/ask-user-reply-guidance

Conversation

@harshitgupta31415

@harshitgupta31415 harshitgupta31415 commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Closes #135354

Maintainer validation update

Composed head: 70e8a5c96abc042a6ae74e1a40478f406d687035.

This refresh incorporates protected main 0ebb320906da7e1727934b3cf816cedf98270357, including the landed CI output-size repair #140018, while preserving the contributor's commit history and the same guidance fix. Production remains net −2 lines; tests are net +54.

The historical hosted run verified two intended failures at the real Teams card assertion and 209 passing candidate tests. Main subsequently added question-delivery generation tracking and unrelated handler coverage. The composed candidate has fresh source reviews and a completed green refresh: 217 tests passed across five suites, including both real Teams renderer cases and the tool/harness delivery-generation cases, with all three source hashes verified. Fresh exact-head CI passed at this head, including the restored fork-profile preflight. The Gateway/Telegram evidence below remains explicitly attributed to the original synthetic run.

What Problem This Solves

Fixes an issue where users answering an ask_user prompt are told to tap an option when their channel renders no tappable question control. MS Teams, for example, preserves the instruction while omitting unsupported question actions.

Why This Change Was Made

Reuse the existing plain-text reply guidance in the shared rich presentation so both describe the supported typed-reply path. Existing question actions, option order, custom-answer behavior, and channel capabilities remain unchanged; this does not add buttons to individual channels or introduce a capability API.

User Impact

Users receive accurate reply instructions whether their channel renders native question buttons or text-only options. Channels with question buttons retain those controls. No configuration or dependency changes are required.

Evidence

Running-Gateway behavior proof: PASS

Added in response to the behavior-proof review, on unchanged head 391b9c323d23e998fb17d8f47e7ad5ce1803a867.

A real ephemeral Gateway and the real Telegram plugin completed both native typed-reply flows. Only the external model and Telegram HTTP API were mocked on loopback. This uses the repository's createQaGatewayChild and startQaMockOpenAiServer helpers; the full verdict, wire transcript, and test-only reproduction driver are below. This is the mock-channel + mock-provider + ephemeral-Gateway evidence shape permitted by AGENTS.md, not a claim of live Telegram verification.

Native incoming answer Actual stored question answer Actual final outgoing rich message
2 Production 🚀 ASK-USER-SINGLE-OK | deploy=Production 🚀
night-shift night-shift ASK-USER-SINGLE-OK | deploy=night-shift

Both actual outgoing sendRichMessage requests contain:

Reply with the number, the option text, or your own answer.

  • The checked text is in the rich-message request body, not the already-correct plain-text fallback and not a mock-generated expectation.
  • Native Staging / Production / Other controls remain in reply_markup.inline_keyboard; declared-choice callback data is nonempty and within the Telegram size limit. This run checks retained controls, not clicking them.
  • The question changes from pending to answered through normal inbound Telegram updates. The resumed model request contains the real returned tool answer, followed by the channel's final rich-message delivery. No question.resolve RPC, renderer mock, answer-handler mock, or product auth-policy bypass is used.
  • Run window: 2026-09-04T08:13:31.357Z–2026-09-04T08:15:55.677Z. Verdict PASS, both cases passed, no mock API errors, Gateway process confirmed stopped with no cleanup errors.
  • The source checkout and build stamp both identify the reviewed head. No production/test assertions, dependencies, or PR commits were changed for this evidence.

Scope and limitations

This is deterministic local HTTP evidence, not screenshots, a live Telegram client, Teams service, Feishu service, or Telegram Test Server/userbot proof. The live Telegram skill's required shared-account tooling/auth was unavailable, so that path was not bypassed. Telegram rich messages were explicitly enabled to cover the changed presentation; streaming was off.

A prior Teams mock-Connector run also captured a genuinely sent buttonless Adaptive Card with the corrected instruction (below). Its operator-created question could not be answered by a different channel identity: the normal caller-policy guard rejected it. That attempted Teams roundtrip failed and is not counted as a passing end-to-end case. The two passing complete roundtrips above are native Telegram-origin questions and replies from the same synthetic chat/user.

Windows setup needed a parent-process-only staging adapter: privileged file symlinks were copied byte-for-byte into the harness-owned staging tree; directory links use junctions when needed. Product child-process code and access checks were not patched. The installed Crabline recorder separately rejected this machine's directory permissions; that failed fixture was abandoned, not weakened. The successful run uses a small explicit loopback Bot API fixture with an allowlist of two synthetic users, an authenticated local injection endpoint, and strict failure on unimplemented Bot API methods. Its rich-message request/response shape follows the installed grammY types and Telegram's Bot API contract. All identifiers below are synthetic test identifiers; no real account credentials or private conversations are included.

Exact successful verdict JSON
{
  "verdict": "PASS",
  "head": "391b9c323d23e998fb17d8f47e7ad5ce1803a867",
  "buildHead": "391b9c323d23e998fb17d8f47e7ad5ce1803a867",
  "startedAt": "2026-09-04T08:13:31.357Z",
  "finishedAt": "2026-09-04T08:15:55.677Z",
  "environment": "Windows; real Gateway + real Telegram plugin; mock model + loopback mock Bot API",
  "entrypoint": "Both prompt and typed answer arrive as native Telegram updates for the same synthetic user/chat",
  "liveTelegram": false,
  "questionResolveRpcUsed": false,
  "telegramConfig": {
    "richMessages": true,
    "streaming": {
      "mode": "off"
    }
  },
  "mockApi": "Loopback-only HTTP Bot API fixture implementing getUpdates and sendRichMessage using installed grammY contract; no renderer or answer-handler mocks",
  "windowsStaging": {
    "copiedFileSymlinks": 5822,
    "directoryJunctions": 0,
    "productRuntimeModified": false
  },
  "cases": [
    {
      "case": "number",
      "questionId": "ask_3ed577c709e067d8f9cb55acaeb96389",
      "pendingStatus": "pending",
      "promptMethod": "sendRichMessage",
      "richMessageRequest": {
        "blocks": [
          {
            "type": "paragraph",
            "text": "Where should this deploy?"
          },
          {
            "type": "list",
            "items": [
              {
                "blocks": [
                  {
                    "type": "paragraph",
                    "text": "Staging (Recommended): Safer default"
                  }
                ]
              },
              {
                "blocks": [
                  {
                    "type": "paragraph",
                    "text": "Production 🚀: Ship to users"
                  }
                ]
              }
            ]
          },
          {
            "type": "paragraph",
            "text": "Reply with the number, the option text, or your own answer."
          }
        ]
      },
      "inlineKeyboard": [
        [
          {
            "text": "Staging (Recommended)",
            "callback_data": "tgq1:ask_3ed577c709e067d8f9cb55acaeb96389:0"
          }
        ],
        [
          {
            "text": "Production 🚀",
            "callback_data": "tgq1:ask_3ed577c709e067d8f9cb55acaeb96389:1"
          }
        ],
        [
          {
            "text": "Other…",
            "callback_data": "tgqo1:ask_3ed577c709e067d8f9cb55acaeb96389"
          }
        ]
      ],
      "typedInbound": "2",
      "terminalStatus": "answered",
      "terminalAnswers": {
        "answers": {
          "deploy_target": [
            "Production 🚀"
          ]
        }
      },
      "toolOutput": "Deploy: Production 🚀\n\n{\n  \"status\": \"answered\",\n  \"answers\": {\n    \"answers\": {\n      \"deploy_target\": [\n        \"Production 🚀\"\n      ]\n    }\n  }\n}",
      "finalMethod": "sendRichMessage",
      "finalRichMessage": {
        "blocks": [
          {
            "type": "paragraph",
            "text": "ASK-USER-SINGLE-OK | deploy=Production 🚀"
          }
        ]
      },
      "deliveredFinal": "ASK-USER-SINGLE-OK | deploy=Production 🚀"
    },
    {
      "case": "custom-text",
      "questionId": "ask_67012e0c1995652e9cb4018cbe3e7ab9",
      "pendingStatus": "pending",
      "promptMethod": "sendRichMessage",
      "richMessageRequest": {
        "blocks": [
          {
            "type": "paragraph",
            "text": "Where should this deploy?"
          },
          {
            "type": "list",
            "items": [
              {
                "blocks": [
                  {
                    "type": "paragraph",
                    "text": "Staging (Recommended): Safer default"
                  }
                ]
              },
              {
                "blocks": [
                  {
                    "type": "paragraph",
                    "text": "Production 🚀: Ship to users"
                  }
                ]
              }
            ]
          },
          {
            "type": "paragraph",
            "text": "Reply with the number, the option text, or your own answer."
          }
        ]
      },
      "inlineKeyboard": [
        [
          {
            "text": "Staging (Recommended)",
            "callback_data": "tgq1:ask_67012e0c1995652e9cb4018cbe3e7ab9:0"
          }
        ],
        [
          {
            "text": "Production 🚀",
            "callback_data": "tgq1:ask_67012e0c1995652e9cb4018cbe3e7ab9:1"
          }
        ],
        [
          {
            "text": "Other…",
            "callback_data": "tgqo1:ask_67012e0c1995652e9cb4018cbe3e7ab9"
          }
        ]
      ],
      "typedInbound": "night-shift",
      "terminalStatus": "answered",
      "terminalAnswers": {
        "answers": {
          "deploy_target": [
            "night-shift"
          ]
        }
      },
      "toolOutput": "Deploy: night-shift\n\n{\n  \"status\": \"answered\",\n  \"answers\": {\n    \"answers\": {\n      \"deploy_target\": [\n        \"night-shift\"\n      ]\n    }\n  }\n}",
      "finalMethod": "sendRichMessage",
      "finalRichMessage": {
        "blocks": [
          {
            "type": "paragraph",
            "text": "ASK-USER-SINGLE-OK | deploy=night-shift"
          }
        ]
      },
      "deliveredFinal": "ASK-USER-SINGLE-OK | deploy=night-shift"
    }
  ],
  "proxyErrors": [],
  "cleanup": {
    "process": "confirmed-stopped",
    "errors": []
  }
}
Actual successful wire transcript (JSONL)
{"timestamp":"2026-09-04T08:15:25.333Z","direction":"bot-api-control","method":"deleteWebhook"}
{"timestamp":"2026-09-04T08:15:25.337Z","direction":"bot-api-control","method":"deleteMyCommands"}
{"timestamp":"2026-09-04T08:15:25.527Z","direction":"bot-api-control","method":"deleteMyCommands"}
{"timestamp":"2026-09-04T08:15:26.524Z","direction":"bot-api-control","method":"setMyCommands"}
{"timestamp":"2026-09-04T08:15:29.952Z","direction":"inbound","chatId":"100001","text":"Structured question QA check. Ask one deploy question and read its actual returned answer. QA routing marker: tool search qa check target=ask_user ask_user_fixture=single.","httpStatus":200,"messageId":1}
{"timestamp":"2026-09-04T08:15:30.598Z","direction":"bot-api-control","method":"setMyCommands"}
{"timestamp":"2026-09-04T08:15:31.896Z","direction":"bot-api-control","method":"sendChatAction"}
{"timestamp":"2026-09-04T08:15:39.565Z","direction":"bot-api-control","method":"sendChatAction"}
{"timestamp":"2026-09-04T08:15:43.593Z","direction":"outbound","method":"sendRichMessage","request":{"chat_id":"100001","rich_message":{"blocks":[{"type":"paragraph","text":"Where should this deploy?"},{"type":"list","items":[{"blocks":[{"type":"paragraph","text":"Staging (Recommended): Safer default"}]},{"blocks":[{"type":"paragraph","text":"Production 🚀: Ship to users"}]}]},{"type":"paragraph","text":"Reply with the number, the option text, or your own answer."}]},"reply_markup":{"inline_keyboard":[[{"text":"Staging (Recommended)","callback_data":"tgq1:ask_3ed577c709e067d8f9cb55acaeb96389:0"}],[{"text":"Production 🚀","callback_data":"tgq1:ask_3ed577c709e067d8f9cb55acaeb96389:1"}],[{"text":"Other…","callback_data":"tgqo1:ask_3ed577c709e067d8f9cb55acaeb96389"}]]}},"accepted":true,"messageId":10000000}
{"timestamp":"2026-09-04T08:15:43.711Z","direction":"inbound","chatId":"100001","text":"2","httpStatus":200,"messageId":2}
{"timestamp":"2026-09-04T08:15:44.758Z","direction":"bot-api-control","method":"sendChatAction"}
{"timestamp":"2026-09-04T08:15:45.741Z","direction":"outbound","method":"sendRichMessage","request":{"chat_id":"100001","rich_message":{"blocks":[{"type":"paragraph","text":"ASK-USER-SINGLE-OK | deploy=Production 🚀"}]}},"accepted":true,"messageId":10000001}
{"timestamp":"2026-09-04T08:15:45.814Z","direction":"inbound","chatId":"100002","text":"Structured question QA check. Ask one deploy question and read its actual returned answer. QA routing marker: tool search qa check target=ask_user ask_user_fixture=single.","httpStatus":200,"messageId":3}
{"timestamp":"2026-09-04T08:15:46.273Z","direction":"bot-api-control","method":"sendChatAction"}
{"timestamp":"2026-09-04T08:15:47.891Z","direction":"outbound","method":"sendRichMessage","request":{"chat_id":"100002","rich_message":{"blocks":[{"type":"paragraph","text":"Where should this deploy?"},{"type":"list","items":[{"blocks":[{"type":"paragraph","text":"Staging (Recommended): Safer default"}]},{"blocks":[{"type":"paragraph","text":"Production 🚀: Ship to users"}]}]},{"type":"paragraph","text":"Reply with the number, the option text, or your own answer."}]},"reply_markup":{"inline_keyboard":[[{"text":"Staging (Recommended)","callback_data":"tgq1:ask_67012e0c1995652e9cb4018cbe3e7ab9:0"}],[{"text":"Production 🚀","callback_data":"tgq1:ask_67012e0c1995652e9cb4018cbe3e7ab9:1"}],[{"text":"Other…","callback_data":"tgqo1:ask_67012e0c1995652e9cb4018cbe3e7ab9"}]]}},"accepted":true,"messageId":10000002}
{"timestamp":"2026-09-04T08:15:47.990Z","direction":"inbound","chatId":"100002","text":"night-shift","httpStatus":200,"messageId":4}
{"timestamp":"2026-09-04T08:15:49.563Z","direction":"outbound","method":"sendRichMessage","request":{"chat_id":"100002","rich_message":{"blocks":[{"type":"paragraph","text":"ASK-USER-SINGLE-OK | deploy=night-shift"}]}},"accepted":true,"messageId":10000003}
Additional Teams card delivery evidence — not a completed roundtrip

Captured by the loopback Bot Framework Connector at 2026-09-04T07:54:33.396Z, after the real Gateway / Teams outbound path. The actual Adaptive Card has no actions field:

{
  "type": "AdaptiveCard",
  "version": "1.4",
  "body": [
    {
      "type": "TextBlock",
      "text": "Where should this deploy?",
      "wrap": true
    },
    {
      "type": "TextBlock",
      "text": "- Staging (Recommended): Safer default\n- Production 🚀: Ship to users\n\nReply with the number, the option text, or your own answer.",
      "wrap": true
    }
  ]
}

The later ordinary Teams reply was rejected with: question answer caller policy does not match its creator. Cleanup confirmed the Gateway stopped. This is supporting buttonless-card delivery evidence only, not a PASS verdict.

Reproduce the passing Gateway + Telegram run

On this exact PR head with repository dependencies installed, build the private QA runtime:

OPENCLAW_BUILD_PRIVATE_QA=1 node --import ./scripts/tsx.mjs scripts/build-all.mts qaRuntime

PowerShell equivalent: set $env:OPENCLAW_BUILD_PRIVATE_QA='1' before the node command. The exact-head build completed successfully, including the runtime post-build checks and build stamp.

Save the following test-only driver as extensions/qa-lab/.qa-ask-user-telegram-proof.mts, then run from the repo root:

node --import ./scripts/tsx.mjs extensions/qa-lab/.qa-ask-user-telegram-proof.mts

The driver asserts an unchanged tracked checkout and matching build stamp; it emits verdict.json, transcript.jsonl, and diagnostics under .artifacts/qa-e2e/ask-user-telegram-<timestamp>. It exits nonzero unless both cases and cleanup pass. The driver is evidence tooling only and is not included in the three-file production/test PR diff.

// Temporary, uncommitted PR #137978 proof. External Bot API and model only are mocked.
import assert from "node:assert/strict";
import { execFileSync } from "node:child_process";
import fs from "node:fs/promises";
import path from "node:path";
import { createServer } from "node:http";
import { once } from "node:events";
import { setTimeout as sleep } from "node:timers/promises";
import { randomUUID } from "node:crypto";
import { loadBundledPluginPublicSurfaceModuleSync } from "openclaw/plugin-sdk/facade-runtime";

const qa = loadBundledPluginPublicSurfaceModuleSync<any>({ dirName: "qa-lab", artifactBasename: "api.js" });
const repoRoot = process.cwd();
const head = execFileSync("git", ["rev-parse", "HEAD"], { encoding: "utf8" }).trim();
assert.equal(execFileSync("git", ["diff", "HEAD", "--stat"], { encoding: "utf8" }).trim(), "");
const buildStamp = JSON.parse(await fs.readFile(path.join(repoRoot, "dist/.buildstamp"), "utf8"));
assert.equal(buildStamp.head, head);
const outputDir = path.resolve(repoRoot, ".artifacts/qa-e2e", "ask-user-telegram-" + Date.now());
await fs.mkdir(outputDir, { recursive: true });
console.log("Proof output: " + outputDir);
const events: any[] = [];
const proofs: any[] = [];
const record = async (event: any) => {
  const row = structuredClone({ timestamp: new Date().toISOString(), ...event });
  await fs.appendFile(path.join(outputDir, "transcript.jsonl"), JSON.stringify(row) + "\n");
  events.push(row);
};
const waitFor = async (label: string, check: () => any, timeoutMs = 45000) => {
  const deadline = Date.now() + timeoutMs;
  while (Date.now() < deadline) {
    const value = await check();
    if (value) return value;
    await sleep(100);
  }
  throw new Error("Timeout waiting for " + label);
};
const fetchJson = async (url: string) => {
  const response = await fetch(url, { signal: AbortSignal.timeout(10000) });
  assert.ok(response.ok, "HTTP " + response.status);
  return await response.json() as any;
};
const owner = qa.createQaGatewayChild();
let mock: any, proxy: any, gateway: any, failure: any, cleanup: any;
const proxyErrors: string[] = [];
const startedAt = new Date().toISOString();
// Parent-only filesystem portability adapter, not a product/runtime mock.
// Windows cannot create file symlinks without additional privileges. Preserve
// identical file bytes in the harness-owned staging tree instead. Directory
// junctions and every other filesystem operation retain their original behavior.
const originalSymlink = fs.symlink;
const originalCopy = fs.cp;
let stagedFileCopies = 0;
let stagedDirectoryJunctions = 0;
const isOwnedStage = (source: any, target: any) => {
  const sourceRelative = path.relative(repoRoot, path.resolve(String(source)));
  const targetRelative = path.relative(path.join(repoRoot, ".artifacts/qa-runtime"), path.resolve(String(target)));
  return !sourceRelative.startsWith("..") && !path.isAbsolute(sourceRelative) &&
    /^openclaw-qa-suite-[^\\/]+[\\/]/u.test(targetRelative);
};
fs.symlink = (async (source: any, target: any, type: any) => {
  try {
    return await originalSymlink(source, target, type);
  } catch (error: any) {
    const relativeSource = path.relative(repoRoot, path.resolve(String(source)));
    const relativeTarget = path.relative(path.join(repoRoot, ".artifacts/qa-runtime"), path.resolve(String(target)));
    if (process.platform !== "win32" || error.code !== "EPERM" || type !== "file" ||
        relativeSource.startsWith("..") || path.isAbsolute(relativeSource) ||
        !/^openclaw-qa-suite-[^\\/]+[\\/]/u.test(relativeTarget)) throw error;
    await fs.copyFile(source, target, 1);
    stagedFileCopies++;
  }
}) as typeof fs.symlink;
// fs.cp has an internal symlink implementation, so apply the same directory
// junction/file-copy policy to dependency links while copying an owned plugin.
fs.cp = (async (source: any, target: any, options: any = {}) => {
  if (process.platform !== "win32" || !isOwnedStage(source, target)) {
    return originalCopy(source, target, options);
  }
  return originalCopy(source, target, { ...options, filter: async (from: string, to: string) => {
    if (options.filter && !(await options.filter(from, to))) return false;
    if (!(await fs.lstat(from)).isSymbolicLink()) return true;
    assert.ok(isOwnedStage(from, to), "Dependency link must stay in owned QA staging");
    if ((await fs.stat(from)).isDirectory()) {
      await originalSymlink(await fs.realpath(from), to, "junction");
      stagedDirectoryJunctions++;
    } else {
      await fs.copyFile(from, to, 1);
      stagedFileCopies++;
    }
    return false;
  } });
}) as typeof fs.cp;
try {
  mock = await qa.startQaMockOpenAiServer();
  const botToken = "424242:local-qa-only";
  const adminToken = randomUUID();
  const tokenPrefix = "/bot" + botToken + "/";
  const updates: any[] = [];
  let nextUpdateId = 1;
  let nextInboundId = 1;
  const botUser = { id: 424242, is_bot: true, first_name: "QA Bot", username: "qa_proof_bot",
    can_join_groups: true, can_read_all_group_messages: true, supports_inline_queries: false };
  let nextRichId = 10000000;
  const richMessages = new Map<number, any>();
  proxy = createServer((request: any, response: any) => {
    void (async () => {
      const method = new URL(request.url, "http://127.0.0.1").pathname.split("/").at(-1)!;
      const chunks: Buffer[] = [];
      for await (const chunk of request) chunks.push(Buffer.from(chunk));
      const raw = Buffer.concat(chunks);
      const body = raw.length ? JSON.parse(raw.toString("utf8")) : {};
      const sendJson = (value: any) => {
        response.writeHead(200, { "content-type": "application/json" });
        response.end(JSON.stringify(value));
      };
      if (request.url === "/qa/inbound") {
        assert.equal(request.headers["x-qa-admin-token"], adminToken);
        assert.ok([100001, 100002].includes(Number(body.chatId)));
        assert.equal(typeof body.text, "string");
        const update = { update_id: nextUpdateId++, message: {
          message_id: nextInboundId++, date: Math.floor(Date.now() / 1000),
          from: { id: Number(body.chatId), is_bot: false, first_name: "QA Driver" },
          chat: { id: Number(body.chatId), type: "private", first_name: "QA Driver" }, text: body.text,
        } };
        updates.push(update);
        sendJson({ ok: true, update });
        return;
      }
      assert.ok(request.url.startsWith(tokenPrefix), "Unexpected Bot API token/path");
      if (method === "getUpdates") {
        const offset = Number(body.offset ?? 0);
        while (updates.length && updates[0].update_id < offset) updates.shift();
        if (updates.length === 0) await sleep(250);
        sendJson({ ok: true, result: updates.slice(0, Number(body.limit ?? 100)) });
        return;
      }
      if (method === "getMe") { sendJson({ ok: true, result: botUser }); return; }
      if (method === "getWebhookInfo") {
        sendJson({ ok: true, result: { url: "", has_custom_certificate: false, pending_update_count: updates.length } });
        return;
      }
      if (["deleteWebhook", "setMyCommands", "deleteMyCommands", "sendChatAction"].includes(method)) {
        await record({ direction: "bot-api-control", method });
        sendJson({ ok: true, result: true }); return;
      }
      if (method === "sendMessage") {
        assert.equal(typeof body.text, "string");
        const message = { message_id: nextRichId++, date: Math.floor(Date.now() / 1000),
          chat: { id: Number(body.chat_id), type: "private" }, from: botUser, text: body.text };
        await record({ direction: "outbound", method, request: body, accepted: true, messageId: message.message_id });
        sendJson({ ok: true, result: message }); return;
      }
      if (method === "sendRichMessage") {
        // Minimal external API fixture for the installed grammY rich-message contract.
        // It accepts the actual request. It never builds guidance or an answer.
        assert.ok(Number.isSafeInteger(Number(body.chat_id)) && Number(body.chat_id) > 0);
        assert.ok(Array.isArray(body.rich_message?.blocks) && body.rich_message.blocks.length > 0);
        const message = {
          message_id: nextRichId++, date: Math.floor(Date.now() / 1000),
          chat: { id: Number(body.chat_id), type: "private" },
          rich_message: structuredClone(body.rich_message),
          ...(body.reply_markup ? { reply_markup: structuredClone(body.reply_markup) } : {}),
        };
        richMessages.set(message.message_id, message);
        await record({ direction: "outbound", method, request: body, accepted: true, messageId: message.message_id });
        sendJson({ ok: true, result: message });
        return;
      }
      if ((method === "editMessageReplyMarkup" || method === "deleteMessage" || method === "editMessageText") &&
          richMessages.has(Number(body.message_id))) {
        const message = richMessages.get(Number(body.message_id));
        assert.equal(Number(body.chat_id), message.chat.id);
        if (method === "deleteMessage") richMessages.delete(Number(body.message_id));
        else if (method === "editMessageReplyMarkup") message.reply_markup = body.reply_markup;
        else {
          assert.ok(body.rich_message);
          message.rich_message = structuredClone(body.rich_message);
        }
        await record({ direction: "outbound-edit", method, request: body, accepted: true });
        sendJson({ ok: true, result: method === "deleteMessage" ? true : message });
        return;
      }
      throw new Error("Unimplemented mock Bot API method: " + method);
    })().catch((error) => {
      proxyErrors.push(String(error));
      response.writeHead(500, { "content-type": "application/json" });
      response.end(JSON.stringify({ ok: false, description: String(error) }));
    });
  });
  proxy.listen(0, "127.0.0.1");
  await once(proxy, "listening");
  const proxyBaseUrl = "http://127.0.0.1:" + proxy.address().port;
  console.log("Starting real Gateway + Telegram plugin against local mock rich Bot API");
  gateway = await owner.start({
    repoRoot, providerMode: "mock-openai", providerBaseUrl: mock.baseUrl + "/v1",
    transportBaseUrl: proxyBaseUrl, controlUiEnabled: false, forcedRuntime: "openclaw",
    transport: {
      requiredPluginIds: ["telegram"],
      createGatewayConfig: () => ({ channels: { telegram: {
        enabled: true, botToken, apiRoot: proxyBaseUrl,
        dmPolicy: "allowlist", allowFrom: ["100001", "100002"], groupPolicy: "disabled",
        richMessages: true, streaming: { mode: "off" },
      } } }),
    },
  });
  fs.symlink = originalSymlink;
  fs.cp = originalCopy;
  await waitFor("Telegram ready", async () => {
    const status = await gateway.call("channels.status", { probe: false, timeoutMs: 2000 });
    return status.channelAccounts?.telegram?.some((a: any) => a.running === true && a.restartPending !== true);
  }, 60000);
  console.log("Gateway and Telegram channel ready");
  const sendInbound = async (chatId: string, text: string) => {
    const response = await fetch(proxyBaseUrl + "/qa/inbound", {
      method: "POST", headers: { "x-qa-admin-token": adminToken, "content-type": "application/json" },
      body: JSON.stringify({ chatId, text }), signal: AbortSignal.timeout(15000),
    });
    const result = await response.json() as any;
    assert.ok(response.ok && result.ok === true, "Mock inbound HTTP " + response.status + ": " + JSON.stringify(result));
    await record({ direction: "inbound", chatId, text, httpStatus: response.status,
      messageId: result.update?.message?.message_id });
  };
  for (const fixture of [
    { name: "number", chatId: "100001", answer: "2", expected: "Production 🚀" },
    { name: "custom-text", chatId: "100002", answer: "night-shift", expected: "night-shift" },
  ]) {
    const cursor = (await fetchJson(mock.baseUrl + "/debug/request-cursor")).cursor;
    const eventStart = events.length;
    await sendInbound(fixture.chatId,
      "Structured question QA check. Ask one deploy question and read its actual returned answer. " +
      "QA routing marker: tool search qa check target=ask_user ask_user_fixture=single.");
    const pending = await waitFor("pending native Telegram question", async () => {
      const result = await gateway.call("question.list", {});
      return result.questions.find((q: any) => q.status === "pending" &&
        q.questions.some((entry: any) => entry.question === "Where should this deploy?"));
    });
    assert.equal(pending.questions.length, 1);
    assert.equal(pending.questions[0].isOther, true);
    const prompt = await waitFor("actual rich prompt request", () => events.slice(eventStart).find((event) =>
      event.direction === "outbound" && event.method === "sendRichMessage" &&
      String(event.request.chat_id) === fixture.chatId && event.accepted &&
      JSON.stringify(event.request.rich_message.blocks).includes("Where should this deploy?")));
    const richJson = JSON.stringify(prompt.request.rich_message.blocks);
    assert.ok(richJson.includes("Reply with the number, the option text, or your own answer."));
    assert.ok(!richJson.includes("Tap an option"));
    const buttons = prompt.request.reply_markup?.inline_keyboard?.flat() ?? [];
    assert.ok(buttons[0]?.text.includes("Staging"));
    assert.ok(buttons[1]?.text.includes("Production"));
    assert.ok(buttons.slice(0, 2).every((b: any) => typeof b.callback_data === "string" &&
      b.callback_data.length > 0 && Buffer.byteLength(b.callback_data) <= 64));
    console.log(fixture.name + ": corrected rich prompt and native choices captured; replying " + fixture.answer);
    await sendInbound(fixture.chatId, fixture.answer);
    const terminal = await waitFor("native typed answer resolution", async () => {
      const result = await gateway.call("question.get", { id: pending.id });
      return result.question?.status === "answered" ? result.question : undefined;
    });
    const resumed = await waitFor("actual returned tool answer at model", async () => {
      const requests = await fetchJson(mock.baseUrl + "/debug/requests?after=" + cursor);
      return requests.find((r: any) => String(r.toolOutput ?? "").includes("Deploy:") &&
        String(r.toolOutput).includes(fixture.expected));
    });
    const expectedFinal = "ASK-USER-SINGLE-OK | deploy=" + fixture.expected;
    const final = await waitFor("final rich message delivery", () => events.slice(eventStart).find((event) =>
      event.direction === "outbound" && event.method === "sendRichMessage" &&
      String(event.request.chat_id) === fixture.chatId && event.accepted &&
      event.request.rich_message.blocks.some((block: any) => block.text === expectedFinal)));
    proofs.push({
      case: fixture.name, questionId: pending.id, pendingStatus: pending.status,
      promptMethod: prompt.method, richMessageRequest: prompt.request.rich_message,
      inlineKeyboard: prompt.request.reply_markup.inline_keyboard,
      typedInbound: fixture.answer, terminalStatus: terminal.status, terminalAnswers: terminal.answers,
      toolOutput: resumed.toolOutput, finalMethod: final.method, finalRichMessage: final.request.rich_message,
      deliveredFinal: expectedFinal,
    });
    await fs.writeFile(path.join(outputDir, "cases.json"), JSON.stringify(proofs, null, 2));
    console.log("PASS " + fixture.name + ": " + expectedFinal);
  }
} catch (error) {
  failure = error;
  console.error(String(error));
} finally {
  fs.symlink = originalSymlink;
  fs.cp = originalCopy;
  if (gateway) await fs.writeFile(path.join(outputDir, "gateway-redacted.log"), gateway.logs());
  cleanup = await owner.stop({ preserveToDir: path.join(outputDir, "gateway") });
  if (proxy) {
    proxy.closeAllConnections();
    await new Promise<void>((resolve, reject) => proxy.close((e: any) => e ? reject(e) : resolve())).catch((e) => cleanup.errors.push(e));
  }
  for (const stop of [() => mock?.stop()]) {
    try { await stop(); } catch (error) { cleanup.errors.push(error); }
  }
  const verdict = {
    verdict: !failure && proofs.length === 2 && cleanup.process !== "unconfirmed" &&
      cleanup.errors.length === 0 && proxyErrors.length === 0 ? "PASS" : "FAIL",
    head, buildHead: buildStamp.head, startedAt, finishedAt: new Date().toISOString(),
    environment: "Windows; real Gateway + real Telegram plugin; mock model + loopback mock Bot API",
    entrypoint: "Both prompt and typed answer arrive as native Telegram updates for the same synthetic user/chat",
    liveTelegram: false, questionResolveRpcUsed: false,
    telegramConfig: { richMessages: true, streaming: { mode: "off" } },
    mockApi: "Loopback-only HTTP Bot API fixture implementing getUpdates and sendRichMessage using installed grammY contract; no renderer or answer-handler mocks",
    windowsStaging: { copiedFileSymlinks: stagedFileCopies, directoryJunctions: stagedDirectoryJunctions, productRuntimeModified: false },
    cases: proofs, proxyErrors,
    cleanup: { process: cleanup.process, errors: cleanup.errors.map(String) },
    ...(failure ? { error: String(failure) } : {}),
  };
  await fs.writeFile(path.join(outputDir, "verdict.json"), JSON.stringify(verdict, null, 2));
  console.log("VERDICT " + verdict.verdict + "; cleanup=" + cleanup.process + "; proof=" + outputDir);
  if (verdict.verdict !== "PASS") process.exitCode = 1;
}

Existing regression and static checks

  • Before the production fix, both regression cases (isOther=false and isOther=true) failed because the presentation contained Tap an option instead of the expected typed-reply guidance.
  • CI subsequently caught a test-boundary violation: the root contract test imported msteams/channel-plugin-api.js. This was reproduced locally: the boundary suite reported the same offending import (1 failed, 9 passed).
  • Commit 391b9c323d23e998fb17d8f47e7ad5ce1803a867 changes only that import to the existing, permitted msteams/api.js barrel, which exports the same plugin. No assertions, production exports, or boundary rules were changed.
  • On the corrected candidate, 209 tests passed: producer-to-Teams contract (2), extension boundaries (10), tool handlers (186), and Teams card tests (11). The real Teams renderer emits readable option/reply text without question actions; the existing exact tool-payload test retains question IDs and declared-choice/custom-input actions.
  • Formatting, git diff --check, and the complete changed-file gate for this one-file follow-up passed, including the core TypeScript graph boundary, root-test type-check, script lint, and changed-test lint.
  • Fresh independent review of the import correction found no actionable P0-P3 findings. The original three-file change was independently reviewed previously.
  • The earlier full changed-file gate for the original three-file patch was interrupted; no full-repository validation is claimed.
  • CI for this exact head has completed: build-artifacts passed. The gate remains red on memory-recall and Gateway lifecycle timeouts (extensions/memory-core/src/tools.recall-tracking.test.ts:45 and src/gateway/server-plugins.lifecycle.test.ts:185); these files are unchanged by this PR. The new behavior proof does not claim green CI.

Focused tests (Windows, Node 26.2.0; OPENCLAW_VITEST_MAX_WORKERS=1):

node --import ./scripts/tsx.mjs scripts/test-projects.mts test/extension-test-boundary.test.ts test/contracts/ask-user-msteams-presentation.test.ts src/agents/embedded-agent-subscribe.handlers.tools.test.ts extensions/msteams/src/welcome-card.test.ts -- --reporter=dot

Follow-up changed-file gate:

node scripts/check-changed.mjs --base e751b6b071a5180b1811fb98c1619b13c0068b39 --timed -- test/contracts/ask-user-msteams-presentation.test.ts

@clawsweeper

clawsweeper Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 4, 2026
@clawsweeper

clawsweeper Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 6, 2026, 11:16 AM ET / 15:16 UTC.

ClawSweeper review

What this changes

The PR makes structured question prompts reuse typed-reply instructions and adds coverage for Teams cards that omit question buttons.

Merge readiness

✅ Ready for maintainer review

This PR remains useful: current main and v2026.9.2 retain the misleading guidance. The focused repair has sufficient boundary proof and no identified blocking findings.

Priority: P3
Reviewed head: 70e8a5c96abc042a6ae74e1a40478f406d687035

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair with meaningful renderer coverage, accepted boundary evidence, and no blocking findings.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (logs): Recorded Gateway/Telegram output shows the shared presentation emitting corrected guidance and completing typed answers; the Teams Connector capture demonstrates the changed buttonless card. This is accepted channel-boundary proof at the documented historical head, supplemented by reported current-head renderer tests, not live-service verification.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (logs): Recorded Gateway/Telegram output shows the shared presentation emitting corrected guidance and completing typed answers; the Teams Connector capture demonstrates the changed buttonless card. This is accepted channel-boundary proof at the documented historical head, supplemented by reported current-head renderer tests, not live-service verification.
Evidence reviewed 8 items Pinned patch: The verified base-to-head diff changes only presentation guidance and its tests; question actions, answer parsing, configuration, and authorization are unchanged.
Still needed on main: Fetched main still generates tap instructions unconditionally for eligible rich question presentations, despite already having a reusable typed-reply guidance helper.
Latest release also retains the defect: The supplied release commit for v2026.9.2 contains the same unconditional tap wording; the local annotated tag resolves to this commit.
Findings None None.
Security None None.

How this fits together

OpenClaw converts agent questions into shared text and interactive presentations, which channel plugins render for users. This change corrects the shared instructions while preserving existing buttons and typed-answer handling.

flowchart LR
  A[Agent question and choices] --> B[Shared question presentation]
  B --> C[Typed reply guidance]
  C --> D[Channel renderer]
  D --> E[Text and supported buttons]
  E --> F[User answer]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source -2, Tests +54. Total +52 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 1 2 4 -2
Tests 2 55 1 +54
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 57 5 +52

Review metrics

None.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #135354
Summary: This PR directly addresses the open report about tap instructions on channels without question controls.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best possible solution:

Keep one shared typed-reply instruction that remains accurate when channel renderers omit question buttons.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: main emits tap guidance while the Teams renderer omits question actions. This review did not execute a reproduction.

Is this the best way to solve the issue?

Yes. Reusing the existing typed-reply helper fixes the shared producer without adding channel capability APIs or changing answer behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against aa947ec2812a.

Labels

Label justifications:

  • P3: This corrects misleading instructions in an otherwise answerable question flow.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (logs): Recorded Gateway/Telegram output shows the shared presentation emitting corrected guidance and completing typed answers; the Teams Connector capture demonstrates the changed buttonless card. This is accepted channel-boundary proof at the documented historical head, supplemented by reported current-head renderer tests, not live-service verification.
  • proof: sufficient: Contributor real behavior proof is sufficient. Recorded Gateway/Telegram output shows the shared presentation emitting corrected guidance and completing typed answers; the Teams Connector capture demonstrates the changed buttonless card. This is accepted channel-boundary proof at the documented historical head, supplemented by reported current-head renderer tests, not live-service verification.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. Shared rich-question guidance changes visible Telegram text, making it suitable for Telegram Test Server coverage.

Evidence

What I checked:

  • Pinned patch: The verified base-to-head diff changes only presentation guidance and its tests; question actions, answer parsing, configuration, and authorization are unchanged. (src/agents/harness/user-input-bridge.ts:119, 70e8a5c96abc)
  • Still needed on main: Fetched main still generates tap instructions unconditionally for eligible rich question presentations, despite already having a reusable typed-reply guidance helper. (src/agents/harness/user-input-bridge.ts:119, aa947ec2812a)
  • Latest release also retains the defect: The supplied release commit for v2026.9.2 contains the same unconditional tap wording; the local annotated tag resolves to this commit. (src/agents/harness/user-input-bridge.ts:119, 3928bad9badf)
  • Existing product contract and implementation boundary: The ask_user documentation supports typed numbers and labels for active-run questions. The shared payload builder and Teams renderer implement this OpenClaw presentation boundary; the patch and its proof do not depend on the Codex runtime contract. Public docs: docs/tools/ask-user.md. (docs/tools/ask-user.md:31, 70e8a5c96abc)
  • Renderer regression coverage: Both fixed-choice and custom-answer cases exercise the public Teams plugin renderer and assert the resulting buttonless Adaptive Card, reaching the actual failure boundary rather than stopping at the intermediate presentation. (test/contracts/ask-user-msteams-presentation.test.ts:35, 70e8a5c96abc)
  • Recorded production-boundary proof: The captured PR body, SHA-256 7ee8cf76fe901f2b95e042205c7dce3b275d2b2302683f2f7ccd5f6e717fd30c, documents a real Gateway and Telegram plugin sending corrected rich-message guidance and completing numeric and custom typed answers. Its supplied Teams excerpt records an actually delivered buttonless card with corrected text. External services were loopback fixtures; the separate Teams answer rejection is explicitly not counted as a successful roundtrip. Root policy accepts this channel-boundary proof. The supplied body is partial, and embedded drivers were not executed. (391b9c323d23)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Ayaan Zaidi: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (4 earlier review cycles)
  • reviewed 2026-09-04T07:14:35.358Z sha 391b9c3 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-04T08:37:31.000Z sha 391b9c3 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-05T09:42:21.374Z sha 391b9c3 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-06T09:38:13.674Z sha 8b2e364 :: needs maintainer review before merge. :: none

@harshitgupta31415

Copy link
Copy Markdown
Contributor Author

@clawsweeper The requested running-Gateway behavior proof is now in the PR description under Evidence → Running-Gateway behavior proof: PASS, for unchanged head 391b9c323d23e998fb17d8f47e7ad5ce1803a867.

  • A real ephemeral Gateway and real Telegram plugin completed both native typed-answer flows: 2 → Production 🚀, and night-shift → the same custom answer.
  • Actual outgoing sendRichMessage requests contain the corrected reply guidance and retain the native choice buttons.
  • Both questions reached answered; the actual tool answers reached the resumed model, and the final rich messages were sent. No question.resolve RPC or answer-handler mock was used.
  • The description includes the full PASS verdict JSON, actual wire transcript, reproduction driver, and confirmed clean Gateway shutdown.
  • Supporting Teams evidence shows the actual buttonless Adaptive Card with corrected guidance. Its separate cross-identity answer attempt failed and is explicitly not counted as a passing roundtrip.

Scope is clearly disclosed: the external model and channel APIs were mocked on loopback; this is not live Telegram/Test Server proof. Existing CI failures remain, and no merge-readiness claim is being made.

Posting this separate comment to make the newly added evidence visible alongside the review.

@harshitgupta31415

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 4, 2026
@harshitgupta31415

Copy link
Copy Markdown
Contributor Author

@clawsweeper rereview

@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete steipete self-assigned this Sep 6, 2026
Remove the intermediate presentation assertion so the regression exercises the
real card renderer before checking guidance. Retain the complete card and
plain-text expectations.

Co-authored-by: harshitgupta31415 <[email protected]>
Merge protected main 0ebb320 to pick up
openclaw#140018's preflight output repair. Preserve the original contributor
history and the unchanged three-file question guidance fix.

Historical renderer red/green proof remains retained. The composed
candidate passed 217 tests across five suites; exact-head CI is pending.

Co-authored-by: harshitgupta31415 <[email protected]>
@steipete
steipete merged commit f80fb5b into openclaw:main Sep 6, 2026
216 of 217 checks passed
@steipete

steipete commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 7, 2026
* fix: avoid tap-only guidance in question prompts

* test: use public Teams API in question prompt contract

* test: assert question guidance through Teams rendering

Remove the intermediate presentation assertion so the regression exercises the
real card renderer before checking guidance. Retain the complete card and
plain-text expectations.

Co-authored-by: harshitgupta31415 <[email protected]>

---------

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

Labels

agents Agent runtime and tooling P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ask_user prompts say "Tap an option" on channels that render no tappable control

2 participants