You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,3 +58,14 @@ This file contains instructions for the Codex agent and its friends when working
58
58
- Prefer importing or mirroring conventions from these modules instead of redefining local ad-hoc shapes.
59
59
- Use imported types for id, analytics, and rtd modules as well whenever possible.
60
60
- Always define types for public interface to an adapter, eg each bidder parameter.
61
+
62
+
## Review guidelines
63
+
- Use the guidelines at PR_REVIEW.md when doing PR reviews. Make all your comments and code suggestions on the PR itself instead of in linked tasks when commenting in a PR review.
64
+
- Use the module rules at https://docs.prebid.org/dev-docs/module-rules.html
65
+
- Discourage application/json calls, they cause preflight options calls with induced delays over text/plain
66
+
- Make sure people are importing from libraries and our methods whenever possible, eg on viewability or accessing navigator
67
+
- Bidder params should always only override that information coming on the request; bidders should never make someone specify something that is generally available in an ortb2 field on the request in bidder params unless they need an override.
68
+
- Bidders asking for storage access and setting an id in local storage redundant with the shared id is discouraged, they should document why they need to do this odious behavior
69
+
- Submodules need to register in submodules.json
70
+
- No one should be accessing navigator from vendor modules, if navigator needs to be accessed it should be in a common method or library
71
+
- Low priority calls should be import ajax method and use fetch keepalive; they shouldnt use trigger pixel when it can be avoided or fail to specify keepalive.
0 commit comments