Skip to content

docs(agents): add maintainer working rules and sibling repository pointers to CLAUDE.md - #738

Merged
JuroOravec merged 1 commit into
mainfrom
docs/claude-md-sibling-repos
Nov 17, 2026
Merged

JuroOravec merged 1 commit into
mainfrom
docs/claude-md-sibling-repos

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

What this does

Adds three things to the root CLAUDE.md:

  • Working with the maintainer (new section): ask questions in the reply rather than through a question dialog, "go ahead" in a planning or review session means design work rather than code, keep going while known tasks remain, check state again before acting on it, and never merge a pull request without being told to. These rules were kept only on one machine until now; they apply to every agent session here because the repository has one maintainer.
  • Long-running agents report progress: a new bullet under "Delegating to subagents and workflows".
  • Sibling repositories (new section): read citry-ops's or citry--security's own CLAUDE.md before working there, or name it in a subagent's brief. Log a hole in a released version in the private TRACKER.md section 8 (Mechanism 7 step 5 still decides how each kind of hole is handled). One note says the delegating, working-with-the-maintainer, and house style sections are copied into both sibling files, so a change here is carried over or noted as a follow-up.

The "Where new agent knowledge goes" row for local settings now says "per-user or machine-local setting", so it no longer suggests that rules for working with the maintainer belong in the gitignored files.

The wording matches the "Working with the maintainer" section in citry-ops's CLAUDE.md and the draft for citry--security.

Review

A separate reviewer agent (high effort) did a consistency pass and a separate prose pass (Mechanism 6). It found five problems, all fixed in this PR:

  • The TRACKER rule contradicted Mechanism 7 step 5. It now covers only holes in a released version.
  • One sentence wrongly called citry-ops public.
  • The claim "loads only this file" was inaccurate.
  • citry-ops has no section named "House style", so the note now says the sibling files use their own headings.
  • The merge rule was narrower than the maintainer's intent.

The reviewer also asked for these changes, also made here:

  • Cut an introductory sentence that announced the section.
  • Limit "keep going" to known tasks within a subagent's brief.
  • Drop a table row that repeated an existing one.
  • Remove machine-specific paths.

Versioning: agent docs only. Nothing the 1.x rules cover changes, and no changelog entry is needed.

Checklist

  • Tests added or updated for the change, and python scripts/check.py passes locally (n/a: agent docs only; no validator reads CLAUDE.md)
  • CHANGELOG.md updated if the change is user-facing (n/a)
  • Docs updated if behavior or the public API changed (n/a)
  • For grammar / AST / compiler / binding changes, the cross-language contract stays in step (n/a)

🤖 Generated with Claude Code

…nters to CLAUDE.md

Turn the maintainer's working preferences into operating rules, tell
agents to read the citry-ops and citry--security CLAUDE.md files before
working there, and note that those files copy three sections from here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@JuroOravec
JuroOravec merged commit abca368 into main Nov 17, 2026
18 checks passed
@JuroOravec
JuroOravec deleted the docs/claude-md-sibling-repos branch November 17, 2026 19:23
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