chore: stop tracking .pi/ — it blocks rebase for any session with local goal state
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 88/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- git
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
Bắt đầu với .gitignore và kiểm tra các đường dẫn .pi/ được theo dõi liệt kê trong issue. Xóa .pi/ khỏi chỉ mục trong khi vẫn giữ nguyên các tệp cục bộ, sau đó xác minh rằng .pi/ bị bỏ qua, không thể đọc trạng thái mục tiêu từ repository và git rebase origin/main chạy thành công khi checkout không thay đổi .pi/.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 186
- Fork
- 40
- Merge trung bình
- 10 giờ 12 phút
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nextlevelbuilder/skillx
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nextlevelbuilder/skillx#65 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nextlevelbuilder/skillx#63 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
nextlevelbuilder/skillx#28 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
nextlevelbuilder/skillx#27 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Release digest endpoints should accept an identity selectorCó thể đã có người làm @mrgoonie đã nhận 1 ngày trước. Đang mở
nextlevelbuilder/skillx#67 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nextlevelbuilder/skillx
Issue tương tự
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OWASP/cve-lite-cli#1335 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows: main-screen mouse tracking requires WT_SESSION, so it never enables inside herdr panesĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
code-yeongyu/senpi#3353 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Channels status: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
mastra-ai/mastra#27093 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement needs-triage ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày