Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
npx claudepluginhub humblef0ol/coherence --plugin coherenceThis plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
defaultModeStarting mode for new directories. observe = read-only signal capture. graduated = auto-apply patches with trust-gate. annotate = drop coherence:section anchors. author = signal detectors fire.
${user_config.defaultMode}telemetryOptInLocal telemetry (JSONL under coherence/) is always on. This option controls whether to ALSO let the maintainer collect anonymized usage stats via a user-driven curl. Default: off.
${user_config.telemetryOptIn}Matches all tools
Hooks run on every tool call, not just specific ones
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Make your AI agent code with your project's architecture, rules, and decisions.
Complete AI coding workflow system. Self-correcting memory + persistent FTS5-indexed research wikis + auto-research loop + multi-LLM council on a single SQLite store. 33 skills, 8 agents, 22 commands, 37 hook scripts across 24 events. Cross-agent via SkillKit.
Claude + Obsidian knowledge companion. Sets up a persistent, compounding wiki vault (Karpathy's LLM Wiki pattern). v1.7 "Compound Vault" + v1.8 methodology modes close 5 of 5 priority gaps from the May 2026 compass artifact. Ships: substrate alignment with kepano/obsidian-skills, default Obsidian CLI transport, hybrid retrieval (contextual prefix + BM25 + cosine rerank per Anthropic's Sept 2024 research), per-file advisory locking for multi-writer safety, pre-commit verifier agent, AND methodology modes (LYT / PARA / Zettelkasten / Generic) for first-class organizational support no other Claude+Obsidian competitor offers. v1.7.x audit closure: every BLOCKER + HIGH + MEDIUM + LOW finding from the v1.7.0 audit is CLOSED or DEFERRED-with-rationale. Optional DragonScale Memory extension (log folds, deterministic addresses, semantic tiling lint, boundary-first autoresearch).
Comprehensive C4 architecture documentation workflow with bottom-up code analysis, component synthesis, container mapping, and context diagram generation
Create comprehensive documentation for code, APIs, and projects.
Access official Microsoft documentation, API references, and code samples for Azure, .NET, Windows, and more.
Harness tooling for building Glassbox under its own observation: guardrail hooks (no-network, no-raw-transcript, verify-on-stop, tool-use log, session-start), the schema-investigator / slice-implementer / metric-author agents, repo skills, and dev-time-only MCP servers. Enforces the no-network, zero-dependency, single-boundary rules (OBJ-5).
Coherence — one name across npm slug, brand, and
/coherence:*slash commands.
A Claude Code plugin that detects documentation drift (when code
changes without updating its docs) and proposes surgical patches via a
two-stage LLM pipeline. It runs as a set of Claude Code hooks +
slash commands; team-distributable surfaces live as committed files
under coherence/ (no backend, ever).
asserts: frontmatter
with 8 engines (text-pattern + codebase-linked, including
v1.0.1 Fix 8's symbol_exported for LIM-1 closure).cosign keyless OIDC via GitHub
Actions; verifiable via Rekor.claude plugin install coherence # Anthropic plugin registry (canonical)
For local development:
git clone https://github.com/HUMBLEF0OL/coherence.git
cd coherence
npm install
npm run build
The plugin manifest is .claude-plugin/plugin.json.
/coherence:status # mode, buffer, costs, recent activity
/coherence:review # run the Stop pipeline mid-session
/coherence:review --estimate # Stage 1 only — group/section count
/coherence:doctor # probe host capabilities
/coherence:repair # fix anchor collisions, state drift, trust orphans
/coherence:recover # clear auto-disable sentinel, reset locks
Anchor format: HTML comment pairs in any Markdown file —
<!-- coherence:section id="install" -->
## Install
...
<!-- /coherence:section -->
GitHub-slug heading fallback with -1 / -2 disambiguation when an
explicit id="..." is absent. Fenced code blocks are skipped during
scan (R-18).
/coherence:graduate # global → Graduated
/coherence:graduate annotate docs/ # annotate mode for docs/
/coherence:graduate author # author mode (signal detectors fire)
/coherence:graduate --revert # → Observe
/coherence:graduate --status # effective mode for cwd
| Mode | Behaviour |
|---|---|
| Observe | Watch + propose for review; never auto-apply. |
| Annotate | Detect anchor-less Markdown; propose anchor placement (DD-069). |
| Author | Three signal detectors fire (bash repetition, file-creation patterns, agent corrections) and seed Author LLM proposals into the DD-065 quarantine boundary. |
| Graduated | Additive patches auto-apply; modifying patches gated by trust score ≥ 0.85; destructive + frontmatter always require confirmation. |
Net-new artifacts (skills, agents, slash commands, annotations) land
in .claude/coherence/proposals/<kind>/<id>/. Nothing reaches
user-owned paths (.claude/skills/, etc.) without an explicit
cross-the-boundary write (DD-065 / SG-3 — token-gated, statically
asserted by tests/security/v0.2/sg-3-no-out-of-quarantine-write.test.ts).
/coherence:propose-list
/coherence:propose-show <id>
/coherence:propose-accept <id> # user-typed accept
/coherence:propose-accept <id> --rename # suffix on collision
/coherence:propose-reject <id>
/coherence:propose-revert-acceptance <id> # undo (DD-083)
/coherence:annotate docs/intro.md # ad-hoc annotate proposal
/coherence:de-annotate docs/intro.md # strip or graduate auto-annotations
A per-developer, per-section accept/edit/revert event log at
.claude/coherence/trust-ledger.json drives the auto-apply gate for
modifying patches. The score is the DD-138 weighted accept rate with
a 30-day half-life decay (ALPHA = 0.977):
numerator = Σ ev.weight × ALPHA^ageDays (accept=+1, revert=−1, edit=0)
denominator = Σ ev.denWeight × ALPHA^ageDays (accept=1, revert=1, edit=0.5)
score = numerator / denominator (0 when |denominator| < 0.001)
LRU-capped at 200 events/section, sorted ascending by _ts.
Concurrent recordEvent calls are serialised by an in-process
per-ledger mutex (M-LEDGER-1).