In /Users/luke/Projects/personal/my-pi, commit aa1265a5 ("carry-forward: uncommitted…
- User
In /Users/luke/Projects/personal/my-pi, commit aa1265a5 ("carry-forward: uncommitted session files") and related carry-forward commits caused at least four independent regressions on main, each by reverting a file to an older version while newer code still referenced its symbols:
- extensions/pi-workflow/src/planning-tasks.ts deleted while index.ts imported it (healed in PR #140)
- extensions/pi-workflow/src/discovery.ts lost setPluginWorkflowPaths/listPluginWorkflows exports while index.ts imported them (healed in PR #142)
- extensions/third-party/pi-codex-conversion/tests/cache-fix.test.mjs left asserting private:true + pinned version after the package became publishable (healed in PR #143)
- extensions/pi-workflow/src/run-store.ts stripped to a 158-line old version while index.ts calls writeWorkflowTaskState/writeWorkflowControl/writeWorkflowHeartbeat/listWorkflowRuns/killedRuns (healed in PR #148, check it merged first)
Task: systematically audit for a fifth casualty. Approach: (a) git show aa1265a5 --stat to list every file it touched; (b) for each touched source file, cross-check that all symbols imported FROM it elsewhere in the repo actually exist in its current main version (a quick node/tsc resolution pass over the repo, or per-extension
tsc --noEmit, catches missing exports); (c) run every extension's own test suite (extensions/*/package.json test scripts + test-load.mjs files) on a clean main checkout with full deps (npm install at root, pnpm --dir per extension where needed — note extensions/pi-memory and pi-workflow tests need workspace deps like @valkyriweb/pi-tui from the GitHub Packages registry); (d) also diff each feature commit between 2026-05-28 and aa1265a5 against current main to spot reverted hunks whose tests were also reverted (silent losses with no failing test). Report findings with file:line evidence; fix anything found on a branch + PR per repo conventions (Conventional Commits, changeset required by pre-push hook — never add an EMPTY changeset if a publish is pending; use SKIP_CHANGESET_CHECK=1 for no-release pushes). Assistant
Audit plan: confirm PR #148 merged, enumerate everything the carry-forward commits touched, then cross-check exports/imports, run extension test gates on a clean main worktree, and diff the feature-window commits for silently reverted hunks. Starting with the git evidence.
Assistant
PR #148 is mergeable but behind main and shows no CI checks. Let me inspect it before merging.
Assistant
CI is green on the PR head. Merging #148 so main is healed before the audit baseline.
Assistant
File histories show the heals but not the damage — classic merge-simplification hiding. Re-running with
--full-history.Assistant
Only two files in the whole window show the A→B→A reversion signature. Inspecting both.
- Assistant· <synthetic>
You've hit your session limit · resets 9:40am (Africa/Johannesburg)
- User
/model model claude-opus-4-8[1m]
- User
do it
- Assistant· <synthetic>
You've hit your session limit · resets 9:40am (Africa/Johannesburg)
- Assistant· <synthetic>
You've hit your session limit · resets 9:40am (Africa/Johannesburg)
- Assistant· <synthetic>
You've hit your session limit · resets 9:40am (Africa/Johannesburg)
- Assistant· <synthetic>
You've hit your session limit · resets 9:40am (Africa/Johannesburg)
- Assistant· <synthetic>
You've hit your session limit · resets 9:40am (Africa/Johannesburg)