Files
rune/tests
Nick 13a9bfe88d fix(operator): script-mode imports + guarded emission + test env parity (contract BUILDER-2026-10-07T22:45:14Z-1d3c31)
Three faults from the factory loop's CI watch:
- _wire_auto_filer script-mode fallback assumed the script dir was on
  sys.path — insert it before the flat imports
- the terminalization emission call sites leaked override-raised
  exceptions — the documented contract (journal failure never masks the
  operator path) is now enforced AT the call sites (the method-internal
  guard cannot cover subclass overrides); the two inner journal guards
  carry their contract annotation explicitly
- test_operator_script_can_import set env={HOME: tmp}, which silently
  relocated python's user-site (~/.local derives from HOME) and hid
  httpx — the test now carries the real user-site forward via PYTHONPATH
  while keeping the data-home isolation intent

Full suite: 2396 passed. Ratchet PASS bare (the annotation sweep also
dropped BLE001 to 344 — under baseline).
2026-10-07 23:47:54 +01:00
..