feat(m0): complete scaffold, logging and signature checks (T0.2-T0.6)

Add os.Logger categories, OSSignposter wrapper and shortHash helper; enforce exact Debug/Release/install signatures; lint tests; update M0 docs and progress.
This commit is contained in:
schihei committed 2026-11-26 12:33:51 +01:00
1 parent 374085ec2f
commit 7ca5c710ec
17 files changed
+331 -9

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ These are hard requirements. The `swift-reviewer` agent checks every change agai
- App Sandbox: **disabled** (ADR-003), because Accessibility replacement requires it. Hardened Runtime: **enabled**.
- Entitlements are exactly `com.apple.security.app-sandbox = false`. No network entitlement is needed outside the sandbox.
- Xcode may inject `get-task-allow` into a Debug signature for the debugger. Release and the `make install` signature contain only `com.apple.security.app-sandbox = false`; `scripts/verify.sh` and `make install` check the signatures with `scripts/check-signature.sh`, and `scripts/privacy-check.sh` checks the entitlements file.
- No `com.apple.security.cs.allow-unsigned-executable-memory`, `disable-library-validation`, `allow-jit` or other hardened-runtime exceptions.
- ATS: `NSAllowsLocalNetworking = true` only. No `NSAllowsArbitraryLoads`.
- Info.plist: `LSUIElement = true`, `NSServices` for "Translate with Sprachmittler", no microphone/camera/screen/Input Monitoring/Apple Events usage descriptions.