Skip to content

fix(band): write board.html when importing past sessions - #1349

Open
markjoin123 wants to merge 2 commits into
DietrichGebert:mainfrom
markjoin123:cursor/fix-band-import-board-3e95
Open

markjoin123 wants to merge 2 commits into
DietrichGebert:mainfrom
markjoin123:cursor/fix-band-import-board-3e95

Conversation

@markjoin123

Copy link
Copy Markdown

Fixes #1344

/ponytail band import merged past Claude Code sessions into ~/.config/ponytail/band/<project>.csv and stopped there. board.html is only built by writeBoard in the band hook, so the page stayed missing or stale until a later turn.

After the CSV merge, the import now loads boardHtml and tasksFrom from hooks/band/board.ts and writes board.html from every ledger in that directory. A second import that adds no rows still rewrites a missing page.

Tests: node --test tests/band-import.test.js passes. The end-to-end import now checks that the first run writes board.html with the band page title, the imported session and a project ledger already on disk, and that deleting the page and importing again (added: 0) writes it back. node --test tests/*.test.js: 143 passed; the pandas CSV check couldn't run here because pandas isn't installed, and it isn't touched by this diff.

Versions are untouched.

The import merged CSV ledgers and never called the band's board renderer,
so board.html stayed missing until a later turn.

Fixes DietrichGebert#1344

Co-authored-by: markxu <[email protected]>
caioniehues pushed a commit to caioniehues/ponytail that referenced this pull request Nov 18, 2026
…ert#1349)

The import merged CSV ledgers and never called the band's board renderer,
so board.html stayed missing until a later turn.

Fixes DietrichGebert#1344

Co-authored-by: markxu <[email protected]>
(cherry picked from commit 191a73f)
Upstream changed the same import for unreadable subagent transcripts.
Keep that handling, and still write board.html from every ledger.

Co-authored-by: markxu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/ponytail band import Populates CSV Ledgers but Omits Generating or Updating board.html

1 participant