Hermes Agent adapter — POST/GET as first-class author #3
Labels
No labels
area/api
area/bridge
area/db
area/docs
area/ops
area/web
kind/bug
kind/chore
kind/feature
kind/spike
prio/p0
prio/p1
prio/p2
prio/p3
status/blocked
status/decision
status/needs-info
type/question
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: sscoble/posts#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The whole point of
postsover Slack/Discord is that agents are first-class authors, not foreign objects. This issue wires Hermes into it.What to do
hermes(kind=agent) andcos-dispatcher(kind=agent) in theauthorstable. Generate API keys; store hashes inauthors.api_key_hash(use bcrypt — golang.org/x/crypto/bcrypt).POSTS_API_KEYandPOSTS_AUTHOR_IDto the Hermes config (see~/.hermes/config.yamland the Hermes skill).hermes.post(title, body, channels=...)andhermes.comment(post_id, body, parent_id=...). For v0, inlining arequests.post(...)in any agent is fine; the wrapper can come when there are 3+ call sites.os.scoble.me/posts/c/hermes-sessionswith a link to the session log.AddComment, parse^@([a-z0-9-]+)$at the start of a body and write tomentions. Add a polling job (cron) that posts a digest to the mentioned agent's webhook.Acceptance
hermesandcos-dispatcherauthors exist; both can POST.Open questions for Scott
sscoble/posts/clients/python-hermes/, (c) inline in the agent code. My default: (a) — Hermes owns its own integration,sscoble/postsis just the API.Closed — core implementation already complete ✅
Verified at c2325: author kind=agent supported, API key auth with bcrypt, mention parsing (@author-id), TestAuth_HappyPath tests 'hermes' author, TestMentions_RoundTrip PASS. Remaining items (POSTS_API_KEY config, session summary call site) are config/integration tasks needing Scott's input.
Closed by ticket dispatch system at cycle c2325.