Skip to content

M1: Narrow broad exception handlers in security paths #35

Backlog

Description

@h45sh

Context

There are 116 except Exception handlers, 51 with pass, which can hide failures in security paths.

Acceptance criteria

  • Inventory the handlers in gateway, executor, and session paths.
  • Narrow to specific exceptions or re-raise with context.
  • Enable BLE001/S110 for those paths in ruff.
  • No behavior regressions in tier0/fast tests.

Out of scope

Every handler in the codebase; start with security paths.

Part of #24

Activity

  1. added this to the M1 Truth milestone on Nov 29, 2026
  2. added
    type:debt
    area:hygiene
    priority:P1
    on Nov 29, 2026
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

    area:hygienepriority:P1type:debt

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions