docs(claude-md): navigation contract + compressed quick-ref templates - #164
Merged
Conversation
The injected section states the cross-module boundary as a contract: end-to-end flows spanning ≥2 modules live in the host repo's architecture docs / ADRs, never in README_AI. Quick-ref cut to the non-obvious commands and escape hatches (full reference delegated to codeindex --help). Context: #158 audit's out-of-scope companion change.
Owner
Author
v0.37.0 回归:注入模板删掉了 hooks rerun escape hatch#164 压缩模板时特意保留了两个非显而易见的 escape hatch( 实测 v0.37.0 注入产物(lh-enterprise CLAUDE.md):
建议:恢复它。这个命令恰恰是最典型的"AI 命中坑后才需要"的 escape hatch——post-commit hook 因 doc-only commit / loop guard 漏跑时,agent 看到的症状是"README_AI 落后于 HEAD",没有这条命令的第一反应往往是重跑 scan-all(重、且误解根因)。约一行成本。 |
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.
#158 audit 的范围外伴随改动(issue 里预告过的 working-tree 批次):
codeindex --helpcodeindex claude-md update产物)全套 pytest 已带这些改动验证绿(1817 passed)。