AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Python ai-promptsai-skillblueskyclaudeclaude-codeclawhubdeep-researchhackernewsinstagramopenclawpolymarketrecencyredditresearchsocial-mediatiktoktrendstwitterweb-searchyoutube
Merge pull request #357 from dinakars777/fix/windows-env-permission-warning
Trevin Chowd7b3995da18c
diff --cc tests/test_env_v3.pyindex b2a1f51b,811e3f82..064ae1b8--- a/tests/test_env_v3.py+++ b/tests/test_env_v3.py@@@ -41,26 -41,14 +41,34 @@@ class EnvV3Tests(unittest.TestCase)with mock.patch.dict(os.environ, {}, clear=False):self.assertIsNone(bird_x.is_bird_authenticated())+ def test_file_permission_check_skips_windows_posix_mode_bits(self):+ path = mock.Mock(spec=Path)+ with mock.patch.object(env.os, "name", "nt"), mock.patch.object(env.sys.stderr, "write") as write:+ env._check_file_permissions(path)++ path.stat.assert_not_called()+ write.assert_not_called()++class ThreadsAvailabilityTests(unittest.TestCase):+ """Threads is in the SC default-on family: same key, same per-call cost+ shape as TikTok / Instagram, so the same default-on rule applies.+ Suppression goes through EXCLUDE_SOURCES, not gated opt-in."""++ def test_threads_available_with_sc_key_only(self):+ self.assertTrue(env.is_threads_available({"SCRAPECREATORS_API_KEY": "k"}))++ def test_threads_unavailable_without_sc_key(self):+ self.assertFalse(env.is_threads_available({}))+ self.assertFalse(env.is_threads_available({"INCLUDE_SOURCES": "threads"}))++ def test_threads_does_not_require_include_sources(self):+ """Regression guard: INCLUDE_SOURCES should not be needed."""+ self.assertTrue(env.is_threads_available({+ "SCRAPECREATORS_API_KEY": "k",+ "INCLUDE_SOURCES": "",+ }))++if __name__ == "__main__":unittest.main()