feat: implement Two Friends Model (Hermes Bridge)#9
Open
siddhijadhav27 wants to merge 6 commits into
Open
Conversation
…s collaboration - New script: scripts/hermes-bridge.ts — Polls GitHub issues labeled 'hermes-execution' - Posts IN_PROGRESS/DONE/FAILED status comments - Updates issue labels (removes hermes-execution, adds hermes-done) - Sends Telegram notifications to user - Maintains state file to prevent duplicate execution - Supports multi-project (multiple bridge instances) - New skill: skills/hermes-executor/SKILL.md — Documentation for Hermes execution - When to use Hermes execution - Communication protocol (Paperclip <-> Hermes) - Multi-project support setup - Safety controls and approval gates - Update: skills/paperclip-create-agent/SKILL.md — Added Hermes execution labeling step - Label issue for Hermes when code execution is needed - Hermes picks up, executes, reports back - New service: systemd hermes-bridge.service for background polling - Env config: BRIDGE_LABEL, BRIDGE_POLL_INTERVAL, BRIDGE_STATE_FILE Usage: npx tsx scripts/hermes-bridge.ts --repo OpenScanAI/xShorts.News --once npx tsx scripts/hermes-bridge.ts --repo OpenScanAI/xShorts.News --poll systemctl --user start hermes-bridge Closes OpenScanAI#7
6 tasks
added 5 commits
May 23, 2026 21:51
…odel - Add server/src/routes/hermes.ts to proxy CTO requests to Hermes API - Mount hermesRoutes() in app.ts under /api/hermes/* - Update .env with HERMES_INTERNAL_URL and HERMES_API_KEY - Add skills/cto-hermes-executor/SKILL.md for CTO agent This enables Paperclip CTO to execute tasks via Hermes API on port 8080, completing the Two Friends Model collaboration pipeline. Refs: OpenScanAI#7
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.
Problem
Paperclip agents (CEO/CTO/Founding Engineer) cannot execute code, run builds, or modify files. Hermes (AI assistant) can execute but lacks project management capabilities. They need to work together as a team.
What Changed
1. Hermes Bridge Script
scripts/hermes-bridge.ts— Background daemon that polls GitHub issueshermes-execution[IN_PROGRESS]/[DONE]/[FAILED]status commentshermes-execution, addshermes-done)2. Hermes Executor Skill
skills/hermes-executor/SKILL.md— Documentation for Hermes execution3. Paperclip Create Agent Skill Update
skills/paperclip-create-agent/SKILL.md— Added Hermes execution labeling step4. Environment Config
.envupdated with bridge configuration:BRIDGE_LABEL=hermes-executionBRIDGE_POLL_INTERVAL=300000BRIDGE_STATE_FILE=.hermes-bridge-state.jsonHow It Works (Two Friends Model)
Step 1: Paperclip detects bug
hermes-executionStep 2: Hermes Bridge polls and finds issue #100
npm run buildStep 3: Paperclip sees comment
in_reviewStep 4: Telegram notification sent to user
Step 5: User reviews PR
Division of Responsibilities
Usage
Files Changed
scripts/hermes-bridge.tsskills/hermes-executor/SKILL.mdskills/paperclip-create-agent/SKILL.md.envRelated Issue
Closes #7