SkillPedia Skills Encyclopedia
中文 EN

技能 2026-09-18 15:50 UTC

2x-skillslatest

版本【latest】由提交人 MrDHat 提交,主要更新类型为:功能特性新增与扩展。提交说明:Add PR watcher scripts to pr-tools (#8)。为项目引入了新的能力与模块支持。

MrDHat a1639a2 intercom/2x-skills

Commit提交信息原文

Add PR watcher scripts to pr-tools (#8)

* Add PR watcher scripts to pr-tools, launched from create-pr step 5

create-pr previously ended at `gh pr create`, so anything that happened
afterwards — a new review comment, the merge, CI going red — could only
be found by polling `gh pr view` in a loop.

Adds three blocking watchers and a step that launches them in the
background once the PR URL is known. Each caps at WATCH_MAX_WAIT=570s
and exits 3 with a resumable cursor rather than blocking forever, so
step 5 documents the resume contract: a PR that merges or gets reviewed
hours later is still caught on re-launch instead of silently missed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Restore the unit-separator escapes in watch-pr-comments.sh

The four unicode escapes in the jq row-building filters had been written
out as raw control bytes. jq reads both the same way, so the tests passed
either way, but an invisible control character in a shell script is easy
for an editor, a copy-paste, or a git filter to silently eat — and it made
the file impossible to diff cleanly against the version it was ported from.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Use a neutral owner/repo in the merge-watcher test fixtures

The five fixture PR URLs named a private repo. The mock gh dispatches on
the endpoint path, not on owner/repo, so the names carried no meaning —
they just came along with the port. Switched to the same placeholder the
sibling comment-watcher suite already uses.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>