TRT-2655: Add APM docs instruction rule for keeping docs up-to-date#3509
TRT-2655: Add APM docs instruction rule for keeping docs up-to-date#3509redhat-chai-bot wants to merge 1 commit intoopenshift:mainfrom
Conversation
Adds a new .apm/instructions/docs.instructions.md rule that instructs AI coding assistants to keep documentation in sync with code changes: - Update relevant READMEs when setup, usage, or architecture changes - Update API docs when endpoints change - Update config docs when options, env vars, or CLI flags change - Consider updating .apm/instructions/ files for new conventions - Land docs and code together, never as a follow-up Compiled with apm-cli@0.11.0 (apm install && apm compile).
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@redhat-ship-help: This pull request references TRT-2655 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: redhat-ship-help The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @redhat-ship-help. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (2)
WalkthroughA new documentation guidance file is added to standardize when and how developers should update documentation during code changes, and the project lockfile is updated to track additional rule configuration files. ChangesDocumentation Guidance and Lockfile Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 16 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (16 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
/ok-to-test |
|
Scheduling required tests: |
|
@redhat-ship-help: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
Adds a new
.apm/instructions/docs.instructions.mdrule that instructs AI coding assistants to keep documentation in sync with code changes.What the rule enforces
pkg/api/README.mdwhen API endpoints are added, removed, or modifiedconfig/README.mdor the root README when configuration options, environment variables, or CLI flags change.apm/instructions/files when new conventions, workflows, or tooling are introducedChanges
.apm/instructions/docs.instructions.mdapm install && apm compile(apm-cli@0.11.0):AGENTS.md,CLAUDE.md,apm.lock.yaml.claude/rules/docs.md,.cursor/rules/docs.mdcJira: https://redhat.atlassian.net/browse/TRT-2655
Summary by CodeRabbit
Documentation
Chores