nemoclaw-maintainer-normalize-title-tags

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. --> <!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. --> <!-- SPDX-License-Identifier: Apache-2.0 -->

NemoClaw Maintainer — Normalize Title Tags

NemoClaw 维护工具 — 标题标签规范化

Preview and optionally apply bulk title cleanup for bracketed NemoClaw tags in GitHub issue and PR titles.
预览并可选地批量清理GitHub Issue和PR标题中带括号的NemoClaw标签。

Examples

示例

  • [NemoClaw][All Platforms] local-inference policy preset missing Ollama ports
    [All Platforms] local-inference policy preset missing Ollama ports
  • [Bug] [Nemoclaw] [Slack] Slack configuration in Nemoclaw Onboard fails
    [Bug] [Slack] Slack configuration in Nemoclaw Onboard fails
  • [NemoClaw][All Platforms] local-inference policy preset missing Ollama ports
    [All Platforms] local-inference policy preset missing Ollama ports
  • [Bug] [Nemoclaw] [Slack] Slack configuration in Nemoclaw Onboard fails
    [Bug] [Slack] Slack configuration in Nemoclaw Onboard fails

Prerequisites

前提条件

  • You must be in the NemoClaw git repository.
  • The
    gh
    CLI must be authenticated with write access to
    NVIDIA/NemoClaw
    .
  • Default behavior is a dry run. Do not apply changes until the user approves the preview.
  • 你必须处于NemoClaw git仓库目录中。
  • gh
    CLI必须已完成身份验证,且拥有
    NVIDIA/NemoClaw
    仓库的写入权限。
  • 默认行为是试运行模式。在用户确认预览结果前,请勿应用更改。

Workflow

操作流程

Copy this checklist and track progress:
text
Title tag cleanup progress:
- [ ] Step 1: Verify GitHub auth
- [ ] Step 2: Preview proposed title changes
- [ ] Step 3: Confirm scope
- [ ] Step 4: Apply changes
- [ ] Step 5: Verify no matching tags remain in scope
复制以下检查清单并跟踪进度:
text
Title tag cleanup progress:
- [ ] Step 1: Verify GitHub auth
- [ ] Step 2: Preview proposed title changes
- [ ] Step 3: Confirm scope
- [ ] Step 4: Apply changes
- [ ] Step 5: Verify no matching tags remain in scope

Step 1: Verify GitHub Auth

步骤1:验证GitHub身份验证

bash
gh auth status
bash
gh auth status

Step 2: Preview Proposed Changes

步骤2:预览拟议的更改

bash
node --experimental-strip-types --no-warnings \
  .agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts
The script matches bracket tags whose content is
nemoclaw
, case-insensitively, anywhere in the title. It prints a dry-run summary by default. Review the proposed renames with the user before applying anything.
bash
node --experimental-strip-types --no-warnings \
  .agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts
该脚本会匹配标题中任何位置、内容为
nemoclaw
(不区分大小写)的括号标签。默认情况下会打印试运行摘要。在应用任何更改前,请与用户一同审核拟议的重命名内容。

Step 3: Confirm Scope

步骤3:确认范围

Ask the user which scope they want:
  • Default — all open and closed issues and PRs in
    NVIDIA/NemoClaw
  • State filter — optionally limit to
    open
    or
    closed
  • Repo override — only when the user explicitly wants a different repository
询问用户需要处理的范围:
  • 默认
    NVIDIA/NemoClaw
    仓库中所有已打开和已关闭的Issue及PR
  • 状态筛选 — 可选限制为
    open
    (已打开)或
    closed
    (已关闭)
  • 仓库覆盖 — 仅当用户明确指定其他仓库时使用

Step 4: Apply Changes

步骤4:应用更改

Apply to all items:
bash
node --experimental-strip-types --no-warnings \
  .agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts \
  --apply
Apply only to open items:
bash
node --experimental-strip-types --no-warnings \
  .agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts \
  --state open \
  --apply
应用到所有项目:
bash
node --experimental-strip-types --no-warnings \
  .agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts \
  --apply
仅应用到已打开的项目:
bash
node --experimental-strip-types --no-warnings \
  .agents/skills/nemoclaw-maintainer-normalize-title-tags/scripts/normalize-title-tags.ts \
  --state open \
  --apply

Step 5: Verify

步骤5:验证

The script automatically re-runs the same search after
--apply
and exits non-zero if matching tags remain.
If verification fails, stop and show the remaining matches to the user instead of retrying blindly.
执行
--apply
参数后,脚本会自动重新运行相同的搜索,如果仍存在匹配的标签,则会以非零状态退出。
如果验证失败,请停止操作并向用户显示剩余的匹配项,不要盲目重试。

Notes

注意事项

  • The script uses the GitHub Issues API, which covers both issues and pull requests.
  • It removes only bracket tags whose content is
    nemoclaw
    , ignoring case. Plain-text mentions of
    NemoClaw
    are untouched.
  • The default repository is
    NVIDIA/NemoClaw
    . Pass
    --repo OWNER/REPO
    only when the user explicitly wants a different repo.
  • 该脚本使用GitHub Issues API,可同时处理Issue和拉取请求(PR)。
  • 它仅移除内容为
    nemoclaw
    (不区分大小写)的括号标签,不会修改纯文本形式的
    NemoClaw
    提及内容。
  • 默认仓库为
    NVIDIA/NemoClaw
    。仅当用户明确指定其他仓库时,才需传递
    --repo OWNER/REPO
    参数。