You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[REFACTOR] Fix mypy type errors in the core parsing engine #432
core-engineModifications to the central physics and parsing enginepythonPython-specific runtime or environment optimizationsrefactorStructural cleanup or optimization without altering behavior
✅ 0 -- cleared (found and fixed a second root cause along the way, `LENS_CONFIG`, same class as #431's `RECORDING_SCHEMAS`)
`signal_processor.py`
60 (22 remaining)
Open
`detector.py`
27 (18 remaining)
Open
`prism.py`
27 (8 remaining)
Open
Remaining total across these three: 48 of the 126 currently-baselined errors. `spatial_mapper.py` (13 errors) wasn't in this issue's original file list but is in the same `gitgalaxy/core/` neighborhood as `detector.py`/`prism.py` -- worth folding into this issue's scope rather than #433's when it's picked up.
A few of these turned out to be genuine (if mostly latent) bugs rather than pure annotation work, called out in each PR: a _find_balanced_end float/range() TypeError risk, an importlib.util implicit-dependency fragility, and a for b in ... / quadratic-coefficient b variable-name collision in spatial_mapper.py that mypy only surfaced after the file's other errors were cleared.
Full epic (including #433's tools/recorders scope) wrapped up in #467 -- see #429 for the final summary.
core-engineModifications to the central physics and parsing enginepythonPython-specific runtime or environment optimizationsrefactorStructural cleanup or optimization without altering behavior
Activity
Wire mypy into CI as a baseline-gated regression check (#430) (#434)
squid-protocol commentedon Jul 25, 2026
Progress: 2 of the 5 target files fully cleared.
Remaining total across these three: 48 of the 126 currently-baselined errors. `spatial_mapper.py` (13 errors) wasn't in this issue's original file list but is in the same `gitgalaxy/core/` neighborhood as `detector.py`/`prism.py` -- worth folding into this issue's scope rather than #433's when it's picked up.
Clear all 22 mypy errors in signal_processor.py (#432 session 5) (#444)
Clear all 18 mypy errors in detector.py (#432 session 6) (#446)
Clear all 8 mypy errors in prism.py (#432 session 7) (#448)
Clear all 13 mypy errors in spatial_mapper.py (#432 session 8) (#450)
Clear all 8 mypy errors in security_lens.py, plus a leftover spatial_…
Clear all 8 mypy errors in manifest_parser.py (#432 session 10) (#454)
Clear all 8 mypy errors in cobol_jcl_auditor.py (#432 session 11) (#456)
Clear all 6 mypy errors in llm_recorder.py (#432 session 12) (#458)
Clear all 4 mypy errors in dev_agent_firewall.py (#432 session 13) (#460
Clear all 4 mypy errors in gitgalaxy_config.py (#432 session 14) (#462)
Clear all 3 mypy errors in ai_appsec_sensor.py (#432 session 15) (#464)
Clear all remaining 24 mypy errors -- baseline reaches 0 (#432 final …
squid-protocol commentedon Jul 25, 2026
Done -- baseline for this scope reached 0. Completed in file-sized PRs as planned:
A few of these turned out to be genuine (if mostly latent) bugs rather than pure annotation work, called out in each PR: a
_find_balanced_endfloat/range()TypeError risk, animportlib.utilimplicit-dependency fragility, and afor b in .../ quadratic-coefficientbvariable-name collision in spatial_mapper.py that mypy only surfaced after the file's other errors were cleared.Full epic (including #433's tools/recorders scope) wrapped up in #467 -- see #429 for the final summary.