Skip to content

Fix review findings in the agent instructions - #1454

Merged
rohan-pandeyy merged 3 commits into
AOSSIE-Org:mainfrom
rohan-pandeyy:fix/agent-kit-review
Aug 3, 2026
Merged

rohan-pandeyy merged 3 commits into
AOSSIE-Org:mainfrom
rohan-pandeyy:fix/agent-kit-review

Conversation

@rohan-pandeyy

Copy link
Copy Markdown
Member

Addresses the 7 review comments left on #1453. They were all about the agent
instruction files from #1408, which is already merged, so they are fixed here against
main instead of in the album PR.

What changed:

  • npx skills add ran unpinned and installed from a repo's default branch. Both move on
    their own, so a skill could change the instructions an agent follows here after someone
    had approved it. The installer is pinned now and the skill needs a reviewed tag or
    commit, recorded in the provenance table.
  • The pre-PR check said it ran the same checks as CI but left out both PyInstaller builds,
    treated the agent hook tests as optional, and listed cargo test without saying no
    workflow runs it. You could pass everything locally and still fail the build. The backend
    endpoint playbook was missing the same builds.
  • markdownlint-cli2 is pinned to 0.22.1, the version CI's action uses. Bare npx resolves
    to 0.23.2 today, so the documented local command was checking against a different release
    than the one deciding the build.
  • The area AGENTS.md files gave commands with no working directory while the root file says
    everything runs from the repository root. The backend one only worked from inside
    backend/. All wrapped now.
  • Codex does support hooks, via hooks.json or an inline [hooks] table, so the note now
    says this repository configures none rather than that the feature does not exist.
  • The hook test header still named the workflow the Linting job lived in before it moved to
    lint.yml.

Docs only, plus one comment line in scripts/agent-format-hook.test.mjs. Hook tests still
pass 53/53, and markdownlint at the pinned version reports nothing in committed files.

One nitpick from that review is not taken: moving the Agent hook tests step below
Install frontend dependencies in lint.yml. The test only asserts excluded paths are left
alone, which needs no formatter, and running it before npm ci is deliberate so it fails
fast.

The adoption instructions ran `npx skills` with no version and installed
from a repo's default branch. Both move on their own, so a skill could
change the instructions an agent follows here after someone had read and
approved it, and the installer itself could change underneath that.

Pin the installer and require a reviewed tag or commit for the skill,
recorded in the provenance table so an update means re-reading rather
than bumping a number.
The skill claimed to run the same checks as CI while leaving out both
PyInstaller builds, treating the agent hook tests as conditional, and
listing cargo test without saying no workflow runs it. Someone following
it could pass every gate locally and still fail the build.

Add the frozen builds to this skill and to the backend endpoint playbook,
make the hook tests unconditional, and say plainly that cargo test is
extra rather than a gate. Pin markdownlint to the version the CI action
uses, since bare npx currently resolves to a newer release than CI runs.
The area AGENTS.md files gave commands with no working directory while
the root file says everything runs from the repository root, so the
backend one only worked from inside backend/ and the others quietly left
you in the wrong directory. Wrap them the way the root file does.

Also: Codex does support hooks, through hooks.json or an inline [hooks]
table, so say this repository configures none rather than that the
feature does not exist. And the hook test named the workflow the Linting
job lived in before it moved to lint.yml.
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

⚠️ No issue was linked in the PR description.
Please make sure to link an issue (e.g., 'Fixes #issue_number')

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@rohan-pandeyy, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 6 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 5a59f930-63f7-4097-af20-9220a143dab8

📥 Commits

Reviewing files that changed from the base of the PR and between c37479e and e0a8894.

📒 Files selected for processing (11)
  • agent-kit/README.md
  • agent-kit/providers/codex.md
  • agent-kit/references/ci-gates.md
  • agent-kit/references/third-party-skills.md
  • agent-kit/skills/add-backend-endpoint/SKILL.md
  • agent-kit/skills/pre-pr-check/SKILL.md
  • backend/AGENTS.md
  • docs/ai-contributing.md
  • frontend/AGENTS.md
  • frontend/src-tauri/AGENTS.md
  • scripts/agent-format-hook.test.mjs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@rohan-pandeyy
rohan-pandeyy merged commit f4de118 into AOSSIE-Org:main Aug 3, 2026
11 checks passed
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