Skip to content

[REFACTOR] Fix mypy type errors in tools/recorders/misc modules #433

Description

@squid-protocol

🎯 Objective

The long tail of the 235 mypy errors measured in #429 -- everything outside the 5 core-engine files covered by #432. As of the initial measurement:

`galaxyscope.py` (16), `spatial_mapper.py` (13), `cobol_jcl_auditor.py` (8), `security_lens.py` (8), `manifest_parser.py` (8), `dev_agent_firewall.py` (6), `llm_recorder.py` (6), `gitgalaxy_config.py` (4), `ai_appsec_sensor.py` (3), plus ~15 files with 1-2 errors each.

Should do #431 (root-cause fixes) first -- re-measure remaining counts here afterward.

🛠️ Approach

Same as #432: fix in small PRs, remove resolved entries from `tests/mypy_audit_baseline.json` (#430) as you go. Lower priority than the core-engine cleanup (#432) since these modules see less traffic, but still worth clearing out over time so the baseline trends toward zero.

Parent: #429

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowUI tweaks, documentation, and minor optimizationspythonPython-specific runtime or environment optimizationsrefactorStructural cleanup or optimization without altering behavior

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions