Skip to content

chore(docs): update AGENTS.md to reflect recent changes - #136

Merged
RedStar071 merged 1 commit into
mainfrom
claude/wonderful-fermi-69j0oi
Nov 23, 2026
Merged

RedStar071 merged 1 commit into
mainfrom
claude/wonderful-fermi-69j0oi

Conversation

@RedStar071

@RedStar071 RedStar071 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Context

Weekly AGENTS.md review of PRs merged into main in the last 7 days
(#128–#131).

What changed and why

  • .github/copilot-instructions.md — the "Internal API" key pattern and
    "API Route Structure" section said plugin-api infers a route's path and
    method from its file location. That's no longer accurate (if it ever was):
    fix: build Ring's image and serve its routes again #130 found all ten existing routes were missing explicit route/methods
    options and were 404ing in production as a result. Corrected the
    description, the code example, and added a second "non-obvious gotcha"
    entry for it, since this is exactly the kind of silent failure the existing
    gotcha about route name collisions already warns about.
  • Noted that the Dockerfile's builder stage also runs pnpm exec stars prepare before prisma:generate/build now (fix: build Ring's image and serve its routes again #130), next to the existing
    Troubleshooting entry about that same step in CI.
  • Noted the new semantic-pull-requests.yml workflow (ci: post sticky comment on invalid PR title #128): PR titles
    follow Conventional Commits with a lowercase subject, and CI posts/removes
    a sticky comment on failures. Added a one-line mention to both
    AGENTS.md's quick reference and copilot-instructions.md's commit
    message section.

#129 (raising Staryl's free limits, adding a Reddit limit) and #131 (dropping
an unused Kodiak config block) didn't need any documentation changes — the
existing limits.ts file reference already covers #129, and #131 is internal
CI config with no agent-facing convention.


Generated by Claude Code

RetriggerView in GreptileConfidence Score: 5/5

This documentation-only PR appears safe to merge.

Reviews (1) · Last reviewed commit: "docs: update AGENTS.md to reflect recent..." · Reviewed by Greptile

Routes now need explicit `route` and `methods` options — PR #130 found all
ten existing routes were missing them and 404ing in production, because
plugin-api never inferred the path/method from the file name as the docs
claimed. Also note the Dockerfile's `stars prepare` step and the new
semantic-pull-requests PR title lint (#128).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016cicF4DnR42LTcwkyF9LMM
@coldtea-pr-lens

Copy link
Copy Markdown

Note

The title starts with chore(docs):, so PR Lens left this pull request undrawn. Comment @pr-lens draw to draw it

github.comment.notice: false in .github/pr-lens.yml turns this note off

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Approach: sound — the docs now match how routes are actually registered, and the new notes sit next to the existing related gotchas.

Reviewed changes

Reviewed the full diff of both files. I checked each factual claim against the repo.

  • Route registration docs (.github/copilot-instructions.md): the "Internal API" bullet and "API Route Structure" section now say route and methods are passed explicitly to super(), and file location is only a convention. The example constructor and a second "non-obvious gotcha" were added. Every route in src/routes/ sets both options, and the plugin-api router registers routes through route.methods.
  • Dockerfile note (.github/copilot-instructions.md): the Troubleshooting entry now mentions that the builder stage runs pnpm exec stars prepare. This matches Dockerfile:55.
  • PR title linting (.github/copilot-instructions.md, AGENTS.md): the lowercase-subject rule and the sticky comment are described correctly. They match semantic-pull-requests.yml (subjectPattern: ^(?![A-Z]).+$, comment posted on error and deleted once the title is valid).

Pullfrog  | View workflow run | Using claude-sonnet-5-5 | 𝕏

@RedStar071
RedStar071 merged commit 350e4bb into main Nov 23, 2026
12 of 13 checks passed
@RedStar071
RedStar071 deleted the claude/wonderful-fermi-69j0oi branch November 23, 2026 17:02
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