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 remote-tracking branch 'origin/main' into pr-669-feat-667-firefox-xdg-config
Trevin Chow030dda7399ea
diff --cc .github/workflows/security.ymlindex 527cc1cd,5bfcbf54..afd93f5d--- a/.github/workflows/security.yml+++ b/.github/workflows/security.yml@@@ -44,42 -40,11 +40,35 @@@ jobsfetch-depth: 0persist-credentials: false- # Advisory-first: this reports verified secrets in pull requests and pushes to- # main, but does not block merges until maintainers confirm a clean baseline.- # The TruffleHog action automatically scans the PR range for pull_request- # events and the pushed commit range for push events.- # Set continue-on-error: false once a clean baseline run is confirmed.- # Contributor policy: never commit real secrets in fixtures, tests, docs, or- # examples; use obvious dummy values and env-based auth patterns instead.+ # The action derives the commit range from the GitHub event and fails on+ # verified secrets. Keep output limited to verified findings to avoid noisy+ # unverified annotations.- name: Run TruffleHog OSS secret scan- if: github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'workflow_dispatch'- uses: trufflesecurity/trufflehog@d411fff7b8879a62509f3fa98c07f247ac089a51 # v3.95.5- continue-on-error: true+ uses: trufflesecurity/trufflehog@30d5bb91af1a771378349dbbb0c82129392acf70 # v3.95.6with:- path: ./- version: v3.95.2- extra_args: --only-verified+ version: 3.95.5+ extra_args: --results=verified++ sast-scan:+ name: SAST scan+ runs-on: ubuntu-latest+ permissions:+ contents: read+ container:+ image: semgrep/semgrep@sha256:06938c1f365d3f67b8cedd8bc117607ae64253f88a0e768e9da9408548927dd6 # v1.167.0+ steps:+ - name: Checkout- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3++ uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0+ with:+ persist-credentials: false++ # Advisory-first: visibility before enforcement. Semgrep CE scans+ # the repository with the community rule set (Python, shell, YAML,+ # JavaScript, Go) to catch source-level security bugs before they+ # reach production. Set continue-on-error: false once a clean baseline+ # is confirmed.+ - name: Run Semgrep SAST scan+ continue-on-error: true+ env:+ SEMGREP_SEND_METRICS: off+ run: semgrep scan --config=autodiff --cc CHANGELOG.mdindex 6ca6fdb2,f48d8b9f..9d7091f0--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -9,12 -9,8 +9,13 @@@ and this project adheres to [Semantic V### Added+- Advisory Semgrep SAST scan runs on every push/PR as part of the Security workflow, catching source-level security bugs using Semgrep CE community rules ([#563](https://github.com/mvanhorn/last30days-skill/issues/563))+ - MCP Go tests (`mcp/`) now run in CI on every push/PR alongside the Python test suite, so MCP server regressions are caught before merge ([#621](https://github.com/mvanhorn/last30days-skill/issues/621))+### Fixed++- Firefox profile detection on Linux now checks `$XDG_CONFIG_HOME/mozilla/firefox` (or its default `~/.config/mozilla/firefox`) in addition to `~/.mozilla/firefox`, fixing cookie extraction on distros that honour the XDG Base Directory Specification ([#667](https://github.com/mvanhorn/last30days-skill/issues/667))+## [3.8.1] - 2026-06-22### Addeddiff --cc tests/test_security_workflow.pyindex 00000000,786f3496..a9663ab0mode 000000,100644..100644--- a/tests/test_security_workflow.py+++ b/tests/test_security_workflow.py@@@ -1,0 -1,51 +1,51 @@@+ from pathlib import Path+++ ROOT = Path(__file__).resolve().parents[1]+ WORKFLOW = ROOT / ".github" / "workflows" / "security.yml"+ # AGENTS.md is the canonical agent-guidance file; CLAUDE.md is a one-line+ # pointer (`@AGENTS.md`) so anything Claude Code-shaped reads the same source.+ AGENTS = ROOT / "AGENTS.md"+++ def _workflow_text() -> str:+ return WORKFLOW.read_text(encoding="utf-8")+++ def test_security_workflow_exists() -> None:+ assert WORKFLOW.is_file()+++ def test_security_workflow_runs_dependency_audit_as_blocking_check() -> None:+ text = _workflow_text()+ dependency_audit_job = text.split("dependency-audit:", 1)[1].split("secret-scan:", 1)[0]++ assert "dependency-audit:" in text+ assert "uv audit --locked" in dependency_audit_job+ assert "continue-on-error: true" not in dependency_audit_job+++ def test_security_workflow_runs_secret_scan_for_pull_requests_and_main_pushes() -> None:+ text = _workflow_text()- secret_scan_job = text.split("secret-scan:", 1)[1]++ secret_scan_job = text.split("secret-scan:", 1)[1].split("sast-scan:", 1)[0]++ assert "secret-scan:" in text+ assert "pull_request:" in text+ assert "push:" in text+ assert "workflow_dispatch:" in text+ assert "branches:\n - main" in text+ assert "trufflesecurity/trufflehog" in secret_scan_job+ assert "version: 3.95.5" in secret_scan_job+ assert "extra_args: --results=verified" in secret_scan_job+ assert "continue-on-error: true" not in secret_scan_job+ assert "if: github.event_name" not in secret_scan_job+ assert "path: ./" not in secret_scan_job+++ def test_agent_guidance_mentions_secret_hygiene() -> None:+ text = AGENTS.read_text(encoding="utf-8")++ assert "Security hygiene" in text+ assert "Never commit real API keys" in text+ assert "skills/last30days/scripts/lib/env.py" in text+ assert "fixtures" in text