chore(agents): add verbatim dd-apm-sdk-review skill copy - #4190
robertomonteromiguel wants to merge 4 commits into
Conversation
Mirror dd-apm-sdk-review-core 56f6341 under .agents/skills and expose it to Claude/Cursor via symlinks. Co-authored-by: Cursor <cursoragent@cursor.com>
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 15 Pipeline jobs failed
ℹ️ InfoNo other issues found (see more)🧪 All tests passed 🎯 Code Coverage (details) Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: c3d52cd | Docs | View more details | Give us feedback! |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f4f30d666
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Drop the security lens; local review is on-demand.
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fe32d02f18
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Benchmarks [ tracer ]Benchmark execution time: 2026-09-16 09:35:45 Comparing candidate commit c3d52cd in PR branch Found 1 performance improvements and 3 performance regressions! Performance is the same for 189 metrics, 1 unstable metrics.
|
First-parent stacked parent, Cross-SDK system-tests/docs evidence.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c3d52cd0a9
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c3d52cd0a9
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| if [ "$_ahead" -lt "$_default_ahead" ]; then | ||
| if [ -z "$_best_ahead" ] || [ "$_ahead" -lt "$_best_ahead" ]; then | ||
| _best_ahead=$_ahead | ||
| _best_oid=$_oid | ||
| _best_name=$_name |
There was a problem hiding this comment.
Confirm inferred stacked parents before truncating the diff
When a no-PR branch has any differently named local or DataDog-remote branch pointing at an intermediate first-parent commit—for example, a leftover scratch branch—this loop selects that ref solely because it is closer than the default branch. infer_local_target then reviews only the commits after that ref, silently omitting earlier commits from the change set; the later “ask if it looks wrong” message does not pause the review. Require confirmation before using an inferred parent, or limit candidates to refs with stronger evidence that they are the intended stack base.
Useful? React with 👍 / 👎.
|
|
||
| emit_diff_or_redact "PR title" printf '%s\n' "PR title: ${PR_TITLE:-<none>}" | ||
| emit_diff_or_redact "PR labels" printf '%s\n' "PR labels: ${PR_LABELS:-<none>}" | ||
| emit_diff_or_redact "recent commit subjects" git log --oneline -5 |
There was a problem hiding this comment.
Collect subjects from the actual review range
For any change whose committed range is not exactly the last five commits, this supplies the wrong metadata: older in-range subjects are omitted, while a shorter or stacked change includes subjects from its parent branch. Because the coherence lens explicitly checks commit-message claims against the diff, it can consequently miss contradictions or report an unrelated parent commit. Resolve the merge base first and scan git log --oneline "$BASE"..HEAD instead.
Useful? React with 👍 / 👎.
What does this PR do?
Adds a verbatim copy of the shared
dd-apm-sdk-reviewskill so local agents can load it from disk.56f6341).agents/skills/dd-apm-sdk-review/plus Claude/Cursor skill links* @DataDog/apm-php @DataDog/apm-php-corealready covers.agents/This is PR 1 of 2. PHP-specific overrides,
AGENTS.md, and the eval gate land in the follow-up stacked on this branch.Motivation
Same split as the other tracers: PHP reviewers should not be asked to read the shared skill copy. Repo-owned rules live in the stacked PR.
Additional Notes
How to review
.agents/skills/dd-apm-sdk-review/. That is a mirror of dd-apm-sdk-review-core#1.Do not merge this PR on its own — land it with the overrides follow-up.
Reviewer checklist
Made with Cursor