{"id":50313033,"url":"https://github.com/alias8818/hermes-threshold","last_synced_at":"2026-05-28T22:02:31.263Z","repository":{"id":356323783,"uuid":"1232009245","full_name":"alias8818/hermes-threshold","owner":"alias8818","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-07T16:02:28.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-07T16:25:24.101Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alias8818.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-07T13:55:43.000Z","updated_at":"2026-05-07T16:07:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/alias8818/hermes-threshold","commit_stats":null,"previous_names":["alias8818/hermes-threshold"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/alias8818/hermes-threshold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alias8818%2Fhermes-threshold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alias8818%2Fhermes-threshold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alias8818%2Fhermes-threshold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alias8818%2Fhermes-threshold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alias8818","download_url":"https://codeload.github.com/alias8818/hermes-threshold/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alias8818%2Fhermes-threshold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33627948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-28T22:02:21.346Z","updated_at":"2026-05-28T22:02:31.253Z","avatar_url":"https://github.com/alias8818.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hermes Threshold\n\nHermes Threshold is the first MVP slice from `plan-details.md`: a restrained\nFastAPI service that decides whether Hermes should sleep, reflect, draft,\nnotify, or request approval during proactive wake cycles.\n\nThe current implementation is deliberately local and auditable:\n\n- `/health` initializes and reports SQLite-backed service state.\n- `/wake` runs a deterministic MVP wake decision and stores the result.\n- `/events` records incoming context events for later decision cycles.\n- `/feedback` records user feedback for suggestions and wake outcomes.\n- `/suggestions` lets Hermes review, approve, or dismiss drafted suggestions.\n- `/trial-summary` reports controlled-trial counters.\n- APScheduler wiring exists for local randomized wakes, but real user-facing\n  notifications are not enabled yet.\n\n## Run\n\n```bash\nuv run uvicorn hermes_threshold.app:app --reload\n```\n\nUseful defaults can be overridden with environment variables:\n\n- `HERMES_THRESHOLD_DB_PATH`\n- `HERMES_THRESHOLD_SCHEDULER_ENABLED`\n- `HERMES_THRESHOLD_SCHEDULER_INTERVAL_SECONDS`\n- `HERMES_THRESHOLD_SCHEDULER_EVENT_NOTE`\n- `HERMES_THRESHOLD_MAX_NOTIFICATIONS_PER_DAY`\n- `HERMES_THRESHOLD_QUIET_HOURS_START`\n- `HERMES_THRESHOLD_QUIET_HOURS_END`\n- `HERMES_THRESHOLD_API_TOKEN`\n- `HERMES_THRESHOLD_AUTH_REQUIRED`\n- `HONCHO_API_KEY`\n\n## Hermes Integration\n\nUse [docs/hermes-integration.md](docs/hermes-integration.md) as the current\ncontract. Hermes should call `POST /events`, read `GET /suggestions`, and show\ndrafted suggestions for review. Outbound autonomous messaging remains disabled.\nThe `hermes-threshold-review` CLI provides the same review path for Hermes CLI\nintegration or operator testing.\n\nThe accelerated random-wake trial is complete. See\n[docs/trial-readout.md](docs/trial-readout.md) for the readout. Keep\n`HERMES_THRESHOLD_SCHEDULER_ENABLED=0` until Threshold is fed higher-signal\nHermes events.\n\n## Test\n\n```bash\nuv run --extra dev pytest\n```\n\n## Current Boundary\n\nThis repository is not yet a production Hermes plugin. It implements the\nplanning document's initial FastAPI, persistence, wake-cycle, and structured\nfeedback milestones. External dispatch, LLM candidate generation, and approval\nUI integration remain behind explicit implementation boundaries. The current\ncontinuation path is event-driven drafting with stable suppression keys for\ndismissed ideas, not another random-wake trial.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falias8818%2Fhermes-threshold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falias8818%2Fhermes-threshold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falias8818%2Fhermes-threshold/lists"}