hermes - 💡(How to fix) Fix Feature Request: explicit local patch reapply workflow for upstream updates [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#11623Fetched 2026-04-18 05:59:47
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

Root Cause

Right now the practical options are all bad:

  • keep a long-lived fork and manually rebase forever,
  • repeatedly re-apply the same local edits by hand,
  • or avoid updating because local customizations are annoying to preserve.

Fix Action

Fix / Workaround

Today, those users effectively have to rebase and manually re-apply their local patches after upstream updates. That works, but it is brittle, repetitive, and easy to get wrong when the same local customizations need to survive multiple upstream releases.

This is similar in spirit to #8302 (preserving local skill customizations while still benefiting from upstream changes), but for local source-code patches / customizations, not just skill files.

A scoped v1 could focus on explicit, auditable patch reapplication, not autonomous "self-healing" behavior.

RAW_BUFFERClick to expand / collapse

Problem

Hermes updates are straightforward if you stay fully upstream or fully forked. The painful middle ground is users who keep a mostly-upstream install but carry a small set of local source changes.

Today, those users effectively have to rebase and manually re-apply their local patches after upstream updates. That works, but it is brittle, repetitive, and easy to get wrong when the same local customizations need to survive multiple upstream releases.

This is similar in spirit to #8302 (preserving local skill customizations while still benefiting from upstream changes), but for local source-code patches / customizations, not just skill files.

Motivation

There seems to be a real class of Hermes users who:

  • want to stay close to upstream,
  • want upstream bug fixes and new features,
  • but also need a few local-only customizations.

Right now the practical options are all bad:

  • keep a long-lived fork and manually rebase forever,
  • repeatedly re-apply the same local edits by hand,
  • or avoid updating because local customizations are annoying to preserve.

For users who intentionally run Hermes as a customizable local agent, this creates friction around updating and experimentation.

Narrow Proposal

A scoped v1 could focus on explicit, auditable patch reapplication, not autonomous "self-healing" behavior.

Examples of what that might look like:

  • a tracked patch-manifest file describing local patches to re-apply after update,
  • a command to check whether each patch still applies cleanly,
  • a command to re-apply patches after update and fail loudly on conflicts,
  • status output showing which patches applied, failed, or need manual intervention.

Non-Goals

To keep scope sane, this would not mean:

  • silently rewriting code,
  • AI-driven automatic conflict resolution,
  • hidden mutation of local files without an explicit user action,
  • trying to preserve arbitrary changes with no traceable patch source.

Why this might fit Hermes

Hermes already has users who customize local behavior and workflows. A lightweight patch-preservation workflow could make local customization less fragile without forcing users into a full permanent fork.

The key point is to keep it boring:

  • explicit,
  • local-first,
  • fail-closed,
  • inspectable,
  • easy to ignore if you do not need it.

Questions for maintainers

  1. Is this kind of explicit local patch-reapply workflow in scope at all?
  2. If yes, would maintainers prefer:
    • a source-control-oriented workflow helper,
    • a Hermes-native patch manifest / status command,
    • or something narrower than either of those?
  3. Is there enough user pain here to justify a small v1, or is this too niche for core Hermes?

If this seems directionally acceptable, I’m happy to turn it into a tighter proposal or a small PR with a deliberately limited first version.

extent analysis

TL;DR

Implementing an explicit, auditable patch reapplication workflow could help users preserve local source-code customizations while updating Hermes.

Guidance

  • Consider creating a tracked patch-manifest file to describe local patches and their application status.
  • Design a command to check whether each patch still applies cleanly after an update, and another to re-apply patches with loud failure on conflicts.
  • Develop status output to show which patches applied, failed, or need manual intervention, ensuring transparency and inspectability.
  • Evaluate the trade-offs between a source-control-oriented workflow helper and a Hermes-native patch manifest/status command.

Example

No specific code example is provided due to the high-level nature of the discussion, but a potential patch-manifest file could be a JSON or YAML file listing local patches with their application status.

Notes

The proposed solution aims to balance the need for customization with the desire for easy updates, avoiding silent rewrites or automatic conflict resolution. The approach should prioritize explicit user actions, local control, and fail-closed behavior.

Recommendation

Apply a workaround by implementing an explicit patch reapplication workflow, as it addresses the core issue of preserving local customizations during updates without introducing unnecessary complexity or autonomy.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix Feature Request: explicit local patch reapply workflow for upstream updates [1 participants]