Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/omind/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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 = "<!-- omind:grok-bootstrap:start -->"
GROK_BOOTSTRAP_END = "<!-- omind:grok-bootstrap:end -->"
GROK_HOOK_EVENTS = (
Expand Down Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion tests/test_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading