fix: report cronjob tool as available in hermes doctor - #895
Closed
stablegenius49 wants to merge 1 commit into
Closed
fix: report cronjob tool as available in hermes doctor#895stablegenius49 wants to merge 1 commit into
stablegenius49 wants to merge 1 commit into
Conversation
1 task
19 tasks
teknium1
pushed a commit
that referenced
this pull request
Mar 13, 2026
Set HERMES_INTERACTIVE=1 when running hermes doctor so CLI-gated tool checks (like cronjob management) see the same context as the interactive CLI. Uses setdefault to avoid overriding existing values. Cherry-picked from PR #895 by stablegenius49, rebased onto current main with conflict resolution. Fixes #878 Co-authored-by: stablegenius49 <stablegenius49@users.noreply.github.com>
teknium1
added a commit
that referenced
this pull request
Mar 13, 2026
Set HERMES_INTERACTIVE=1 via setdefault in run_doctor() so CLI-gated tool checks (like cronjob) see the same context as the interactive CLI. Cherry-picked from PR #895 by @stablegenius49. Fixes #878 Co-authored-by: stablegenius49 <stablegenius49@users.noreply.github.com>
Contributor
|
Merged via PR #1180! Your fix was cherry-picked with authorship preserved onto current main (PR was 233 commits behind, required conflict resolution in the test file due to new honcho tests added since). The approach is clean — |
angelburgosrosado
pushed a commit
to angelburgosrosado/hermes-agent
that referenced
this pull request
Apr 27, 2026
Set HERMES_INTERACTIVE=1 via setdefault in run_doctor() so CLI-gated tool checks (like cronjob) see the same context as the interactive CLI. Cherry-picked from PR NousResearch#895 by @stablegenius49. Fixes NousResearch#878 Co-authored-by: stablegenius49 <stablegenius49@users.noreply.github.com>
angelburgosrosado
pushed a commit
to angelburgosrosado/hermes-agent
that referenced
this pull request
Apr 28, 2026
Set HERMES_INTERACTIVE=1 when running hermes doctor so CLI-gated tool checks (like cronjob management) see the same context as the interactive CLI. Uses setdefault to avoid overriding existing values. Cherry-picked from PR NousResearch#895 by stablegenius49, rebased onto current main with conflict resolution. Fixes NousResearch#878 Co-authored-by: stablegenius49 <stablegenius49@users.noreply.github.com>
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
Set HERMES_INTERACTIVE=1 via setdefault in run_doctor() so CLI-gated tool checks (like cronjob) see the same context as the interactive CLI. Cherry-picked from PR NousResearch#895 by @stablegenius49. Fixes NousResearch#878 Co-authored-by: stablegenius49 <stablegenius49@users.noreply.github.com>
waefrebeorn
pushed a commit
to waefrebeorn/slermes
that referenced
this pull request
Jul 2, 2026
Set HERMES_INTERACTIVE=1 via setdefault in run_doctor() so CLI-gated tool checks (like cronjob) see the same context as the interactive CLI. Cherry-picked from PR NousResearch#895 by @stablegenius49. Fixes NousResearch#878 Co-authored-by: stablegenius49 <stablegenius49@users.noreply.github.com>
1 task
SSC-ENG
added a commit
to SSC-Engineering/hermes-agent
that referenced
this pull request
Aug 7, 2026
…only (t_edd7abd5) (#29) check_respawn_guard() step 4 previously froze a task's respawn for _RESPAWN_GUARD_PR_WINDOW seconds on the mere PRESENCE of any GitHub PR URL in a recent comment, regardless of whether that PR was still open. Observed live: t_771d2af9 (/overwatch dashboard work) was guarded 'active_pr' on three consecutive dispatch ticks even though every overwatch PR (NousResearch#888/NousResearch#889/NousResearch#890/NousResearch#895/NousResearch#898) was already MERGED — the URLs were merely cited as context in orchestrator comments. This converted "someone mentioned a PR link" into an involuntary dispatch freeze that got worse the more productive a lane was. Fix: resolve each cited PR's live state via `gh api repos/<owner>/<repo>/pulls/<n> --jq .state` (reusing existing gh auth), cached in-process for 5 minutes. state=open holds the guard; state=closed (covers both closed and merged) clears it immediately. Unresolvable state (gh missing/unauthenticated/network error/malformed response) fails CLOSED exactly as the old text-only guard did -- this makes the guard smarter about clearing, never more permissive about holding when nothing can be verified. Citation identity (worker vs. orchestrator vs. reviewer) is irrelevant; only live PR state decides. Layers on top of the fork's existing 1h window + code-task scoping (HAA 2026-07-29 option B) without reverting either. Tests: merged/closed PR URL does not guard; open PR URL does guard; PR URL cited by a non-worker author does not guard once merged; unresolvable state fails closed; gh api output parsing (open/closed/unparseable); in-process cache TTL behavior; full existing respawn-guard suite (comment-ordering, requeue-bypass, code-task scoping) re-verified green with the new state check patched to a fixed value. 262 tests passed via scripts/run_tests.sh (per-file isolated runner matching CI). ruff clean. Same defect class as the dependency-block cooldown defect (t_360d58da): a respawn guard recomputing a hold from stale/derived signals instead of the live, authoritative state of the thing it's guarding against. Co-authored-by: SSC-ENG <225143396+SSC-ENG@users.noreply.github.com>
nepenth
pushed a commit
to nepenth/hermes-agent
that referenced
this pull request
Aug 7, 2026
Set HERMES_INTERACTIVE=1 when running hermes doctor so CLI-gated tool checks (like cronjob management) see the same context as the interactive CLI. Uses setdefault to avoid overriding existing values. Cherry-picked from PR NousResearch#895 by stablegenius49, rebased onto current main with conflict resolution. Fixes NousResearch#878 Co-authored-by: stablegenius49 <stablegenius49@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
HERMES_INTERACTIVE=1when runninghermes doctorso CLI-gated tool checks run in the same context as the interactive CLITesting
Fixes #878