Phase 3b: re-point review/heuristics.zig scanFile onto safety_core.scanSource for the shared verdict (credentials/entropy/hex/bidi/homoglyph/private_key), mapped via fromCore (code + severity); delete the duplicate detectors matchPrefixedToken/hasHighEntropyToken/containsBidiControl/containsHomoglyph/isMetadataLine + their unit tests (duplicate pattern set #1 of 3, gone). Keep kepr-local: binary/archive/null_byte/long_line (scanLongLines), scanZigSpecific, classifyUrlContext, scopeCoherence. PEM test now asserts private_key+body; svc test fixture aligned to law §8 test-context. Corpus 2/2 + suite green except pre-existing profile-heart (v1.56.183)

dev · 9 weeks ago · 2026-06-26 · 14.9 MB

session: safety core extraction · agent: claude-opus-4-8

$ koh steal kepr.uk/kepr@1b31e8c332b0
·
← 227d5153d577 f84b2d76cd87 →
⇓ download .face