feat(agents-md): salvage MCP rules from stale refactor branches#37
Merged
Conversation
Three refactor/claude-md-* branches were superseded by the AGENTS.md migration in PR #34 (canonical content moved out of CLAUDE.md). Before deleting them, salvage the substantive MCP usage improvements they made that were never brought forward. From refactor/claude-md-hive-fallback-rule: - Hive failure-mode fallback rule: if Hive hangs or exceeds ~10-20s (queries) / ~30s (writes), abandon the call, fall back to native Read/Edit/Write/grep + manual git commit. Do NOT retry Hive in the same session. From refactor/claude-md-dedupe-vault-patterns: - Context7: "Prefer over WebSearch", "Skip for stdlib", version-in-prompt examples. - Sequential Thinking: "Pairs well with Context7" cross-reference. - Hive: three additional tools surfaced (vault_health, delegate_task, vault_list). - Obsidian CLI: explicit unique-command list (backlinks, orphans, dead-ends, unresolved, tags, eval) + OBS_VAULT env note. Cosmetic / "Auto-invoke when" rephrasings from the refactor branches were NOT brought forward — AGENTS.md's current "When:" phrasing matches the canonical style established in PR #34. Tests: 491/491 still pass (AGENTS.md content additions only; no test changes needed). Follow-up: delete the three stale refactor/claude-md-* branches post-merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three `refactor/claude-md-*` branches were left unmerged when PR #34 migrated CLAUDE.md content into AGENTS.md. Their improvements to MCP usage rules never made it forward. Before deleting the branches, this PR salvages the substantive additions and integrates them into AGENTS.md.
What I kept
From `refactor/claude-md-hive-fallback-rule` — Hive failure-mode fallback rule:
From `refactor/claude-md-dedupe-vault-patterns`:
What I dropped
Cosmetic / "Auto-invoke when" rephrasings — AGENTS.md's current "When:" phrasing matches the canonical style established in PR #34 and is consistent across the file.
Tests
Follow-up after merge
Delete the three stale branches:
Test plan
References