docs: rewrite CLAUDE.md to reflect the plugin's actual state - #9
Open
jagp wants to merge 1 commit into
Open
Conversation
The old CLAUDE.md predated the hook implementation: it described the repo as a scaffolding skill and instructed the model to hand-write log lines into omnilog.md - exactly the fabrication problem the omnilog hooks were built to eliminate. Replace it with current codebase documentation: test and lint commands, the dual hook registration (plugin vs dogfood), the log invariants, scope-resolution precedence, and release conventions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T3ef4ev6SxG78to6aAAbrN
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.
Why
The existing
CLAUDE.mdpredated the hook implementation: it described the repo as a scaffolding skill and instructed the model to hand-write log lines intoomnilog.md— exactly the fabrication problem the omnilog hooks were built to eliminate (docs/autologging.md§6 calls out the model's invented<init:2500>entries). It contained no information about the codebase itself.What changed
Rewrote
CLAUDE.mdas codebase documentation for future Claude Code sessions:tests/run-all.ps1(auto-discovery noted),trunk check/trunk fmt, and the Windows PowerShell 5.1 target (no substitute verification on machines withoutpowershell).hooks/hooks.jsonwith${CLAUDE_PLUGIN_ROOT}vs. dogfooding.claude/settings.json) and the keep-in-sync / no-autoload-here rules; event flow throughomnilog-lib.ps1; pointer todocs/autologging.mdas the verified schema reference.requestIdtoken costs with no placeholders, artifacts resolve into the calling project.OMNILOG_ENABLED→OMNILOG_FILE→enabled:→scope:) and ado (ADO_SCOPE→ADO_FILE→ado:/ado-path:→ marker gate).develop), plugin/marketplace version sync + everythingtests/plugin-manifest.ps1enforces, patch-bump-to-bust-cache, command frontmatter, pure-ASCII 5.1-parseable script source.Sourced from README.md, docs/autologging.md, evals/README.md, CHANGELOG.md, the hook libraries, and the test suite. No code changes.
🤖 Generated with Claude Code
https://claude.ai/code/session_01T3ef4ev6SxG78to6aAAbrN
Generated by Claude Code