AI Slop Code RIsk Monitor

SenteLabsAI/OpenExecutive

AI-powered virtual executive team — a single coherent executive persona backed by 8 specialist agents (FastAPI + Next.js).

32.3 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for SenteLabsAI/OpenExecutive, a Python project with 5,579 GitHub stars. SynthScan examined 395,796 lines of code across 1321 source files, recording 10417 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 32.3 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

32.3
Adjusted Signal
32.3
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.6K
Stars
Python
Language
395.8K
Lines of Code
1.3K
Files
10.4K
Pattern Hits
2026-10-12
Scan Date
0.04
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 60.3/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 7364 finding(s).

Hallucinated Dependency & Supply Chain Risk 11.3/100 · LOW

Are imports declared and package/API names verified? 933 finding(s).

Agent Over-Engineering Ratio 76.0/100 · CRITICAL

Are wrappers, guards, and repeated structures necessary? 8997 finding(s).

PR Review Velocity Impact 79.4/100 · CRITICAL

Which changes need focused human review? 10417 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 58MEDIUM 893LOW 9466

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 10417 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers6844 hits · 6719 pts
SeverityFileLineSnippetContext
LOWpackages/ui/src/app/council/page.tsx70function modelSupportsDeepReasoning(model: string): boolean {CODE
LOW…/ui/src/components/company-profile/ProfileSections.tsx421function ExternalDependenciesSection({ profile, saving, onSave, pending, copy }: SectionComponentProps) {CODE
LOWpackages/ui/src/lib/api.ts1789export async function forgetHistoryConversation(id: number): Promise<number> {CODE
LOWpackages/ui/src/lib/api.ts2463export function sendWorkflowDesignerMessage(CODE
LOWpackages/ui/src/lib/api.ts2474export function forceWorkflowDesignerDraft(sessionId: string): Promise<WorkflowDesignerTurn> {CODE
LOWpackages/ui/src/lib/api.ts2478export async function getWorkflowDesignerSession(CODE
LOWpackages/core/tests/conftest.py59def _no_background_open_loop_pass(monkeypatch: pytest.MonkeyPatch):CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py24def test_persona_includes_exec_email_identity(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py34def test_google_account_guidance_only_when_google_is_connected(CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py47def test_persona_uses_default_when_no_override() -> None:CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py57def test_persona_applies_persona_override_parameter() -> None:CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py72def test_identity_addendum_uses_default_display_name() -> None:CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py78def test_identity_addendum_honors_exec_display_name_env(CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py89def test_identity_addendum_forbids_impersonation() -> None:CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py102def test_persona_holds_the_line_on_followups() -> None:CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py115def test_identity_addendum_reinforced_in_inbound_email_section() -> None:CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py123def test_persona_has_single_authoritative_length_rule() -> None:CODE
LOW⚡packages/core/tests/unit/test_cache_manager_persona.py142def test_persona_forbids_closing_offers() -> None:CODE
LOW⚡packages/core/tests/unit/test_cache_manager_persona.py152def test_persona_brevity_never_suppresses_a_hedge() -> None:CODE
LOW⚡packages/core/tests/unit/test_cache_manager_persona.py161def test_persona_follow_up_loop_is_bounded() -> None:CODE
LOW⚡packages/core/tests/unit/test_cache_manager_persona.py170def test_persona_instructions_appended_inside_block_zero() -> None:CODE
LOW⚡packages/core/tests/unit/test_cache_manager_persona.py180def test_blank_persona_instructions_keep_block_zero_byte_identical() -> None:CODE
LOW⚡packages/core/tests/unit/test_cache_manager_persona.py190def test_tool_building_guidance_follows_the_chat_scripts_setting(CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py204def test_no_tool_building_guidance_without_the_sandbox(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_email_poller_microsoft.py72def test_known_sender_routes_to_executive_with_outlook_reply_block() -> None:CODE
LOW⚡packages/core/tests/unit/test_email_poller_microsoft.py92def test_unrostered_sender_still_routes() -> None:CODE
LOW⚡packages/core/tests/unit/test_email_poller_microsoft.py97def test_self_sent_and_automated_senders_are_skipped() -> None:CODE
LOW⚡packages/core/tests/unit/test_email_poller_microsoft.py106def test_display_name_cannot_smuggle_into_from_addr() -> None:CODE
LOW⚡packages/core/tests/unit/test_email_poller_microsoft.py114def test_error_payload_is_not_routed() -> None:CODE
LOW⚡packages/core/tests/unit/test_email_poller_microsoft.py120def test_mark_read_goes_through_the_microsoft_tool() -> None:CODE
LOWpackages/core/tests/unit/test_email_poller_microsoft.py131def test_poll_once_lists_the_inbox_and_handles_each_ref() -> None:CODE
LOW…es/core/tests/unit/test_executive_peer_memory_kwarg.py57def test_stream_chat_skips_prefetch_when_peer_memory_context_provided() -> None:CODE
LOW…es/core/tests/unit/test_executive_peer_memory_kwarg.py95def test_stream_chat_still_prefetches_when_context_not_provided() -> None:CODE
LOW…es/core/tests/unit/test_executive_peer_memory_kwarg.py130def test_stream_chat_committee_skips_prefetch_when_provided() -> None:CODE
LOW…es/core/tests/unit/test_executive_peer_memory_kwarg.py176def test_chat_wrapper_forwards_peer_memory_context_kwarg() -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py135async def test_system_prompt_is_the_constant_and_cached(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py148async def test_tools_are_constant_and_sorted(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py176async def test_tool_choice_flips_only_at_budget_or_force(CODE
LOWpackages/core/tests/unit/test_workflow_designer.py187async def test_transcript_budget_forces_emit(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py195async def test_context_block_goes_in_first_user_turn(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py211async def test_previous_draft_goes_in_latest_user_turn(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py230async def test_trailing_assistant_turn_gets_continue_prompt(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py239async def test_options_are_clamped_not_rejected(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py255async def test_invalid_definition_gets_one_repair(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py275async def test_saved_custom_name_triggers_repair(CODE
LOWpackages/core/tests/unit/test_workflow_designer.py298async def test_editing_keeps_the_saved_name_without_a_repair(CODE
LOWpackages/core/tests/unit/test_workflow_designer.py323def test_edit_note_names_the_workflow() -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py330async def test_two_bad_drafts_raise_fixed_error(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py343async def test_server_owned_fields_are_reset(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py360async def test_question_while_forced_retries_then_fails(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py374async def test_forced_retry_never_sends_an_empty_assistant_turn(CODE
LOWpackages/core/tests/unit/test_workflow_designer.py393async def test_provider_error_is_fixed_string(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py415async def test_empty_transcript_is_rejected(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py421def test_context_block_lists_specialists_roster_and_taken_names(CODE
LOWpackages/core/tests/unit/test_workflow_designer.py439def test_context_block_flattens_and_bounds_roster_text(CODE
LOWpackages/core/tests/unit/test_workflow_designer.py459def test_context_block_survives_a_broken_roster(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py470def test_agent_is_in_council_but_not_consultable() -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py523async def test_search_is_answered_within_the_same_turn(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py550async def test_search_budget_per_turn(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_designer.py565async def test_endless_searching_is_a_fixed_error(monkeypatch: pytest.MonkeyPatch) -> None:CODE
6784 more matches not shown…
Decorative Section Separators816 hits · 3105 pts
SeverityFileLineSnippetContext
MEDIUMpackages/ui/src/app/company-profile/page.tsx27// ── page ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…/ui/src/components/company-profile/ProfileSections.tsx17// ── helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…/ui/src/components/company-profile/ProfileSections.tsx30// ── Ask OE plumbing ──────────────────────────────────────────────────────────COMMENT
MEDIUM…/ui/src/components/company-profile/ProfileSections.tsx91// ── sub-components ───────────────────────────────────────────────────────────COMMENT
MEDIUM…/ui/src/components/company-profile/ProfileSections.tsx254// ── section components ────────────────────────────────────────────────────────COMMENT
MEDIUM…/ui/src/components/company-profile/ProfileSections.tsx618// ── composed section list ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/components/briefing/SoloPanels.tsx29// ── Your projects ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/components/briefing/SoloPanels.tsx138// ── Due soon ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/components/briefing/SoloPanels.tsx226// ── This week's review ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/components/briefing/SoloPanels.tsx287// ── Top three today ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/lib/api.ts340// ── conversational onboarding (/onboard/interview/*) ─────────────────────────COMMENT
MEDIUMpackages/ui/src/lib/api.ts3461// ── Fixtures ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/lib/api.ts3579// ── Generated fixtures (LLM-authored) ───────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/lib/api.ts4751// ── Client-company slots (fractional / multi-client mode) ──────────────────COMMENT
MEDIUMpackages/ui/src/lib/api.ts4904// ── Practice layer: engagement metadata + cross-client cockpit ─────────────COMMENT
MEDIUMpackages/ui/src/lib/api.ts4961// ── Take the lead (Delegate → Take the lead) ────────────────COMMENT
MEDIUMpackages/ui/src/lib/api.ts5144// ── Custom tools (Settings → Advanced → Custom tools) ───────────────────────COMMENT
MEDIUM⚡…/core/tests/unit/test_openrouter_provider_lifecycle.py40# --------------------------------------------------------------------------COMMENT
MEDIUM⚡…/core/tests/unit/test_openrouter_provider_lifecycle.py42# --------------------------------------------------------------------------COMMENT
MEDIUM…kages/core/tests/unit/test_specialist_company_stage.py107# ── router: where the stage comes from ───────────────────────────────────────COMMENT
MEDIUM⚡…kages/core/tests/unit/test_specialist_company_stage.py243# ── the prompts themselves ───────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/core/tests/unit/test_take_the_lead.py54# ── the switches and rules ────────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/core/tests/unit/test_take_the_lead.py109# ── the gate ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/core/tests/unit/test_take_the_lead.py187# ── acting under the gate ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/core/tests/unit/test_take_the_lead.py502# ── what unattended passes get ────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/core/tests/unit/test_take_the_lead.py712# ── waking on what comes in ───────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/core/tests/unit/test_take_the_lead.py880# ── in training ───────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/tests/unit/test_take_the_lead.py532# ── approving and declining ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/tests/unit/test_take_the_lead.py601# ── the routes ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/tests/unit/test_take_the_lead.py665# ── as you ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/tests/unit/test_take_the_lead.py801# ── the leading pass finds and uses the deployment's tools ───────────────────COMMENT
MEDIUM⚡packages/core/tests/unit/test_sales_specialist.py59# ── the agent and its registration ───────────────────────────────────────────COMMENT
MEDIUM⚡packages/core/tests/unit/test_sales_specialist.py109# ── knowledge domain wiring ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/tests/unit/test_sales_specialist.py143# ── retrieval, against a real ChromaDB store ─────────────────────────────────COMMENT
MEDIUMpackages/core/tests/unit/test_sales_specialist.py200# ── eval scenarios ───────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/tests/unit/test_delegation_evals.py107# ── The inbox watcher's scenarios (type: inbox) ─────────────────────────────STRING
MEDIUM⚡packages/core/tests/unit/test_web_search_tool.py54# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡packages/core/tests/unit/test_web_search_tool.py56# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡packages/core/tests/unit/test_web_search_tool.py117# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡packages/core/tests/unit/test_web_search_tool.py119# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡packages/core/tests/unit/test_web_search_tool.py142# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡packages/core/tests/unit/test_web_search_tool.py144# ---------------------------------------------------------------------------COMMENT
MEDIUMpackages/core/tests/unit/test_web_search_tool.py242# ---------------------------------------------------------------------------COMMENT
MEDIUMpackages/core/tests/unit/test_web_search_tool.py244# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py118# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py120# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py199# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py201# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py225# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py227# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py316# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py318# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py355# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py357# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py369# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ckages/core/tests/unit/test_dynamic_workflow_resume.py371# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡packages/core/tests/unit/test_openrouter_translator.py17# --------------------------------------------------------------------------COMMENT
MEDIUM⚡packages/core/tests/unit/test_openrouter_translator.py19# --------------------------------------------------------------------------COMMENT
MEDIUM⚡packages/core/tests/unit/test_openrouter_translator.py432# --------------------------------------------------------------------------COMMENT
MEDIUM⚡packages/core/tests/unit/test_openrouter_translator.py434# --------------------------------------------------------------------------COMMENT
756 more matches not shown…
Excessive Try-Catch Wrapping960 hits · 932 pts
SeverityFileLineSnippetContext
LOWevals/run_evals.py99 except Exception:CODE
LOWevals/run_evals.py175 except Exception:CODE
LOWevals/run_evals.py325 except Exception as e:CODE
LOWevals/run_evals.py339 except Exception as e:CODE
LOWevals/run_evals.py357 except Exception as e:CODE
LOWevals/run_evals.py375 except Exception as e:CODE
LOWevals/judges/triage_judge.py113 except Exception:STRING
LOWscripts/mint-google-token.py120 except Exception as exc: # noqa: BLE001 — surface, then keep waitingCODE
LOWpackages/core/tests/unit/test_saved_tools.py279except Exception:CODE
MEDIUMpackages/core/tests/unit/test_review_store.py689def _boot() -> None:CODE
LOWpackages/core/tests/unit/test_review_store.py692 except Exception as exc: # pragma: no cover - only on regressionCODE
LOWpackages/core/openexecutive/config.py1417 except Exception as exc:CODE
LOWpackages/core/openexecutive/clients/cockpit.py98 except Exception:CODE
LOWpackages/core/openexecutive/clients/cockpit.py178 except Exception:CODE
LOW⚡packages/core/openexecutive/clients/slots.py664 except Exception:CODE
LOW⚡packages/core/openexecutive/clients/slots.py670 except Exception:CODE
LOW⚡packages/core/openexecutive/clients/slots.py678 except Exception:CODE
LOW⚡packages/core/openexecutive/clients/slots.py687 except Exception:CODE
LOW⚡packages/core/openexecutive/clients/slots.py696 except Exception:CODE
LOW⚡packages/core/openexecutive/clients/slots.py766 except Exception:CODE
LOW⚡packages/core/openexecutive/clients/slots.py775 except Exception:CODE
LOW⚡packages/core/openexecutive/clients/slots.py780 except Exception:CODE
LOWpackages/core/openexecutive/clients/slots.py222 except Exception:CODE
LOWpackages/core/openexecutive/clients/slots.py262 except Exception:CODE
LOWpackages/core/openexecutive/clients/slots.py277 except Exception:CODE
LOWpackages/core/openexecutive/clients/slots.py601 except Exception:CODE
LOWpackages/core/openexecutive/clients/slots.py610 except Exception:CODE
LOWpackages/core/openexecutive/clients/slots.py643 except Exception:CODE
LOWpackages/core/openexecutive/clients/slots.py801 except Exception:CODE
LOWpackages/core/openexecutive/clients/slots.py932 except Exception as exc:CODE
LOWpackages/core/openexecutive/clients/slots.py957 except Exception:CODE
LOWpackages/core/openexecutive/clients/slots.py970 except Exception as exc:CODE
LOWpackages/core/openexecutive/clients/slots.py1047 except Exception:CODE
LOWpackages/core/openexecutive/clients/slots.py1066 except Exception:CODE
LOWpackages/core/openexecutive/clients/rotation.py147 except Exception as exc:CODE
LOWpackages/core/openexecutive/clients/rotation.py158 except Exception as exc:CODE
LOWpackages/core/openexecutive/clients/rotation.py173 except Exception:CODE
LOWpackages/core/openexecutive/clients/rotation.py255 except Exception as exc:CODE
LOWpackages/core/openexecutive/clients/rotation.py268 except Exception:CODE
LOWpackages/core/openexecutive/clients/rotation.py281 except Exception:CODE
LOWpackages/core/openexecutive/clients/rotation.py364 except Exception:CODE
LOWpackages/core/openexecutive/evals/runner.py266 except Exception as exc:CODE
LOWpackages/core/openexecutive/evals/runner.py365 except Exception as exc:CODE
LOWpackages/core/openexecutive/evals/runner.py452 except Exception as exc:CODE
LOWpackages/core/openexecutive/evals/runner.py557 except Exception as exc:CODE
LOWpackages/core/openexecutive/evals/judges.py204 except Exception:CODE
LOWpackages/core/openexecutive/evals/judges.py254 except Exception:CODE
LOWpackages/core/openexecutive/evals/judges.py317 except Exception:CODE
LOWpackages/core/openexecutive/evals/judges.py397 except Exception:CODE
LOWpackages/core/openexecutive/attunement/style.py357 except Exception:CODE
LOWpackages/core/openexecutive/attunement/style.py535 except Exception:CODE
LOWpackages/core/openexecutive/attunement/style.py721 except Exception as exc:CODE
LOWpackages/core/openexecutive/attunement/style.py768 except Exception:CODE
LOWpackages/core/openexecutive/attunement/style.py828 except Exception:CODE
LOWpackages/core/openexecutive/attunement/open_loops.py311 except Exception:CODE
LOWpackages/core/openexecutive/attunement/open_loops.py692 except Exception:CODE
LOWpackages/core/openexecutive/attunement/open_loops.py738 except Exception:CODE
LOWpackages/core/openexecutive/attunement/open_loops.py807 except Exception:CODE
LOWpackages/core/openexecutive/attunement/open_loops.py888 except Exception as exc:CODE
LOWpackages/core/openexecutive/attunement/open_loops.py1129 except Exception:CODE
900 more matches not shown…
Unused Imports859 hits · 783 pts
SeverityFileLineSnippetContext
LOWevals/run_evals.py7CODE
LOWevals/judges/triage_judge.py7CODE
LOWevals/judges/executive_quality_judge.py2CODE
LOWdocker/honcho/embed_server.py22CODE
LOWscripts/connect-own-outlook.py30CODE
LOWscripts/pr_checks.py30CODE
LOWscripts/connect-own-gmail.py24CODE
LOWscripts/mint-google-token.py20CODE
LOWscripts/make-caller-keys.py20CODE
LOWscripts/mint-caller-assertion.py20CODE
LOWscripts/changed_tests.py13CODE
LOWpackages/core/tests/conftest.py1CODE
LOWpackages/core/tests/unit/test_cache_manager_persona.py2CODE
LOWpackages/core/tests/unit/test_email_poller_microsoft.py8CODE
LOW…es/core/tests/unit/test_executive_peer_memory_kwarg.py6CODE
LOWpackages/core/tests/unit/test_workflow_designer.py9CODE
LOWpackages/core/tests/unit/test_document_tools.py2CODE
LOWpackages/core/tests/unit/test_workflow_run_tools.py8CODE
LOWpackages/core/tests/unit/test_chat_route_alert_trust.py12CODE
LOW…/core/tests/unit/test_openrouter_provider_lifecycle.py8CODE
LOWpackages/core/tests/unit/_fake_store.py14CODE
LOWpackages/core/tests/unit/test_session_ownership.py7CODE
LOWpackages/core/tests/unit/test_extraction_gate.py12CODE
LOWpackages/core/tests/unit/test_briefing_narrative.py9CODE
LOW…kages/core/tests/unit/test_specialist_company_stage.py9CODE
LOWpackages/core/tests/unit/test_delegation_drafts.py3CODE
LOWpackages/core/tests/unit/test_department_tools.py7CODE
LOWpackages/core/tests/unit/test_briefing_context.py2CODE
LOWpackages/core/tests/unit/test_take_the_lead.py3CODE
LOWpackages/core/tests/unit/test_drive_sync.py3CODE
LOWpackages/core/tests/unit/test_departments_route.py5CODE
LOW…kages/core/tests/unit/test_executive_briefing_block.py4CODE
LOWpackages/core/tests/unit/test_sales_specialist.py10CODE
LOWpackages/core/tests/unit/test_delegation_evals.py3CODE
LOWpackages/core/tests/unit/test_decision_tools.py4CODE
LOWpackages/core/tests/unit/test_outbound_context_store.py8CODE
LOWpackages/core/tests/unit/test_target_validation.py8CODE
LOWpackages/core/tests/unit/test_mail_lock_window.py5CODE
LOWpackages/core/tests/unit/test_sessions_route_scoping.py7CODE
LOWpackages/core/tests/unit/test_chat_scripts.py10CODE
LOWpackages/core/tests/unit/test_web_search_tool.py8CODE
LOWpackages/core/tests/unit/test_health_route.py7CODE
LOWpackages/core/tests/unit/test_audit_context.py14CODE
LOWpackages/core/tests/unit/test_guide_prebuilt.py6CODE
LOWpackages/core/tests/unit/test_specialist_fanout_cap.py8CODE
LOWpackages/core/tests/unit/test_delegation_card_drafts.py3CODE
LOWpackages/core/tests/unit/test_artifact_delivery.py12CODE
LOW…ages/core/tests/unit/test_email_poller_no_committee.py9CODE
LOWpackages/core/tests/unit/test_channel_context.py8CODE
LOWpackages/core/tests/unit/test_mail_named_contact.py3CODE
LOW…es/core/tests/unit/test_chat_route_parallel_context.py8CODE
LOWpackages/core/tests/unit/test_alerts_routes.py2CODE
LOWpackages/core/tests/unit/test_top_three.py4CODE
LOWpackages/core/tests/unit/test_discord_roster_hold.py8CODE
LOW…ages/core/tests/unit/test_mcp_gateway_email_context.py11CODE
LOWpackages/core/tests/unit/test_briefing_ranking.py2CODE
LOWpackages/core/tests/unit/test_solo_executive.py7CODE
LOW…ckages/core/tests/unit/test_dynamic_workflow_resume.py7CODE
LOWpackages/core/tests/unit/test_tool_catalog.py4CODE
LOWpackages/core/tests/unit/test_watchlist_routes.py3CODE
799 more matches not shown…
Modern Structural Boilerplate302 hits · 302 pts
SeverityFileLineSnippetContext
LOWpackages/core/tests/unit/test_narrative_refresh_tick.py33def _settings(monkeypatch: pytest.MonkeyPatch, minutes: int = 10) -> None:CODE
LOWpackages/core/tests/unit/test_today_route.py25def _setup_isolated_db(db: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW…s/core/tests/unit/test_workspace_timezone_consumers.py25def _set_zone(zone: str | None) -> None:CODE
LOW⚡packages/core/tests/unit/test_authority_gate.py47def _set_dept_level(slug: str, level: AuthorityLevel) -> None:CODE
LOW⚡packages/core/tests/unit/test_setup_checks.py711 def set_beat(started: datetime | None, tick: tuple[datetime, str] | None = None) -> None:CODE
LOWpackages/core/tests/unit/test_slack_lifespan.py35def _settings_with_slack(monkeypatch: pytest.MonkeyPatch, **overrides: Any) -> None:CODE
LOWpackages/core/tests/unit/test_slack_handler_async.py115 def update_session_timestamp(self, session_id: str, **_kw: Any) -> None:CODE
LOW⚡…ckages/core/tests/unit/test_onboarding_wizard_route.py139def _set_mode(monkeypatch: pytest.MonkeyPatch, mode: str) -> None:CODE
LOWpackages/core/tests/unit/test_principal_briefs.py21def _setup_isolated_db(db: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡packages/core/tests/unit/test_executive_reflection.py32def _setup_isolated_db(db: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡packages/core/tests/unit/test_onboarding_interview.py309def _set_mode(monkeypatch: pytest.MonkeyPatch, mode: str, **role: Any) -> None:CODE
LOWpackages/core/tests/unit/test_workflow_routes.py575def _set_mode(mode: str) -> None:CODE
LOW…ckages/core/tests/integration/test_scheduler_runner.py125def _set_profile_active(monkeypatch: pytest.MonkeyPatch, *, active: bool) -> None:CODE
LOWpackages/core/openexecutive/guide/__init__.py13__all__ = [CODE
LOWpackages/core/openexecutive/clients/cockpit.py36logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/clients/slots.py55logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/clients/__init__.py21__all__ = [CODE
LOWpackages/core/openexecutive/clients/rotation.py53logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/evals/runner.py67logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/attunement/style.py61logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/attunement/open_loops.py55logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/attunement/outcomes.py42logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/facts.py60logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/facts.py443def set_needs_approval(person_id: int, on: bool, db_path: Path | None = None) -> None:CODE
LOWpackages/core/openexecutive/memory/facts.py796__all__ = [CODE
LOW…core/openexecutive/memory/initiatives_consolidation.py28logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/decision_ledger.py47logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/history_drafts.py21logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/history_drafts.py61__all__ = ["notes_for_draft"]CODE
LOWpackages/core/openexecutive/memory/history_chat.py41logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/history_notes.py42logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/episodic.py18logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/history_brief.py23logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/drive_reads.py39logger = logging.getLogger(__name__)CODE
LOW…ckages/core/openexecutive/memory/workspace_settings.py55logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/honcho_client.py54logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/honcho_client.py390def set_active_workspace_id(workspace_id: str, *, fixture_name: str | None = None) -> None:CODE
LOWpackages/core/openexecutive/memory/session_store.py39def update_session_title(session_id: str, title: str, db_path: Path = DB_PATH) -> None:CODE
LOWpackages/core/openexecutive/memory/session_store.py44def update_session_timestamp(session_id: str, db_path: Path = DB_PATH) -> None:CODE
LOWpackages/core/openexecutive/memory/history_reminders.py28logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/history_reminders.py126__all__ = ["maybe_remind", "remind_due", "reminder_text"]CODE
LOWpackages/core/openexecutive/memory/conversations.py28logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/memory/history.py62logger = logging.getLogger(__name__)CODE
LOW…ages/core/openexecutive/providers/openai_compatible.py52logger = logging.getLogger(__name__)CODE
LOW…ges/core/openexecutive/providers/openrouter_catalog.py43logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/providers/__init__.py20__all__ = [CODE
LOWpackages/core/openexecutive/providers/translator.py447logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/workflows/resumer.py78logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/workflows/wait_for_human.py31logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/workflows/playbooks.py22logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/workflows/step_script.py45logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/workflows/gate_delivery.py50logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/workflows/gate_delivery.py255__all__ = ["DeliveryStatus", "deliver_gate_question"]CODE
LOWpackages/core/openexecutive/workflows/python_job.py65logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/workflows/quick.py38logger = logging.getLogger(__name__)CODE
LOW…kages/core/openexecutive/workflows/inbound_resolver.py40logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/workflows/morning_brief.py42logger = logging.getLogger(__name__)CODE
LOWpackages/core/openexecutive/workflows/morning_brief.py425__all__ = ["BRIEF_KIND", "MorningBriefWorkflow", "MorningBriefInput"]CODE
LOWpackages/core/openexecutive/workflows/__init__.py146__all__ = [CODE
LOW…s/core/openexecutive/workflows/executive_reflection.py48logger = logging.getLogger(__name__)CODE
242 more matches not shown…
Over-Commented Block234 hits · 184 pts
SeverityFileLineSnippetContext
LOWdocker/workspace-mcp-launch.sh1#!/usr/bin/env shCOMMENT
LOWdocker/workspace-mcp-launch.sh41# string "all " — which is not equal to "all", so the branch below passedCOMMENT
LOWdocker/ms365-mcp-launch.sh1#!/usr/bin/env shCOMMENT
LOWdocker/ms365-mcp-launch.sh61# `--access-token` (the only argument it may come with) prints an accessCOMMENT
LOWdocker/ms365-mcp-launch.sh81# server's account tools (login, logout, verify-login, list-accounts,COMMENT
LOWdocker/docker-compose.yml1services:COMMENT
LOWdocker/honcho/config.toml1# Honcho server config baked into the Open Executive Docker image.COMMENT
LOWdocker/honcho/config.toml21# A `base_url` written directly under `[…model_config]` is silentlyCOMMENT
LOWdocker/honcho/config.toml101[dream.induction_model_config]COMMENT
LOWdocs/confluence_sync_setup.md61```COMMENT
LOWpackages/ui/next.config.ts1import path from "node:path";COMMENT
LOWpackages/ui/next.config.ts21 // (POST /documents, 50 MB) with room for the multipart envelope, so aCOMMENT
LOWpackages/ui/src/middleware.ts1// Gate every page + non-auth API route. The decision, and the response aCOMMENT
LOWpackages/ui/src/auth.ts201 // hardcoded `true`: that would trust the host on any real deploymentCOMMENT
LOWpackages/ui/src/auth.ts221 // Never both: local login is only ever on while neither Google nor SSO isCOMMENT
LOWpackages/ui/src/app/page.tsx141 // flag is cleared either way, so the Agent Activity panel never sticks.COMMENT
LOWpackages/ui/src/app/onboard/page.tsx21// workspace mode and role, and then asks only about what is still missingCOMMENT
LOWpackages/ui/src/app/audit/session/[id]/page.tsx221// Auto-layout via @dagrejs/dagre.COMMENT
LOWpackages/ui/src/components/Message.tsx21 isStreaming?: boolean;COMMENT
LOWpackages/ui/src/components/Chat.tsx41 initialMessages?: ChatMessage[];COMMENT
LOWpackages/ui/src/components/Chat.tsx241 };COMMENT
LOWpackages/ui/src/components/RepliesWaiting.tsx21 sendQuestion,COMMENT
LOWpackages/ui/src/components/Briefing.tsx121 const [loading, setLoading] = useState(true);COMMENT
LOWpackages/ui/src/components/settings/HandleItCard.tsx21 type LeadRule,COMMENT
LOWpackages/ui/src/components/shell/PageSideNav.tsx1"use client";COMMENT
LOWpackages/ui/src/components/briefing/ProposalCard.tsx241 proposal.routed_to_person_id != nullCOMMENT
LOWpackages/ui/src/components/memories/CadenceSection.tsx21 formatRunAt,COMMENT
LOWpackages/ui/src/lib/allowlist.ts1// Who may sign in. Two ADDITIVE sources, never one overriding the otherCOMMENT
LOWpackages/ui/src/lib/crossSite.ts1// Refuses state-changing requests to the backend proxy that another site madeCOMMENT
LOWpackages/ui/src/lib/markdownImages.ts1// Whether an image in the Executive's reply may load inline. A reply can quoteCOMMENT
LOWpackages/ui/src/lib/use-stoppable-turn.ts1"use client";COMMENT
LOWpackages/ui/src/lib/api.ts21 link?: string | null;COMMENT
LOWpackages/ui/src/lib/api.ts161 committeeReview?: boolean;COMMENT
LOWpackages/ui/src/lib/api.ts1021COMMENT
LOWpackages/ui/src/lib/api.ts4221 // external/watchlist signal was pulled into the action lane by its severityCOMMENT
LOWpackages/ui/src/lib/api.ts4301 people: PersonBriefItem[];COMMENT
LOWpackages/ui/src/lib/handled.ts1// Pure logic behind the briefing's handled rail (HandledOvernightPanel inCOMMENT
LOWpackages/ui/src/lib/turn-id.ts1// Client-minted id for one chat turn. The client needs an id *before* theCOMMENT
LOWpackages/ui/src/lib/turnStatus.ts1// What the chat shows while a turn is running, so that a long turn neverCOMMENT
LOWpackages/ui/src/lib/localLogin.ts1// Local login: running Open Executive on your own computer without settingCOMMENT
LOWpackages/ui/src/lib/briefing-memory.ts1// Most briefing handoff seeds quote the Executive's own card (an artifact'sCOMMENT
LOWpackages/ui/src/lib/oidc.ts1// SSO sign-in: any OpenID Connect identity provider (Keycloak, Okta, Auth0,COMMENT
LOWpackages/core/tests/conftest.py21# retrieval tests hard-code distances either side of the 0.55 default. BecauseCOMMENT
LOW…s/core/tests/unit/test_chat_route_seen_channel_refs.py161# --------------------------------------------------------------------- #COMMENT
LOWpackages/core/tests/unit/test_honcho_department.py641 monkeypatch: pytest.MonkeyPatch,COMMENT
LOWpackages/core/tests/unit/test_episodic.py561COMMENT
LOWpackages/core/openexecutive/config.py101 env_ignore_empty=True,COMMENT
LOWpackages/core/openexecutive/config.py141 # per-collection chunk counts can be tuned without code edits — and so aCOMMENT
LOWpackages/core/openexecutive/config.py161 # Telegram, Discord, Google Chat). The closest matches are kept first.COMMENT
LOWpackages/core/openexecutive/config.py181 # Toggle that routes Claude calls through OpenRouter (so usage isCOMMENT
LOWpackages/core/openexecutive/config.py261 # Enabling the toggle without a key would silently 401 every call.COMMENT
LOWpackages/core/openexecutive/config.py281 # ROUTING_MODEL=llama3.3COMMENT
LOWpackages/core/openexecutive/config.py301 # Anthropic request schema. A plain self-hosted server (Ollama, vLLM) orCOMMENT
LOWpackages/core/openexecutive/config.py361 # GET /version asks GitHub for the latest Open Executive release (at mostCOMMENT
LOWpackages/core/openexecutive/config.py381 # Hard ceiling on the prefetch call so a Honcho outage can't stall theCOMMENT
LOWpackages/core/openexecutive/config.py401 def _validate_honcho(self) -> "Settings":COMMENT
LOWpackages/core/openexecutive/config.py421 # Extra wall-clock allowance added to chat_stream_timeout_s when a requestCOMMENT
LOWpackages/core/openexecutive/config.py541 return "complete" if not raw or raw.startswith("$") else rawCOMMENT
LOWpackages/core/openexecutive/config.py581 # one-line pointer left behind in the channel) — except when theCOMMENT
LOWpackages/core/openexecutive/config.py641COMMENT
174 more matches not shown…
Modern AI Meta-Vocabulary43 hits · 131 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md87│ │ ├── knowledge/ # ChromaDB store + RAG pipelineCODE
MEDIUMevals/run_evals.py252 # The chat path's RAG layer reads ``review_items`` from the sharedCOMMENT
MEDIUMdocs/architecture.md20│ │ ├── knowledge/ # ChromaDB store + RAG pipelineCODE
MEDIUMpackages/core/tests/conftest.py20# The RAG distance gates are read by retrieve() at call time and severalCOMMENT
MEDIUMpackages/core/tests/unit/test_engagement_intake.py144 # …and was appended to the bundle as a company doc for RAG indexing.COMMENT
MEDIUM⚡packages/core/tests/unit/test_inbound_hydration.py208 assert strip(quoted) == quoted # content, not scaffoldingCODE
MEDIUM⚡packages/core/tests/unit/test_inbound_hydration.py212 assert strip(unterminated) == unterminated # keep scaffolding over eating the messageCODE
MEDIUM⚡packages/core/tests/unit/test_channel_tool_filter.py210 # Static scaffolding must survive the refactor.COMMENT
MEDIUM⚡packages/core/tests/unit/test_channel_tool_filter.py239 # Static scaffolding must survive the refactor.COMMENT
MEDIUMpackages/core/tests/unit/test_monitoring_pipeline.py235# Scan orchestration — the heart of the pipelineCOMMENT
MEDIUMpackages/core/tests/unit/test_router_retrieval.py88 # Each agent receives its own RAG block, not the other specialist's.COMMENT
MEDIUMpackages/core/tests/unit/test_honcho_client.py920# --- prompt scaffolding never becomes the person's words --------------------COMMENT
MEDIUMpackages/core/tests/unit/test_dynamic_workflow_run.py81 # placeholder rendered into the goal, RAG fetchedCOMMENT
MEDIUMpackages/core/openexecutive/config.py138 # ---- Knowledge retrieval (RAG) tuning ------------------------------COMMENT
MEDIUMpackages/core/openexecutive/config.py142 # RAG ablation run can disable builtin retrieval by settingCOMMENT
MEDIUMpackages/core/openexecutive/config.py176 # silently fanning out (each specialist call carries its own RAG + memoryCOMMENT
MEDIUM…core/openexecutive/memory/initiatives_consolidation.py124 # Track ids already claimed by an emitted cluster so an LLM hallucinationCOMMENT
MEDIUMpackages/core/openexecutive/memory/honcho_client.py1809 # session too, so the same scaffolding rule as sync_turn applies.COMMENT
MEDIUMpackages/core/openexecutive/providers/translator.py655# whose thinking was dropped; other vendors lose their chain of thought).COMMENT
MEDIUMpackages/core/openexecutive/workflows/mbr.py167 async def run( # noqa: C901 — linear orchestrationCODE
MEDIUM…s/core/openexecutive/workflows/executive_reflection.py70# multi-turn agentic loop. The fifth leaves room for a search_knowledgeCOMMENT
MEDIUMpackages/core/openexecutive/workflows/dynamic.py218 # No synthetic content — just blank scaffolding the user fills in.COMMENT
MEDIUM…ges/core/openexecutive/workflows/executive_research.py721 # recall it via RAG. Separate collection, clearly labelled atCOMMENT
MEDIUMpackages/core/openexecutive/workflows/board_prep.py190 async def run( # noqa: C901 — orchestration sequence is intentionally linearCODE
MEDIUM⚡packages/core/openexecutive/scheduler/nudge_engine.py590# Scan orchestrationCOMMENT
MEDIUMpackages/core/openexecutive/integrations/attachments.py334 # This is a systemic risk shared with any RAG system that ingestsCOMMENT
MEDIUM…ages/core/openexecutive/architecture/prebuilt/api.json4 "markdown": "The FastAPI surface lives in `openexecutive.api.main`, which mounts one router per topic. A shared-secretCODE
MEDIUM…ore/openexecutive/architecture/prebuilt/workflows.json4 "markdown": "Workflows are deterministic, multi-step orchestrations. The built-ins are registered in `openexecutive.woCODE
MEDIUM…ore/openexecutive/architecture/prebuilt/lifecycle.json4 "markdown": "A single chat message makes a full round-trip through the API, the orchestrator's tool-use loop, a parallCODE
MEDIUM…/openexecutive/architecture/prebuilt/integrations.json4 "markdown": "External channels connect callers to the Executive. Each inbound adapter resolves the sender to a Person CODE
MEDIUM…ore/openexecutive/architecture/prebuilt/scheduler.json4 "markdown": "The scheduler is an asyncio task started in the FastAPI lifespan (`openexecutive.scheduler.runner.run_schCODE
MEDIUMpackages/core/openexecutive/audit/logger.py69 "knowledge_retrieval", # RAG retrieve() — chunks, scores, source filesCODE
MEDIUM⚡packages/core/openexecutive/knowledge/retriever.py30# Minimum character length for RAG to fire. Below this we treat theCOMMENT
MEDIUM⚡packages/core/openexecutive/knowledge/retriever.py34# bypass RAG for meaningful Chinese/Japanese queries. Threshold sitsCOMMENT
MEDIUMpackages/core/openexecutive/knowledge/retriever.py279 # "we considered RAG and gated it out". Longer-but-tangential queriesCOMMENT
MEDIUM⚡packages/core/openexecutive/knowledge/retriever.py297 # take effect on the next call — this is the lever the RAG ablationCOMMENT
MEDIUM⚡packages/core/openexecutive/knowledge/retriever.py298 # harness toggles (KNOWLEDGE_BUILTIN_N_RESULTS=0 disables builtin RAG).COMMENT
MEDIUMpackages/core/openexecutive/knowledge/retriever.py327 # lever the RAG ablation harness flips). Skip the query rather thanCOMMENT
MEDIUM⚡packages/core/openexecutive/api/routes/knowledge.py536# Search — diagnostic "what would RAG retrieve for this question" endpoint.COMMENT
MEDIUMpackages/core/openexecutive/api/routes/knowledge.py698 # that advertises itself as showing "what RAG would surface" must dropCOMMENT
MEDIUMpackages/core/openexecutive/monitoring/pipeline.py355# Scan orchestrationCOMMENT
MEDIUMpackages/core/openexecutive/orchestrator/executive.py943 # flow chart show "what the agent saw" without re-running RAG.COMMENT
MEDIUMpackages/core/openexecutive/orchestrator/executive.py1301 # Callers can pre-resolve this in parallel with RAG and episodicCOMMENT
Deep Nesting150 hits · 123 pts
SeverityFileLineSnippetContext
LOWevals/run_evals.py211CODE
LOWscripts/pr_checks.py298CODE
LOWscripts/changed_tests.py49CODE
LOWpackages/core/tests/unit/test_artifact_routes.py485CODE
LOWpackages/core/tests/unit/test_mail_touched_lockdown.py315CODE
LOWpackages/core/tests/unit/test_mail_touched_lockdown.py383CODE
LOWpackages/core/tests/unit/test_confluence_sync.py100CODE
LOWpackages/core/tests/unit/test_delegation_reply_send.py371CODE
LOWpackages/core/openexecutive/clients/rotation.py91CODE
LOWpackages/core/openexecutive/evals/runner.py285CODE
LOWpackages/core/openexecutive/evals/runner.py380CODE
LOWpackages/core/openexecutive/evals/runner.py392CODE
LOW…core/openexecutive/memory/initiatives_consolidation.py85CODE
LOW…core/openexecutive/memory/initiatives_consolidation.py155CODE
LOWpackages/core/openexecutive/memory/episodic.py164CODE
LOWpackages/core/openexecutive/memory/episodic.py2567CODE
LOWpackages/core/openexecutive/memory/session_store.py223CODE
LOWpackages/core/openexecutive/memory/conversations.py148CODE
LOWpackages/core/openexecutive/providers/feature_gate.py157CODE
LOWpackages/core/openexecutive/providers/translator.py132CODE
LOWpackages/core/openexecutive/providers/translator.py242CODE
LOWpackages/core/openexecutive/providers/translator.py256CODE
LOWpackages/core/openexecutive/providers/translator.py354CODE
LOWpackages/core/openexecutive/workflows/saved_tools.py86CODE
LOWpackages/core/openexecutive/workflows/resumer.py735CODE
LOWpackages/core/openexecutive/workflows/persistence.py58CODE
LOWpackages/core/openexecutive/workflows/step_script.py368CODE
LOWpackages/core/openexecutive/workflows/step_script.py593CODE
LOWpackages/core/openexecutive/workflows/python_job.py324CODE
LOW…s/core/openexecutive/workflows/executive_reflection.py331CODE
LOW…s/core/openexecutive/workflows/executive_reflection.py604CODE
LOWpackages/core/openexecutive/workflows/dynamic.py771CODE
LOWpackages/core/openexecutive/workflows/dynamic.py552CODE
LOWpackages/core/openexecutive/workflows/dynamic_store.py28CODE
LOWpackages/core/openexecutive/workflows/designer.py458CODE
LOWpackages/core/openexecutive/workflows/dynamic_models.py248CODE
LOWpackages/core/openexecutive/workflows/dynamic_models.py293CODE
LOWpackages/core/openexecutive/workflows/dynamic_models.py461CODE
LOWpackages/core/openexecutive/workflows/action_step.py559CODE
LOWpackages/core/openexecutive/workflows/action_step.py815CODE
LOWpackages/core/openexecutive/workflows/action_step.py484CODE
LOW…ges/core/openexecutive/workflows/executive_research.py794CODE
LOW…ges/core/openexecutive/workflows/executive_research.py1033CODE
LOW…ges/core/openexecutive/workflows/executive_research.py1243CODE
LOW…ges/core/openexecutive/workflows/executive_research.py1472CODE
LOWpackages/core/openexecutive/workflows/tool_catalog.py219CODE
LOWpackages/core/openexecutive/scheduler/runner.py215CODE
LOWpackages/core/openexecutive/scheduler/runner.py356CODE
LOWpackages/core/openexecutive/scheduler/runner.py1902CODE
LOWpackages/core/openexecutive/scheduler/runner.py2052CODE
LOWpackages/core/openexecutive/departments/prompt_block.py185CODE
LOWpackages/core/openexecutive/cli/fixture_loader.py711CODE
LOWpackages/core/openexecutive/cli/fixture_loader.py1701CODE
LOWpackages/core/openexecutive/delegation/replies.py122CODE
LOWpackages/core/openexecutive/delegation/action_cards.py249CODE
LOWpackages/core/openexecutive/delegation/action_cards.py439CODE
LOWpackages/core/openexecutive/delegation/action_cards.py560CODE
LOWpackages/core/openexecutive/delegation/voice.py327CODE
LOWpackages/core/openexecutive/delegation/outlook.py385CODE
LOWpackages/core/openexecutive/delegation/reply_send.py183CODE
90 more matches not shown…
Empty Error Handlers21 hits · 105 pts
SeverityFileLineSnippetContext
HIGHscripts/pr_checks.py349except OSError:CODE
HIGHpackages/core/tests/unit/test_attachment_isolation.py237except RuntimeError:CODE
HIGHpackages/core/tests/unit/test_company_profile.py130except OSError:CODE
HIGHpackages/core/tests/unit/test_phase8_hardening.py214except asyncio.CancelledError:CODE
HIGHpackages/core/openexecutive/clients/slots.py262except Exception:CODE
HIGHpackages/core/openexecutive/workflows/persistence.py411except ValueError:CODE
HIGHpackages/core/openexecutive/workflows/python_job.py417except (OSError, ValueError, IndexError):CODE
HIGHpackages/core/openexecutive/workflows/python_job.py208except OSError:CODE
HIGH…es/core/openexecutive/workflows/department_check_in.py343except Exception: # noqa: BLE001 - mirror must not break the workflow.CODE
HIGHpackages/core/openexecutive/workflows/_synthesis.py113except (ValueError, TypeError):CODE
HIGHpackages/core/openexecutive/scheduler/runner.py624except Exception:CODE
HIGHpackages/core/openexecutive/departments/store.py666except Exception: # noqa: BLE001 - mirror must never break the SQL path.CODE
HIGHpackages/core/openexecutive/cli/fixture_loader.py324except Exception:CODE
HIGH…ckages/core/openexecutive/integrations/telegram_bot.py104except (ValueError, TypeError, AttributeError):CODE
HIGHpackages/core/openexecutive/integrations/discord_bot.py1669except (ValueError, TypeError, AttributeError):CODE
HIGHpackages/core/openexecutive/knowledge/store.py240except Exception:CODE
HIGHpackages/core/openexecutive/knowledge/isolated.py251except (ImportError, ValueError, OSError):CODE
HIGHpackages/core/openexecutive/api/routes/documents.py351except (TypeError, ValueError):CODE
HIGHpackages/core/openexecutive/api/routes/chat.py314except (asyncio.CancelledError, StopAsyncIteration):CODE
HIGHpackages/core/openexecutive/monitoring/sources/query.py264except (TypeError, ValueError):CODE
HIGH…kages/core/openexecutive/orchestrator/take_the_lead.py1150except Exception:CODE
Cross-Language Confusion18 hits · 105 pts
SeverityFileLineSnippetContext
HIGHpackages/core/tests/unit/test_extraction_gate.py1140 """The model wrote JSON null, not the word "None"; the prompt must notSTRING
HIGHpackages/core/tests/unit/test_today_route.py158 # (narrative null) and its background task populates the cache, soCOMMENT
HIGH⚡packages/core/tests/unit/test_onedrive_sync.py577 try {{ await m.accessToken({{ scopes, authManager: fake }}); out.push("allowed"); }}CODE
HIGH⚡packages/core/tests/unit/test_onedrive_sync.py578 catch (e) {{ out.push("refused"); }}CODE
HIGH⚡packages/core/tests/unit/test_onedrive_sync.py580try {{ await m.accessToken({{ scopes: ["Files.Read.All"], authManager: {{ ...fake, getCurrentAccount: async () => null }CODE
HIGH⚡packages/core/tests/unit/test_onedrive_sync.py581catch (e) {{ out.push(e.errorCode); }}CODE
HIGHpackages/core/tests/unit/test_architecture_generator.py69 _text_delta('lo", "mermaid": null}'),CODE
HIGH⚡packages/core/tests/unit/test_architecture_generator.py86 assert deltas == ['{"markdown": "Hel', 'lo", "mermaid": null}'] # non-text skippedCODE
HIGH⚡packages/core/tests/unit/test_architecture_generator.py93 raw = '```json\n{"markdown": "x", "mermaid": null}\n```'CODE
HIGH⚡packages/core/tests/unit/test_architecture_generator.py99 raw = '{"markdown":"hi\x01there","mermaid":null}'CODE
HIGHpackages/core/tests/unit/test_python_job.py188 hog = "from pyodide.code import run_js\nrun_js('let a=[]; for(let i=0;i<8;i++){const b=new Uint8Array(2**30); b.fillCODE
HIGHpackages/core/tests/unit/test_action_step.py305 assert not act.looks_like_error('{"values": [1], "error": null}')CODE
HIGHpackages/core/openexecutive/utils/prebuilt_store.py9``markdown``, ``mermaid`` (string or null), and ``generated_at`` (ISO-8601).STRING
HIGHpackages/core/openexecutive/api/routes/today.py2002 anyone else gets null, since it is about the owner's channels."""STRING
HIGH…ckages/core/openexecutive/orchestrator/people_tools.py181 "person_id=null). The person must already exist in the roster — call "CODE
HIGH…ages/core/openexecutive/orchestrator/artifact_tools.py132 "strings, numbers, booleans or null; text is always "CODE
HIGH…ages/core/openexecutive/orchestrator/schedule_tools.py1301 "(string / number / boolean / null) or lists of those — no "CODE
HIGH…ckages/core/openexecutive/orchestrator/debug_events.py40 # `turn_id` is always present (possibly null) so client-side types are stable.COMMENT
Cross-File Repetition18 hits · 90 pts
SeverityFileLineSnippetContext
HIGH…es/core/tests/unit/test_executive_peer_memory_kwarg.py0keep this module's audit rows out of the default `./episodic_memory.db`. a committee turn schedules episodic extraction STRING
HIGHpackages/core/tests/unit/test_web_search_tool.py0keep this module's audit rows out of the default `./episodic_memory.db`. a committee turn schedules episodic extraction STRING
HIGHpackages/core/tests/unit/test_committee_debug_events.py0keep this module's audit rows out of the default `./episodic_memory.db`. a committee turn schedules episodic extraction STRING
HIGHpackages/core/openexecutive/guide/prebuilt.py0return the authored content dict for one section, or ``none`` if the file is absent or malformed.STRING
HIGHpackages/core/openexecutive/utils/prebuilt_store.py0return the authored content dict for one section, or ``none`` if the file is absent or malformed.STRING
HIGHpackages/core/openexecutive/architecture/prebuilt.py0return the authored content dict for one section, or ``none`` if the file is absent or malformed.STRING
HIGH…ckages/core/openexecutive/knowledge/confluence_sync.py0everything the network phase of a tick learned, ready to apply locally.STRING
HIGHpackages/core/openexecutive/knowledge/notion_sync.py0everything the network phase of a tick learned, ready to apply locally.STRING
HIGHpackages/core/openexecutive/knowledge/drive_sync.py0everything the network phase of a tick learned, ready to apply locally.STRING
HIGH…ckages/core/openexecutive/knowledge/confluence_sync.py0local write phase — the caller must hold ``_fixture_op_lock``.STRING
HIGHpackages/core/openexecutive/knowledge/onedrive_sync.py0local write phase — the caller must hold ``_fixture_op_lock``.STRING
HIGHpackages/core/openexecutive/knowledge/drive_sync.py0local write phase — the caller must hold ``_fixture_op_lock``.STRING
HIGH…ckages/core/openexecutive/knowledge/confluence_sync.py0keep a short, user-facing reason the last tick failed (never a trace).STRING
HIGHpackages/core/openexecutive/knowledge/notion_sync.py0keep a short, user-facing reason the last tick failed (never a trace).STRING
HIGHpackages/core/openexecutive/knowledge/drive_sync.py0keep a short, user-facing reason the last tick failed (never a trace).STRING
HIGHpackages/core/openexecutive/knowledge/onedrive_sync.py0one sync tick. returns counts: seen / updated / skipped / failed / purged / capped (plus ``busy`` when another tick is aSTRING
HIGHpackages/core/openexecutive/knowledge/notion_sync.py0one sync tick. returns counts: seen / updated / skipped / failed / purged / capped (plus ``busy`` when another tick is aSTRING
HIGHpackages/core/openexecutive/knowledge/drive_sync.py0one sync tick. returns counts: seen / updated / skipped / failed / purged / capped (plus ``busy`` when another tick is aSTRING
Fake / Example Data56 hits · 60 pts
SeverityFileLineSnippetContext
LOW…/ui/src/components/company-profile/ProfileSections.tsx304 <div><FieldLabel>Name</FieldLabel><Input value={name} onChange={setName} placeholder="Acme Corp" /></div>CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py119 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py133 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py147 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py163 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py173 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py184 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py264 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py279 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py301 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py306 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW⚡…s/core/tests/unit/test_lookup_person_and_discord_dm.py321 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW…s/core/tests/unit/test_lookup_person_and_discord_dm.py355 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW…s/core/tests/unit/test_lookup_person_and_discord_dm.py408 mock_get.return_value.discord_bot_token = "fake-token"CODE
LOW…s/core/tests/unit/test_executive_research_scheduler.py288 target="Acme Corp",CODE
LOW⚡packages/core/tests/unit/test_client_slots.py91def _seed_live_company(env: SimpleNamespace, name: str = "Acme Corp") -> None:CODE
LOW⚡packages/core/tests/unit/test_client_slots.py101 _seed_live_company(env, "Acme Corp")CODE
LOW⚡packages/core/tests/unit/test_client_slots.py104 env.settings, display_name="Acme Corp", source="current"CODE
LOWpackages/core/tests/unit/test_client_slots.py125 _seed_live_company(env, "Acme Corp")CODE
LOWpackages/core/tests/unit/test_client_slots.py144 await create_client_slot(env.settings, display_name="Acme Corp", source="current")CODE
LOW⚡packages/core/tests/unit/test_clients_route.py67 "/clients", json={"display_name": "Acme Corp", "source": "current"}CODE
LOW⚡packages/core/tests/unit/test_fixtures_generator.py71 {"headline": "Competitor raised", "routed_to_person": "Jane Doe"}CODE
LOW⚡packages/core/tests/unit/test_fixtures_generator.py120 d["people"][1]["full_name"] = "Jane Doe" # collide with the principalCODE
LOW⚡packages/core/tests/unit/test_fixtures_generator.py160 jane = next(p for p in people if p["full_name"] == "Jane Doe")CODE
LOWpackages/core/tests/unit/test_fixtures_generator.py28 "full_name": "Jane Doe",CODE
LOWpackages/core/tests/unit/test_fixtures_generator.py45 "head_person_name": "Jane Doe",CODE
LOW⚡packages/core/tests/unit/test_watch_policy.py184 # A profile ticker that belongs to someone else lends nothing to "Acme Corp".COMMENT
LOW⚡packages/core/tests/unit/test_watch_policy.py185 other = _proposal(slug="stock-msft", signal_type="stock", target="MSFT", grounding_entity="Acme Corp")CODE
LOW⚡packages/core/tests/unit/test_watch_policy.py187 "name": "Sente Labs", "competitive_landscape": {"primary_competitors": ["Acme Corp"]},CODE
LOW⚡packages/core/tests/unit/test_watch_policy.py239 p = _proposal(slug="q-acme", signal_type="query", target="Acme Corp pricing", grounding_entity="Acme Corp")CODE
LOW⚡packages/core/tests/unit/test_watch_policy.py287 p2 = _proposal(slug="stock-msft", signal_type="stock", target="MSFT", grounding_entity="Acme Corp")CODE
LOW⚡packages/core/tests/unit/test_watch_policy.py570 p = _proposal(target="https://totally-unrelated.attacker.net/feed", grounding_entity="Acme Corp")CODE
LOW⚡packages/core/tests/unit/test_watch_policy.py582 p = _proposal(target="https://news.example.com/acme-feed.xml", grounding_entity="Acme Corp")CODE
LOW⚡packages/core/tests/unit/test_watch_policy.py1163 strong = _proposal(slug="rss-strong", grounding_entity="Acme Corp") # same target, directCODE
LOWpackages/core/tests/unit/test_watch_policy.py74 "competitive_landscape": {"primary_competitors": ["Acme Corp", "Globex"]},CODE
LOWpackages/core/tests/unit/test_watch_policy.py97 "grounding_entity": "Acme Corp", "rationale": "Competitor pricing moves",CODE
LOWpackages/core/tests/unit/test_watch_policy.py432 "grounding_entity": "Acme Corp", "rationale": "y", "certainty": "confident",CODE
LOWpackages/core/tests/unit/test_watch_policy.py439 "grounding_entity": "Acme Corp", "rationale": "y", "certainty": "confident", "finding_index": 0,CODE
LOWpackages/core/tests/unit/test_watch_policy.py733 finance = _department("finance", "Finance", watched=["Brex", "Acme Corp"],CODE
LOWpackages/core/tests/unit/test_watch_policy.py935 assert wp.entity_names("Acme" + " " * 100000 + "Corp — x").names == ["Acme Corp"]CODE
LOWpackages/core/tests/unit/test_watch_policy.py952 assert wp.entity_names("Acme Corp (ACME, acme.com)") == (["Acme Corp"], ["ACME"], ["acme.com"])CODE
LOWpackages/core/tests/unit/test_watch_policy.py1067 nowhere = _proposal(slug="rss-else", target="https://elsewhere.com/feed", grounding_entity="Acme Corp",CODE
LOWpackages/core/tests/unit/test_watch_policy.py1090 grounding_entity="Acme Corp", finding_index=0)], findings, ctx, db_path=db)CODE
LOWpackages/core/tests/unit/test_watch_policy.py1122 feed = _proposal(slug="rss-acme-ir", target="https://acme.com/ir/feed", grounding_entity="Acme Corp",CODE
LOW⚡packages/core/tests/unit/test_company_profile.py16 profile = CompanyProfile(name="Acme Corp", industry="B2B SaaS", stage="Series A")CODE
LOW⚡packages/core/tests/unit/test_company_profile.py19 assert "Acme Corp" in blockCODE
LOWpackages/core/tests/unit/test_fixtures_store.py23 display_name="Acme Inc",CODE
LOWpackages/core/tests/unit/test_fixtures_store.py53 assert row["display_name"] == "Acme Inc"CODE
LOWpackages/core/tests/unit/test_google_chat.py82 headers={"Authorization": "Bearer fake-token"},CODE
LOW⚡packages/core/tests/unit/test_onboarding_interview.py679 {"full_name": "Jane Doe", "role": "Advisor"},CODE
LOW⚡packages/core/tests/unit/test_onboarding_commit.py493 PersonDraft(full_name="Jane Doe", role="Advisor"),CODE
LOW…core/openexecutive/monitoring/research/watch_policy.py733 # tracks for someone else (MSFT) says nothing about "Acme Corp"; theCOMMENT
LOW…core/openexecutive/monitoring/research/watch_policy.py626 Token containment both ways, so "Acme Corp" matches "Acme" and "Acme"STRING
LOW…core/openexecutive/monitoring/research/watch_policy.py627 matches "Acme Corp"; single-token matches must be a whole token."""STRING
LOW…core/openexecutive/monitoring/research/watch_policy.py676 "Acme Corp" is named by "Acme pricing review" (corp is a stopword) butSTRING
LOWpackages/core/openexecutive/onboarding/interview.py394 # A case-sensitive check let "JANE DOE" and "Jane Doe" both through, and theCOMMENT
AI Slop Vocabulary12 hits · 37 pts
SeverityFileLineSnippetContext
MEDIUMpackages/ui/package-lock.json8922 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
LOW⚡packages/core/tests/unit/test_find_alerts.py335 # 25 per call bounds nothing if the model can simply call again.COMMENT
MEDIUMpackages/core/tests/unit/test_monitoring_pipeline.py41# Test harnessCOMMENT
MEDIUM⚡packages/core/tests/unit/test_eval_ablation.py67 # run_scenarios harness). Not executed here — it makes paid LLM calls.COMMENT
MEDIUMpackages/core/openexecutive/evals/ablation.py152 # Restore exactly — including absence — so the harness leaves no trace.COMMENT
MEDIUM…enexecutive/evals/_scenarios/decision_outcome_001.yaml5# Recording case for decision outcomes, as the eval harness sees it. Only theCOMMENT
MEDIUM…utive/evals/_scenarios/department_goal_update_005.yaml9# Creation case for chat-driven goals, as the eval harness sees it. Only theCOMMENT
MEDIUMpackages/core/openexecutive/agents/base.py185 # leaves room for nuanced reasoning while being ~3x faster.COMMENT
MEDIUM⚡packages/core/openexecutive/knowledge/retriever.py298 # harness toggles (KNOWLEDGE_BUILTIN_N_RESULTS=0 disables builtin RAG).COMMENT
MEDIUMpackages/core/openexecutive/knowledge/retriever.py327 # lever the RAG ablation harness flips). Skip the query rather thanCOMMENT
MEDIUMpackages/core/openexecutive/monitoring/pipeline.py258 # makes them robust to the model's tendency to skim long bodies.COMMENT
MEDIUM…es/core/openexecutive/monitoring/research/scheduler.py131 # (and any future multi-DB harness) actually takes effect.COMMENT
Verbosity Indicators20 hits · 32 pts
SeverityFileLineSnippetContext
LOWpackages/core/openexecutive/memory/honcho_client.py604 # Step 1: drain sessions. Bounded by its own per-session timeout, soCOMMENT
LOWpackages/core/openexecutive/memory/honcho_client.py619 # Step 2: delete the (now-empty) workspace.COMMENT
LOWpackages/core/openexecutive/workflows/morning_brief.py164 # Step 1: gather contextCOMMENT
LOWpackages/core/openexecutive/workflows/morning_brief.py345 # Step 2: synthesizeCOMMENT
LOW…s/core/openexecutive/workflows/executive_reflection.py613 # Step 1: gather signalsCOMMENT
LOW…s/core/openexecutive/workflows/executive_reflection.py693 # Step 2: decide (LLM + tool use)COMMENT
LOW…s/core/openexecutive/workflows/executive_reflection.py973 # Step 3: emit artifactCOMMENT
LOW…es/core/openexecutive/workflows/department_check_in.py111 # Step 1: Load contextCOMMENT
LOW…es/core/openexecutive/workflows/department_check_in.py161 # Step 2: Goal statusCOMMENT
LOW…es/core/openexecutive/workflows/department_check_in.py238 # Step 3: BlockersCOMMENT
LOW…es/core/openexecutive/workflows/department_check_in.py268 # Step 4: Proposed actions (gated)COMMENT
LOW…es/core/openexecutive/workflows/department_check_in.py303 # Step 5: AssembleCOMMENT
LOW⚡…ges/core/openexecutive/workflows/executive_research.py476 # Step 1: gather_contextCOMMENT
LOW⚡…ges/core/openexecutive/workflows/executive_research.py541 # Step 2: research_specialists (parallel)COMMENT
LOW⚡…ges/core/openexecutive/workflows/executive_research.py605 # Step 3: dedupCOMMENT
LOW⚡…ges/core/openexecutive/workflows/executive_research.py665 # Step 4: executive_synthesis (LLM + tool-use loop)COMMENT
LOW⚡…ges/core/openexecutive/workflows/executive_research.py703 # Step 5: emit_artifactCOMMENT
LOW⚡packages/core/openexecutive/departments/store.py236 # Step 1: add period_type column if missing. NOT NULL with DEFAULT meansSTRING
LOW⚡packages/core/openexecutive/departments/store.py244 # Step 2: rename `quarter` → `period_value` if needed.STRING
LOW⚡packages/core/openexecutive/departments/store.py250 # Step 3: drop the old index (carries an outdated name even after tableSTRING
Structural Annotation Overuse20 hits · 30 pts
SeverityFileLineSnippetContext
LOWpackages/core/openexecutive/memory/honcho_client.py604 # Step 1: drain sessions. Bounded by its own per-session timeout, soCOMMENT
LOWpackages/core/openexecutive/memory/honcho_client.py619 # Step 2: delete the (now-empty) workspace.COMMENT
LOWpackages/core/openexecutive/workflows/morning_brief.py164 # Step 1: gather contextCOMMENT
LOWpackages/core/openexecutive/workflows/morning_brief.py345 # Step 2: synthesizeCOMMENT
LOW…s/core/openexecutive/workflows/executive_reflection.py613 # Step 1: gather signalsCOMMENT
LOW…s/core/openexecutive/workflows/executive_reflection.py693 # Step 2: decide (LLM + tool use)COMMENT
LOW…s/core/openexecutive/workflows/executive_reflection.py973 # Step 3: emit artifactCOMMENT
LOW…es/core/openexecutive/workflows/department_check_in.py111 # Step 1: Load contextCOMMENT
LOW…es/core/openexecutive/workflows/department_check_in.py161 # Step 2: Goal statusCOMMENT
LOW…es/core/openexecutive/workflows/department_check_in.py238 # Step 3: BlockersCOMMENT
LOW…es/core/openexecutive/workflows/department_check_in.py268 # Step 4: Proposed actions (gated)COMMENT
LOW…es/core/openexecutive/workflows/department_check_in.py303 # Step 5: AssembleCOMMENT
LOW⚡…ges/core/openexecutive/workflows/executive_research.py476 # Step 1: gather_contextCOMMENT
LOW⚡…ges/core/openexecutive/workflows/executive_research.py541 # Step 2: research_specialists (parallel)COMMENT
LOW⚡…ges/core/openexecutive/workflows/executive_research.py605 # Step 3: dedupCOMMENT
LOW⚡…ges/core/openexecutive/workflows/executive_research.py665 # Step 4: executive_synthesis (LLM + tool-use loop)COMMENT
LOW⚡…ges/core/openexecutive/workflows/executive_research.py703 # Step 5: emit_artifactCOMMENT
LOW⚡packages/core/openexecutive/departments/store.py236 # Step 1: add period_type column if missing. NOT NULL with DEFAULT meansSTRING
LOW⚡packages/core/openexecutive/departments/store.py244 # Step 2: rename `quarter` → `period_value` if needed.STRING
LOW⚡packages/core/openexecutive/departments/store.py250 # Step 3: drop the old index (carries an outdated name even after tableSTRING
AI Structural Patterns33 hits · 28 pts
SeverityFileLineSnippetContext
LOWpackages/core/tests/unit/test_provider_registry.py159CODE
LOWpackages/core/tests/unit/test_router_retrieval.py22CODE
LOW…kages/core/tests/unit/test_router_department_memory.py30CODE
LOWpackages/core/openexecutive/memory/facts.py254CODE
LOWpackages/core/openexecutive/memory/episodic.py1138CODE
LOW…ages/core/openexecutive/providers/openai_compatible.py96CODE
LOWpackages/core/openexecutive/providers/translator.py747CODE
LOWpackages/core/openexecutive/agents/overrides.py186CODE
LOWpackages/core/openexecutive/agents/base.py67CODE
LOWpackages/core/openexecutive/departments/store.py536CODE
LOWpackages/core/openexecutive/departments/store.py708CODE
LOWpackages/core/openexecutive/alerts/store.py148CODE
LOWpackages/core/openexecutive/integrations/discord_bot.py680CODE
LOWpackages/core/openexecutive/briefing/narrative.py336CODE
LOWpackages/core/openexecutive/briefing/narrative.py600CODE
LOWpackages/core/openexecutive/audit/logger.py759CODE
LOWpackages/core/openexecutive/audit/logger.py367CODE
LOWpackages/core/openexecutive/audit/logger.py493CODE
LOWpackages/core/openexecutive/audit/logger.py559CODE
LOWpackages/core/openexecutive/knowledge/retriever.py244CODE
LOWpackages/core/openexecutive/people/store.py296CODE
LOWpackages/core/openexecutive/people/store.py907CODE
LOWpackages/core/openexecutive/prompts/cache_manager.py32CODE
LOWpackages/core/openexecutive/api/routes/audit.py592CODE
LOWpackages/core/openexecutive/monitoring/store.py326CODE
LOWpackages/core/openexecutive/orchestrator/executive.py1014CODE
LOWpackages/core/openexecutive/orchestrator/executive.py1151CODE
LOWpackages/core/openexecutive/orchestrator/executive.py1506CODE
LOWpackages/core/openexecutive/orchestrator/executive.py1999CODE
LOWpackages/core/openexecutive/orchestrator/executive.py3146CODE
LOWpackages/core/openexecutive/orchestrator/executive.py2834CODE
LOWpackages/core/openexecutive/orchestrator/router.py172CODE
LOWpackages/core/openexecutive/orchestrator/router.py374CODE
Self-Referential Comments5 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM⚡packages/core/tests/unit/test_people_tools.py302 # Create a principal directly in the store (bypassing the chat tool gateCOMMENT
MEDIUM⚡packages/core/tests/unit/test_phase8_hardening.py271 # Create a person to cover all scopesCOMMENT
MEDIUM…ore/openexecutive/architecture/architecture-facts.yaml3# This file is the highest-trust source of truth fed into the LLM whenCOMMENT
MEDIUMpackages/core/openexecutive/api/routes/decisions.py391 # Create the actual calendar event. Contacts on the invite only when theCOMMENT
MEDIUM…ckages/core/openexecutive/orchestrator/people_tools.py1041 # Create the head persona override row first when assigning a head.COMMENT
Dead Code3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpackages/core/tests/unit/test_resumer.py672CODE
MEDIUMpackages/core/tests/unit/test_chat_stream_step.py45CODE
MEDIUMpackages/core/tests/unit/test_principal_role.py555CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…ages/core/openexecutive/architecture/prebuilt/api.json4 "markdown": "The FastAPI surface lives in `openexecutive.api.main`, which mounts one router per topic. A shared-secretCODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…ckages/core/openexecutive/guide/prebuilt/settings.json4 "markdown": "**What it is:** The settings that live outside the day-to-day nav: whether the Executive is running and hCODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/core/openexecutive/departments/authority.py153 # Check if the assignee is reachable RIGHT NOW. `next_available_window`COMMENT