You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: stop tracking .pi/ — it blocks rebase for any session with local goal state #49
.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 .pi so 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/ or plans/, not under a path the agent overwrites.
Acceptance
.pi/ is ignored and untracked.
git rebase origin/main succeeds on a branch whose checkout does not change .pi/.
No agent goal state is readable from the repository.
Shipped: fixed by #96 (squash fbd0333, merged 2026-10-20 after 6 isolated review rounds). Deployed to production skillx-web (worker version 27d34bce at fbd0333; current 7d29ff0a at 79f98fb). Smoke 2026-10-20: /, /api/search and registry keys 200.
Activity
chore: stop tracking .pi agent state
mrgoonie commentedon Oct 20, 2026
Shipped: fixed by #96 (squash fbd0333, merged 2026-10-20 after 6 isolated review rounds). Deployed to production skillx-web (worker version 27d34bce at fbd0333; current 7d29ff0a at 79f98fb). Smoke 2026-10-20:
/,/api/searchand registry keys 200.fix: alias slugs, .pi untracking, release scan tuning, API key settin…