github-backup/research/repository-and-deployment-strategy.md

Edit Back to List

Repository and Deployment Strategy

Prepared: 2026-05-27

Recommendation

Create one private GitHub repository for Hermes operating infrastructure, not for the living second brain itself.

Suggested repository: easiermarketing/easier-hermes-ops
Visibility: private

Commit to the Private Operations Repository

Do Not Commit

Why Not Put the Live Obsidian Vault in GitHub

A private Git repository is technically convenient for Markdown version history, but it becomes a permanent replicated history of deleted facts and sensitive relationship material. It also encourages agents and deployments to obtain far broader access than they need. That is a poor default for a vault intended to cover marketing, sales, fulfilment and customer relationships.

Start the live vault on controlled storage with encrypted backups and a clear retention/access policy. Once its real sensitivity is known, choose a sync and versioning model intentionally. Options worth evaluating later include:

Upstream Hermes Source

Do not fork or vendor the entire Hermes Agent repository merely to deploy it. The host preparation script pins the reviewed upstream release v2026.5.16 and stages source from that tag. Building the image is deliberately opt-in because the current n8n VM has limited free disk and memory. A fork becomes justified only if Easier must maintain code patches rather than configuration or skills.

Google Cloud Deployment Path

The clean route, once signed into Google Cloud Console, is:

  1. Identify the GCE project, instance name, zone, current containers, resources and firewall without changing anything.
  2. Confirm the instance is in fact the one hosting n8n and that it has capacity.
  3. Transfer the private operations package by an authenticated administrative route.
  4. Run only deployment/prepare-hermes-host.sh, which stages pinned Hermes source and an empty vault template. Build the image later only with HERMES_BUILD_IMAGE=1 during a maintenance window or on a roomier host.
  5. Leave the Compose activate profile stopped until provider credentials, backup strategy and permissions are approved.

Cloud Shell is acceptable for the staging step because it is authenticated to Google Cloud and can use gcloud compute ssh/scp. It is not itself the runtime: Hermes should live on the VM in its isolated container.