[Bug] plannotator-* preference cookies pollute every app running on localhost
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
Línea de trabajo
Read the open pull request #2188 to see the approach already underway, then inspect how Plannotator serves its UI and sets preference cookies. The issue proposes hostname isolation or another opt-in mechanism but does not name files or tests. Done means Plannotator offers a supported way to keep its localhost cookies separate from unrelated local apps.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
Plannotator stores UI preferences in host-only cookies scoped to localhost (no Domain attribute). Browsers scope cookies by hostname, not port — so every one of these cookies is attached to every origin on localhost, including completely unrelated local development projects.
Evidence
Screenshot from Chrome DevTools on one of my own local projects (a dev server on port 55042 — not plannotator):
The entire cookie list for this origin is plannotator-* entries (annotation-*, diff-*, editor-*, filebro*, grid-*, guide-*, …), dozens of them, all domain localhost, path /, SameSite=Lax. None of them belong to this project.
Impact
- Every request my local apps make to
localhostcarries a largeCookieheader full of plannotator preferences. - DevTools for any
localhostproject is cluttered with these entries. - There is no safe way to clean up: clearing cookies by hostname wipes data for all local apps at once, not just plannotator.
Request
Provide a supported way to isolate plannotator's storage from other localhost apps — e.g. serving on a dedicated hostname (such as plannotator.localhost, which browsers resolve to 127.0.0.1 per RFC 6761) or another opt-in mechanism, so its cookies don't leak into unrelated local projects.
Environment
- plannotator: v0.28.20 (latest release at the time of writing: v0.28.23 — not verified against it)
- OS: macOS Sonoma 14.3.1 (Apple M3 Pro)
- Browser: Chrome 156
- Agent: Claude Code 2.1.295
- Lenguaje dominante
- TypeScript
- Estrellas
- 8.7k
- Forks
- 649
- Merge medio
- 6 h
- PR fusionados (30 d)
- 514
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 backnotprop/plannotator
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
backnotprop/plannotator#2290 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
backnotprop/plannotator#2243 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
submit_plan with missing edits aborts with "Tool execution interrupted" instead of returning a recoverable errorPosiblemente ocupada @utpalsinghdev la tomó hace 1 día. Abiertobug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
backnotprop/plannotator#2227 ·
Los mantenedores suelen responder en 1 día
-
Annotate documentation omits per-file version history and privacy controlsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
backnotprop/plannotator#1086 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
backnotprop/plannotator#2295 ·
Los mantenedores suelen responder en 1 día
Todos los issues de backnotprop/plannotator
Issues similares
-
area:plugins area:security area:skills bug has repro
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
anthropics/claude-code#105911 ·
Los mantenedores suelen responder en 1 día
-
openspec-apply-change skill: when blocked, may select a ready artifact unrelated to missingArtifactsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Fission-AI/OpenSpec#2165 ·
Los mantenedores suelen responder en 1 día
-
🐞 bug 🧐 unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Tencent/tdesign-vue-next#7032 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
gnosis/gnosis_vpn#661 ·
Los mantenedores suelen responder en 1 día
-
content-freshness: staleOwnedContent doc comments still say 'complete receipt' (follow-up to #7912)Abiertotriage:bug-verified
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día