Skip to content

feat: adding instructions to review producer code for Marlin 2.0#143

Merged
derekmisler merged 3 commits into
docker:mainfrom
thalesravelli:adding_reviewer_marlin_2
Apr 23, 2026
Merged

feat: adding instructions to review producer code for Marlin 2.0#143
derekmisler merged 3 commits into
docker:mainfrom
thalesravelli:adding_reviewer_marlin_2

Conversation

@thalesravelli

@thalesravelli thalesravelli commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a reference guide (review-pr/agents/refs/marlin_v2_producer_code_review.md) that instructs the AI PR review agent how to analyze pull requests in Marlin SDK producer repositories — code that imports the generated Marlin SDK and calls track() to emit analytics events.

What's in the guide
The agent will now detect Marlin SDK usage (Go, TypeScript, Python) and run an 11-point checklist covering: PII field sourcing, string kind correctness, required fields, enum usage, platform context alignment, UGC handling, flow event action discriminators, timestamps, identity graph correctness, event firing patterns, and companion doc alignment.

Each finding is classified as FAIL (blocking) or WARN (advisory), and the agent produces a structured Marlin SDK analysis block as a top-level review comment with severity levels (High / Medium / Low).


Tip

Comment /review to trigger the PR Reviewer agent for automated feedback.
Comment /describe to generate a PR description.

@thalesravelli
thalesravelli requested a review from a team as a code owner April 21, 2026 11:57
@thalesravelli

Copy link
Copy Markdown
Contributor Author

/review

@docker-agent

docker-agent Bot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

⏭️ Review skipped — another review for this PR is already in progress (started 30s ago). Only one review runs at a time to avoid duplicate comments. The in-progress review will post its results when complete.

@docker-agent docker-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🔴 CRITICAL

This PR adds a new Marlin SDK producer code review guide. 7 issues found in the added content — 1 high-severity self-contradiction that renders multiple blocking FAIL checks unenforceable, and 6 medium-severity logic/consistency issues.

Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md Outdated
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md Outdated
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md
@thalesravelli

Copy link
Copy Markdown
Contributor Author

/review

@docker-agent docker-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🔴 CRITICAL

⚠️ Note: The verifier agent exhausted its context budget and returned no verdicts. The findings below are from the drafter's static analysis of the diff and have not been independently verified. They are surfaced here for the author's evaluation.

This PR adds a Marlin SDK producer review guide with 11 checklist sections. Static analysis identified 2 HIGH and 3 MEDIUM issues in the added content that could cause the AI review agent to produce contradictory, incomplete, or incorrect review output. See inline comments for details.

Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md Outdated
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md Outdated
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md
Comment thread review-pr/agents/refs/marlin_v2_producer_code_review.md
@derekmisler
derekmisler merged commit b04c7e3 into docker:main Apr 23, 2026
14 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.

2 participants