pstack docs/harness/claude-code.md: transcript slug replaces every non-alphanumeric character, not only / and .

オープン 初心者向け
#1,155 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
zsh
領域
documentation

調査の方向性

誤ったルールは docs/harness/claude-code.md の Paths 表にある Transcripts の行にあります。名前に非 ASCII 文字を含むワークスペースフォルダーで確認してください。そのような文字はそれぞれダッシュに変換されるはずです。完了条件は、ASCII の英字や数字ではない文字がそれぞれ - に変換されると文に明記されていること、そして reflect スキルのステップ 1 が find を使うか、zsh の no-match の動作に言及していることです。

索引モデルが issue の本文から書いたものです。

説明

Problem

docs/harness/claude-code.md (Paths table, Transcripts row) says the slug is the workspace path with each / and . changed to -. In practice, Claude Code replaces every character that is not an ASCII letter or digit. A workspace folder whose name ends in Japanese characters (for example 11-1-<four kana/kanji>) maps to 11-1-----.

An agent that follows the documented rule builds a path that does not exist. The reflect skill's step 1 then fails to find the active transcript.

A related trap: in zsh, the documented ls -t <dir>/*.jsonl <dir>/*/*.jsonl ... fails with no matches found when any glob has no match, so the whole command returns nothing. find or setopt null_glob avoids it.

Suggested change

Change the sentence to "each character that is not an ASCII letter or digit is changed to -", and use find (or note the zsh behavior) in reflect step 1.

Environment

pstack 0.15.36, Claude Code on macOS (zsh).

主要言語
TypeScript
スター
14.9k
フォーク
1.5k
平均マージ
3時間 15分
マージ済み PR(30日)
148

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cursor/plugins のほかの issue

cursor/plugins の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。