Jeremy Blankenship
Jeremy Blankenship
**Severity**: P0 (auth/UX) — bogus Authorization header sent on every request without token **Component**: `dashboard/src/api/client.ts:53` **Evidence**: ```typescript export async function apiGet(path: string, token = getSavedToken()): Promise { const response =...
**Severity**: P0 (critical) — structural code that bypasses every static-analysis tool the project relies on **Component**: `enoch_control_plane/control_plane/router.py:8873-8967`, `enoch_control_plane/control_plane/router_http_prepare_bindings_src.py` **Evidence**: ```python # enoch_control_plane/control_plane/router.py:8873 class _ControlPlaneHttpRegistrationNamespace(dict): def __missing__(self, key: str) -> Any:...
**Severity**: P1 (SSRF / local-fs exfiltration) — operator-edited config.json can set arbitrary schemes **Component**: `enoch_control_plane/config.py:67,78,85,87,93` **Evidence**: ```python 67: completion_callback_url: str = "" 78: worker_wake_gate_url: str = secure_default_service_url("worker.example", 8787) 85: pushover_api_url:...
**Severity**: P2 (operational visibility) — orchestrator can't tell when the gate is actually healthy **Component**: `enoch_control_plane/app.py:1079` **Evidence**: ```python @app.get("/healthz") def healthz() -> dict: return {"ok": True, "service": "enoch_worker_gate", "timestamp": utc_now()}...
**Severity**: P1 (production stall) — reconcile loop dies silently; gate stops dispatching until restart **Component**: `enoch_control_plane/app.py:213` **Evidence**: ```python if reconcile_task is None or reconcile_task.done(): reconcile_task = asyncio.create_task(_reconcile_missing_idle_loop()) ``` The task...
**Severity**: P1 (callback loss) — transient network blip dead-letters the callback **Component**: `enoch_control_plane/callback_outbox.py:232` **Evidence**: ```python except Exception as exc: return DeliveryResult(ok=False, detail=f"{type(exc).__name__}: {exc}") ``` This is invoked from `_replay_callback_outbox_once` (app.py:3402)....
**Severity**: P1 (false-negative dispatch) — preflight false-negatives on 5s timeout, dispatch blocked, no retry **Component**: `enoch_control_plane/control_plane/worker_adapter.py:31,92-97` **Evidence**: ```python def _http_request_json(method, url, headers, payload=None, *, timeout: float = 5) -> HttpResult:...
**Severity**: P1 (lost-update under concurrent callbacks) **Component**: `enoch_control_plane/control_plane/store.py:4864` (worker callback ingest) **Evidence**: ```python def record_worker_callback(self, *, run_id, status, ...): project_id = self._resolve_worker_callback_project_id(...) # conn #1 if self._replayed_worker_callback_event_id(...): ... # conn...
**Severity**: P1 (papers regress to older state) **Component**: `enoch_control_plane/control_plane/store.py:4995` (papers table) **Evidence**: ```python def _upsert_paper_in_conn(self, conn, *, paper_id, ...): existing = conn.execute( "SELECT project_id, run_id, paper_type, updated_at FROM papers WHERE...
**Severity**: P1 (lineage corruption inflates counts downstream) **Component**: `enoch_control_plane/control_plane/supabase_store.py:4611` (research lineage) **Evidence**: ```python def _insert_source_candidate_lineage(self, *, source_id, target_id, ...): self._query( "INSERT INTO research_lineage(source_type, source_id, target_type, target_id, relation_type, ...)" " SELECT...