Skip to content

CLAUDE.md: the root orients, detail moves beside its code - #324

Merged
SSFSKIM merged 2 commits into
mainfrom
claude-md-nested
Oct 21, 2026
Merged

SSFSKIM merged 2 commits into
mainfrom
claude-md-nested

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 21, 2026

Copy link
Copy Markdown
Owner

The root CLAUDE.md loaded 55 KB (~18.8k tokens) into every session in this repo; it is now 13 KB (~4.7k).

  • The Repo map rows orient in a sentence or two. Each part's detail moved, verbatim, into a nested CLAUDE.md beside its code (12 files: hooks/, hooks/mods/, devcloud/, devcloud/hooks/mods/, to-human/, sminos/, sminos/skills/sminos/scripts/, sminos/hooks/, sminos/hooks/mods/, tests/, archive/, application-agents/). The engine loads a nested file the first time a session reads a file under its directory.
  • The upstream-contribution sections are gone (the "Compliance" changes, Bulk PRs, Understand the Project Before Contributing, the eval-results-in-PR line, the .github row's upstream pointer): this fork takes no outside PRs.
  • A new working convention keeps it this way: a root map row orients, a feature's detail goes in the nested CLAUDE.md nearest its code.
  • Rebased onto main; main's two later CLAUDE.md edits (the ask's async default, to-human 0.5.1's start-up read) are carried into sminos/hooks/mods/CLAUDE.md and to-human/CLAUDE.md.

Checks: a sentence-by-sentence coverage script against main's root finds 93 of 99 map sentences verbatim in the new files; the other six are the rows condensed on purpose (agents, output-styles, codex, .github). tests/skill-links/test-cross-doc-refs.sh and tests/issue-tracker/test-review-standin.sh pass.

Known effects: Codex reads only the root (AGENTS.md); the appeal judge reads only the root file; claude plugin validate warns about a CLAUDE.md at a plugin's root.

Sminos-Session: doperpowers-8e#024fe98a (doperpowers on macbook)

…code

The root CLAUDE.md is loaded into every session and subagent here, and 86%
of it was the Repo map, whose rows had grown into design documentation
(55 KB, up from 10 KB in six weeks). Each row's detail moves verbatim into
the CLAUDE.md of the directory it is about, which Claude Code attaches only
when a session first reads a file beneath it: hooks/ and hooks/mods/,
devcloud/ and devcloud/hooks/mods/, to-human/, sminos/ with sminos/hooks/,
sminos/hooks/mods/ and sminos/skills/sminos/scripts/, tests/, archive/ and
application-agents/. The root rows keep an orientation and the rules that
bind work anywhere (the agents' pins and tool blocks, the prependPlugins
seating); agents/ and output-styles/ take no CLAUDE.md, since every .md
there loads, so their rows drop only what the definitions already say. A
working convention keeps the map from regrowing.

Sminos-Session: doperpowers-8e#024fe98a (doperpowers on macbook)
…o outside PRs

The owner's ruling: the repository is not for upstream contribution, so
the inherited contributor rules (compliance rewrites, batch PRs, read
before contributing, eval results in a PR) are gone. The rules that bind
work here stay: the golden rule, skill changes require evaluation, the
voice, the cherry-pick procedure for taking upstream commits.

Sminos-Session: doperpowers-8e#024fe98a (doperpowers on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T08:19:34.741137Z 30d9c0a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit aec6f74 into main Oct 21, 2026
15 checks passed
@SSFSKIM
SSFSKIM deleted the claude-md-nested branch October 21, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant