overrides.py file-level

at main · View file ↗ · Intel ↗

History
1 files
1 commits
0 hotspots
0 🧊 dead
0 💥 blast risk
sha256:6 fix(ISR): default require_independent_second_reviewer to require Opera… · aaronrene · Sep 2, 2026
1 """Canonical JSON for overrides temp file (§K9.5 step 6c)."""
2
3 from __future__ import annotations
4
5 import json
6 from typing import Any
7
8
9 def canonical_overrides_json(data: dict[str, Any]) -> str:
10 """Serialize overrides with sorted keys and no insignificant whitespace."""
11 return json.dumps(data, sort_keys=True, separators=(",", ":"), ensure_ascii=False)