Skip to content

Add cron-ready Python scanner script#1

Open
vesperchinn wants to merge 3 commits into
mainfrom
hermes-port
Open

Add cron-ready Python scanner script#1
vesperchinn wants to merge 3 commits into
mainfrom
hermes-port

Conversation

@vesperchinn

Copy link
Copy Markdown
Owner

Summary

Adds a standalone Python scanner script () that can run via cron or GitHub Actions without requiring an Agent environment. Also adds with usage docs.

Changes

  • Pure Python stdlib only — no dependency
  • Compatible with hermes-agent cron (avoids shell-arg-splitting bugs by passing gh API args as a list)
  • CLI args: , ,
  • Scoring: HIGH (reactions ≥ 8 or comments ≥ 6) / MEDIUM (reactions 5-7 or comments 4-5) / Candidate (reactions ≥ 3 or comments ≥ 3)
  • Outputs markdown report to stdout + saves

  • Quick-start guide
  • Cron / CI setup docs
  • Scoring rubric table

Notes

  • was drafted but could not be pushed due to the token's scope. It can be added manually via the GitHub web UI if desired.
  • Original skill logic (JTBD, RICE, probe drafts) remains in — this PR only adds the automation layer.

vesperchinn and others added 3 commits May 25, 2026 13:20
- script/scan.py: Pure-Python stdlib scanner (no jq required), compatible with
  hermes-agent cron and GitHub Actions. Fixes shell-arg-splitting issues by
  passing gh api args as a list instead of a string.

- .github/workflows/demand-radar.yml: Runs daily at UTC 01:00 (Beijing 09:00)
  via schedule trigger, uploads report as artifact.

- script/README.md: Documents CLI usage, CI setup, and scoring rubric.

Closes: provides a zero-dependency automation path for users without an
Agent environment.
- script/scan.py: Pure-Python stdlib scanner (no jq required), compatible with
  hermes-agent cron. Fixes shell-arg-splitting by passing gh api args as list.

- script/README.md: Documents CLI usage and scoring rubric.

- Note: .github/workflows/ excluded — token needs 'workflow' scope to push.
  Will submit as separate PR or add via web UI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant