overrides.py python
11 lines 363 B
Raw
sha256:106ef9e12cca7f3be3ffb2a6bd3abfa76f032dce453c9e5010d732a8d86f2e14 Reconcile reviewed credential compatibility 32254cd939885d9… Human patch 8 days ago
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)
File History 2 commits
sha256:106ef9e12cca7f3be3ffb2a6bd3abfa76f032dce453c9e5010d732a8d86f2e14 Reconcile reviewed credential compatibility 32254cd939885d9… Human patch 8 days ago
sha256:c87cf2c2f03da507f66f93922cb339a2cbebb33ad6372a6039032fb09a20da12 Reconcile reviewed Overseer recovery d47291d5d9030de5ebef71… Human minor ⚠ 8 days ago