overrides.py
python
sha256:4671b7f787ddbe63ced31c895b688c77ab495653b65a730b423329f26b3c1439
feat: K1-P1 complete — agent provenance, build-verification…
Sonnet 4.6
patch
55 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
1 commit
sha256:4671b7f787ddbe63ced31c895b688c77ab495653b65a730b423329f26b3c1439
feat: K1-P1 complete — agent provenance, build-verification…
Sonnet 4.6
patch
55 days ago