Skip to content

Make AGENTS.md the main agent guide - #14

Merged
Vithanco merged 1 commit into
mainfrom
claude/project-thread-2ytxec
Nov 6, 2026
Merged

Vithanco merged 1 commit into
mainfrom
claude/project-thread-2ytxec

Conversation

@Vithanco

@Vithanco Vithanco commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Requested by Klaus · project thread

  • Moves the CLAUDE.md content to AGENTS.md (git rename, so history follows), with a tool-neutral header.
  • CLAUDE.md is now the single line @AGENTS.md, so Claude Code still loads it.
  • Adds /AGENTS.md to CODEOWNERS and to the coverage list in scripts/hygiene.test.sh.

Interaction with #13 (.coderabbit.yaml, not merged yet): both PRs edit the same CODEOWNERS block and the same hygiene-test line, so whichever merges second needs a small rebase. #13's config only mentions CLAUDE.md in its header comment; CodeRabbit reads AGENTS.md as guidelines too, so that comment should say AGENTS.md once both land. I'll make that change on this branch after #13 merges.

Checked: all scripts/*.test.sh pass locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QehuQ5ppytPUa6qmAzL67V

Summary by CodeRabbit

  • Documentation
    • Added repository guidance covering build and test commands, platform requirements, architecture and development patterns.
    • Consolidated the existing development guidance into a reference to the new guidance.
  • Chores
    • Updated ownership coverage checks to include the new guidance file.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

No actionable comments were generated in the recent review.

Walkthrough

Repository guidance was added to AGENTS.md, and CLAUDE.md now references it. The CODEOWNERS file and hygiene check were updated to include AGENTS.md.

Changes: Repository guidance

Layer / File(s) Summary
Centralise repository guidance
AGENTS.md, CLAUDE.md
AGENTS.md documents build and test commands, platform requirements, architecture, and development conventions. CLAUDE.md now references AGENTS.md instead of containing that guidance.
Add ownership and hygiene coverage
.github/CODEOWNERS, scripts/hygiene.test.sh
CODEOWNERS assigns /AGENTS.md to @Vithanco. The hygiene check now tests AGENTS.md and includes it in the success message.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · previous review 2e1b4

Repository guidance is centralized, with ownership and hygiene coverage updated. No merge-blocking risk is identified.

Architecture risk: Low · up to 2e1b4

The change affects 3 systems.

Changed systems: scripts, AGENTS.md, CLAUDE.md

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — scripts (service) was modified; 1 changed file maps to changed impact.
  • observed — AGENTS.md (service) was modified; 1 changed file maps to changed impact.
  • observed — CLAUDE.md (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in AGENTS.md: Added repository guidance for building and testing, rebuilding platform-specific Graphviz artifacts, and configuring WebAssembly builds; documented toolchain and platform requirements, the C and Swift architecture layers, and conventions for plugin registration, Graphviz attributes, units, and files in staging/.
  • observed — Modified behavior in CLAUDE.md: The build, platform, architecture, and development guidance was removed and replaced with an @AGENTS.md reference.
  • observed — Modified behavior in scripts/hygiene.test.sh: The CODEOWNERS coverage check adds AGENTS.md to the paths tested and to the success message; previously, it checked and named the other listed paths without AGENTS.md.
  • observed — Modified behavior in .github/CODEOWNERS: Adds a CODEOWNERS rule assigning /AGENTS.md to @Vithanco.
Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the main change: moving the agent guide to AGENTS.md.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (3 skipped: 3 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 50aacb54-a907-4629-a5e2-4e95f4f19739
Commits

Reviewing files that changed from the base of the PR and between eedb84e and 2e1b4d7.

Files selected for processing: 4

  • .github/CODEOWNERS
  • AGENTS.md
  • CLAUDE.md
  • scripts/hygiene.test.sh

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

@Vithanco Vithanco self-assigned this Nov 6, 2026
Move the CLAUDE.md content to AGENTS.md and reduce CLAUDE.md to
@AGENTS.md so Claude Code still loads it. Add AGENTS.md to CODEOWNERS
and the hygiene test's coverage list, and point the .coderabbit.yaml
header comment at AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QehuQ5ppytPUa6qmAzL67V
@Vithanco
Vithanco force-pushed the claude/project-thread-2ytxec branch from 2e1b4d7 to b13007b Compare November 6, 2026 06:02
@Vithanco
Vithanco merged commit 70b32c0 into main Nov 6, 2026
3 of 4 checks passed
@Vithanco
Vithanco deleted the claude/project-thread-2ytxec branch November 6, 2026 06:03
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.

2 participants