Repository navigation
docs: split CLAUDE.md, keep a short must-not-regress list - #142
Merged
Merged
Conversation
Move the measured rules verbatim to docs/regression-rules.md and the two-apps background verbatim to docs/two-apps.md, each top-level rule with an anchor. CLAUDE.md (916 -> 167 lines) keeps the repo summary, scope, the 15 most important rules as linked one-liners, layout, build/test/release, style and a Docs section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
Owner decision: "Split, keep a short rules list".
docs/regression-rules.md: the "Rules that must not regress" section, moved verbatim (an<a id>anchor added to each top-level rule; "see THE MENU FITS" now links to its new home).docs/two-apps.md: the "This repo is the terminal of TWO apps" section, moved verbatim (anchors added on the rules CLAUDE.md links; thecore/README.mdlink made relative todocs/).CLAUDE.md: 916 -> 167 lines. What the repo is, a six-line two-apps summary linking intodocs/two-apps.md, Scope (unchanged), the 15 most important rules as one-liners each linking to its full entry, Layout, Build/test/release and Style (unchanged), and a new Docs section.src/renderer/src/termHost.ts: a comment that pointed at CLAUDE.md for the theme/ground/indicator decisions now points atdocs/regression-rules.md(comment only).Rules kept as one-liners (most important first)
onKey, neveronDatatitleBarStyle: 'hidden', neverframe: false; material before colourVerification
#anchorin the three files resolves.prettier --checkpasses on CLAUDE.md and termHost.ts; the two moved docs are left exactly as the original text was formatted (the original CLAUDE.md did not pass prettier either).🤖 Generated with Claude Code