diff --git a/src/omind/agents.py b/src/omind/agents.py index 126c6c9..34a5382 100644 --- a/src/omind/agents.py +++ b/src/omind/agents.py @@ -197,11 +197,6 @@ def dsh_guard_plugin_path() -> Path: return dsh_home() / "plugins" / "omi-guard.dsh.js" -#: Substring identifying omind's own DSH guard plugin in the patch YAML, -#: so a re-run finds and replaces only our entry (never duplicates). -DSH_GUARD_MARKER = "omi-guard.dsh.js" - - def codex_config_dir() -> Path: """OpenAI Codex CLI's config directory: ``$CODEX_HOME`` or ``~/.codex``.""" base = os.environ.get("CODEX_HOME") @@ -283,8 +278,6 @@ def grok_rules_path() -> Path: return grok_config_dir() / "rules" / "omind.md" -#: Substring identifying omind's own Grok guard hook, so doctor can see it. -GROK_GUARD_MARKER = "guard adapter --harness grok" GROK_BOOTSTRAP_START = "" GROK_BOOTSTRAP_END = "" GROK_HOOK_EVENTS = ( @@ -426,8 +419,6 @@ def agy_skill_dir() -> Path: AGY_HOOK_NAME = "omind-omi-memory" -AGY_GUARD_MARKER = "guard adapter --harness agy" -AGY_HOOK_MARKER = "--harness agy" AGY_BOOTSTRAP_START = seeds.AGY_BOOTSTRAP_START AGY_BOOTSTRAP_END = seeds.AGY_BOOTSTRAP_END diff --git a/tests/test_compliance.py b/tests/test_compliance.py index 0cc6bd1..811900a 100644 --- a/tests/test_compliance.py +++ b/tests/test_compliance.py @@ -94,7 +94,6 @@ def test_the_log_rotates_at_the_cap_without_losing_counts( def test_recidivism_counts_exclude_the_gate() -> None: for rid in ("r1", "r1", "r2", "omi-gate"): compliance.log_event(compliance.KIND_DECISION, rule_id=rid, outcome="deny") - assert compliance.recidivism_counts()["r1"] == 2 counts = compliance.recidivism_counts() assert counts["r1"] == 2 and counts["r2"] == 1 assert "omi-gate" not in counts