/index

Brain Index

Core pages

Projects

/schema

Brain Schema

Domain

Agent brain — research synthesis, project notes, tooling, and knowledge compilation for Hermes Agent operations.

Conventions

Tag Taxonomy

Page Thresholds

Frontmatter

---
title: Page Title
created: 2026-01-31
updated: 2026-01-31
type: entity | concept | comparison | query | summary
tags: [from taxonomy above]
sources: [raw/articles/source-name.md]
---

Update Policy

When new information conflicts with existing content:

  1. Check the dates — newer sources generally supersede older ones
  2. If genuinely contradictory, note both positions with dates and sources
  3. Mark the contradiction in frontmatter: contradictions: [page-name]
/readme

Gordon GBrain Content Source

Human-facing durable knowledge content source for Gordon.

Path split

Start at Index.

/log/log

Brain Log

[2026-06-09] curate | operational memory pages

[2026-06-09] cleanup | raw capture removed

[2026-05-21] maintenance | lint and orphan cleanup

[2026-05-16] create | Brain initialized

/projects/gbrain

GBrain Operations

Durable notes for Gordon's gbrain setup as used by Hermes.

Purpose

GBrain is the durable curated knowledge base. It should not be a redundant dump of raw Telegram sessions or Hermes native memory writes.

Good gbrain content:

Bad gbrain content:

Current path layout

Use HOME=/opt/data with gbrain commands so the CLI uses /opt/data/.gbrain.

Content policy

Raw captures, if temporarily needed, belong outside synced gbrain content, such as /opt/data/gbrain-archive/, until synthesized into curated pages.

The local Hermes gbrain provider should keep raw turn capture and native memory-write capture disabled by default.

Verification commands

export PATH=/opt/data/.bun/bin:$PATH HOME=/opt/data
cd /opt/data/repos/gbrain
gbrain list -n 200
gbrain export --dir /tmp/gbrain-export

See also Hermes Agent and Hermes Pages.

/projects/hermes-agent

Hermes Agent Operations

Durable notes for Gordon's Railway-hosted Hermes Agent instance.

Restart / redeploy notification

Hermes should send I'm back! after a restart or redeploy Gordon asked for, so the operator knows the service is available again.

Current intended source:

The Docker entrypoint startup sender was removed to avoid duplicate notifications. If duplicate comeback messages recur, check for any other startup-level Telegram sender before changing the gateway path.

Railway deployment notes

Source and runtime paths

Secret hygiene

Never print or write literal values from environment variables whose names contain KEY, TOKEN, SECRET, or PASSWORD. Reference those secrets by variable name only.

See also Gbrain and Hermes Pages.

/projects/hermes-pages

Hermes Pages Operations

Durable notes for Gordon's hermes-pages Cloudflare Pages site.

Deployment model

The hermes-pages project uses Cloudflare Pages Direct Upload. Git pushes are source backup only; they do not publish the site by themselves.

Deploy with Wrangler after committing:

cd /opt/data/hermes-pages
npx -y -p node@22 -p wrangler wrangler pages deploy /opt/data/hermes-pages --project-name hermes-pages --commit-dirty=true

If unrelated dirty files exist, deploy an isolated clone of the committed state rather than the working tree.

Important paths

Hermes Memories page

hermes-memories.html is an HTML rendering of current gbrain export output. It is a mirror of gbrain content, not a branded app and not the static HTML wiki.

Visible content should come from gbrain pages only. Presentation CSS/HTML is allowed, but the page should not add non-gbrain visible chrome such as a hero, generated timestamp, stats, auth gate, or explanatory framing.

Mobile readability matters: text, links, inline code, code blocks, and table cells should wrap safely on phone screens.

Verification

After regenerating and deploying, verify the canonical URL, not just the Wrangler preview URL. Also verify in-page anchors are not broken.

See also Gbrain and Hermes Agent.