An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.
Rust
fix: make cc2 validator board read errors concise (#3175)
Bellmane17936158a97
diff --git a/scripts/validate_cc2_board.py b/scripts/validate_cc2_board.pyindex b0a591cd..643326a4 100755--- a/scripts/validate_cc2_board.py+++ b/scripts/validate_cc2_board.py@@ -44,7 +44,14 @@ def main() -> int:args = parser.parse_args()repo_root = args.repo_root.resolve()board_path = args.board or (repo_root / ".omx" / "cc2" / "board.json")- board = json.loads(board_path.read_text(encoding="utf-8"))+ try:+ board = json.loads(board_path.read_text(encoding="utf-8"))+ except FileNotFoundError:+ print(f"error: board not found at {board_path}")+ return 1+ except json.JSONDecodeError as exc:+ print(f"error: invalid board JSON at {board_path}: {exc}")+ return 1errors: list[str] = []ids = set()for index, item in enumerate(board.get("items", []), 1):