fix(aidd-context): the memory README links 404 on Windows
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, nodejs
- Área
- tooling
Línea de trabajo
Empieza con memoryRelative() y memoryPath() en plugins/aidd-context/hooks/update_memory.js. memoryPath() usa path.join, que produce barras invertidas en win32, así que la eliminación del prefijo nunca coincide. Normaliza ambos lados a / y comprueba que el bloque files lista rutas relativas al README. Está terminado cuando pasa una prueba de regresión que ejecuta el hook real y lee el README escrito, y scripts/check-markdown-links.js no informa de enlaces rotos allí.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 481
- Forks
- 45
- Merge medio
- 19 h 7 min
- PR fusionados (30 d)
- 60
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ai-driven-dev/framework
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ai-driven-dev/framework#952 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
ai-driven-dev/framework#940 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one roundAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ai-driven-dev/framework#887 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
ai-driven-dev/framework#873 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ai-driven-dev/framework#467 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de ai-driven-dev/framework
Issues similares
-
area: desktop area: website priority: P2 type: feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
appandflow/stim#3411 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
rjsf-team/react-jsonschema-form#5485 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
lingdojo/kana-dojo#32090 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
Friction: Org home and org switcher copy still say repositories and connected agents live in the personal accountPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertofriction
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
kentcdodds/kody#3265 ·
Los mantenedores suelen responder en 1 día