fix(aidd-context): the memory README links 404 on Windows
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, nodejs
- 領域
- tooling
調査の方向性
plugins/aidd-context/hooks/update_memory.js の memoryRelative() と memoryPath() から始めてください。memoryPath() は path.join を使うため、win32 ではバックスラッシュが生成され、プレフィックスの除去が一致しません。両方の値を / に正規化し、files ブロックが README からの相対パスを列挙していることを確認してください。実際のフックを実行して書き込まれた README を読む回帰テストが通り、scripts/check-markdown-links.js がそこで壊れたリンクを報告しなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
On Windows, the memory hook rewrites the table of contents of aidd_docs/memory/README.md with links that keep the aidd_docs/memory/ prefix. Read from inside aidd_docs/memory/, every one of them points nowhere.
memoryRelative() strips ${memoryPath(path)}/ from a path it first normalises to /. memoryPath() uses path.join, which answers aidd_docs\memory on win32, so the prefix never matches and is never removed.
Affected file(s)
plugins/aidd-context/hooks/update_memory.js(memoryRelative)
Expected behaviour
The files block lists each memory file relative to the README: - [architecture.md](architecture.md), - [internal/decisions/x.md](internal/decisions/x.md).
Observed behaviour
On Windows, after any session start: - [aidd_docs/memory/architecture.md](aidd_docs/memory/architecture.md). node scripts/check-markdown-links.js then reports every link in that file as broken (12 here). The hook stages the file itself, so the broken README rides along into the next commit unnoticed.
Proposed solution
Normalise both sides of the comparison to / in memoryRelative, and add a regression test that runs the real hook and reads the README it writes.
Context / Technical constraints
cli-ci.yml's Windows job runs the scripts suite, but only when itschangesfilter marks the change relevant, and that filter does not matchplugins/aidd-context/**. A later change toupdate_memory.jsalone would skip the Windows job, so the regression test would only bite on a Windows workstation. Linux CI passes either way.
Environment
| AI tool | Claude Code |
| OS | Windows 11 Pro (10.0.26100) |
| node | 24.12.0 |
QA
- On Windows, in a project whose
aidd_docs/memory/README.mdcarries<!-- files:start -->/<!-- files:end -->, start a session (or runnode plugins/aidd-context/hooks/update_memory.js claude). - The files block lists
architecture.md, notaidd_docs/memory/architecture.md. node scripts/check-markdown-links.jsreports no broken link in that README.
- 主要言語
- TypeScript
- スター
- 481
- フォーク
- 45
- 平均マージ
- 18時間 3分
- マージ済み PR(30日)
- 48
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ai-driven-dev/framework のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ai-driven-dev/framework#952 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
ai-driven-dev/framework#940 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one roundオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ai-driven-dev/framework#887 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
ai-driven-dev/framework#873 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ai-driven-dev/framework#467 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
ai-driven-dev/framework の issue をすべて見る
似ている issue
-
area/frontend area/v2 kind/bug priority/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
kubeflow/notebooks#1498 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
P1
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
SuruchBoss/Cwork#90 ·
-
bug cli service
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#3922 ·