chore: stop tracking .pi/ — it blocks rebase for any session with local goal state
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 88/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- git
- Área
- developer-experience
Línea de trabajo
Empieza por .gitignore e inspecciona las rutas .pi/ versionadas que se enumeran en el issue. Elimina .pi/ del índice preservando los archivos locales y, después, verifica que .pi/ se ignore, que no se pueda leer ningún estado objetivo desde el repositorio y que git rebase origin/main se ejecute correctamente cuando el checkout no cambie .pi/.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
PR #43 committed the agent's local goal state into the repository:
.pi/.goals-pool-snapshot.json
.pi/goals/.goal-ledger-checkpoint.json
.pi/goals/goal_events.jsonl
.pi/goals/archived_goal_2026092111245901_mub1hdzf-5j5j22.md
.pi/ is per-session working state that the Pi agent writes to continuously. Tracking it has two consequences, one of which blocks work outright.
It breaks rebase and pull for any session that has local goal state. git rebase and git checkout refuse to proceed:
error: The following untracked working tree files would be overwritten by checkout:
.pi/.goals-pool-snapshot.json
.pi/goals/.goal-ledger-checkpoint.json
.pi/goals/goal_events.jsonl
Please move or remove them before you switch branches.
Aborting
Hit while rebasing a feature branch onto main on 2026-09-22. The workaround is to move .pi/ aside and restore it afterwards, which is exactly the kind of step that turns into lost state when it is forgotten.
It also publishes local state, including goal text and ledger snapshots, to anyone with repository read access.
Suggested fix
- Add
.pi/to.gitignore. git rm -r --cached .piso the files stay on disk but leave the index.- Decide separately whether the archived goal documents are wanted in the repository; if they are, they belong under
docs/orplans/, not under a path the agent overwrites.
Acceptance
.pi/is ignored and untracked.git rebase origin/mainsucceeds on a branch whose checkout does not change.pi/.- No agent goal state is readable from the repository.
- Lenguaje dominante
- TypeScript
- Estrellas
- 189
- Forks
- 40
- Merge medio
- 7 h 38 min
- PR fusionados (30 d)
- 30
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 nextlevelbuilder/skillx
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
nextlevelbuilder/skillx#28 ·
Los mantenedores suelen responder en 1 día
-
refactor
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
nextlevelbuilder/skillx#27 ·
Los mantenedores suelen responder en 1 día
-
Personal-kit API gaps for AgentKit kit publish/syncPosiblemente ocupada @mrgoonie la tomó hace 2 días. Abierto
nextlevelbuilder/skillx#88 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
nextlevelbuilder/skillx#81 ·
Los mantenedores suelen responder en 1 día
-
fix(web): API key settings follow-ups (error handling, CSRF origin check, empty scopes label)Posiblemente ocupada @mrgoonie la tomó hace 2 días. Abierto
nextlevelbuilder/skillx#79 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de nextlevelbuilder/skillx
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ranxianglei/billion-context#3583 ·
Los mantenedores suelen responder en 1 día
-
bug:new
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
callstackincubator/simlock#673 ·
Los mantenedores suelen responder en 1 día
-
documentation v3
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
anomalyco/opencode#56380 · 1 comentario ·
Los mantenedores suelen responder en 1 día