Skip to content

[0 BOUNTY] WORKFLOW: Hermes/OpenClaw project context integration#77

Open
zhuyuhao030612 wants to merge 5 commits into
cuentaprueba244w-dotcom:mainfrom
zhuyuhao030612:bounty/hermes-integration
Open

[0 BOUNTY] WORKFLOW: Hermes/OpenClaw project context integration#77
zhuyuhao030612 wants to merge 5 commits into
cuentaprueba244w-dotcom:mainfrom
zhuyuhao030612:bounty/hermes-integration

Conversation

@zhuyuhao030612

Copy link
Copy Markdown

Summary

Adds a scripts/setup-hermes.py project context loader that bridges Tent of Trials with Hermes Agent or OpenClaw. Running it extracts CLAUDE.md sections into structured JSON and generates a ready-to-use AI agent prompt.

What it does

python3 scripts/setup-hermes.py              # Generate context files
python3 scripts/setup-hermes.py --launch     # Generate + print launch instructions
python3 scripts/setup-hermes.py --openclaw   # Generate OpenClaw-compatible output

Output

  • .hermes/context.json — Structured project context (overview, tech stack, module map, where-to-start, pitfalls, available tools)
  • .hermes/prompt.txt — Ready-to-paste system prompt for Hermes/OpenClaw with critical rules and module map

Features

  • Auto-detects available build tools (cargo, node, go, make, etc.)
  • Enumerates all Python files in the repo for context awareness
  • Validates CLAUDE.md completeness on each run (line count, missing sections)
  • Generates both Hermes and OpenClaw-compatible output formats

Integration points

  • Hermes Agent: Copy .hermes/context.json to the Hermes memory directory and add CLAUDE.md to the project registry
  • OpenClaw: Use openclaw agent --context-file .hermes/context.json or paste the prompt directly

Validation

  • Script runs successfully on Windows (UTF-8 encoding handled)
  • Generates both context.json and prompt.txt
  • CLAUDE.md validation passes (302 lines, all sections present)

Diagnostics

  • diagnostic/build-95afa8eb.json

  • diagnostic/build-95afa8eb-part001.logd through part004.logd

  • Password: 6d92d0e3ed3ecdf31359

  • Reassemble: cat diagnostic/build-95afa8eb-part*.logd > diagnostic/build-95afa8eb.logd

  • Unpack: encryptly unpack diagnostic/build-95afa8eb.logd <outdir> --password 6d92d0e3ed3ecdf31359

  • I would like to request that my diagnostic build log is removed before merging

zhuyuhao030612 and others added 5 commits July 5, 2026 07:06
@
feat: generate comprehensive TODO audit report (cuentaprueba244w-dotcom#1)

- Add tools/generate_todo_audit.py — scanner and report generator
- Generate TODO_AUDIT.md with 315 entries across all languages
- Case-insensitive TODO search across Rust, Python, JS, Go, C, Java, etc.
- Estimate formula: (line_number % 7) + 1 hours
- Sorted by estimated hours descending
- Includes summary statistics and distribution table

Closes cuentaprueba244w-dotcom#1
@
- 302 lines covering project overview, tech stack, module structure
- 'Where to Start' section for every module with first files to read
- Build & diagnostic workflow documentation
- Coding conventions, known pitfalls, git workflow
- Self-deprecating tone matching repo style (read from source files)
- Includes bounty workflow section

Co-Authored-By: Claude <noreply@anthropic.com>
- setup-hermes.py extracts project context from CLAUDE.md
- Generates structured JSON (.hermes/context.json) and launch prompt
- Supports --launch for guided setup instructions
- Supports --openclaw for OpenClaw-compatible output
- Auto-detects available build tools on the host
- Validates CLAUDE.md completeness on each run

Co-Authored-By: Claude <noreply@anthropic.com>
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