Fix AI instruction quality and bump apm-cli to 0.13.0#3515
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
WalkthroughFour APM prompt files and CodeRabbit config wording are updated; Makefile apm CLI version, apm.yml formatting/dependencies, apm.lock refresh, and generated MCP metadata headers are also changed. ChangesPrompt and Configuration Clarifications
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 |
|
Hi @not-stbenjam. 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 Regular contributors should join the org to skip this step. 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. |
514f91f to
7d70804
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.apm/prompts/sippy-generate-release-views.prompt.md:
- Around line 8-10: Unify the wording so the replacement scope is precise:
change both occurrences that currently say "replace 'ga' with 'now' in relative
dates" or mix fields to instead instruct only the exact fields relative_start
and relative_end to be updated when base becomes source release; update the two
lines shown and the other occurrence referenced (lines 62-63) so every
instruction consistently reads something like "When base becomes source release,
replace 'ga' with 'now' in relative_start and relative_end" to avoid
broad/ambiguous edits.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: b874d9a1-dc8a-4bb6-b94e-8163f5c46245
📒 Files selected for processing (4)
.apm/prompts/sippy-generate-release-views.prompt.md.apm/prompts/sippy-update-ga-release-views.prompt.md.apm/prompts/sippy-update-job-variant.prompt.md.coderabbit.yaml
7d70804 to
18525fb
Compare
18525fb to
e0f766a
Compare
|
/ok-to-test |
|
Scheduling required tests: |
Addresses 10 skillsaw lint warnings across .coderabbit.yaml and
.apm/prompts/ by:
- Removing hedging language ("ideally", "where possible") in favor
of direct requirements
- Moving critical instructions (NEVER, MUST, CRITICAL, IMPORTANT)
out of the attention dead zone (20-80% of file) to the first or
last 20% where LLMs pay more attention
Based on attention research (lost-in-the-middle) showing that LLMs
attend less to instructions in the middle of long contexts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update apm.yml to use the new 0.12.4 config schema (targets list, structured dependencies) and bump the Makefile pin. Recompile all generated output. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
These were generated but never committed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4766bb4 to
d92d9ad
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Scheduling required tests: |
| mode: warning | ||
| instructions: | | ||
| New or modified functionality should include test coverage where possible: | ||
| New or modified functionality must include test coverage: |
There was a problem hiding this comment.
These two seem very strict, but I guess we can tune if CR becomes too zealous
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: not-stbenjam, petr-muller The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@not-stbenjam: 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
.coderabbit.yamlin favor of direct requirementsapm.ymlto the current config formatIssues found by skillsaw, a linter for AI config files.
Test plan
skillsaw .passes with 0 errors and 0 warningsmake verify-apmpasses🤖 Generated with Claude Code