from pathlib import Path import unittest ROOT = Path(__file__).resolve().parents[1] class CoveragePolicyTests(unittest.TestCase): def test_active_entrypoints_preserve_gap_and_integrity_rules(self): for relative in ['README.md', 'AGENTS.md', 'skills/ai-era-opportunity-intelligence/SKILL.md']: with self.subTest(path=relative): text = (ROOT / relative).read_text(encoding='utf-8') for required in ['completed-with-gaps', 'Missing access', 'full-coverage success checkpoint', 'Privacy, authorization', 'Never bypass an access denial']: self.assertIn(required, text) if __name__ == '__main__': unittest.main()