Skip to content

Fix result filenames containing colons that crash on Windows#82

Merged
that-github-user merged 1 commit intomainfrom
issue-59-fix-windows-filenames
Mar 28, 2026
Merged

Fix result filenames containing colons that crash on Windows#82
that-github-user merged 1 commit intomainfrom
issue-59-fix-windows-filenames

Conversation

@that-github-user
Copy link
Copy Markdown
Owner

Summary

  • Extract makeResultFilename() to produce Windows-safe filenames from ISO timestamps
  • Replaces colons and periods with dashes (except .json extension)
  • 3 new tests: no colons, no periods in stem, correct format

Generated by thinktank — 5 agents, Agent #5 recommended (tests pass, +28/-1, smallest diff). Agents 1-3 failed tests. Agent 4 passed but larger diff.

Change type

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • CI / infrastructure
  • Chore

Related issue

Closes #59

How to test

npm test  # 64 tests pass

Breaking changes

  • This PR introduces breaking changes

🤖 Generated with thinktank + Claude Code

Extract makeResultFilename() to ensure ISO timestamps produce
Windows-safe filenames (replace colons and periods with dashes).
3 new tests verify no unsafe characters in generated filenames.

Generated by thinktank (5 agents, Agent #5 recommended — tests pass,
smallest diff at +28/-1).

Closes #59

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@that-github-user
Copy link
Copy Markdown
Owner Author

Self-review (dogfooding): Generated by thinktank with 5 agents. Agent #5 had cleanest approach — extracted function + tests. No unsafe chars in filename verified by 3 tests. 64 tests pass, lint clean.

@that-github-user that-github-user merged commit 4601c0c into main Mar 28, 2026
3 checks passed
@that-github-user that-github-user deleted the issue-59-fix-windows-filenames branch March 28, 2026 18:19
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.

Fix: result filenames contain colons, crashing on Windows

1 participant