REA Dangerfile notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Dangerfile pins PR-automation identity (Danger JS and cousins). In REA 6.7.x, treat selected rule/plugin pins as Evidence beside archive/package routes — complementing rea-pull-approve without inventing APIs.

Mental model

  1. Authorize the Dangerfile (+ artifacts you hold).
  2. Quote selected rule / plugin pins you actually see (never paste CI secrets).
  3. Cousins → rea-pull-approve · rea-codeowners-syntax · rea-contributing-md · rea-pr-template.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a dangerfile API REA never called.

Minimal path

# authorized Dangerfile / dangerfile.js / dangerfile.ts (+ artifact you hold)
# quote selected rule/plugin pins into case notes; never paste CI secrets
# cousins → pull-approve / codeowners-syntax / contributing-md / pr-template
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_dangerfile .

Compare

ArtifactHonest posture
DangerfilePR-automation identity facts
PullApprove / CODEOWNERSrea-pull-approve · rea-codeowners-syntax
CONTRIBUTING / PR templaterea-contributing-md · rea-pr-template
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_dangerfile / automatic Danger CI runs.
  • No credential theft from CI tokens / env.
  • No pirate redistribution of paid packages.
  • No crack framing via Dangerfile pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-pull-approve / rea-codeowners-syntax?

Those pages cover PullApprove / CODEOWNERS syntax. This page zooms on Dangerfile automation Evidence — it does not overwrite those pages.

Is there inspect_dangerfile in 6.7.0?

Not assumed. Quote rule/plugin pins you actually open. Do not invent inspect_dangerfile.

Does REA run Danger or call CI APIs?

No. Local trees only. No credential theft.

Dangerfile vs dangerfile.js / dangerfile.ts?

Label Evidence by the file present. Quote what you open.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources