Skip to content

The agent that grows with you

test(kanban): explicit encoding on board.json write (windows-footgun CI compliance)

Brooklyn Nicholson825825e17837
diff --git a/tests/hermes_cli/test_kanban_board_path_priority.py b/tests/hermes_cli/test_kanban_board_path_priority.py
index 35c143bdd9d..ea088bcae51 100644
--- a/tests/hermes_cli/test_kanban_board_path_priority.py
+++ b/tests/hermes_cli/test_kanban_board_path_priority.py
@@ -61,7 +61,7 @@ def test_none_board_falls_back_to_kanban_board_env(monkeypatch, tmp_path):
kanban_home = tmp_path / "hermes_test"
boards_dir = kanban_home / "kanban" / "boards" / "jarvis-os"
boards_dir.mkdir(parents=True, exist_ok=True)
- (boards_dir / "board.json").write_text('{"name": "Jarvis OS"}')
+ (boards_dir / "board.json").write_text('{"name": "Jarvis OS"}', encoding="utf-8")
monkeypatch.setenv("HERMES_KANBAN_HOME", str(kanban_home))
monkeypatch.setenv("HERMES_KANBAN_BOARD", "jarvis-os")
path = kb.kanban_db_path(board=None)