Files
ECC/tests/hooks
Karim Masmoudi f0f68e6307 fix(continuous-learning-v2): redact short-payload JWTs and suffixed sk- keys
A JWT with a short claims segment such as e30 ({}) matched neither the
full JWT branch nor the cut-tail branch and was saved as is. The payload
segment now only needs one character.

A generic sk- key followed by "-" or "_" failed its lookahead and was
skipped whole. It is now redacted to the end of the token. Branch names
like sk-learn-upgrade stay readable because they have fewer than 20
alphanumerics after the prefix.

Adds a test that the two pattern copies in observe.sh are identical and
that they run in linear time on 300 KB of adversarial input (#2278).
2026-11-05 14:15:21 +01:00
..