Pinky DD2: steer-unread hardening — non-dict payload guard, steer-dir poll-cache key, S-6 narrative correction (v1.34.1) #62
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/pinky-dd2-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Validation follow-ups from the v1.34.0 ACCEPT-WITH-FINDINGS round.
_steer_unread_sessionscrashed on a truthy non-dict JSON payload in a fresh-mtime steer result file (AttributeError atdata.get()), darking/api/sessionsfor the unread window. Fixed with anisinstance(data, dict)guard (+ belt-and-suspendersexcept); wrong-type payloads are inert — tested at derivation, composition and endpoint level, incl. malformed-among-valid.CACHE_KEY_MS, default 250 ms; protocol-proven under a 5 s stress key window) —CACHE_TTL_Sonly the outer bound. Wording corrected (docstring, README, test narrative); no behavior change._source_key— a steer completion flips the unread badge on the NEXT poll, killing the badge-lag asymmetry against the external path (unit differential red pre-fix; fixture CDP: isolated result file glows in 2.4 s against a 30 s TTL).Suite: 212 tests green (207 + 5 new). Super-Linter station recipe green (BASH, BASH_EXEC, MARKDOWN, PYTHON_PYLINT, PYTHON_RUFF, YAML). Version marker v1.34.1.