Skip to content

Commit 23c5e7c

Browse files
JonyanDunhclaude
andauthored
docs: fix stale .sh references and version badge in all 7 READMEs (#7)
Two leftover artifacts that the v1.1.0 rewrite PR missed because the translation subagents were scoped to Requirements / Install / Platform / Plugin Layout / Testing / Inspired By — they did not touch other sections. 1. "How It Works" section (line ~87 in every README) still mentioned `hooks/stop-hook.sh`. That file was deleted in the v1.1.0 rewrite — the current hook is `hooks/stop-hook.js`. 2. The "version" shield badge (line 7) has been hardcoded to `version-1.0.0-green.svg` since the initial release. Every subsequent release (v1.0.1, v1.0.2, v1.0.3, v1.1.0) left it stale. Bump to 1.1.0 and leave a TODO for next time. Fixed across all 7 READMEs (English + zh/ja/ko/es/vi/pt) with a single sed pass — the edit is identical in every file. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 634fb34 commit 23c5e7c

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

README.es.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
66
[![Claude Code](https://img.shields.io/badge/Claude%20Code-2.1%2B-7C4DFF.svg)](https://docs.anthropic.com/claude-code)
7-
[![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](./.claude-plugin/plugin.json)
7+
[![Version](https://img.shields.io/badge/version-1.1.0-green.svg)](./.claude-plugin/plugin.json)
88
[![GitHub stars](https://img.shields.io/github/stars/JonyanDunh/claude-code-watchdog?style=flat&color=yellow)](https://github.com/JonyanDunh/claude-code-watchdog/stargazers)
99
[![Inspired by ralph-loop](https://img.shields.io/badge/Inspired%20by-ralph--loop-orange.svg)](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/ralph-loop)
1010

@@ -84,7 +84,7 @@ Tú ejecutas el comando **una sola vez** y Claude Code se encarga del resto:
8484
# (o se alcanza --max-iterations)
8585
```
8686

87-
El bucle ocurre **dentro de tu sesión actual** — sin `while true` externo, sin proceso orquestador. El `Stop hook` en `hooks/stop-hook.sh` bloquea la salida normal de la sesión y vuelve a inyectar el prompt como un nuevo turno de usuario usando el protocolo nativo de Claude Code: `{"decision": "block", "reason": ...}`.
87+
El bucle ocurre **dentro de tu sesión actual** — sin `while true` externo, sin proceso orquestador. El `Stop hook` en `hooks/stop-hook.js` bloquea la salida normal de la sesión y vuelve a inyectar el prompt como un nuevo turno de usuario usando el protocolo nativo de Claude Code: `{"decision": "block", "reason": ...}`.
8888

8989
Esto crea un **bucle de retroalimentación autorreferente** donde:
9090
- El prompt no cambia entre iteraciones

README.ja.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
66
[![Claude Code](https://img.shields.io/badge/Claude%20Code-2.1%2B-7C4DFF.svg)](https://docs.anthropic.com/claude-code)
7-
[![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](./.claude-plugin/plugin.json)
7+
[![Version](https://img.shields.io/badge/version-1.1.0-green.svg)](./.claude-plugin/plugin.json)
88
[![GitHub stars](https://img.shields.io/github/stars/JonyanDunh/claude-code-watchdog?style=flat&color=yellow)](https://github.com/JonyanDunh/claude-code-watchdog/stargazers)
99
[![Inspired by ralph-loop](https://img.shields.io/badge/Inspired%20by-ralph--loop-orange.svg)](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/ralph-loop)
1010

@@ -84,7 +84,7 @@ _`Watchdog` は `Claude Code` のプラグインです。同一セッション
8484
# (or --max-iterations is reached)
8585
```
8686

87-
ループは**現在のセッションの内部**で起こります。外部の `while true` もオーケストレーター的なプロセスも不要です。`hooks/stop-hook.sh` の Stop hook が通常のセッション終了をブロックし、Claude Code ネイティブの `{"decision": "block", "reason": ...}` プロトコルを使って prompt を新しいユーザーターンとして再注入します。
87+
ループは**現在のセッションの内部**で起こります。外部の `while true` もオーケストレーター的なプロセスも不要です。`hooks/stop-hook.js` の Stop hook が通常のセッション終了をブロックし、Claude Code ネイティブの `{"decision": "block", "reason": ...}` プロトコルを使って prompt を新しいユーザーターンとして再注入します。
8888

8989
これによって作られるのは**自己参照的なフィードバックループ**です。
9090

README.ko.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
66
[![Claude Code](https://img.shields.io/badge/Claude%20Code-2.1%2B-7C4DFF.svg)](https://docs.anthropic.com/claude-code)
7-
[![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](./.claude-plugin/plugin.json)
7+
[![Version](https://img.shields.io/badge/version-1.1.0-green.svg)](./.claude-plugin/plugin.json)
88
[![GitHub stars](https://img.shields.io/github/stars/JonyanDunh/claude-code-watchdog?style=flat&color=yellow)](https://github.com/JonyanDunh/claude-code-watchdog/stargazers)
99
[![Inspired by ralph-loop](https://img.shields.io/badge/Inspired%20by-ralph--loop-orange.svg)](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/ralph-loop)
1010

@@ -84,7 +84,7 @@ _`Claude Code` 플러그인입니다. 하나의 세션 안에서 현재 agent를
8484
# (또는 --max-iterations에 도달할 때까지)
8585
```
8686

87-
이 루프는 **현재 세션 내부에서** 돌아갑니다. 외부 `while true`도, 오케스트레이터 프로세스도 없습니다. `hooks/stop-hook.sh``Stop hook`이 일반적인 세션 종료를 막고, `Claude Code`의 네이티브 `{"decision": "block", "reason": ...}` 프로토콜을 이용해 prompt를 새로운 user turn으로 다시 주입합니다.
87+
이 루프는 **현재 세션 내부에서** 돌아갑니다. 외부 `while true`도, 오케스트레이터 프로세스도 없습니다. `hooks/stop-hook.js``Stop hook`이 일반적인 세션 종료를 막고, `Claude Code`의 네이티브 `{"decision": "block", "reason": ...}` 프로토콜을 이용해 prompt를 새로운 user turn으로 다시 주입합니다.
8888

8989
이를 통해 **자기 참조 피드백 루프**가 만들어집니다.
9090

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ English | [中文](./README.zh.md) | [한국어](./README.ko.md) | [日本語](.
44

55
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
66
[![Claude Code](https://img.shields.io/badge/Claude%20Code-2.1%2B-7C4DFF.svg)](https://docs.anthropic.com/claude-code)
7-
[![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](./.claude-plugin/plugin.json)
7+
[![Version](https://img.shields.io/badge/version-1.1.0-green.svg)](./.claude-plugin/plugin.json)
88
[![GitHub stars](https://img.shields.io/github/stars/JonyanDunh/claude-code-watchdog?style=flat&color=yellow)](https://github.com/JonyanDunh/claude-code-watchdog/stargazers)
99
[![Inspired by ralph-loop](https://img.shields.io/badge/Inspired%20by-ralph--loop-orange.svg)](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/ralph-loop)
1010

@@ -84,7 +84,7 @@ You run the command **once**, then Claude Code handles the rest:
8484
# (or --max-iterations is reached)
8585
```
8686

87-
The loop happens **inside your current session** — no external `while true`, no orchestrator process. The Stop hook in `hooks/stop-hook.sh` blocks normal session exit and re-injects the prompt as a new user turn using Claude Code's native `{"decision": "block", "reason": ...}` protocol.
87+
The loop happens **inside your current session** — no external `while true`, no orchestrator process. The Stop hook in `hooks/stop-hook.js` blocks normal session exit and re-injects the prompt as a new user turn using Claude Code's native `{"decision": "block", "reason": ...}` protocol.
8888

8989
This creates a **self-referential feedback loop** where:
9090
- The prompt never changes between iterations

README.pt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
66
[![Claude Code](https://img.shields.io/badge/Claude%20Code-2.1%2B-7C4DFF.svg)](https://docs.anthropic.com/claude-code)
7-
[![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](./.claude-plugin/plugin.json)
7+
[![Version](https://img.shields.io/badge/version-1.1.0-green.svg)](./.claude-plugin/plugin.json)
88
[![GitHub stars](https://img.shields.io/github/stars/JonyanDunh/claude-code-watchdog?style=flat&color=yellow)](https://github.com/JonyanDunh/claude-code-watchdog/stargazers)
99
[![Inspired by ralph-loop](https://img.shields.io/badge/Inspired%20by-ralph--loop-orange.svg)](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/ralph-loop)
1010

@@ -84,7 +84,7 @@ Você roda o comando **uma vez** e o `Claude Code` cuida do resto:
8484
# (ou até bater em --max-iterations)
8585
```
8686

87-
O loop acontece **dentro da sua sessão atual** — nada de `while true` externo, nada de processo orquestrador. O Stop hook em `hooks/stop-hook.sh` bloqueia a saída normal da sessão e reinjeta o prompt como um novo turno de usuário usando o protocolo nativo do `Claude Code`: `{"decision": "block", "reason": ...}`.
87+
O loop acontece **dentro da sua sessão atual** — nada de `while true` externo, nada de processo orquestrador. O Stop hook em `hooks/stop-hook.js` bloqueia a saída normal da sessão e reinjeta o prompt como um novo turno de usuário usando o protocolo nativo do `Claude Code`: `{"decision": "block", "reason": ...}`.
8888

8989
Isso monta um **loop de feedback auto-referencial** onde:
9090
- O prompt nunca muda entre iterações

README.vi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
66
[![Claude Code](https://img.shields.io/badge/Claude%20Code-2.1%2B-7C4DFF.svg)](https://docs.anthropic.com/claude-code)
7-
[![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](./.claude-plugin/plugin.json)
7+
[![Version](https://img.shields.io/badge/version-1.1.0-green.svg)](./.claude-plugin/plugin.json)
88
[![GitHub stars](https://img.shields.io/github/stars/JonyanDunh/claude-code-watchdog?style=flat&color=yellow)](https://github.com/JonyanDunh/claude-code-watchdog/stargazers)
99
[![Inspired by ralph-loop](https://img.shields.io/badge/Inspired%20by-ralph--loop-orange.svg)](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/ralph-loop)
1010

@@ -84,7 +84,7 @@ Bạn chỉ chạy lệnh **một lần**, phần còn lại Claude Code lo:
8484
# (hoặc khi chạm --max-iterations)
8585
```
8686

87-
Vòng lặp diễn ra **ngay trong session hiện tại** — không có `while true` bên ngoài, không có tiến trình orchestrator nào cả. Stop hook trong `hooks/stop-hook.sh` chặn cú thoát session bình thường và nhét lại prompt dưới dạng một user turn mới bằng giao thức gốc của Claude Code: `{"decision": "block", "reason": ...}`.
87+
Vòng lặp diễn ra **ngay trong session hiện tại** — không có `while true` bên ngoài, không có tiến trình orchestrator nào cả. Stop hook trong `hooks/stop-hook.js` chặn cú thoát session bình thường và nhét lại prompt dưới dạng một user turn mới bằng giao thức gốc của Claude Code: `{"decision": "block", "reason": ...}`.
8888

8989
Cái này tạo ra một **vòng lặp phản hồi tự tham chiếu**, trong đó:
9090
- Prompt không bao giờ đổi giữa các iteration

README.zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
66
[![Claude Code](https://img.shields.io/badge/Claude%20Code-2.1%2B-7C4DFF.svg)](https://docs.anthropic.com/claude-code)
7-
[![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](./.claude-plugin/plugin.json)
7+
[![Version](https://img.shields.io/badge/version-1.1.0-green.svg)](./.claude-plugin/plugin.json)
88
[![GitHub stars](https://img.shields.io/github/stars/JonyanDunh/claude-code-watchdog?style=flat&color=yellow)](https://github.com/JonyanDunh/claude-code-watchdog/stargazers)
99
[![Inspired by ralph-loop](https://img.shields.io/badge/Inspired%20by-ralph--loop-orange.svg)](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/ralph-loop)
1010

@@ -84,7 +84,7 @@ _一个 Claude Code 插件:把 agent 按在同一个会话里反复干同一
8484
# (或者达到 --max-iterations 上限)
8585
```
8686

87-
这里的"循环"不是外部的——没有 `while true`、没有 orchestrator 进程。`hooks/stop-hook.sh` 里的 Stop hook 会阻止 Claude Code 的会话退出,并通过 Claude Code 原生的 `{"decision": "block", "reason": ...}` 协议把原始 prompt 作为新的 user turn 再注入回去。
87+
这里的"循环"不是外部的——没有 `while true`、没有 orchestrator 进程。`hooks/stop-hook.js` 里的 Stop hook 会阻止 Claude Code 的会话退出,并通过 Claude Code 原生的 `{"decision": "block", "reason": ...}` 协议把原始 prompt 作为新的 user turn 再注入回去。
8888

8989
说白了就是一个**循环自己喂自己**的结构:
9090
- 每轮喂的 prompt 都是同一个

0 commit comments

Comments
 (0)