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
7 changes: 1 addition & 6 deletions .github/workflows/focused-coverage-controller.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions .github/workflows/focused-coverage-controller.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
on:
schedule: daily
workflow_dispatch:

permissions:
Expand All @@ -24,7 +23,12 @@ safe-outputs:

# Focused Coverage Controller (authoritative-gate only)

You are Jules running EventRelay's focused coverage controller.
You are EventRelay's focused coverage controller. Use the configured Codex
engine for this canary; Jules remains enabled as an implementation agent and
must not be disabled or impersonated by this workflow.

This workflow is manual-only until the authoritative Coverage job produces an
exact-head artifact and the canary exit criteria in issue #920 are complete.

## Entry criteria

Expand Down
23 changes: 7 additions & 16 deletions tests/test_skills_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,6 @@
_agents_pkg.__package__ = "agents"
sys.modules["agents"] = _agents_pkg

# Stub youtube_extension.processors to avoid pulling in heavy ML deps
for _mod_name in [
"youtube_extension",
"youtube_extension.processors",
"youtube_extension.processors.enhanced_extractor",
]:
if _mod_name not in sys.modules:
_stub = types.ModuleType(_mod_name)
_stub.__path__ = [] # type: ignore[attr-defined]
_stub.__package__ = _mod_name
# Provide stub classes so the coordinator imports fine
if _mod_name == "youtube_extension.processors.enhanced_extractor":
_stub.EnhancedVideoExtractor = type("EnhancedVideoExtractor", (), {}) # type: ignore[attr-defined]
_stub.VideoContent = type("VideoContent", (), {}) # type: ignore[attr-defined]
sys.modules[_mod_name] = _stub

# Now we can safely import just the coordinator module
from agents.mcp_ecosystem_coordinator import SkillRegistry # noqa: E402

Expand Down Expand Up @@ -122,6 +106,13 @@ def test_get_nonexistent_skill_returns_none(self, registry: SkillRegistry) -> No
# ---------------------------------------------------------------------------


def test_skill_import_does_not_replace_processor_package() -> None:
"""The integration test must not poison later test-module collection."""
from youtube_extension.processors import strategies

assert strategies.__file__ is not None


class TestSkillTriggerMatching:
"""Verify trigger-based skill discovery."""

Expand Down
Loading