Repository navigation
chore(agents): add dd-trace-java overrides for dd-apm-sdk-review - #12460
robertomonteromiguel wants to merge 31 commits into
Conversation
Mirror the shared skill plus Claude/Cursor links. Repo-specific overrides and the perf-review replacement land in the follow-up.
Repo-specific reviewer facts, AGENTS.md hook, llm-validation suite, and replace the retired perf-review skill. Stacked on the verbatim skill copy.
The previous commit copied .gitlab-ci.yml from the old combined branch and dropped unrelated master changes.
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! 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". |
This comment has been minimized.
This comment has been minimized.
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
Bring in the portable gh --repo pin, optional repo-context, and .claude/.cursor instruction-only shortcut without tracer-specific edits.
Keep the stacked overrides branch on the latest verbatim skill copy.
Use the current platform SHA for the GitLab include and the job clone.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f8f15a0d73
ℹ️ 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".
Load the data-not-instructions rule before repo-context.md.
Keep the stacked overrides branch on the latest verbatim skill copy.
Evaluate crash-handler ordering as a security-lens report, not the orchestrator's redacted output. Require firstSpanWritten to reset on the payload-flush hook, not at every map().
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7a96d17e1f
ℹ️ 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".
Scan PR title, labels, and commit subjects before printing, using the same SECRET_GREP path as the diffs.
Don't flag feature-flagging modules against an aspirational -lib split; point J1 at EscapeShapeBenchmark; make the HashMap fixture lookup-only. Also merge the skill-copy secret-scan sync.
…robertomonteromiguel/dd-apm-sdk-review-java-overrides
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 84bb97ad43
ℹ️ 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".
LLM ValidationLLM Validation Gate — dd-apm-sdk-review✅ PASS
AnalysisChanged instruction file(s): No safety or blocking-case regressions across 7 case(s). Overall pairwise win-rate 70% [61%–78%], quality +4.6 — see the verdict above for whether that clears the noise band. Results
Cases
Per-dimension scores, token usage, latency, and estimated cost are in the CI job logs. |
Auto-instrumentations still require InstrumenterModule; product transformers do not. The full-review fixture now states the J10/J12 preconditions the performance override already requires.
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. 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". |
…robertomonteromiguel/dd-apm-sdk-review-java-overrides
Verbatim copy: binary secret-scan fail-closed, LC_ALL=C git diff, and private routing for no-harness security findings.
…robertomonteromiguel/dd-apm-sdk-review-java-overrides
The full-skill run was losing the gate to an uninstructed baseline. Evaluate firstSpanWritten the same way as the JS correctness cases.
The security override already calls this P0; the eval case should not accept P1.
Drop the security lens; local review is on-demand.
Codex security covers that lane. Local skill runs on demand; GitHub Codex follows review-without-harness.md.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a41fdff152
ℹ️ 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".
First-parent stacked parent, Cross-SDK system-tests/docs evidence.
Take the verbatim skill from the copy so the stacked PR no longer conflicts on SKILL.md / reviewers.
Pick up 22 commits including the perf-review update so the stacked copy PR is not stale against master.
Copy now includes master. Keep the perf-review deletion from this branch; that replacement is the overrides PR, not the verbatim copy.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bf40eaddb1
ℹ️ 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".
Restore the @NoEscape field-storage check the retired perf-review skill owned, split Agent.start() from the very-early premain ban, and stop treating a source-level Optional return as proven escape. The lens eval now requires a cache bound and covers J10; the README gate count is 7. Co-authored-by: Cursor <cursoragent@cursor.com>
The gate lost to a baseline that reviewed TraceMapperV0_4.java, where reset() already clears firstSpanWritten. Keep the bug in the snippet. Co-authored-by: Cursor <cursoragent@cursor.com>
Back-test: new Performance lens vs. existing perf-review corpusI ran the new Result: ~19–20 of 21 correct.
No SEV-1 misses, no false-positive spam. Comparable to (or slightly better than) the old 🤖 Generated with Claude Code |
What does this PR do?
Adds the dd-trace-java layer on top of the shared skill copy.
.agents/dd-apm-sdk-review-overrides/— Java reviewer facts (performance, conventions, design, security, maintainability, repo context)AGENTS.md— short hook: local agents run the skill; Codex readsreview-without-harness.md.llm-validation/— cases that exercise those rules, plus the GitLab"llm validation"include/perf-reviewskill (deleted here; its Java-specific rubric lives in the performance override)Stacked on the core-copy PR. Shared skill source: dd-apm-sdk-review-core#1.
Motivation
This is the half of #12364 that Java reviewers should actually read.
Additional Notes
How to review
.agents/dd-apm-sdk-review-overrides/AGENTS.mdReview Guidelines block.llm-validation/if you care about the gate.agents/skills/dd-apm-sdk-review/— that is the parent PR / core repoMerge with the parent skill-copy PR, not as a standalone.
Made with Cursor