From 8651b4653acd21e4294f103e032ed07a58e66814 Mon Sep 17 00:00:00 2001 From: ProtocolWarden <32967198+ProtocolWarden@users.noreply.github.com> Date: Thu, 18 Jun 2026 06:13:43 -0400 Subject: [PATCH] cleanup: delete unused CoreRunnerError CoreRunnerError (errors.py) was a base exception from the original ExecutorRuntime seed commit: raised nowhere, caught nowhere, NOT exported in __init__ __all__ (which exports CoreRunner / safe_run / SafeRunResult), and used by no repo. errors.py held only that class, so the whole file is removed, along with its now-stale T1/T6/T7 exclude_paths entries in .custodian/config.yaml. 76 tests green; ruff clean; audit B2-env-only; doctor OK. Part of the cross-repo incomplete-integration remediation. Co-Authored-By: Claude Opus 4.8 --- .console/log.md | 10 ++++++++++ .custodian/config.yaml | 3 --- src/core_runner/errors.py | 4 ---- 3 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 src/core_runner/errors.py diff --git a/.console/log.md b/.console/log.md index 78935c6..fdb5f7e 100644 --- a/.console/log.md +++ b/.console/log.md @@ -131,3 +131,13 @@ Deleted legacy src/executor_runtime/ package now that all code lives in src/core ## 2026-05-23 — Standardize pre-push hook - Updated `.hooks/pre-push` to the auto-discovering boundary-artifact variant (auto-locates PrivateManifest/dist artifact; extra custodian-multi fallback path). + +## 2026-06-18 — cleanup: delete unused CoreRunnerError + +Ecosystem incomplete-integration remediation (Phase 3 DELETE). CoreRunnerError +(errors.py) was a base exception from the original ExecutorRuntime seed — +raised nowhere, caught nowhere, NOT exported in __init__ __all__ (which exports +CoreRunner/safe_run/SafeRunResult), no cross-repo use. Deleted the whole +errors.py (it held only that class) + its now-stale T1/T6/T7 exclude_paths +entries in .custodian/config.yaml. 76 tests green; ruff + audit (B2 env) + +doctor clean. diff --git a/.custodian/config.yaml b/.custodian/config.yaml index e453920..09f5987 100644 --- a/.custodian/config.yaml +++ b/.custodian/config.yaml @@ -31,17 +31,14 @@ audit: exclude_paths: T1: - "src/core_runner/contracts/**" - - src/core_runner/errors.py - "src/core_runner/io/**" - src/core_runner/runners/base.py T6: - "src/core_runner/contracts/**" - - src/core_runner/errors.py - "src/core_runner/io/**" - src/core_runner/runners/base.py T7: - "src/core_runner/contracts/**" - - src/core_runner/errors.py - "src/core_runner/io/**" - src/core_runner/runners/base.py X2: diff --git a/src/core_runner/errors.py b/src/core_runner/errors.py deleted file mode 100644 index 2eea7dc..0000000 --- a/src/core_runner/errors.py +++ /dev/null @@ -1,4 +0,0 @@ -# SPDX-License-Identifier: AGPL-3.0-or-later -# Copyright (C) 2026 ProtocolWarden -class CoreRunnerError(Exception): - """Base exception for core_runner package."""