Gendle commited on
Commit
20bdae7
·
verified ·
1 Parent(s): ebede96

Hermes Agent backup - 2026-07-21 09:44:07

Browse files
logs/agent.log CHANGED
@@ -2057,3 +2057,16 @@
2057
  2026-07-21 09:42:36,433 INFO [20260721_091814_2fcbda] agent.conversation_loop: API call #15: model=deepseek-ai/deepseek-v4-pro provider=nvidia in=177983 out=216 total=178199 latency=47.6s cache=24576/177983 (14%)
2058
  2026-07-21 09:42:36,433 INFO [20260721_091814_2fcbda] agent.tool_executor: tool todo completed (0.00s, 561 chars)
2059
  2026-07-21 09:42:36,461 INFO run_agent: OpenAI client created (chat_completion_stream_request, shared=False) thread=Thread-23 (_call):139766129485504 provider=nvidia base_url=https://integrate.api.nvidia.com/v1 model=deepseek-ai/deepseek-v4-pro
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2057
  2026-07-21 09:42:36,433 INFO [20260721_091814_2fcbda] agent.conversation_loop: API call #15: model=deepseek-ai/deepseek-v4-pro provider=nvidia in=177983 out=216 total=178199 latency=47.6s cache=24576/177983 (14%)
2058
  2026-07-21 09:42:36,433 INFO [20260721_091814_2fcbda] agent.tool_executor: tool todo completed (0.00s, 561 chars)
2059
  2026-07-21 09:42:36,461 INFO run_agent: OpenAI client created (chat_completion_stream_request, shared=False) thread=Thread-23 (_call):139766129485504 provider=nvidia base_url=https://integrate.api.nvidia.com/v1 model=deepseek-ai/deepseek-v4-pro
2060
+ 2026-07-21 09:43:44,916 INFO run_agent: OpenAI client closed (stream_request_complete, shared=False, tcp_force_closed=0) thread=Thread-23 (_call):139766129485504 provider=nvidia base_url=https://integrate.api.nvidia.com/v1 model=deepseek-ai/deepseek-v4-pro
2061
+ 2026-07-21 09:43:44,916 INFO [20260721_091814_2fcbda] agent.conversation_loop: API call #16: model=deepseek-ai/deepseek-v4-pro provider=nvidia in=178373 out=838 total=179211 latency=68.5s cache=160000/178373 (90%)
2062
+ 2026-07-21 09:43:44,925 INFO [20260721_091814_2fcbda] agent.tool_executor: tool skill_manage completed (0.01s, 327 chars)
2063
+ 2026-07-21 09:43:44,953 INFO run_agent: OpenAI client created (chat_completion_stream_request, shared=False) thread=Thread-24 (_call):139766129485504 provider=nvidia base_url=https://integrate.api.nvidia.com/v1 model=deepseek-ai/deepseek-v4-pro
2064
+ 2026-07-21 09:44:03,640 INFO run_agent: OpenAI client closed (stream_request_complete, shared=False, tcp_force_closed=0) thread=Thread-24 (_call):139766129485504 provider=nvidia base_url=https://integrate.api.nvidia.com/v1 model=deepseek-ai/deepseek-v4-pro
2065
+ 2026-07-21 09:44:03,641 INFO [20260721_091814_2fcbda] agent.conversation_loop: API call #17: model=deepseek-ai/deepseek-v4-pro provider=nvidia in=179314 out=92 total=179406 latency=18.7s
2066
+ 2026-07-21 09:44:03,642 INFO [20260721_091814_2fcbda] tools.terminal_tool: Creating new local environment for task default...
2067
+ 2026-07-21 09:44:03,645 WARNING [20260721_091814_2fcbda] tools.env_passthrough: env passthrough: refusing to register Hermes provider credential 'GEMINI_API_KEY' from config.yaml (blocked by _HERMES_PROVIDER_ENV_BLOCKLIST). Operator configuration must not override the execute_code sandbox's credential scrubbing; see GHSA-rhgp-j443-p4rf.
2068
+ 2026-07-21 09:44:03,645 WARNING [20260721_091814_2fcbda] tools.env_passthrough: env passthrough: refusing to register Hermes provider credential 'GOOGLE_API_KEY' from config.yaml (blocked by _HERMES_PROVIDER_ENV_BLOCKLIST). Operator configuration must not override the execute_code sandbox's credential scrubbing; see GHSA-rhgp-j443-p4rf.
2069
+ 2026-07-21 09:44:03,698 INFO [20260721_091814_2fcbda] tools.environments.base: Session snapshot created (session=1c45b291f136, cwd=/home/appuser)
2070
+ 2026-07-21 09:44:03,698 INFO [20260721_091814_2fcbda] tools.terminal_tool: local environment ready for task default
2071
+ 2026-07-21 09:44:03,871 INFO [20260721_091814_2fcbda] agent.tool_executor: tool terminal completed (0.23s, 45 chars)
2072
+ 2026-07-21 09:44:03,901 INFO run_agent: OpenAI client created (chat_completion_stream_request, shared=False) thread=Thread-28 (_call):139766108505792 provider=nvidia base_url=https://integrate.api.nvidia.com/v1 model=deepseek-ai/deepseek-v4-pro
logs/errors.log CHANGED
@@ -222,3 +222,5 @@
222
 
