superpowers-mcp 6.3.9 → 6.4.1
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.
- package/README.ja.md +43 -74
- package/README.ko.md +43 -74
- package/README.md +43 -74
- package/README.zh-TW.md +43 -74
- package/docs/skill-compositions.ja.md +6 -2
- package/docs/skill-compositions.ko.md +6 -2
- package/docs/skill-compositions.md +5 -1
- package/docs/skill-compositions.zh-TW.md +6 -2
- package/out/server.js +65 -60
- package/out/setup-runner.js +17 -16
- package/out/setup.js +17 -16
- package/package.json +2 -2
- package/skills/brainstorming/visual-companion.md +6 -6
- package/skills/diagnosing-superpowers/SKILL.md +120 -0
- package/skills/diagnosing-superpowers/prompts/analyst-common.md +38 -0
- package/skills/diagnosing-superpowers/prompts/cost-and-time.md +28 -0
- package/skills/diagnosing-superpowers/prompts/plan-adherence.md +29 -0
- package/skills/diagnosing-superpowers/prompts/quality-evidence.md +26 -0
- package/skills/diagnosing-superpowers/prompts/repeated-work.md +30 -0
- package/skills/diagnosing-superpowers/prompts/request-conflicts.md +20 -0
- package/skills/diagnosing-superpowers/prompts/scrub-audit.md +33 -0
- package/skills/diagnosing-superpowers/prompts/scrub.md +29 -0
- package/skills/diagnosing-superpowers/prompts/similar-session.md +38 -0
- package/skills/diagnosing-superpowers/prompts/skill-timeline.md +30 -0
- package/skills/diagnosing-superpowers/prompts/stumbles.md +28 -0
- package/skills/diagnosing-superpowers/references/context-safety.md +22 -0
- package/skills/diagnosing-superpowers/references/github-issues.md +47 -0
- package/skills/diagnosing-superpowers/references/redaction-policy.md +34 -0
- package/skills/diagnosing-superpowers/references/session-discovery.md +31 -0
- package/skills/diagnosing-superpowers/templates/bundle-README.md +77 -0
- package/skills/diagnosing-superpowers/templates/case.md +64 -0
- package/skills/diagnosing-superpowers/templates/issue.md +51 -0
- package/skills/diagnosing-superpowers/templates/report.md +82 -0
- package/skills/executing-plans/SKILL.md +405 -58
- package/skills/executing-plans/scripts/task-done +55 -0
- package/skills/executing-plans/scripts/task-done.ps1 +83 -0
- package/skills/executing-plans/scripts/task-start +30 -0
- package/skills/executing-plans/scripts/task-start.ps1 +38 -0
- package/skills/requesting-code-review/code-reviewer.md +18 -1
- package/skills/subagent-driven-development/SKILL.md +31 -26
- package/skills/subagent-driven-development/re-review-prompt.md +1 -1
- package/skills/subagent-driven-development/scripts/review-package +4 -0
- package/skills/subagent-driven-development/scripts/review-package.ps1 +2 -0
- package/skills/subagent-driven-development/scripts/sdd-workspace +9 -5
- package/skills/subagent-driven-development/scripts/sdd-workspace.ps1 +10 -0
- package/skills/subagent-driven-development/scripts/task-brief +2 -0
- package/skills/subagent-driven-development/task-reviewer-prompt.md +2 -2
- package/skills/systematic-debugging/root-cause-tracing.md +1 -1
- package/skills/using-superpowers/SKILL.md +2 -0
- package/skills/using-superpowers/references/claude-code-tools.md +29 -0
- package/skills/using-superpowers/references/muse-tools.md +35 -0
- package/skills/writing-plans/SKILL.md +23 -12
- package/skills/writing-skills/SKILL.md +4 -2
package/README.ja.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
このドキュメントは、Superpowers スキルライブラリと自律型ワークフローを、独立した高パフォーマンスかつ安全な **Model Context Protocol (MCP)** サーバーにパッケージ化した使用説明書です。
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
| :--- | :--- | :--- |
|
|
24
24
|
| **Tools** | `list_skills`, `read_skill` | 14 種類の Superpowers スキルをオンデマンドで検索・読み込み。 |
|
|
25
25
|
| **Prompts** | 9 個のネイティブ Prompts | `session-start`, `feature-pipeline`, `structured-debug`, `skill-composition`, `sdd-implementer`, `sdd-task-reviewer`, `sdd-re-review`, `spec-reviewer`, `plan-reviewer` |
|
|
26
|
-
| **Resources** |
|
|
26
|
+
| **Resources** | 15 個の Skill URI + 1 ガイド | `skill://superpowers/<skill-name>` と `guide://superpowers/skill-compositions` |
|
|
27
27
|
|
|
28
28
|
### AI エージェントとの対話(基本操作)
|
|
29
29
|
|
|
@@ -154,15 +154,15 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
154
154
|
|
|
155
155
|
---
|
|
156
156
|
|
|
157
|
-
## 📋 サポートされているスキル総覧 (
|
|
157
|
+
## 📋 サポートされているスキル総覧 (15 のコアスキルと推奨シナリオ)
|
|
158
158
|
|
|
159
|
-
適切なスキルを迅速に選択できるように、
|
|
159
|
+
適切なスキルを迅速に選択できるように、15 のスキルをソフトウェア開発ライフサイクル (SDLC) に沿って分類し、主要な役割と推奨シナリオを統合しました:
|
|
160
160
|
|
|
161
161
|
| # | 開発フェーズ (Phase) | スキル名 (Skill Name) | 役割とコアバリュー (Purpose & Core Value) | 推奨利用シナリオ (Recommended Scenario) |
|
|
162
162
|
| :-: | :--- | :--- | :--- | :--- |
|
|
163
163
|
| 1 | **🚀 計画と設計** | **`brainstorming`** | **要件定義と設計探索**:コードを書く前に設計案や制約を明確化し仕様書を作成。Visual Companion による画面レビューも提供。 | 新機能や大幅な改修の開始前。AI がいきなりコードを書き始めるのを防止。 |
|
|
164
164
|
| 2 | **🚀 計画と設計** | **`writing-plans`** | **実装計画の作成**:仕様書を独立検証可能なタスク一覧に分解し、Recommended Skill と変更対象を明記。 | 複数ファイルのリファクタリングや複雑な移行作業の前に実行計画を確立。 |
|
|
165
|
-
| 3 | **💻 実装と開発** | **`executing-plans`** |
|
|
165
|
+
| 3 | **💻 実装と開発** | **`executing-plans`** | **計画の順次実行**:現在のセッションで全タスクをステップバイステップで実行し、最後にブランチ全体を一度レビュー。 | サブエージェントを起動せず、同一セッション内で計画を順次実行したい時。 |
|
|
166
166
|
| 4 | **💻 実装と開発** | **`subagent-driven-development`** | **サブエージェント駆動開発 (SDD)**:タスクごとにクリーンなコンテキストのサブエージェントを起動し、2 段階の対抗的レビューを実施。 | 複雑な計画を実行する際の推奨方式。コンテキスト汚染を防ぎ精度を向上。 |
|
|
167
167
|
| 5 | **💻 実装と開発** | **`test-driven-development`** | **テスト駆動開発 (TDD)**:Red ➔ Green ➔ Refactor サイクルを厳格に適用し、テストを伴う高品質なコードを実装。 | ロジックの複雑な機能やコアアルゴリズムの実装時。 |
|
|
168
168
|
| 6 | **🔍 デバッグと調査** | **`systematic-debugging`** | **体系的根本原因デバッグ**:エラーを検証可能な仮説に分解し、推測を排して体系的にバグを特定・修正。 | エラー、予期しない動作、再現困難なバグが発生した時。 |
|
|
@@ -174,12 +174,49 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
174
174
|
| 12 | **🤖 高度なエージェント制御** | **`dispatching-parallel-agents`** | **並行エージェントディスパッチ**:隔離環境で複数のサブエージェントを並行稼働させ、複数の仮説を同時に検証。 | 複数のテストが同時に失敗し、並行調査で原因特定を加速したい時。 |
|
|
175
175
|
| 13 | **🤖 高度なエージェント制御** | **`using-superpowers`** | **基本規律とスキル導入**:適切なスキルを必ず検索・適用するための Superpowers の基本規律を確立。 | セッション開始時に自動読み込みされ、AI の行動規範を規定。 |
|
|
176
176
|
| 14 | **🤖 高度なエージェント制御** | **`writing-skills`** | **スキルの作成と管理**:新しい Superpowers スキルの作成、テスト、パッケージ化の標準手順。 | チーム独自の新しいスキルを作成または拡張したい時。 |
|
|
177
|
+
| 15 | **🤖 高度なエージェント制御** | **`diagnosing-superpowers`** | **セッションのフォレンジックとバグ報告**:ディスク上のトランスクリプトから問題の経緯を証拠付きで再構成し、スクラブ済みバンドルや GitHub issue 草案を作成。 | セッションが迷走した原因を証拠で解明したい時や、Superpowers メンテナへバグ報告する時。 |
|
|
177
178
|
|
|
178
179
|
---
|
|
179
180
|
|
|
180
181
|
## 🆕 最近の更新
|
|
181
182
|
|
|
182
|
-
### v6.
|
|
183
|
+
### v6.4.1(最新)
|
|
184
|
+
|
|
185
|
+
- **上流 obra/superpowers v6.4.1 への同期**:
|
|
186
|
+
- **ネイティブなインライン実行**:書き直された `executing-plans` は新しい `task-start` / `task-done` で計画全体を実行し、最後にブランチ全体を一度レビュー(途中チェックインなし)。
|
|
187
|
+
- **新スキル `diagnosing-superpowers`**:ディスク上の記録から証拠付きでセッションを鑑識し、スクラブ済みバンドルや GitHub issue 草案を作成(全 15 スキル)。
|
|
188
|
+
- **レビュー動作**:未定義動作は合理的な利用者の期待で評価、`Declined to judge` リスト、`BASE_SHA` は `git merge-base origin/main HEAD`。
|
|
189
|
+
- **計画の Review Focus**:仕様が示唆するエッジケースを担当タスクに紐付ける新規テンプレート節とセルフレビュー項目。
|
|
190
|
+
- **新規ハーネス参照**:Muse と Claude Code のツール対応表;Devin / OpenCode 参照は維持。
|
|
191
|
+
- スクリプトはインタプリタ(`bash` / `node`)経由で呼び出し、マーケットプレイス packaging による実行ビット剥落に耐性化。
|
|
192
|
+
- **Windows 対応と回帰フロア**:
|
|
193
|
+
- 新規 `task-start.ps1` / `task-done.ps1` と sh/ps1 対称テストスイート。
|
|
194
|
+
- 採用済み PR の耐久コンテンツを全て維持(Discoveries 台帳、レビューファイル契約、greenfield スクリプト、リモート安全境界);drift ベースラインを再記録し差分ゼロ。
|
|
195
|
+
- **包括的セキュリティ監査と回帰テスト基盤**([`SECURITY.md`](SECURITY.md)):
|
|
196
|
+
- 全テストスイート **365 件の自動化アサーション**(Node.js: 170、Bash: 67、PowerShell: 128)が 100% 合格、脆弱性ゼロ・機密漏洩ゼロを確認。
|
|
197
|
+
- インライン `task-done` は操作者が指定したテストを argv として実行(`"$@"` / `& $exe @rest`)。シェル解釈はしない。台帳の記録は表示専用。
|
|
198
|
+
- `diagnosing-superpowers` はローカル読み取り・エクスポートは相手承認後。スクラブはベストエフォートのため、共有前に必ず目視確認。
|
|
199
|
+
- 延期 findings のエクスポートは `Final: minor (deferred):` を含み、完了行の parked 件数には一致しない。
|
|
200
|
+
- ローカル Devin 設定(`.devin/`)は gitignore 済み。
|
|
201
|
+
|
|
202
|
+
### v6.3.10
|
|
203
|
+
|
|
204
|
+
- **ユニバーサルセットアップエンジンのキー名衝突解消とユーザー設定の無損失保持**:
|
|
205
|
+
- 既存の `servers`、`mcp`、`mcpServers` を自動探索し、異なる AI Client 間で競合する重複設定ブロックが作成されるのを防止。
|
|
206
|
+
- 再インストール時にもユーザー独自の `env`、`cwd`、`disabled`、`alwaysAllow` 等のフィールドを安全にマージし無損失で保持。
|
|
207
|
+
- `disabled: true` と `enabled: true` が矛盾して併存する不正状態を確実に排除。
|
|
208
|
+
- コマンドライン引数を厳格に検証し、未定義の位置引数を拒絶(終了コード 1)。唐突なプロセス終了を `process.exitCode` に統一し、パイプラインでの非同期 I/O 切り捨てを防止。
|
|
209
|
+
- **コアスキルエンジンの単一 Stat スナップショット検証と世代シールド**:
|
|
210
|
+
- キャッシュ検証に単一 `fs.stat` スナップショット比較(`dev`, `ino`, `size`, `mtimeMs`)を採用。シンボリックリンクやファイルが差し替えられた場合は即座にキャッシュを無効化(全ディレクトリ走査不要)。
|
|
211
|
+
- `clearCache()` で単調増加の `scanEpoch` を進め `loadingEpoch` をリセットすることで、非同期遅延スキャンによるキャッシュリセット後の上書き汚染を防止。
|
|
212
|
+
- オープン済み記述子の Inode 検証(`readFileNoFollow`)により TOCTOU 記述子差し替えを排除。
|
|
213
|
+
- **MCP Prompt テンプレートの堅牢性と重複展開排除**:
|
|
214
|
+
- テンプレートファイルが空または存在しない場合、構造化 `stderr` 診断を出力し標準 `McpError(ErrorCode.InternalError)` をスロー。
|
|
215
|
+
- `appliedInterpolations` により置換済みプレースホルダーを追跡し、多重の引数末尾追加を防止。
|
|
216
|
+
- **包括的セキュリティ監査と回帰テスト基盤**:
|
|
217
|
+
- 全テストスイート **292 件の自動化アサーション**(Node.js: 163、Bash: 35、PowerShell: 94)が 100% 合格、脆弱性ゼロ・機密漏洩ゼロを確認。
|
|
218
|
+
|
|
219
|
+
### v6.3.9
|
|
183
220
|
|
|
184
221
|
- **完全な ReDoS 防御(CodeQL Alert #4 の解決)**:
|
|
185
222
|
- YAML 解析(`updateYamlConfig`)の多項式バックトラック正規表現を明確なプレフィックス一致とネイティブ `String.prototype.trim()` に置換。
|
|
@@ -194,74 +231,6 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
194
231
|
- **デスクトップセットアップガイド**:
|
|
195
232
|
- LM Studio、Roo Code、ChatWise、Cherry Studio の設定手順を解説した [`docs/desktop-setup.md`](docs/desktop-setup.md) を追加。
|
|
196
233
|
|
|
197
|
-
### v6.3.8
|
|
198
|
-
|
|
199
|
-
- **実行可能な対話型ワークフローランチャー**:
|
|
200
|
-
- `feature-pipeline` と `structured-debug` は、ステージごとに明示的な `read_skill` 呼び出しを示し、必要なユーザー承認ゲートを保持し、実行が MCP サーバー内ではなくクライアント Agent 側で行われることを明記します。
|
|
201
|
-
- マルチ Agent 対応 Host では Subagent を使い、非対応 Host では利用できない機能を称することなくインラインまたは逐次実行にフォールバックします。
|
|
202
|
-
- `read_skill` はスキル名単体と、文書化された `superpowers:` プレフィックスの両方を受け付けます。
|
|
203
|
-
- Skill Compositions ガイドを npm パッケージに含め、`guide://superpowers/skill-compositions` からも参照できます。
|
|
204
|
-
- **ユニバーサルセットアップエンジンの並行安全性・Inode 防御・シンボリックリンク脱出防止**:
|
|
205
|
-
- **Allowed Roots 境界隔離**:設定の書き込み先を明示的な許可ルート(`homeDir`、`appData`、`localAppData`)内に限定し、親ディレクトリシンボリックリンク経由の脱出攻撃を遮断。
|
|
206
|
-
- **楽観的並行競合検知**:アトミックな `fs.renameSync` の直前にディスク内容と `expectedContent` を照合し、マルチプロセス競合による新しい設定の上書きを防止。
|
|
207
|
-
- **ディレクトリ Inode & Dev TOCTOU 防御**:一時ファイル書き込み前後でディレクトリのデバイス ID と inode を検証し、ディレクトリ差し替え攻撃を無効化。
|
|
208
|
-
- **Fail-Closed 厳格構文検証**:JSON のルートまたはサーバー項目が Plain Object でない場合は即座に拒絶し、プロトタイプ汚染を防止。
|
|
209
|
-
- **コアスキルエンジンの確定性ソートと動的キャッシュ再検証**:
|
|
210
|
-
- **確定性ディレクトリ走査と衝突防止**:ディレクトリをアルファベット順に確定ソートし、競合キーを即座に検知して重複を安全にスキップ。
|
|
211
|
-
- **自動キャッシュ再検証 (`CACHE_REVALIDATE_MS = 1000`)**:ディスクの変更を 1 秒以内に自動検知・同期し、サーバー再起動なしで編集を反映。
|
|
212
|
-
- **大文字小文字フォールディングと正規パス防御**:`src/server.ts` が darwin/win32 で大文字小文字フォールディングと `fs.realpathSync` を実行し、システム保護ディレクトリを確実に遮断。
|
|
213
|
-
- **RFC 6455 WebSocket プロトコル強化と弾力性ログ圧縮**:
|
|
214
|
-
- `CONTINUATION` (0x00) 分割メッセージの再構築を完全サポートし、制御フレームの分割禁止(`opcode >= 0x8 && !fin`)と非標準 RSV 拡張の排除を徹底。
|
|
215
|
-
- 末尾弾力性ログ圧縮:イベントログが 1 MB 上限に達した際、改行区切りの直近レコードを保持したままローテーションし、履歴の全損を回避。
|
|
216
|
-
- 秘密ファイル記述子を `O_RDWR | O_APPEND | O_CREAT | O_NOFOLLOW` で安全にオープン。
|
|
217
|
-
- **Shell および PowerShell スクリプトのコマンドインジェクション防御**:
|
|
218
|
-
- `find-polluter.sh` および `find-polluter.ps1`:配列展開引数受け渡し (`"${TEST_COMMAND[@]}"`、`& $testCommand @testCommandArgs`) と空白セーフな読み込みループにより、シェルインジェクションを根絶。
|
|
219
|
-
- `sdd-workspace`:`cd` 実行前に `CDPATH=''` をリセットし、環境変数によるディレクトリハイジャックを防止。
|
|
220
|
-
- `sdd-workspace.ps1`:BOM なし UTF-8 (`[System.Text.UTF8Encoding]::new($false)`) でプランマーカーを保存し、Unicode パスの完全性を保護。
|
|
221
|
-
- **全自動回帰テストの基盤**:
|
|
222
|
-
- テストスイートを **274 の全自動アサーション**(Node.js: 145、Bash: 35、PowerShell: 94)に拡張し、100% の合格率を維持。
|
|
223
|
-
|
|
224
|
-
### v6.3.7
|
|
225
|
-
|
|
226
|
-
- **上流同期 — バッチ 1〜3(obra/superpowers)**:
|
|
227
|
-
- **スキルの自動ルーティング**:`systematic-debugging` と `test-driven-development` の description にトリガーフレーズ(`"tdd"`、`"systematic debug"` など)と相互クロスルートを追加し、MCP クライアントでのスキル選択精度を向上。
|
|
228
|
-
- **テストコマンドがない場合のエビデンス律**:`verification-before-completion` に「When There Is No Test Command」を追加。レポート、調査、監査、書簡では成果物を再度開き、証明できる事項を証明し、未完了項目を明示。主張できるのは「完全」であり「正しい」ではない。
|
|
229
|
-
- **ブレインストーミングの意図ゲート**:「Establish Shared Understanding」(意図の探索 → 理解の書き戻し → 設計への引き継ぎ)を新設し、HARD-GATE をパスごとの前提条件を列挙する形に書き直し。一度の承認を残り工程の省略許可と見なすことを禁止。
|
|
230
|
-
- **プランニング・ハンドオフ・レビュー**:brainstorming の仕様セルフレビューを 0.0–9.9 の評価 + burden ledger + 単一の有界改善パス + 読み取り専用の再評価に昇格。失敗時は初稿へ復元する安全則付き。
|
|
231
|
-
- **保存済みプランのレビューと文脈的ハンドオフ**:`writing-plans` は実行前に人間が保存プランをレビューすることを必須化。実行方法が未指定の場合は、固定の既定値ではなくこのプラン固有の推奨を提示。
|
|
232
|
-
- **プランのチェックボックス簿記**:`executing-plans` と `subagent-driven-development` が完了メッセージと同時にプランファイルの手順をチェック。
|
|
233
|
-
- **リモート安全境界**:`using-git-worktrees` は共有 ref から分岐する際に `--no-track` を必須化し、`git branch -vv` による追跡確認(初回 commit 前に `--unset-upstream`)を求める。`executing-plans` は commit をローカルに留め、共有ブランチの書き換えを禁止。implementer はタスク中の push 要求を BLOCKED として controller に報告する。
|
|
234
|
-
- **Discoveries 台帳**:SDD の進捗台帳に `## Discoveries` セクションを追加し、タスク横断の知見が compaction を越えて次のディスパッチのインターフェース条項に引き継がれる。
|
|
235
|
-
- **保留所見のエクスポート**:プランワークスペース削除前に、`Ruling:`/`minor (deferred)`/`parked` 行を PR の「Deferred items」チェックリスト、またはコミット済み `docs/superpowers/follow-ups/<plan>.md` へ退避する。
|
|
236
|
-
- **Greenfield SDD スクリプト**:リポジトリ未作成時は `sdd-workspace` がカレントディレクトリへフォールバック(`.ps1` も同様)。`review-package` は非リポジトリ環境で実行可能なエラーを返す。
|
|
237
|
-
- **TDD 特性化ガード**:振る舞いを保つリファクタリング向けの 5 ステップ手順(変異→失敗確認→VCS 復元→グリーン維持)。境界とミューテーション検査の各節から参照。
|
|
238
|
-
- **上流コンテンツ同期 — バッチ 4**:brainstorm の起動スクリプトは `BRAINSTORM_HOST`/`BRAINSTORM_URL_HOST` からホスト既定値を取得(`--host`/`--url-host` が優先)。`writing-skills` にコンテンツ移動時のリンク再解決手順を追加し、SDD レビュアは完全なレポートを `…/task-N-review.md` に書いて 15 行未満の要約のみを返すようになり、MCP 側に `review_file` 引数(指定パスが正規化後にレポート/brief ファイルと一致する場合は導出した `-review.md` に置換)と、`[FIX_BASE_SHA]` を実際に展開する `fix_base_sha` 別名を追加。
|
|
239
|
-
- **上流ドリフトレポート**:`npm run drift` がコミット済みベースラインと `obra/superpowers` を比較し、採用済みファイルの変更・ローカルに無い取り込み・fork 独自追加を一覧表示。`npm run drift:record -- --ignore <skill>` でレビュー済み同期後に更新し、書き込み前に途中で切れた API tree を拒否。
|
|
240
|
-
- **MCP サーフェス網羅テスト**:ディスク上の各スキルは自身のコンテンツを返す MCP リソースとして公開され、プロンプト一覧は 4 つの README と完全一致すること。
|
|
241
|
-
- **MCP 説明文の忠実性**:上流のエスケープ引用形式を非引用の YAML plain scalar に適応し、`SkillsManager` が MCP 経由で余分なバックスラッシュを出力しないようにした。
|
|
242
|
-
- **回帰ガード**:`tests/upstream_sync_test.js` をバッチ 1〜4 を覆う 22 個のラベル付きチェックに拡張。全スイート合格(npm 8 スイート 139 チェック、PowerShell 90 アサーション、SDD 16 + ホスト既定 11 + render-graph 8 の bash アサーション)。
|
|
243
|
-
- **リリース準備の強化**:Bash/PowerShell の brainstorm host テストは background モードを明示的に強制し、264 アサーションの全マトリクスが `CODEX_CI=1` でも完了。`package-lock.json` を v6.3.7 と Node `>=18` に同期し、npm repository と CLI `bin` メタデータを正規化。`npm publish --dry-run` とパッケージのインストール smoke test で検証済み。
|
|
244
|
-
|
|
245
|
-
### v6.3.6
|
|
246
|
-
|
|
247
|
-
- **極限のパフォーマンス最適化(2倍〜8.1倍の高速化)**:
|
|
248
|
-
- **スキルの並行インデックスと事前キャッシュ**:`SkillsManager.listSkills` を非同期並行ディレクトリ走査(`Promise.all`)とルートパス事前解決キャッシュにアップグレードし、コールドスタート時のインデックス遅延を 4.79ms から 2.35ms に短縮(**2.04倍の高速化**)。
|
|
249
|
-
- **超高速インメモリ Canonical キャッシュ**:`readSkillContent` において物理実パスをキーとする Canonical キャッシュとエイリアスマッピングを導入し、同一スキルの再読み込み時間を 0.013ms から 1.6µs に短縮(**8.1倍の高速化**)。
|
|
250
|
-
- **Frontmatter スライシングと ReDoS 防御**:`parseFrontmatter` においてファイル全体の一括正規表現走査を 64 KB のプレフィックスバッファ切り出しに置き換え、大規模ファイルでの GC 停止と二次関数的 ReDoS リスクを根絶。
|
|
251
|
-
- **JSON パース高速パス**:`stripJsonComments` (`src/setup-runner.ts`) にネイティブ JSON 試行を導入し、コメントのない設定ファイルの読み込み時間を 0.55µs に短縮(**5.1倍の高速化**)。
|
|
252
|
-
- **マルチターゲット並行ビルド**:`esbuild.js` で 4 つの独立アーティファクトを `Promise.all` で並行コンパイルし、ビルド時間を ~50ms に短縮(**~42% 高速化**)。
|
|
253
|
-
- **デュアル Subagent 深度コードレビューと包括的欠陥修正 (FIX ALL)**:
|
|
254
|
-
- **Partial-Read バッファ切り捨て防御**:`SkillsManager.readFileNoFollow` に累積読み込みループ(`while (totalRead < fileSize)`)を実装し、高負荷 I/O や仮想ファイルシステムでの暗黙の Markdown 切り捨てを防止。
|
|
255
|
-
- **Scan Epoch 並行競合シールド**:`listSkills` に単調増加の `scanEpoch` カウンタを導入し、非同期の古いスキャンが最新のキャッシュ状態を上書きするレースコンディションを解消。
|
|
256
|
-
- **Canonical キャッシュ整合性の保証**:実物理パス(`realFilePath`)をマスターキーとし、`canonicalPathMap` でエイリアスを追跡することで、強制リロード時のシンボリックリンクキャッシュ乖離(Cache Drift)を根絶。
|
|
257
|
-
- **システムディレクトリブラックリストの拡張**:`getSafeSkillsPath` に macOS 固有の `/private/etc` および `/private/var` を追加し、特権ディレクトリへのパスエスケープを防止。
|
|
258
|
-
- **設定書き込み時のシンボリックリンク先検証**:`safeWriteConfig` で `fs.lstat` と実パス解決を実施し、機密システム領域へのシンボリックリンク書き込みを拒絕。
|
|
259
|
-
- **厳格な TypeScript と Rule 7 ゼロ欠陥準拠**:未使用のデッドコード(`exists`)を完全削除し、`--noUnusedLocals --noUnusedParameters` に合格。型なし・空の catch ブロックをすべて排除。
|
|
260
|
-
- **自動化テストスイートの拡張と回帰検証**:
|
|
261
|
-
- 85 件のコアユニット/結合テストと 174 件の回帰アサーションが 100% 合格(`setup_test.js` は 33 件すべて合格)。[`SECURITY.md`](SECURITY.md)、[`tests/code_review_report.md`](tests/code_review_report.md)、[`tests/performance_optimization_report.md`](tests/performance_optimization_report.md) を整備。
|
|
262
|
-
- **多言語ドキュメントの同期**:
|
|
263
|
-
- 4 言語すべての README([`README.md`](README.md)、[`README.zh-TW.md`](README.zh-TW.md)、[`README.ja.md`](README.ja.md)、[`README.ko.md`](README.ko.md))でサポート環境一覧、パフォーマンス指標、ワンクリックコマンド表を同期。
|
|
264
|
-
|
|
265
234
|
👉 *これまでの詳細なリリース履歴については、完全な [CHANGELOG.md](CHANGELOG.md) を参照してください。*
|
|
266
235
|
|
|
267
236
|
---
|
package/README.ko.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
이 문서는 Superpowers 스킬 라이브러리와 자율 에이전트 워크플로우를 독립적이고 고성능이며 안전한 **Model Context Protocol (MCP)** 서버로 패키징한 사용 지침을 요약한 것입니다.
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
| :--- | :--- | :--- |
|
|
24
24
|
| **Tools** | `list_skills`, `read_skill` | 14개의 Superpowers 스킬을 온디맨드로 검색, 로드 및 확인합니다. |
|
|
25
25
|
| **Prompts** | 9개의 네이티브 Prompts | `session-start`, `feature-pipeline`, `structured-debug`, `skill-composition`, `sdd-implementer`, `sdd-task-reviewer`, `sdd-re-review`, `spec-reviewer`, `plan-reviewer` |
|
|
26
|
-
| **Resources** |
|
|
26
|
+
| **Resources** | 15개 Skill URI + 1개 가이드 | `skill://superpowers/<skill-name>` 및 `guide://superpowers/skill-compositions` |
|
|
27
27
|
|
|
28
28
|
### AI 에이전트와 대화하기 (기본 사용법)
|
|
29
29
|
|
|
@@ -154,15 +154,15 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
154
154
|
|
|
155
155
|
---
|
|
156
156
|
|
|
157
|
-
## 📋 지원되는 스킬 총람 (
|
|
157
|
+
## 📋 지원되는 스킬 총람 (15대 핵심 스킬 및 추천 시나리오)
|
|
158
158
|
|
|
159
|
-
상황에 맞는 스킬을 신속하게 선택할 수 있도록,
|
|
159
|
+
상황에 맞는 스킬을 신속하게 선택할 수 있도록, 15개의 스킬을 소프트웨어 개발 라이프사이클(SDLC)에 맞추어 분류하고 주요 역할과 커뮤니티 권장 시나리오를 하나로 통합했습니다:
|
|
160
160
|
|
|
161
161
|
| # | 개발 단계 (Phase) | 스킬 이름 (Skill Name) | 역할 및 핵심 가치 (Purpose & Core Value) | 추천 사용 시나리오 (Recommended Scenario) |
|
|
162
162
|
| :-: | :--- | :--- | :--- | :--- |
|
|
163
163
|
| 1 | **🚀 계획 및 설계** | **`brainstorming`** | **요구사항 명확화 및 설계 탐색**:코드 작성 전 아키텍처 방안과 제약을 명확히 하고 스펙을 산출. Visual Companion 브라우저 UI 검토 지원. | 새 기능이나 대규모 변경을 시작하기 전, AI가 바로 코딩하는 것을 방지. |
|
|
164
164
|
| 2 | **🚀 계획 및 설계** | **`writing-plans`** | **구현 계획 분해**:스펙을 독립 검증 가능한 작업 목록으로 분해하고 Recommended Skill 및 파일 계약 명시. | 여러 파일 리팩토링이나 복잡한 마이그레이션 전 명확한 청사진 수립. |
|
|
165
|
-
| 3 | **💻 구현 및 개발** | **`executing-plans`** | **세션 내 계획 순차 실행**:현재 세션에서
|
|
165
|
+
| 3 | **💻 구현 및 개발** | **`executing-plans`** | **세션 내 계획 순차 실행**:현재 세션에서 모든 작업을 단계별로 실행한 뒤 마지막에 브랜치 전체를 한 번 검토. | 서브에이전트를 생성하지 않고 동일 세션 내에서 순차적으로 계획을 실행할 때. |
|
|
166
166
|
| 4 | **💻 구현 및 개발** | **`subagent-driven-development`** | **서브에이전트 주도 개발 (SDD)**:작업별로 깨끗한 컨텍스트의 서브에이전트를 디스패치하고 이중 대립 코드 리뷰 수행. | 복잡한 계획 실행 시 컨텍스트 오염을 방지하고 정확도를 높이는 권장 방식. |
|
|
167
167
|
| 5 | **💻 구현 및 개발** | **`test-driven-development`** | **테스트 주도 개발 (TDD)**:Red ➔ Green ➔ Refactor 주기를 엄격히 준수하여 견고한 테스트를 갖춘 코드 구현. | 논리적으로 복잡한 기능이나 핵심 알고리즘을 구현할 때. |
|
|
168
168
|
| 6 | **🔍 디버깅 및 조사** | **`systematic-debugging`** | **체계적 근본 원인 디버깅**:오류를 검증 가능한 가설로 분해하고 체계적으로 원인을 추적하여 임의 수정을 방지. | 오류, 비정상 동작 또는 재현하기 어려운 버그가 발생했을 때. |
|
|
@@ -174,10 +174,47 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
174
174
|
| 12 | **🤖 고급 에이전트 제어** | **`dispatching-parallel-agents`** | **병렬 에이전트 조율**:격리된 환경에서 여러 서브에이전트를 병렬 디스패치하여 복수 가설을 동시에 검증. | 여러 테스트가 동시에 실패하여 병렬 조사로 원인 규명을 가속화할 때. |
|
|
175
175
|
| 13 | **🤖 고급 에이전트 제어** | **`using-superpowers`** | **기본 규율 및 스킬 로드**:작업 전 적절한 스킬을 탐색하고 적용하도록 안내하는 Superpowers 기본 규율. | 세션 시작 시 자동으로 로드되어 AI의 행동 규범을 설정. |
|
|
176
176
|
| 14 | **🤖 고급 에이전트 제어** | **`writing-skills`** | **스킬 작성 및 관리**:새로운 Superpowers 스킬을 생성, 테스트 및 패키징하는 표준 가이드. | 팀 전용 새 스킬을 작성하거나 기존 스킬을 확장할 때. |
|
|
177
|
+
| 15 | **🤖 고급 에이전트 제어** | **`diagnosing-superpowers`** | **세션 포렌식 및 버그 리포트**:디스크의 트랜스크립트에서 문제 경위를 증거와 함께 재구성하고, 스크럽된 번들과 GitHub 이슈 초안을 작성. | 세션이 어긋난 원인을 증거로 규명하거나 Superpowers 메인테이너에게 버그를 보고할 때. |
|
|
177
178
|
|
|
178
179
|
## 🆕 최근 업데이트
|
|
179
180
|
|
|
180
|
-
### v6.
|
|
181
|
+
### v6.4.1 (최신)
|
|
182
|
+
|
|
183
|
+
- **상류 obra/superpowers v6.4.1 동기화**:
|
|
184
|
+
- **네이티브 인라인 실행**: 새로 작성된 `executing-plans`가 신규 `task-start` / `task-done`으로 전체 계획을 실행한 뒤 브랜치 전체를 한 번만 리뷰(중간 체크인 없음).
|
|
185
|
+
- **신규 스킬 `diagnosing-superpowers`**: 디스크 기록에서 증거와 함께 세션을 감식하고 스크럽된 번들과 GitHub 이슈 초안 작성(총 15개 스킬).
|
|
186
|
+
- **리뷰 동작**: 미정의 동작은 합리적 사용자 기대로 평가, `Declined to judge` 목록, `BASE_SHA`는 `git merge-base origin/main HEAD` 사용.
|
|
187
|
+
- **계획 Review Focus**: 스펙이 시사하는 엣지 케이스를 담당 태스크에 연결하는 신규 템플릿 섹션과 셀프 리뷰 항목.
|
|
188
|
+
- **신규 하네스 참조**: Muse 및 Claude Code 도구 매핑; Devin / OpenCode 참조 유지.
|
|
189
|
+
- 스크립트는 인터프리터(`bash` / `node`) 경유 호출로 마켓플레이스 패키징의 실행 비트 손상에 내성 확보.
|
|
190
|
+
- **Windows 대응 및 회귀 플로어**:
|
|
191
|
+
- 신규 `task-start.ps1` / `task-done.ps1`과 sh/ps1 대칭 테스트 스위트.
|
|
192
|
+
- 채택된 PR 내구성 콘텐츠 전부 유지(Discoveries 원장, 리뷰 파일 계약, greenfield 스크립트, 원격 안전 경계); drift 베이스라인 재기록, 잔여 차이 없음.
|
|
193
|
+
- **포괄적인 보안 감사 및 자동화 회귀 테스트 기준선** ([`SECURITY.md`](SECURITY.md)):
|
|
194
|
+
- 전체 스위트 **365개 자동 어서션**(Node.js: 170, Bash: 67, PowerShell: 128) 100% 통과, 취약점 0건, 기밀 유출 0건 확인.
|
|
195
|
+
- 인라인 `task-done`은 운영자가 지정한 테스트를 argv로 실행(`"$@"` / `& $exe @rest`)하며 셸로 재해석하지 않음. 원장 기록은 표시 전용.
|
|
196
|
+
- `diagnosing-superpowers`는 로컬 읽기만 수행하고 내보내기는 상대 승인 후. 스크럽은 최선을 다하는 수준이므로 공유 전 반드시 검토.
|
|
197
|
+
- 지연 findings 내보내기는 `Final: minor (deferred):`를 포함하며 완료 줄의 parked 건수에는 일치하지 않음.
|
|
198
|
+
- 로컬 Devin 설정(`.devin/`)은 gitignore됨.
|
|
199
|
+
|
|
200
|
+
### v6.3.10
|
|
201
|
+
|
|
202
|
+
- **유니버설 글로벌 설정 엔진 키 충돌 해소 및 사용자 설정 무손실 보존**:
|
|
203
|
+
- 기존의 `servers`, `mcp`, `mcpServers`를 자동 감지하여 서로 다른 AI Client 환경에서 중복되거나 모순되는 설정 블록이 생성되는 것을 방지.
|
|
204
|
+
- 재설치 시에도 사용자가 직접 구성한 `env`, `cwd`, `disabled`, `alwaysAllow` 등의 필드를 안전하게 병합하고 무손실 보존.
|
|
205
|
+
- `disabled: true`와 `enabled: true`가 동시에 공존하는 모순 상태를 원천 차단.
|
|
206
|
+
- 명령행 인수를 엄격하게 검증하여 예기치 않은 위치 인수를 거부(종료 코드 1). 프로세스 종료를 `process.exitCode`로 표준화하여 Unix 파이프라인에서 비동기 I/O 잘림 방지.
|
|
207
|
+
- **핵심 스킬 엔진 단일 Stat 스냅샷 검증 및 세대 격리**:
|
|
208
|
+
- 단일 `fs.stat` 스냅샷 비교(`dev`, `ino`, `size`, `mtimeMs`)를 도입하여 심볼릭 링크나 파일이 교체된 경우 전체 디렉터리 재탐색 없이 즉시 캐시를 무효화.
|
|
209
|
+
- `clearCache()`에서 단조 증가하는 `scanEpoch`를 전진시키고 `loadingEpoch`를 리셋하여 지연된 비동기 스캔이 캐시 리셋 후 최신 상태를 오염시키는 것을 방지.
|
|
210
|
+
- 열려 있는 디스크립터의 Inode 검증(`readFileNoFollow`)을 통해 TOCTOU 디스크립터 교체 경쟁 조건 제거.
|
|
211
|
+
- **MCP Prompt 템플릿 견고성 및 중복 인수 추가 방어**:
|
|
212
|
+
- 템플릿 파일이 비어 있거나 누락된 경우 구조화된 `stderr` 진단을 출력하고 표준 `McpError(ErrorCode.InternalError)`를 발생시킴.
|
|
213
|
+
- `appliedInterpolations`를 통해 치환된 템플릿 플레이스홀더를 추적하여 불필요한 레거시 인수 중복 추가 방지.
|
|
214
|
+
- **포괄적인 보안 감사 및 자동화 회귀 테스트 기준선**:
|
|
215
|
+
- 전체 스위트 **292개 자동 어서션**(Node.js: 163, Bash: 35, PowerShell: 94) 100% 통과, 취약점 0건, 기밀 유출 0건 확인.
|
|
216
|
+
|
|
217
|
+
### v6.3.9
|
|
181
218
|
|
|
182
219
|
- **영구적인 ReDoS 방어 (CodeQL Alert #4 해결)**:
|
|
183
220
|
- YAML 파싱(`updateYamlConfig`)의 다항식 역추적 정규식을 모호하지 않은 접두사 일치와 네이티브 `String.prototype.trim()`으로 대체.
|
|
@@ -192,74 +229,6 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
192
229
|
- **데스크톱 설정 가이드**:
|
|
193
230
|
- LM Studio, Roo Code, ChatWise, Cherry Studio의 상세 설정 지침을 담은 [`docs/desktop-setup.md`](docs/desktop-setup.md) 추가.
|
|
194
231
|
|
|
195
|
-
### v6.3.8
|
|
196
|
-
|
|
197
|
-
- **실행 가능한 대화형 워크플로 런처**:
|
|
198
|
-
- `feature-pipeline`과 `structured-debug`는 단계별 명시적 `read_skill` 호출을 제공하고, 필수 사용자 승인 게이트를 유지하며, MCP 서버 내부가 아닌 클라이언트 Agent가 실행한다는 점을 명확히 밝힙니다.
|
|
199
|
-
- 멀티 Agent를 지원하는 Host에서는 Subagent를 사용하고, 그 외에는 없는 기능을 사용했다고 표현하지 않고 인라인 또는 순차 실행으로 폴백합니다.
|
|
200
|
-
- `read_skill`은 스킬 이름 단독 형식과 문서화된 `superpowers:` 접두사 형식을 모두 지원합니다.
|
|
201
|
-
- Skill Compositions 가이드가 npm 패키지에 포함되며 `guide://superpowers/skill-compositions`에서도 읽을 수 있습니다.
|
|
202
|
-
- **유니버설 글로벌 설정 엔진 동시성 안전, Inode 방어 및 심볼릭 링크 탈출 격리**:
|
|
203
|
-
- **Allowed Roots 경계 격리**: 설정 파일 대상을 사용자가 명시한 허용 루트(`homeDir`, `appData`, `localAppData`) 내부로 제한하여 상위 디렉터리 심볼릭 링크 탈출 공격 차단.
|
|
204
|
-
- **낙관적 동시성 충돌 감지**: 원자적 `fs.renameSync` 직전에 디스크 내용과 `expectedContent`를 대조하여 다중 프로세스 경쟁으로 인한 최신 설정 덮어쓰기 방지.
|
|
205
|
-
- **디렉터리 Inode & Dev TOCTOU 방어**: 임시 파일 작성 전후로 디렉터리의 디바이스 ID와 inode를 검증하여 디렉터리 교체 공격 차단.
|
|
206
|
-
- **Fail-Closed 엄격 구문 분석**: JSON 루트 또는 서버 필드가 Plain Object가 아닐 경우 즉시 거부하여 프로토타입 오염 방지.
|
|
207
|
-
- **핵심 스킬 엔진 결정론적 정렬 및 동적 캐시 재검증**:
|
|
208
|
-
- **결정론적 디렉터리 색인 및 충돌 방어**: 디렉터리를 알파벳순으로 정렬하고 충돌 키를 즉시 감지하여 안전하게 중복 건너뛰기.
|
|
209
|
-
- **자동 캐시 재검증 (`CACHE_REVALIDATE_MS = 1000`)**: 디스크 변경 사항을 1초 내에 자동 감지하여 서버 재시작 없이 편집 내용 반영.
|
|
210
|
-
- **대소문자 폴딩 및 정규 경로 방어**: `src/server.ts`가 darwin/win32에서 대소문자 폴딩과 `fs.realpathSync`를 수행하여 시스템 보호 디렉터리 접근 원천 차단.
|
|
211
|
-
- **RFC 6455 WebSocket 프로토콜 강화 및 복원력 있는 로그 압축**:
|
|
212
|
-
- `CONTINUATION` (0x00) 분할 메시지 재조합 완전 지원, 제어 프레임 분할 금지(`opcode >= 0x8 && !fin`) 및 비표준 RSV 확장 엄격 차단.
|
|
213
|
-
- 후미 탄력적 로그 압축: 이벤트 로그가 1 MB 한도에 도달하면 개행 정렬된 최근 레코드를 보존하여 전체 손실 방지.
|
|
214
|
-
- 비공개 파일 디스크립터를 `O_RDWR | O_APPEND | O_CREAT | O_NOFOLLOW`로 안전하게 열기.
|
|
215
|
-
- **Shell 및 PowerShell 스크립트 명령 주입 방어**:
|
|
216
|
-
- `find-polluter.sh` 및 `find-polluter.ps1`: 배열 전개 인자 전달 (`"${TEST_COMMAND[@]}"`, `& $testCommand @testCommandArgs`)과 공백 안전 읽기 루프로 셸 주입 원천 차단.
|
|
217
|
-
- `sdd-workspace`: `cd` 실행 전 `CDPATH=''`를 재설정하여 환경 변수를 통한 디렉터리 탈취 차단.
|
|
218
|
-
- `sdd-workspace.ps1`: BOM 없는 UTF-8(`[System.Text.UTF8Encoding]::new($false)`)로 플랜 마커를 저장하여 Unicode 경로 정합성 유지.
|
|
219
|
-
- **전체 자동 회귀 테스트 기준선**:
|
|
220
|
-
- 테스트 스위트를 **274개 자동 어서션**(Node.js: 145, Bash: 35, PowerShell: 94)으로 확장하고 100% 통과율 유지.
|
|
221
|
-
|
|
222
|
-
### v6.3.7
|
|
223
|
-
|
|
224
|
-
- **업스트림 동기화 — 배치 1~3 (obra/superpowers)**:
|
|
225
|
-
- **스킬 자동 라우팅**: `systematic-debugging`과 `test-driven-development` 설명에 트리거 문구(`"tdd"`, `"systematic debug"` 등)와 상호 크로스 라우트를 추가하여 MCP 클라이언트의 스킬 선택 정확도를 향상.
|
|
226
|
-
- **테스트 명령이 없을 때의 증거 규율**: `verification-before-completion`에 "When There Is No Test Command" 섹션 추가. 보고서, 연구, 감사, 서신 작업은 산출물을 다시 열어 증명 가능한 것을 증명하고 미완료 항목을 명시해야 하며, "완전함"만 주장할 수 있고 "정확함"은 주장할 수 없음.
|
|
227
|
-
- **브레인스토밍 의도 게이트**: "Establish Shared Understanding"(의도 탐색 → 이해 되쓰기 → 설계 반영) 신설 및 HARD-GATE를 경로별 전제 조건 목록으로 재작성. 한 번의 승인을 나머지 단계 생략 허가로 해석하는 것을 금지.
|
|
228
|
-
- **플래닝 핸드오프 리뷰**: brainstorming의 스펙 셀프 리뷰를 0.0–9.9 평가 + burden ledger + 단일 유계 개선 패스 + 읽기 전용 재평가로 승격. 실패 시 초안을 복원하는 안전 규칙 포함.
|
|
229
|
-
- **저장된 계획 검토 및 상황별 핸드오프**: `writing-plans`는 실행 전에 사람이 저장된 계획을 검토하도록 요구하며, 실행 방식이 지정되지 않은 경우 고정 기본값 대신 이 계획에 맞는 추천을 제시.
|
|
230
|
-
- **계획 체크박스 기록**: `executing-plans`와 `subagent-driven-development`가 완료 메시지와 동시에 계획 파일의 단계를 체크.
|
|
231
|
-
- **원격 안전 경계**: `using-git-worktrees`는 공유 ref에서 분기할 때 `--no-track`을 필수로 요구하고 `git branch -vv` 추적 점검(첫 커밋 전 `--unset-upstream`)을 수행한다. `executing-plans`는 커밋을 로컬로 유지하고 공유 브랜치 재작성을 금지하며, implementer는 작업 중 push 요구를 BLOCKED로 컨트롤러에 보고한다.
|
|
232
|
-
- **Discoveries 원장**: SDD 진행 원장에 `## Discoveries` 섹션을 추가하여 태스크 간 발견이 compaction을 넘어 다음 디스패치의 인터페이스 조항으로 이어진다.
|
|
233
|
-
- **보류 발견 내보내기**: 플랜 워크스페이스 삭제 전에 `Ruling:`/`minor (deferred)`/`parked` 줄을 PR의 "Deferred items" 체크리스트 또는 커밋된 `docs/superpowers/follow-ups/<plan>.md`로 내보낸다.
|
|
234
|
-
- **Greenfield SDD 스크립트**: 리포지토리가 아직 없으면 `sdd-workspace`가 현재 디렉터리로 폴백하고(`.ps1` 동일), `review-package`는 비리포지토리 환경에서 실행 가능한 오류를 반환한다.
|
|
235
|
-
- **TDD 특성화 가드**: 동작 보존 리팩터링을 위한 5단계 절차(변이 → 실패 확인 → VCS 복원 → 그린 유지)를 추가하고 경계·변이 점검 섹션에서 상호 참조한다.
|
|
236
|
-
- **업스트림 콘텐츠 동기화 — 배치 4**: brainstorm 시작 스크립트가 `BRAINSTORM_HOST`/`BRAINSTORM_URL_HOST`에서 호스트 기본값을 가져오고(`--host`/`--url-host` 우선), `writing-skills`에 콘텐츠 이동 시 링크 재해석 절차를 추가했으며, SDD 리뷰어가 전체 보고서를 `…/task-N-review.md`에 쓰고 15줄 미만 요약만 반환합니다 — MCP에 `review_file` 인자(요청 경로가 정규화 후 보고서나 brief 파일과 일치하면 파생된 `-review.md`로 대체)와 `[FIX_BASE_SHA]`를 실제로 치환하는 `fix_base_sha` 별칭을 추가.
|
|
237
|
-
- **업스트림 드리프트 리포트**: `npm run drift`가 커밋된 베이스라인과 `obra/superpowers`를 비교해 채택된 파일 변경, 로컬에 없는 가져오기, 포크 전용 추가를 나열합니다. `npm run drift:record -- --ignore <skill>`로 검토된 동기화 후 갱신하며, 쓰기 전에 잘린 API tree를 거부합니다.
|
|
238
|
-
- **MCP 표면 커버리지 테스트**: 디스크의 모든 스킬은 자신의 콘텐츠를 제공하는 MCP 리소스로 노출되어야 하며, 프롬프트 목록은 4개 README와 정확히 일치해야 합니다.
|
|
239
|
-
- **MCP 설명 정합성**: 업스트림의 이스케이프 따옴표 형식을 인용 없는 YAML plain scalar로 적응하여 `SkillsManager`가 MCP로 리터럴 백슬래시를 내보내지 않도록 함.
|
|
240
|
-
- **회귀 가드**: `tests/upstream_sync_test.js`를 배치 1~4를 포괄하는 22개 라벨 체크로 확장. 전체 스위트 통과(npm 8개 스위트 139개 체크, PowerShell 90개 어서션, SDD 16 + 호스트 기본 11 + render-graph 8개 bash 어서션).
|
|
241
|
-
- **릴리스 준비 강화**: Bash와 PowerShell brainstorm host 테스트가 background 모드를 명시적으로 강제하여 전체 264개 검증이 `CODEX_CI=1`에서도 완료됩니다. `package-lock.json`을 v6.3.7 및 Node `>=18`과 동기화하고 npm repository와 CLI `bin` 메타데이터를 정규화했으며, `npm publish --dry-run`과 패키지 설치 smoke test로 검증했습니다.
|
|
242
|
-
|
|
243
|
-
### v6.3.6
|
|
244
|
-
|
|
245
|
-
- **극한의 성능 최적화 (2배~8.1배 가속)**:
|
|
246
|
-
- **스킬 병렬 인덱싱 및 사전 캐싱**: `SkillsManager.listSkills`를 비동기 병렬 디렉토리 탐색(`Promise.all`)과 루트 경로 사전 확인 캐싱으로 업그레이드하여 콜드 스타트 인덱싱 지연 시간을 4.79ms에서 2.35ms로 단축(**2.04배 속도 향상**).
|
|
247
|
-
- **초고속 인메모리 Canonical 캐시**: `readSkillContent`에 물리 실제 경로 기반 Canonical 캐시 및 별칭 매핑을 도입하여 동일 스킬의 반복 읽기 시간을 0.013ms에서 1.6µs로 단축(**8.1배 속도 향상**).
|
|
248
|
-
- **Frontmatter 슬라이싱 및 ReDoS 방어**: `parseFrontmatter`에서 전체 파일 정규식 스캔을 64 KB 접두사 버퍼 슬라이싱으로 대체하여 대용량 파일에서의 GC 일시 중단 및 2차 ReDoS 위험을 원천 차단.
|
|
249
|
-
- **JSON 파싱 초고속 직통 경로**: `stripJsonComments` (`src/setup-runner.ts`)에 네이티브 JSON 파싱 시도를 도입하여 주석 없는 설정 파일 읽기 속도를 0.55µs로 단축(**5.1배 속도 향상**).
|
|
250
|
-
- **멀티 타깃 병렬 번들러**: `esbuild.js`에서 4개 독립 결과물을 `Promise.all`로 병렬 빌드하여 빌드 시간을 ~50ms로 단축(**~42% 속도 향상**).
|
|
251
|
-
- **듀얼 Subagent 심층 코드 리뷰 및 결함 전면 보강 (FIX ALL)**:
|
|
252
|
-
- **Partial-Read 버퍼 잘림 방어**: `SkillsManager.readFileNoFollow`에 누적 읽기 루프(`while (totalRead < fileSize)`)를 구현하여 높은 디스크 I/O 또는 가상 파일 시스템 환경에서의 무음 Markdown 잘림 방지.
|
|
253
|
-
- **Scan Epoch 동시성 경쟁 쉴드**: `listSkills`에 단조 증가 `scanEpoch` 카운터를 도입하여 비동기 백그라운드 스캔이 최신 캐시 상태를 덮어쓰는 경쟁 조건 제거.
|
|
254
|
-
- **Canonical 캐시 정합성 보장**: 물리 실제 경로(`realFilePath`)를 마스터 키로 사용하고 `canonicalPathMap`으로 별칭을 추적하여 강제 리로드 시 심볼릭 링크 캐시 드리프트(Cache Drift) 완벽 해결.
|
|
255
|
-
- **시스템 디렉토리 블랙리스트 확장**: `getSafeSkillsPath`에 macOS 고유의 `/private/etc` 및 `/private/var`를 추가하여 특권 디렉토리 경로 탈출 공격 방지.
|
|
256
|
-
- **설정 파일 쓰기 시 심볼릭 링크 대상 검증**: `safeWriteConfig`에서 `fs.lstat` 및 실제 경로 해석을 수행하여 민감한 시스템 영역을 가리키는 심볼릭 링크 쓰기 차단.
|
|
257
|
-
- **엄격한 TypeScript 및 Rule 7 무결점 준수**: 미사용 사장 코드(`exists`)를 완전히 제거하여 `--noUnusedLocals --noUnusedParameters` 통과, 모든 타입 미지정/빈 catch 블록 제거.
|
|
258
|
-
- **자동화 회귀 테스트 스위트 확장 및 검증**:
|
|
259
|
-
- 85개 핵심 단위/통합 테스트 및 174개 회귀 어서션 100% 통과(`setup_test.js` 33개 테스트 전체 통과). [`SECURITY.md`](SECURITY.md), [`tests/code_review_report.md`](tests/code_review_report.md), 그리고 [`tests/performance_optimization_report.md`](tests/performance_optimization_report.md) 정비.
|
|
260
|
-
- **다국어 문서 동기화**:
|
|
261
|
-
- 모든 언어의 README([`README.md`](README.md), [`README.zh-TW.md`](README.zh-TW.md), [`README.ja.md`](README.ja.md), [`README.ko.md`](README.ko.md))에서 지원 환경 목록, 성능 지표, 원클릭 명령 표 동기화.
|
|
262
|
-
|
|
263
232
|
👉 *이전 버전의 전체 릴리스 내역은 [CHANGELOG.md](CHANGELOG.md)를 참조하세요.*
|
|
264
233
|
|
|
265
234
|
---
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/Poseidoncode/superpowers-mcp)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
8
|
This document summarizes the information and usage instructions for packaging the Superpowers skills and autonomous workflow system into an independent, high-performance, and secure **Model Context Protocol (MCP)** server.
|
|
@@ -23,7 +23,7 @@ This document summarizes the information and usage instructions for packaging th
|
|
|
23
23
|
| :--- | :--- | :--- |
|
|
24
24
|
| **Tools** | `list_skills`, `read_skill` | Discover, search, and load full skill instructions and checklists on demand. |
|
|
25
25
|
| **Prompts** | 9 Native Prompts | `session-start`, `feature-pipeline`, `structured-debug`, `skill-composition`, `sdd-implementer`, `sdd-task-reviewer`, `sdd-re-review`, `spec-reviewer`, `plan-reviewer` |
|
|
26
|
-
| **Resources** |
|
|
26
|
+
| **Resources** | 15 Skill URIs + 1 Guide | `skill://superpowers/<skill-name>` plus `guide://superpowers/skill-compositions` |
|
|
27
27
|
|
|
28
28
|
### Chatting with the AI Agent (Basic Usage)
|
|
29
29
|
|
|
@@ -155,15 +155,15 @@ systematic-debugging ➔ using-git-worktrees ➔ dispatching-parallel-agents ➔
|
|
|
155
155
|
|
|
156
156
|
---
|
|
157
157
|
|
|
158
|
-
## 📋 Supported Skills Overview (
|
|
158
|
+
## 📋 Supported Skills Overview (15 Core Skills & Scenarios)
|
|
159
159
|
|
|
160
|
-
To help you choose the right skill, we have structured all
|
|
160
|
+
To help you choose the right skill, we have structured all 15 skills across the Software Development Lifecycle (SDLC), merging core capabilities and community-recommended scenarios:
|
|
161
161
|
|
|
162
162
|
| # | SDLC Phase | Skill Name | What It Does (Purpose & Core Value) | Recommended Scenario |
|
|
163
163
|
| :-: | :--- | :--- | :--- | :--- |
|
|
164
164
|
| 1 | **🚀 Planning & Design** | **`brainstorming`** | **Requirements & Architecture Design**: Explores options and constraints before coding; outputs Design Specs; includes Visual Companion browser UI review. | Before starting any new feature or major change; prevents jumping straight into code. |
|
|
165
165
|
| 2 | **🚀 Planning & Design** | **`writing-plans`** | **Implementation Planning**: Decomposes specs into bite-sized, testable tasks annotated with Recommended Skills and file contracts. | Before multi-file refactoring, complex migrations, or major implementations. |
|
|
166
|
-
| 3 | **💻 Implementation** | **`executing-plans`** | **In-Session Plan Execution**: Executes planned
|
|
166
|
+
| 3 | **💻 Implementation** | **`executing-plans`** | **In-Session Plan Execution**: Executes every planned task step-by-step in the current session, then one whole-branch review at the end. | Batch execution of plans within the same session without spawning subagents. |
|
|
167
167
|
| 4 | **💻 Implementation** | **`subagent-driven-development`** | **Subagent-Driven Development (SDD)**: Dispatches fresh, context-isolated subagents per task with dual-layer adversarial reviews. | Recommended execution model for complex plans to eliminate context pollution. |
|
|
168
168
|
| 5 | **💻 Implementation** | **`test-driven-development`** | **Test-Driven Development (TDD)**: Enforces strict Red ➔ Green ➔ Refactor cycles ensuring robust test coverage. | When implementing logically challenging features or critical algorithms. |
|
|
169
169
|
| 6 | **🔍 Debugging** | **`systematic-debugging`** | **Systematic Root Cause Debugging**: Deconstructs complex errors into testable hypotheses with validation experiments. | When encountering any unexpected error, test failure, or intermittent bug. |
|
|
@@ -175,10 +175,47 @@ To help you choose the right skill, we have structured all 14 skills across the
|
|
|
175
175
|
| 12 | **🤖 Advanced Agents** | **`dispatching-parallel-agents`** | **Parallel Agent Orchestration**: Dispatches concurrent subagents in isolated workspaces to investigate multiple hypotheses simultaneously. | When facing multiple failing tests or investigating independent theories in parallel. |
|
|
176
176
|
| 13 | **🤖 Advanced Agents** | **`using-superpowers`** | **Superpowers Foundation & Discipline**: Establishes mandatory skill discovery, loading discipline, and priority rules. | Automatically loaded at session start to enforce software engineering standards. |
|
|
177
177
|
| 14 | **🤖 Advanced Agents** | **`writing-skills`** | **Skill Authoring & Maintenance**: Guides the creation, testing, and packaging of new Superpowers skills. | When creating custom skills or enhancing existing skill instructions. |
|
|
178
|
+
| 15 | **🤖 Advanced Agents** | **`diagnosing-superpowers`** | **Session Forensics & Maintainer Reports**: Reconstructs what went wrong in a session from on-disk transcripts with cited evidence; drafts scrubbed bundles and GitHub issues. | When a session went sideways and you need evidence of why, or a bug report for the Superpowers maintainers. |
|
|
178
179
|
|
|
179
180
|
## 🆕 Recent Updates
|
|
180
181
|
|
|
181
|
-
### v6.
|
|
182
|
+
### v6.4.1 (Latest)
|
|
183
|
+
|
|
184
|
+
- **Upstream Sync to obra/superpowers v6.4.1**:
|
|
185
|
+
- **Native inline plan execution**: rewritten `executing-plans` runs the whole plan via new `task-start` / `task-done` helpers, then one whole-branch review — no mid-plan check-ins.
|
|
186
|
+
- **New skill: `diagnosing-superpowers`**: session forensics from on-disk transcripts with cited evidence, plus scrubbed bundles and GitHub issue drafts (15 skills total).
|
|
187
|
+
- **Review behavior**: grade unspecified behavior by reasonable-user expectation, `Declined to judge` list, `BASE_SHA` via `git merge-base origin/main HEAD`.
|
|
188
|
+
- **Plan Review Focus**: new template section and self-review item pinning spec-implied edge cases to owning tasks.
|
|
189
|
+
- **New harness refs**: Muse and Claude Code tool mappings; Devin/OpenCode refs retained.
|
|
190
|
+
- Scripts invoked through their interpreter (`bash` / `node`) so marketplace packaging can't break them.
|
|
191
|
+
- **Windows Parity & Regression Floor**:
|
|
192
|
+
- New `task-start.ps1` / `task-done.ps1` ports with sh/ps1 symmetry test suites.
|
|
193
|
+
- All adopted-PR durability content retained (Discoveries ledger, review-file contract, greenfield scripts, remote-safety); drift baseline re-recorded with zero drift.
|
|
194
|
+
- **Comprehensive Security Audit & Automated Regression Floor** ([`SECURITY.md`](SECURITY.md)):
|
|
195
|
+
- 100% verified across **365 automated test assertions** (Node.js 170, Bash 67, PowerShell 128), 0 vulnerabilities, 0 hardcoded secrets.
|
|
196
|
+
- Inline `task-done` runs operator-chosen tests as argv (`"$@"` / `& $exe @rest`), not a shell; ledger text is display-only.
|
|
197
|
+
- `diagnosing-superpowers` is local-read and export-gated; redaction is best-effort — review every file before sharing.
|
|
198
|
+
- Deferred-findings export now includes `Final: minor (deferred):` without matching completion-line parked counts.
|
|
199
|
+
- Local Devin config (`.devin/`) is gitignored.
|
|
200
|
+
|
|
201
|
+
### v6.3.10
|
|
202
|
+
|
|
203
|
+
- **Universal Setup Key Conflict Resolution & Lossless Field Preservation**:
|
|
204
|
+
- Automatically discovers existing declarations across recognized server keys (`servers`, `mcp`, `mcpServers`), preventing duplicate conflicting configurations.
|
|
205
|
+
- Safely merges and preserves user-authored configuration fields (`env`, `cwd`, `disabled`, `alwaysAllow`, `args`) on re-installation.
|
|
206
|
+
- Eliminates contradictory states between opposing flags (`disabled: true` vs `enabled: true`).
|
|
207
|
+
- Rejects unknown flags and unexpected positional CLI arguments with exit code 1; standardizes on `process.exitCode` for non-truncating output over Unix pipes.
|
|
208
|
+
- **Skills Core Engine Fast-Path Cache Stat Verification & Scan Epoch Shielding**:
|
|
209
|
+
- Implements fast-path single-stat verification (`dev`, `ino`, `size`, `mtimeMs`) on cached skill paths, immediately invalidating stale cache if symlinks redirect without rescanning the whole tree.
|
|
210
|
+
- Advancing monotonic `scanEpoch` and resetting `loadingEpoch` on `clearCache()` prevents pending async directory scans from repopulating flushed caches.
|
|
211
|
+
- Authoritative open file descriptor verification (`readFileNoFollow`) prevents TOCTOU descriptor swaps.
|
|
212
|
+
- **MCP Prompt Template Robustness & Deduplication**:
|
|
213
|
+
- Halts with `McpError(ErrorCode.InternalError)` and structured stderr diagnostic when prompt template files are missing or empty.
|
|
214
|
+
- Tracks applied template substitutions via `appliedInterpolations`, preventing redundant argument appending.
|
|
215
|
+
- **Comprehensive Security Audit & Automated Regression Floor**:
|
|
216
|
+
- 100% verified across **292 automated test assertions** (Node.js 163, Bash 35, PowerShell 94), 0 vulnerabilities, 0 hardcoded secrets.
|
|
217
|
+
|
|
218
|
+
### v6.3.9
|
|
182
219
|
|
|
183
220
|
- **Permanent ReDoS Defense (CodeQL Alert #4 Resolved)**:
|
|
184
221
|
- Replaced ambiguous regex backtracking in YAML parsing (`updateYamlConfig`) with unambiguous prefix key matching and native `String.prototype.trim()`.
|
|
@@ -193,74 +230,6 @@ To help you choose the right skill, we have structured all 14 skills across the
|
|
|
193
230
|
- **Desktop Setup Guide**:
|
|
194
231
|
- Added comprehensive [`docs/desktop-setup.md`](docs/desktop-setup.md) covering LM Studio, Roo Code, ChatWise, and Cherry Studio setup.
|
|
195
232
|
|
|
196
|
-
### v6.3.8
|
|
197
|
-
|
|
198
|
-
- **Actionable Interactive Workflow Launchers**:
|
|
199
|
-
- `feature-pipeline` and `structured-debug` now emit explicit stage-by-stage `read_skill` calls, preserve required user approval gates, and clearly state that execution happens through the client agent rather than inside the MCP server.
|
|
200
|
-
- Hosts with multi-agent support can use subagent execution; other hosts fall back to inline or sequential execution without claiming unavailable capabilities.
|
|
201
|
-
- `read_skill` accepts both bare skill names and the documented `superpowers:` prefix.
|
|
202
|
-
- The composition guide is included in the npm package and available through `guide://superpowers/skill-compositions`.
|
|
203
|
-
- **Universal Global Setup Concurrency & Symlink Breakout Defense**:
|
|
204
|
-
- **Allowed Roots Boundary Containment**: Enforces destination restriction to explicit allowed user roots (`homeDir`, `appData`, `localAppData`), blocking parent-directory symlink breakout attacks.
|
|
205
|
-
- **Optimistic Concurrency Conflict Defense**: Compares file content against `expectedContent` immediately prior to atomic `fs.renameSync`, preventing race conditions from silently overwriting newer configurations.
|
|
206
|
-
- **Directory Inode & Device TOCTOU Verification**: Re-checks parent directory canonical path, device ID (`dev`), and inode (`ino`) before and after temporary file creation, blocking directory swap attacks.
|
|
207
|
-
- **Fail-Closed Validation**: Rejects non-object JSON roots or server fields and duplicate YAML keys.
|
|
208
|
-
- **Skills Core Engine Collision Defense & Dynamic Cache Revalidation**:
|
|
209
|
-
- **Deterministic Directory Cataloging**: Catalogs directories in deterministic alphabetical order and detects alias/name collisions in `newSkillMap`, emitting diagnostic warnings and skipping duplicates.
|
|
210
|
-
- **Automatic Cache Revalidation (`CACHE_REVALIDATE_MS = 1000`)**: Detects disk modifications within 1 second without requiring MCP server restarts.
|
|
211
|
-
- **Canonical Path Blacklisting**: Platform case-folding and `fs.realpathSync` validation to prevent symlink bypass of system directories (`/private/etc`, `/private/var`, `C:\Windows`).
|
|
212
|
-
- **RFC 6455 WebSocket Protocol & Resilient Stream Hardening**:
|
|
213
|
-
- Support for fragmented text messages (`CONTINUATION` opcode `0x00`) with payload size tracking and RFC 6455 control frame constraints (`opcode >= 0x8 && !fin` rejected).
|
|
214
|
-
- Resilient tail event log compaction: Preserves recent newline-delimited event records when approaching the 1 MB file cap rather than dropping all historical events.
|
|
215
|
-
- Event log append mode hardened with `O_RDWR | O_APPEND | O_CREAT | O_NOFOLLOW`.
|
|
216
|
-
- **Shell & PowerShell Script Hardening**:
|
|
217
|
-
- `find-polluter.sh` & `find-polluter.ps1`: Caller-supplied test command with safe array expansion (`"${TEST_COMMAND[@]}"`, `& $testCommand @testCommandArgs`) and space-safe while loop, preventing shell command injection.
|
|
218
|
-
- `sdd-workspace`: Sanitizes `CDPATH=''` before all `cd` operations, neutralizing directory redirection attacks.
|
|
219
|
-
- `sdd-workspace.ps1`: Lossless Unicode plan marker persistence using UTF-8 without BOM (`[System.Text.UTF8Encoding]::new($false)`).
|
|
220
|
-
- **Automated Regression Verification Floor**:
|
|
221
|
-
- Expanded test suite to **274 automated test assertions** across Node.js (145), Bash (35), and PowerShell (94) with a 100% pass rate.
|
|
222
|
-
|
|
223
|
-
### v6.3.7
|
|
224
|
-
|
|
225
|
-
- **Upstream Sync — Batches 1–3 (obra/superpowers)**:
|
|
226
|
-
- **Automatic Skill Routing**: `systematic-debugging` and `test-driven-development` descriptions now name their typed trigger phrases (`"tdd"`, `"systematic debug"`, …) and cross-route to the sibling skill, improving skill selection inside MCP clients.
|
|
227
|
-
- **Evidence Without a Test Command**: `verification-before-completion` gains the "When There Is No Test Command" section — for reports, research, audits, and correspondence, re-open the artifact, prove what can be proven, and account for every part of the request while claiming *complete*, never *right*.
|
|
228
|
-
- **Brainstorming Intent Gates**: new "Establish Shared Understanding" step (discover intent, write back your understanding, carry it into the design) plus a rewritten HARD-GATE that lists each path's prerequisites and refuses to treat one approval as permission to skip the rest.
|
|
229
|
-
- **Planning-Handoff Review**: brainstorming's spec self-review becomes a scored handoff review (0.0–9.9 readiness, burden ledger, one bounded improvement pass, read-only reassessment) with a fail-safe restore rule.
|
|
230
|
-
- **Saved-Plan Review & Contextual Handoff**: `writing-plans` now requires the human to review the saved plan before execution and, when no method was supplied, a plan-specific execution recommendation instead of a hardcoded default.
|
|
231
|
-
- **Plan Checkbox Bookkeeping**: `executing-plans` and `subagent-driven-development` tick the plan file's steps in the same message as the completion bookkeeping.
|
|
232
|
-
- **Remote-Safety Boundary**: `using-git-worktrees` requires `--no-track` plus a `git branch -vv` tracking check (`--unset-upstream` before the first commit); `executing-plans` keeps commits local and forbids rewriting shared branches; implementers report any mid-task push demand as BLOCKED instead of pushing.
|
|
233
|
-
- **Discoveries Ledger**: SDD's progress ledger gains a `## Discoveries` section so cross-task findings survive compaction and feed the next dispatch's interface clauses.
|
|
234
|
-
- **Deferred Findings Export**: before a plan workspace is deleted, `Ruling:` / `minor (deferred)` / `parked` lines are exported to a PR "Deferred items" checklist or a committed `docs/superpowers/follow-ups/<plan>.md`.
|
|
235
|
-
- **Greenfield SDD Scripts**: `sdd-workspace` falls back to the current directory before a repo exists (matching `.ps1` behavior), while `review-package` refuses actionably outside a repo.
|
|
236
|
-
- **TDD Characterization Guard**: a five-step procedure for behavior-preserving refactors — mutate, verify failure, restore via VCS, stay green — referenced from the boundary and mutation-check sections.
|
|
237
|
-
- **Upstream Content Sync — Batch 4**: the brainstorm start script takes its hosts from `BRAINSTORM_HOST`/`BRAINSTORM_URL_HOST` (`--host`/`--url-host` still win), `writing-skills` gained moved-content link re-resolution, and SDD reviewers now write their full report to `…/task-N-review.md` and return under 15 lines — exposed over MCP as the new `review_file` argument (replaced by the derived `-review.md` sibling when the requested path normalises to the report or brief file), plus the `fix_base_sha` alias that finally feeds `[FIX_BASE_SHA]`.
|
|
238
|
-
- **Upstream Drift Report**: `npm run drift` compares the committed upstream baseline against `obra/superpowers` and lists adopted files that moved, imports missing locally, and fork-only additions; `npm run drift:record -- --ignore <skill>` refreshes it after a reviewed sync and refuses truncated API trees before writing.
|
|
239
|
-
- **MCP Surface Coverage Test**: every skill on disk must be an exposed MCP resource serving its own content, and the prompt inventory must match all four READMEs exactly.
|
|
240
|
-
- **MCP Description Fidelity**: upstream's escaped-quote descriptions were adapted to unquoted YAML plain scalars so the `SkillsManager` parser never emits literal backslashes over MCP.
|
|
241
|
-
- **Regression Guards**: `tests/upstream_sync_test.js` now carries 22 labeled checks covering Batches 1–4; full suite green (139 npm checkmarks across 8 suites, 90 PowerShell assertions, 16 SDD + 11 host-default + 8 render-graph bash assertions).
|
|
242
|
-
- **Release-Readiness Hardening**: Bash and PowerShell brainstorm host tests explicitly force background mode, so the full 264-assertion matrix also completes under `CODEX_CI=1`; `package-lock.json` now matches v6.3.7 and Node `>=18`; npm repository and CLI `bin` metadata are normalized and verified through `npm publish --dry-run` plus a packed-install smoke test.
|
|
243
|
-
|
|
244
|
-
### v6.3.6
|
|
245
|
-
|
|
246
|
-
- **Extreme Performance Optimization (2x~8.1x Speedup)**:
|
|
247
|
-
- **Parallel Skill Discovery**: Upgraded `SkillsManager.listSkills` to concurrent asynchronous directory traversal (`Promise.all`) combined with pre-resolved root path caching, cutting cold-start skill indexing latency from 4.79ms to 2.35ms (**2.04x speedup**).
|
|
248
|
-
- **High-Velocity In-Memory Canonical Caching**: Introduced canonical realpath-keyed caching with aliasing for `readSkillContent`, dropping repeated skill reads from 0.013ms to 1.6µs (**8.1x speedup**).
|
|
249
|
-
- **Frontmatter Slicing & ReDoS Defense**: Replaced full-document regular expression scans in `parseFrontmatter` with targeted 64 KB prefix buffer slices, eliminating GC pauses and quadratic ReDoS risks on large skill files.
|
|
250
|
-
- **JSON Parsing Fast-Path**: Implemented native JSON trial in `stripJsonComments` (`src/setup-runner.ts`), accelerating non-commented JSON configuration reads to 0.55µs (**5.1x speedup**).
|
|
251
|
-
- **Parallel Multi-Target Bundler**: Replaced sequential builds in `esbuild.js` with `Promise.all` across 4 build targets, reducing build time to ~50ms (**~42% speedup**).
|
|
252
|
-
- **Dual-Subagent Code Review & Comprehensive Quality Hardening (FIX ALL)**:
|
|
253
|
-
- **Partial-Read Buffer Truncation Defense**: Implemented an accumulator loop (`while (totalRead < fileSize)`) in `SkillsManager.readFileNoFollow`, ensuring full buffer delivery under high disk concurrency and slow storage systems.
|
|
254
|
-
- **Scan Epoch Concurrency Shield**: Added a monotonic `scanEpoch` counter in `listSkills` to prevent out-of-order asynchronous reloads from clobbering updated skill catalogs.
|
|
255
|
-
- **Canonical Path Cache Invalidation**: Unified cache indexing on physical canonical paths (`realFilePath`) and linked aliases in `canonicalPathMap`, completely eliminating symlink cache drift during force reloads.
|
|
256
|
-
- **System Blacklist Expansion**: Added macOS `/private/etc` and `/private/var` into `getSafeSkillsPath`, guarding against privilege directory pointer attacks.
|
|
257
|
-
- **Symlink Target Defense in Configuration Writes**: `safeWriteConfig` verifies `fs.lstat` and realpaths before writes, blocking symlinks pointing to sensitive system locations.
|
|
258
|
-
- **Strict TypeScript & Rule 7 Zero-Defect Compliance**: Cleaned up unused dead code (`exists`), enforced clean compilation under `--noUnusedLocals --noUnusedParameters`, and eliminated all unhandled or untyped empty catch blocks.
|
|
259
|
-
- **Automated Regression Suite Expansion**:
|
|
260
|
-
- All 85 core unit/integration tests and 174 regression assertions passing at 100% across all suites (`edge_cases_test.js`, `run_test.js`, `brainstorm_server_test.js`, `prompts_compositions_test.js`, and `setup_test.js` with 33 passed tests). Refreshed [`SECURITY.md`](SECURITY.md), [`tests/code_review_report.md`](tests/code_review_report.md), and [`tests/performance_optimization_report.md`](tests/performance_optimization_report.md).
|
|
261
|
-
- **Multilingual Documentation Alignment**:
|
|
262
|
-
- Synchronized supported harness directories, performance metrics, and one-click commands across all 4 localized READMEs ([`README.md`](README.md), [`README.zh-TW.md`](README.zh-TW.md), [`README.ja.md`](README.ja.md), [`README.ko.md`](README.ko.md)).
|
|
263
|
-
|
|
264
233
|
👉 *For the complete release history, see [CHANGELOG.md](CHANGELOG.md).*
|
|
265
234
|
|
|
266
235
|
---
|