Skip to content

chore: Hermes research docs + ORCHESTRATION log + .codegraph gitignore - #39

Merged
webdevtodayjason merged 3 commits into
mainfrom
chore/hermes-research
May 28, 2026
Merged

chore: Hermes research docs + ORCHESTRATION log + .codegraph gitignore#39
webdevtodayjason merged 3 commits into
mainfrom
chore/hermes-research

Conversation

@webdevtodayjason

@webdevtodayjason webdevtodayjason commented May 28, 2026

Copy link
Copy Markdown
Owner

Summary

Three housekeeping commits, all docs / config only:

  1. 42cdbe9 docs: capture Hermes compact + skill-loading mechanism findings
    Research artifact in .subctl/docs/hermes-compact-and-skills-findings.md for v4 Evy bootstrap planning. Documents Hermes' LLM-driven compact (threshold = max(50% × ctx, 64K floor)) and progressive-disclosure skill loading via system-prompt index + skill_view tool. Authored by @webdevtodayjason on the prior research push.

  2. d8d92d0 docs(orchestration): log 2026-05-28 claude-teams unblock session
    ORCHESTRATION.md entry for the PR fix: unblock claude-teams (PATH shim + master→evy import rename leftovers) #38 work — root cause, fixes, validation, decision log. Keeps the orchestration history sequential.

  3. 1f39411 chore(gitignore): ignore .codegraph/ MCP index dir
    CodeGraph MCP (installed via npx @colbymchenry/codegraph) drops a sqlite index + daemon scratch at .codegraph/. Local state, not source-of-truth.

Test plan

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores

    • Updated the local development environment configuration to exclude code analysis indices and build artifacts from tracking.
  • Documentation

    • Added comprehensive new documentation for system operators covering LLM-driven mechanisms including context management and summarization strategies, skill-based system behaviors, system orchestration and coordination, plus incident response procedures and operational logs.

Review Change Stack

webdevtodayjason and others added 3 commits May 28, 2026 13:12
Research-only artifact for v4 Evy bootstrap planning. Documents:

- Hermes compact: LLM-driven summarization (not eviction) with cheap
  pre-pass for old tool results. Threshold = max(50% * ctx, 64K floor),
  tunable via compression.threshold in config.yaml. Pre-flight + post-
  turn + recovery triggers all share the same algorithm. No "approaching"
  detection — fires at threshold using real prompt_tokens.

- Hermes skills: progressive disclosure via a system-prompt index
  (## Skills mandatory block) + skill_view tool. LLM is the router; no
  embeddings/classifier. Slash commands and channel bindings provide
  deterministic side surfaces. Skill content lands as tool result and
  persists in history until compacted.

Includes implementation notes for v3 Evy (TS, compact policy bump) and
v4 Evy (Rust, evy-thinking system-prompt index + skill_view tool).
Records the PATH-collision + master→evy import-rename fixes shipped on
the sibling fix/claude-teams-shim-and-imports branch, the verification
gates that proved them, and the open items (push+PR auth, install tree
reconciliation).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
CodeGraph MCP server (installed via `npx @colbymchenry/codegraph`) drops
its sqlite index + daemon scratch into `.codegraph/` at repo root. Local
state, not source-of-truth — keep it out of the working tree.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@webdevtodayjason
webdevtodayjason merged commit fff6959 into main May 28, 2026
1 check was pending
@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5a8fbf7c-0e0c-4a7f-bbe7-c86ff1624606

📥 Commits

Reviewing files that changed from the base of the PR and between 837a808 and 1f39411.

📒 Files selected for processing (3)
  • .gitignore
  • .subctl/docs/hermes-compact-and-skills-findings.md
  • ORCHESTRATION.md

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.


📝 Walkthrough

Walkthrough

PR adds CodeGraph MCP index to gitignore, introduces comprehensive Hermes mechanisms research documentation detailing context compacting and skill-loading with Evy v3/v4 porting guidance, and logs an orchestration incident for a claude-teams unblock resolution with root causes and verification steps.

Changes

Documentation and Configuration Updates

Layer / File(s) Summary
CodeGraph MCP index gitignore
\.gitignore
.codegraph/ entry excludes local CodeGraph MCP index scratch directory.
Hermes mechanisms research documentation
\.subctl/docs/hermes-compact-and-skills-findings\.md
New operator-focused document describing Hermes' context-compacting mechanism (token-driven thresholding, pruning, boundary detection, auxiliary-model summarization, reassembly with special abort/anti-thrash behaviors) and skill-loading mechanism (system-prompt index routing to LLM-driven skill_view tool with three entry paths: autonomous, slash-command, and channel-bound). Includes detailed semantics, implementation notes for Evy v3 (TypeScript) and v4 (Rust) with threshold constants, trigger wiring, and conceptual pipeline adaptation, plus open questions on "approach" semantics, session-DB mutation, auxiliary-model failures, multi-round compacting effects on skills, and scope boundaries.
Orchestration incident log entry
ORCHESTRATION\.md
Session log for 2026-05-28 claude-teams unblock incident: documents two root causes (v4 subctl PATH collisions with v3 dispatcher shims, stale components/master/... imports after rename), lists two shipped fix commits, records dry-run verification and module import resolution, captures decision log, and enumerates follow-ups on PR push and install tree reconciliation.

🎯 1 (Trivial) | ⏱️ ~4 minutes

🐰 A doc and config tale so light,
Where Hermes' compact shines so bright,
Skills route and compress with care,
An incident resolved with flair,
And gitignore keeps the index fair! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/hermes-research

Comment @coderabbitai help to get the list of available commands and usage tips.

@webdevtodayjason
webdevtodayjason deleted the chore/hermes-research branch May 28, 2026 18:13
webdevtodayjason added a commit that referenced this pull request May 28, 2026
…g + Hermes docs (#40)

Cuts v3.3.4 bundling the three commits since v3.3.3:
- #38 fix(claude-teams): PATH-shim collision + master→evy import leftovers
- #37 fix(chat): voice toggle first-paint race + SSE reconnect drift
- #39 chore: Hermes research docs + ORCHESTRATION log + .codegraph gitignore

Per the version-cap doctrine, stays on the v3.3.x patch line — no v3.4 / v4
bump until operator decides.

Supersedes the stale `fix/policy-snapshot-evy-rename` branch (commit
557b19f), which documented only the `_write_snapshot.ts` half of the
broken-imports breakage. The shipped v3.3.4 fix covers both `.ts`
import sites plus the six `bin/claude-*` shims.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant