@pecot/workflow-mcp 8.0.1-dev.62 → 8.0.1-dev.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pecot-w",
3
- "version": "8.0.1-dev.62",
3
+ "version": "8.0.1-dev.64",
4
4
  "description": "pecot-w (pecot-workflow) workflow automation plugin for Claude Code - skills, hooks, agents, and commands for AI-assisted development",
5
5
  "author": {
6
6
  "name": "pecot"
@@ -81,7 +81,7 @@ export function decideReviewFinish(input) {
81
81
  }
82
82
  }
83
83
  }
84
- // w-revise の指摘のインラインコメントの先頭。`**F-NN**` か、2 巡目以降の `**R<巡>/F-NN**`
84
+ // w-review の指摘のインラインコメントの先頭。`**F-NN**` か、2 巡目以降の `**R<巡>/F-NN**`
85
85
  const FINDING_HEAD = /^\*\*(?:R\d+\/F|F)-\d+\*\*/u;
86
86
  /**
87
87
  止まった場所。since より後に作られた指摘のインラインコメントがあれば after-inline。since が無ければ unknown
@@ -133,7 +133,7 @@ function code(text) {
133
133
  return `\`${text.replaceAll(/\s+/gu, ' ').replaceAll('`', '\'')}\``;
134
134
  }
135
135
  function nextLine(next, triggerPhrase, detail) {
136
- const retry = `PR に ${code(triggerPhrase)} とコメントして起動し直すか、端末で ${code('/pecot-w:w-revise')} を回す`;
136
+ const retry = `PR に ${code(triggerPhrase)} とコメントして起動し直す`;
137
137
  switch (next) {
138
138
  case 'retry': {
139
139
  return `実行の記録で原因を確かめてから、${retry}`;
@@ -145,7 +145,7 @@ function nextLine(next, triggerPhrase, detail) {
145
145
  return `リポに Claude の GitHub App を入れてから、${retry}`;
146
146
  }
147
147
  case 'limit': {
148
- return `大きな PR は、端末で ${code('/pecot-w:w-revise')} を回す。自動で回すなら、変数 ${code('PECOT_REVIEW_MAX_TURNS')}・${code('PECOT_REVIEW_TIMEOUT_MINUTES')} で上限を上げる。その後、PR に ${code(triggerPhrase)} とコメントして起動し直す`;
148
+ return `変数 ${code('PECOT_REVIEW_MAX_TURNS')}・${code('PECOT_REVIEW_TIMEOUT_MINUTES')} で上限を上げる。その後、PR に ${code(triggerPhrase)} とコメントして起動し直す`;
149
149
  }
150
150
  case 'setup-detail': {
151
151
  const missing = detail === undefined || detail.trim() === '' ? '' : `足りない設定は ${code(detail.trim())} だ。`;
@@ -10,11 +10,11 @@ template: review-findings
10
10
  - 見出しの `—` の後は、何がどうなったか(どうなるか)を、主語と述語のある 1 文で書く
11
11
  - 行に紐づく指摘は、PR の該当行にインラインコメントとして投稿してある。本文をここに再掲しない
12
12
  - 指摘 1 件に F-NN を 1 つ振る(F-01 から連番。外部のレビュアーの指摘も同じ連番)
13
- - 視点の印は w-reviewer の指摘に付け、w-reviewer が返した `[tech]`・`[cuj]`・`[quality]` のどれかを書く。main が流した CUJ の不合格は `[cuj]` にする。外部のレビュアーの指摘には付けない
13
+ - 視点の印はレビューの指摘に付け、`[tech]`・`[cuj]` のどれかを書く。main が流した CUJ の不合格は `[cuj]` にする。外部のレビュアーの指摘には付けない
14
14
  - General には、行に紐づけられない指摘だけを書く(PR 本文・欠けているもの・差分の外の既存行・横断的な設計)
15
- - Disposition には、インラインにした分も含めて全 F-NN を並べる。URL は、自分が投稿したコメントなら `html_url`、外部のレビュアーなら元のスレッド。インラインでない分は省く
16
- - 想定する方針は「対応」か「対応不要」で書く。保留は使わない
17
- - 指摘が 0 件でも投稿する。0 件の節は `- 非インライン指摘なし` / `- 指摘なし` にする
15
+ - Disposition は表にし、インラインにした分も含めて全 F-NN を 1 行ずつ並べる。URL は本文に裸で書かず、F-NN の欄をコメントへのリンクにする(自分が投稿したコメントは `html_url`、外部のレビュアーは元のスレッド)。インラインでない分はリンクにしない
16
+ - 想定する方針の欄は「対応」か「対応不要(理由)」で書く。保留は使わない
17
+ - 指摘が 0 件でも投稿する。0 件の節は `- 非インライン指摘なし` / `- 指摘なし` にする(Disposition は表にしない)
18
18
  - `-m` の 1 行の投稿は節が欠けて検証で止まる。このファイルを編集してから投稿する
19
19
 
20
20
  例:
@@ -27,8 +27,10 @@ template: review-findings
27
27
 
28
28
  ### Disposition — 2 件の指摘は、どちらも直す
29
29
 
30
- - **F-01** 値の中のダブルクォートをエスケープしていない — 対応 https://github.com/acme/mytool/pull/45#discussion_r101
31
- - **F-02** PR 本文に CSV の文字コードが無い — 対応
30
+ | F-NN | 指摘 | 想定する方針 |
31
+ |---|---|---|
32
+ | [F-01](https://github.com/acme/mytool/pull/45#discussion_r101) | 値の中のダブルクォートをエスケープしていない | 対応 |
33
+ | F-02 | PR 本文に CSV の文字コードが無い | 対応 |
32
34
  -->
33
35
 
34
36
  ## Findings — <レビュー指摘の焦点を1行で>
@@ -39,5 +41,7 @@ template: review-findings
39
41
 
40
42
  ### Disposition — <F-NN ごとの想定対応方針を1行で>
41
43
 
42
- - **F-01** <インラインにした指摘の要旨> — <対応 / 対応不要と理由> <インラインコメントの html_url>
43
- - **F-02** <インラインでない指摘の要旨> — <対応 / 対応不要と理由>
44
+ | F-NN | 指摘 | 想定する方針 |
45
+ |---|---|---|
46
+ | [F-01](<インラインコメントの html_url>) | <インラインにした指摘の要旨> | <対応 / 対応不要(理由)> |
47
+ | F-02 | <インラインでない指摘の要旨> | <対応 / 対応不要(理由)> |
@@ -18,7 +18,7 @@ template: review-stopped
18
18
 
19
19
  - 結果 — `limit`(ターンか時間の上限で止まった)
20
20
  - 止まった場所 — インラインコメントを投稿した後(指摘の一覧はまだ無い)
21
- - 次にすること — 大きな PR は、端末で `/pecot-w:w-revise` を回す。自動で回すなら、変数 `PECOT_REVIEW_MAX_TURNS`・`PECOT_REVIEW_TIMEOUT_MINUTES` で上限を上げる。その後、PR に `@pecotbot review` とコメントして起動し直す
21
+ - 次にすること — 変数 `PECOT_REVIEW_MAX_TURNS`・`PECOT_REVIEW_TIMEOUT_MINUTES` で上限を上げる。その後、PR に `@pecotbot review` とコメントして起動し直す
22
22
  -->
23
23
 
24
24
  ## Review stopped — <止まった理由を1行で>
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # Place this file at .github/workflows/pecot-review.yml in your repository.
4
4
  #
5
- # This workflow runs the pecot w-revise skill on a pull request with claude-code-action.
5
+ # This workflow runs the pecot w-review skill on a pull request with claude-code-action.
6
6
  # It posts inline comments and a list of findings. It never pushes, merges, or closes.
7
7
  # It starts when a PR is opened or marked ready for review.
8
8
  # To review again, comment "@pecotbot review" on the PR.
@@ -175,11 +175,11 @@ jobs:
175
175
  plugin_marketplaces: https://github.com/pecotcraft/pecot.git
176
176
  plugins: pecot-w@pecot
177
177
  allowed_bots: ${{ join(fromJSON(vars.PECOT_REVIEW_ALLOWED_BOTS || '[]'), ',') }}
178
- prompt: /pecot-w:w-revise --unattended ${{ github.repository }}/${{ github.event.pull_request.number || github.event.issue.number }}
178
+ prompt: /pecot-w:w-review ${{ github.repository }}/${{ github.event.pull_request.number || github.event.issue.number }}
179
179
  claude_args: >-
180
180
  --permission-mode default
181
181
  --max-turns ${{ vars.PECOT_REVIEW_MAX_TURNS || '60' }}
182
- --allowedTools "Read,Glob,Grep,mcp__plugin_pecot-w_pecot-workflow__pr_show,mcp__plugin_pecot-w_pecot-workflow__issue_show,mcp__plugin_pecot-w_pecot-workflow__pr_restack,mcp__plugin_pecot-w_pecot-workflow__issue_comment,mcp__plugin_pecot-w_pecot-workflow__review_finish,mcp__github_inline_comment__create_inline_comment${{ env.PECOT_REVIEW_EXTRA_ALLOWED_TOOLS != '' && format(',{0}', env.PECOT_REVIEW_EXTRA_ALLOWED_TOOLS) || '' }}"
182
+ --allowedTools "Read,Glob,Grep,mcp__plugin_pecot-w_pecot-workflow__pr_show,mcp__plugin_pecot-w_pecot-workflow__issue_show,mcp__plugin_pecot-w_pecot-workflow__issue_comment,mcp__github_inline_comment__create_inline_comment${{ env.PECOT_REVIEW_EXTRA_ALLOWED_TOOLS != '' && format(',{0}', env.PECOT_REVIEW_EXTRA_ALLOWED_TOOLS) || '' }}"
183
183
  --disallowedTools "Bash,Edit,Write,NotebookEdit,AskUserQuestion,Agent,WebFetch,WebSearch"
184
184
 
185
185
  # The dist-tag after the package name decides the version. @latest is the newest release,
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@pecot/workflow-mcp",
3
- "version": "8.0.1-dev.62",
3
+ "version": "8.0.1-dev.64",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@pecot/workflow-mcp",
9
- "version": "8.0.1-dev.62",
9
+ "version": "8.0.1-dev.64",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@modelcontextprotocol/server": "^2.4.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pecot/workflow-mcp",
3
- "version": "8.0.1-dev.62",
3
+ "version": "8.0.1-dev.64",
4
4
  "type": "module",
5
5
  "description": "pecot-workflow MCP server (standalone distribution)",
6
6
  "license": "MIT",