223
  [Tool loop warning: same_tool_failure_warning; count=3; skill_view has failed 3 tim
224
  2026-07-21 09:41:48,793 WARNING [20260721_091814_2fcbda] agent.tool_executor: Tool skill_view returned error (0.27s): {"success": false, "error": "Skill 'serving-llms-vllm' not found.", "available_skills": ["apikey-image-gen", "dogfood", "grok-image-to-video", "hyperframes", "markdown-viewer", "remotion", "yuanbao",
 
 
 
222
 
223
  [Tool loop warning: same_tool_failure_warning; count=3; skill_view has failed 3 tim
224
  2026-07-21 09:41:48,793 WARNING [20260721_091814_2fcbda] agent.tool_executor: Tool skill_view returned error (0.27s): {"success": false, "error": "Skill 'serving-llms-vllm' not found.", "available_skills": ["apikey-image-gen", "dogfood", "grok-image-to-video", "hyperframes", "markdown-viewer", "remotion", "yuanbao",
225
+ 2026-07-21 09:44:03,645 WARNING [20260721_091814_2fcbda] tools.env_passthrough: env passthrough: refusing to register Hermes provider credential 'GEMINI_API_KEY' from config.yaml (blocked by _HERMES_PROVIDER_ENV_BLOCKLIST). Operator configuration must not override the execute_code sandbox's credential scrubbing; see GHSA-rhgp-j443-p4rf.
226
+ 2026-07-21 09:44:03,645 WARNING [20260721_091814_2fcbda] tools.env_passthrough: env passthrough: refusing to register Hermes provider credential 'GOOGLE_API_KEY' from config.yaml (blocked by _HERMES_PROVIDER_ENV_BLOCKLIST). Operator configuration must not override the execute_code sandbox's credential scrubbing; see GHSA-rhgp-j443-p4rf.
metadata.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "timestamp": "2026-07-21T09:42:51.436567",
3
  "version": "0.10.0",
4
  "hermes_home": "/data/.hermes"
5
  }
 
1
  {
2
+ "timestamp": "2026-07-21T09:44:07.872115",
3
  "version": "0.10.0",
4
  "hermes_home": "/data/.hermes"
5
  }
skills/github/github/SKILL.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ name: github
3
+ description: Complete GitHub operations — auth, repos, PRs, issues, code review, CI, all via gh CLI or REST fallback.
4
+ version: 1.0.0
5
+ author: Hermes Agent
6
+ license: MIT
7
+ platforms: [linux, macos, windows]
8
+ metadata:
9
+ hermes:
10
+ tags: [GitHub, Git, gh-cli, Pull-Requests, Issues, Code-Review, CI, Repositories, Authentication]
11
+ ---
12
+
13
+ # GitHub — Full Operations
14
+
15
+ Everything for working with GitHub from Hermes: authentication, repository management, pull request lifecycle, issue tracking, code review, and CI monitoring. Every section supports two paths: **`gh` CLI** (preferred when installed) and **pure `git` + `curl`** (always available, no installation needed).
16
+
17
+ ## Auth Setup
18
+
19
+ See `references/auth.md` for the full authentication guide: HTTPS tokens, SSH keys, `gh auth login`, and the auth-detection helper that all GitHub workflows should start with.
20
+
21
+ ## Repository Management
22
+
23
+ See `references/repo-management.md` for cloning, creating, forking, configuring repos, releases, and GitHub Actions management.
24
+
25
+ ## Pull Request Workflow
26
+
27
+ See `references/pr-workflow.md` for the complete PR lifecycle: branch creation, conventional commits, PR creation, CI monitoring, auto-fixing failures, and merging.
28
+
29
+ ## Issues Management
30
+
31
+ See `references/issues.md` for creating, searching, triaging, labeling, assigning, commenting, closing/reopening, and bulk-operating on issues.
32
+
33
+ ## Code Review
34
+
35
+ See `references/code-review.md` for reviewing local changes (pre-push), reviewing PRs on GitHub, leaving inline comments, submitting formal reviews, and the review checklist.
36
+
37
+ ## Common Setup Block
38
+
39
+ Every GitHub workflow should start with the auth-detection block from `references/auth.md`. It determines whether to use `gh` or `git` + `curl` for the session.
40
+
41
+ ## Verification Checklist
42
+
43
+ - [ ] Auth is configured (gh auth status or GITHUB_TOKEN available)
44
+ - [ ] Inside a git repository with a GitHub remote (for most operations)
45
+ - [ ] Owner/repo extracted from remote URL
46
+ - [ ] Correct path (gh vs git+curl) selected based on availability
47
+
48
+ ## Common Pitfalls
49
+
50
+ 1. **GitHub disabled password auth** — always use a personal access token or SSH, never account password
51
+ 2. **`gh: command not found`** — fall back to `git` + `curl` with a `GITHUB_TOKEN`
52
+ 3. **Cached stale credentials** — run `git credential reject` then re-authenticate
53
+ 4. **PR creation without `--head` branch** — ensure the branch was pushed with `git push -u origin HEAD` first
54
+ 5. **Merge conflict markers in diffs** — always scan diffs for `<<<<<<` / `>>>>>>` patterns
55
+ 6. **Forgetting to extract owner/repo** — many curl commands need `$OWNER/$REPO`; always run the extract block
56
+
57
+ ## References
58
+
59
+ - `references/auth.md` — Authentication setup (HTTPS tokens, SSH keys, gh login, auth detection)
60
+ - `references/repo-management.md` — Repository management (clone, create, fork, settings, releases, CI)
61
+ - `references/pr-workflow.md` — Pull request lifecycle
62
+ - `references/issues.md` — Issues management
63
+ - `references/code-review.md` — Code review (local + PR)