Skip to content

docs(agents): commit the AGENTS.md files, rewritten around invariants - #411

Merged
devswha merged 2 commits into
mainfrom
docs/agents-md
Oct 3, 2026
Merged

devswha merged 2 commits into
mainfrom
docs/agents-md

Conversation

@devswha

@devswha devswha commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Change

AGENTS.md was a note kept only in the maintainer's checkout, excluded through .git/info/exclude. A git worktree therefore had none of it, and an agent working in one got no project rules at all. The root file had also grown to 22 KB, more than agent harnesses load, so the part that was cut off was the list of things never to do.

This PR commits the three files, rewritten:

  • AGENTS.md (22 KB to 8 KB): the bridge invariants with their reasons first, then contract changes, conventions the code does not show, testing rules and the maintainer workflow. Project overview, directory and command lists, the env table and release steps are gone; they are in docs/development.md and CONTRIBUTING.md.
  • server/AGENTS.md and src/AGENTS.md: the rule sections now come before the "where to look" table, and table rows that only described the UI or repeated a rule are shortened or removed.
  • Stale statements are fixed: the version, the new-workspace shortcut (O, not N), translations (ko, ja and zh, not ko alone), "New workspace" wording, Windows running without a pty.

Because the files are now committed, the places that called them local notes say so: CONTRIBUTING.md, .github/REVIEW.md, the four READMEs, docs/development.md and .coderabbit.yaml. CodeRabbit already listed **/AGENTS.md as a guideline source.

No code changes, and no changelog entry: nothing a user of the app notices.

Validation

  • Statements in the new root file were checked against the code, ci.yml and the branch protection of main (shortcut table, i18n files, required checks, test session names, the needsHerdr split).
  • .coderabbit.yaml still parses.
  • The committed files contain no workstation paths or host names (git grep for them finds nothing).

@coderabbitai

coderabbitai Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 937a4306-f021-4a14-8b04-9a277bf82d8d
📥 Commits

Reviewing files that changed from the base of the PR and between 12657e1 and d4fda38.

📒 Files selected for processing (11)
  • .coderabbit.yaml
  • .github/REVIEW.md
  • AGENTS.md
  • CONTRIBUTING.md
  • README.ja.md
  • README.ko.md
  • README.md
  • README.zh-CN.md
  • docs/development.md
  • server/AGENTS.md
  • src/AGENTS.md
 _______________________________________________________________________________________________________
< Make it easy to reuse. If it's easy to reuse, people will. Create an environment that supports reuse. >
 -------------------------------------------------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@devswha
devswha merged commit 8c1bb96 into main Oct 3, 2026
11 of 12 checks passed
@devswha
devswha deleted the docs/agents-md branch October 3, 2026 20:09
devswha added a commit that referenced this pull request Oct 4, 2026
Bumps package.json and herdr-plugin.toml to 0.3.49 and moves the
Unreleased notes under [0.3.49] - 2026-10-04, with the compare link.
Every entry already carries its PR link and contributor credit. Raises
the remote PC bundle to 16: a runtime notice is titled by its own first
line on a remote PC too (`source` on the notice part, #418), and the
Antigravity meter reads the token file on a Linux PC (#399). Push the
`remote-v16` tag and let the bundle workflow publish before running
release.yml.

Carries #357, #399, #411, #413, #415, #414, #416, #417, #418, #346.
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