← Về thư mục
scripts/test_check_agents_mirror_sync.py
- make_tree · function · L19-L29 — def make_tree(root: Path) -> None
- first_mirror · function · L32-L34 — def first_mirror() -> tuple[str, str]
- test_real_repo_passes · function · L39-L40 — def test_real_repo_passes()
- test_green_tree_passes · function · L45-L47 — def test_green_tree_passes(tmp_path)
- test_missing_mirror_fails · function · L52-L58 — def test_missing_mirror_fails(tmp_path): # A deleted mirror silently un-ships a plugin agent.
- test_unrostered_extra_fails · function · L61-L67 — def test_unrostered_extra_fails(tmp_path): # An unrostered agents/*.md has no declared source to stay in sync with.
- test_agents_dir_absent_reports_all_mirrors · function · L70-L76 — def test_agents_dir_absent_reports_all_mirrors(tmp_path)
- test_symlink_mirror_fails · function · L81-L93 — def test_symlink_mirror_fails(tmp_path): # The #413 regression itself. Checked BEFORE byte-equality: a symlink # byte-matches its own target, so equality alone would pass it.
- test_drifted_mirror_fails_with_cp_hint · function · L98-L106 — def test_drifted_mirror_fails_with_cp_hint(tmp_path)
- test_drifted_source_also_fails · function · L109-L116 — def test_drifted_source_also_fails(tmp_path): # Symmetric: editing the SOURCE without re-copying must fail too — that # is the Pattern C3 drift the retired symlinks used to make impossible.
- test_missing_source_fails · function · L119-L124 — def test_missing_source_fails(tmp_path)
- test_roster_is_the_three_plugin_agents · function · L129-L137 — def test_roster_is_the_three_plugin_agents(): # v3.7.0 Phase 2.1 shipped exactly these three; a roster edit is a # deliberate plugin-surface change, not drift.