Skip to content

docs(agents): remove rules AGENTS.md repeats from CONTRIBUTING.md - #3950

Merged
Quick104 merged 3 commits into
mainfrom
docs/agents-md-trim
Nov 11, 2026
Merged

Quick104 merged 3 commits into
mainfrom
docs/agents-md-trim

Conversation

@Quick104

@Quick104 Quick104 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: none

AGENTS.md loads into every coding-agent session in this repository, and about a fifth of it repeated rules that CONTRIBUTING.md already states: the pull request, evidence, and issue-link rules, the test policy, and the lint guidance. Agents carried that text through every session, including the many that never open a pull request, and each repeated rule had to be kept in step in two files by hand. This change removes the repeats from AGENTS.md, points to the CONTRIBUTING.md section instead, and gives two pull-request-time rules that had no public home a place in CONTRIBUTING.md.

Approach

AGENTS.md goes from 3,363 words to 2,705. It keeps what an agent needs in every session and every rule that has no other home:

  • the ask-first rule, the contribution gate, and the public-content rules, which CONTRIBUTING.md and docs/ai-contributions.md link to;
  • how an agent publishes evidence, which only applies to agents;
  • the make lint-changed, t.Skip, and WEBTEST_KNOWN_FAILURES guards.

The Tests section now points to "Decide what to test", and the Pull requests section points to "Open the pull request". The "Docs audience" note becomes a pointer to "Before you start", and a sentence in "What Silo is" that repeated the opening paragraph is shortened. The architecture, glossary, non-goals, and data gotchas are unchanged.

CONTRIBUTING.md gains two short passages under "Open the pull request": what the Validation tasks: line is for, which the pull request template required but the guide never explained, and keeping the Closes and Related issue: lines accurate when the scope changes.

Four changes go beyond removing repeats, so they are worth a look:

  • The ask-first rule now reads "Open a pull request only when the developer asks for one, in a message or by running a workflow that opens pull requests." A developer who runs such a workflow has asked. Anthropic's prompting guide for Claude Fable 5.2 found that a model follows an exception written into the rule far more often than one granted on a separate line: about nine tries in ten against about one.
  • The babysitting bullet is removed. It described how to watch a pull request after opening it, and nothing else in the repository refers to it.
  • The after-merge bullet in "1.0 validation" is removed. It described what a maintainer does once a pull request merges, not something a contributor acts on.
  • The "Working from a plan" note is removed. It is a personal working preference, not a project rule.

This branch includes the commit from #3949, which adds a paragraph near the top of AGENTS.md, so that CI checks the two changes to that file together. Merge #3949 first; this pull request then adds only the changes described above.

Validation

  • Documentation only. make verify-local-paths, make verify-bidi, and make verify-case-collisions pass, on this change alone and on the tree combined with docs(agents): tell contributor agents to treat the code as someone else's #3949.
  • The 20 heading links between AGENTS.md, CONTRIBUTING.md, and docs/ai-contributions.md resolve, including AGENTS.md#writing and AGENTS.md#pull-requests.
  • Not run: the Go and Web gates. No code, generated file, or workflow changed.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-server/agents-md-trim/

No user-visible change. The page lists the checks above.

Risks

An agent that does not follow the pointer before adding a test or opening a pull request now sees less of the rule in AGENTS.md. Each pointer names the CONTRIBUTING.md section and says when to read it. silo-apple and silo-android carry older copies of the Writing and Pull requests sections; this change does not touch them.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code (in T3 Code)
  • Tool(s): Claude Code
  • Model(s): claude-fable-5-2
  • Involvement: Fully AI-generated; human review pending
  • Adversarial review: a separate claude-fable-5-2 agent, given the old and new files but not the author's reasoning, checked every removed sentence read-only (about 55). It found one meaning change (the /api/v2 additive-only rules read as binding before the 1.0 lock), three dropped details with no other home, and one pointer to the wrong CONTRIBUTING.md section. All five are fixed. It found no broken links, contradictions, or false statements.

🤖 Generated with Claude Code

Note

Remove rules duplicated between AGENTS.md and CONTRIBUTING.md

  • Trims detailed guidance from AGENTS.md that CONTRIBUTING.md already covers, and points readers there for the full validation gate, test selection, and the affected-cases PR requirement
  • Rewrites AGENTS.md sections on PRs, writing, and the API contract to be shorter; adds guidance to keep changes bounded and respect the project owner's decisions
  • Adds 1.0 validation instructions to CONTRIBUTING.md: list affected validation tasks and cases on the Validation tasks: line, and treat unintended breaks of passed cases as regressions
  • Clarifies that Closes and Related issue: lines must stay accurate if PR scope changes

Macroscope summarized affef0a.

Quick104 and others added 2 commits November 10, 2026 21:18
…se's

AGENTS.md did not say who owns the code. Coding agents act on that: told a
codebase is their own, current Claude models merge repeated code and make
related fixes nobody asked for. A contributor whose personal agent
instructions say that for their own projects would carry it into this
repository.

AGENTS.md now says the project owner decides how the codebase is built. An
agent whose own instructions do not say it works for the project owner
changes what the task needs, leaves the rest of the structure alone, and
reports nearby problems instead of fixing them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
AGENTS.md loads into every coding-agent session, and about a fifth of it
repeated what CONTRIBUTING.md already says: the pull request, evidence, and
issue-link rules, the test policy, and the lint guidance. Remove the repeated
text and point to the CONTRIBUTING.md section instead. AGENTS.md keeps what an
agent needs in every session and the rules with no other home.

CONTRIBUTING.md gains two pull-request-time rules that had no public home:
what the Validation tasks line is for, and keeping the Closes and Related
issue lines accurate when a pull request's scope changes.

Beyond removing repeats: the ask-first rule now names a workflow the developer
runs as asking, and the babysitting bullet, the after-merge validation
hand-off, and the "Working from a plan" note are gone because they describe
maintainer or personal workflow, not rules for every contributor.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@silo-triage silo-triage Bot added the size/L 200–499 added + deleted lines (all files); change volume, not priority. label Nov 11, 2026
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

AGENTS.md and CONTRIBUTING.md revise project development, validation, and pull-request guidance. The changes address documentation audiences, build and verification practices, validation cases, API contract wording, contribution eligibility, privacy, and evidence publishing.

Changes: Project and contribution guidance

Layer / File(s) Summary
Project and development guidance
AGENTS.md
Revises project priorities, documentation audiences, development checks, and the stated /api/v1 contract.
Validation case guidance
AGENTS.md, CONTRIBUTING.md
Adds instructions to identify affected validation tasks and cases, record them in PRs, and handle regressions or deliberate changes to validated behavior.
Pull-request requirements
AGENTS.md, CONTRIBUTING.md
Updates requirements for PR content, contributor eligibility, privacy, existing issue work, and evidence publishing.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

Suggested labels: documentation, needs-review

Suggested reviewers: blurbery

Merge Risk: Minimal · up to affef

The guidance updates have no identified merge-blocking issue. Normal documentation checks remain appropriate.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly describes the main change: removing rules duplicated between AGENTS.md and CONTRIBUTING.md.
Description check Passed The description is directly related to the documentation changes and explains the motivation, approach, validation, risks, and scope.
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 0 files. (2 skipped: 2 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 458334fa-c87a-44e9-a68f-a07e410308a8
Commits

Reviewing files that changed from the base of the PR and between 51b1e0a and affef0a.

Files selected for processing: 2

  • AGENTS.md
  • CONTRIBUTING.md

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

@silo-kody

silo-kody Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 4 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Preserve optional store capabilities through production wrappers
  • Detach mandatory cleanup from request cancellation and bound its lifetime
  • Preserve durable media identity and share identity-evidence precedence
  • Bound decoder throughput trades and share direct-play eligibility

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T02:22:58.133144Z 2b993ca PR opened
🔒 Security Review ✅ Completed 2026-11-11T02:24:28.742646Z 2b993ca 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.

@coderabbitai coderabbitai Bot added documentation Improvements or additions to documentation needs-review Needs maintainer review to resolve uncertain classification, scope, or changed evidence. labels Nov 11, 2026
@Quick104
Quick104 merged commit 5159df6 into main Nov 11, 2026
17 checks passed
@Quick104
Quick104 deleted the docs/agents-md-trim branch November 11, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation needs-review Needs maintainer review to resolve uncertain classification, scope, or changed evidence. size/L 200–499 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant