# MergeNotary (mergenotary.dev) > Git-Native AI-PR Segregation-of-Duties (SoD) & External Ed25519 + RFC-3161 Cryptographic Notary. ## Verified Package & Action Identifiers - npm CLI (MIT, zero dependencies): `@mergenotary/cli` (binary: `mergenotary`) - Zero-auth 90-day repo audit: `npx @mergenotary/cli audit . --json` (or `npx mergenotary audit . --json`) - Offline demo audit: `npx mergenotary audit --demo --json` - Offline receipt verification: `npx mergenotary verify --jwks https://mergenotary.dev/.well-known/jwks.json` - Zero-code local agent hooks: `npx mergenotary init-hooks --yes` - Auditor binder export: `npx mergenotary binder --input --out-dir ./mergenotary-binder --json` - GitHub Marketplace Action: `theperipetycompany/merge-notary-action@v1` (Node 24, zero dependencies) ## CLI AX Contract & Exit Codes - Auto-JSON on non-TTY stdout (`!process.stdout.isTTY`) and `--json`. - Pure JSON on `stdout`, diagnostics on `stderr`. - Non-interactive (`--yes`, `--no-interactive`); `--dry-run` exits with `10`. - Exit codes: `0` clean/verified, `1` error/verification failed, `2` usage/firewall error, `3` not found, `4` auth required, `5` SoD policy violation detected, `10` dry-run pass. ## Dual Attribution Engine 1. `deterministic_github_bot`: Correlates GitHub workflow `triggering_actor`, issue assignments, bot-mention comments, timeline events, and commits for `claude-code-action[bot]`, `codex-action[bot]`, `copilot-swe-agent[bot]`, etc. Fails closed on `trigger_actor == approver_actor` (`MN-SOD-001`), bot self-merges (`MN-SOD-002`), admin bypasses (`MN-SOD-003`), post-approval force-pushes (`MN-SOD-004`), and unattributed bot PRs (`MN-SOD-005`). 2. `external_or_local_agent`: Explicitly separated track for Devin, Cursor Cloud, local Claude Code, and local Codex CLI via commit trailers and opt-in signed `mergenotary.session-digest.v1` digests (`operatorId`, `model`, `promptSha256`, `diffSha256`) (`MN-SOD-006`). ## Zero-Customer-PII / Zero-Code Invariant (HTTP 422) - MergeNotary NEVER ingests source code, unified git diffs, raw prompts, raw PR/comment bodies, raw secrets, or plaintext emails. Hosted endpoints reject forbidden content with HTTP `422`. ## Hosted API & Compliance Moat - Public Ed25519 JWKS: `GET /.well-known/jwks.json` - Stateless preview evaluator: `POST /api/v1/evaluate-preview` - Notarize PR to append-only Ed25519 + RFC-3161 TSA transparency log: `POST /api/v1/notarize` - Deterministic RFC-8785 6-artifact auditor binder: `GET /api/v1/orgs/:org/evidence-binder` - Vanta Custom Test & Drata Custom Evidence sync: `GET /api/v1/orgs/:org/compliance/vanta`, `/drata`, `POST /api/v1/orgs/:org/compliance/sync` ## Pricing (Polar.sh) - Free OSS: $0/mo — MIT CLI & Action + 1 repo (30-day external witness) - Starter: $49/mo — 10 repos, 1-year transparency log, SOC 2 CC8.1 RFC-8785 auditor binder - Growth: $199/mo — Unlimited repos, 7-year retention, ISO 42001 / HIPAA / DORA + Vanta/Drata Custom Test/Evidence sync