Skip to content

CheckR documentation

CheckR attaches versioned checklists to Salesforce records and gates record saves on them. Start with the project README for setup, then use the guides below for the details of one area.

Admins and operators

  • Installation: prerequisites, package install, permission sets, enabling an object with a trigger shim and its test, upgrade, uninstall order, and troubleshooting.
  • Admin guide: chaptered, with screenshots: install, enabling an object, authoring templates, gate rules, publishing, working a checklist, bypass, audit history, reports, and troubleshooting.
  • Template version publishing: admin steps for publishing a Draft version and what becomes immutable.
  • Gate bypass operations: temporary bypass, hierarchy settings, and audit review.
  • Records and retention: append-only audit history, deletion controls, and manual archiving.
  • Operational reporting: open checklists by template and age, recent audit activity, gate bypasses, and the CheckR Operations dashboard.
  • Runbooks: incident procedures, starting with users can’t save records because of a gate.

Reference

  • Architecture: Apex layers, data-access seams, the system-mode sites table (checked by npm run test:system-mode), template version lifecycle, gate evaluation, and test tiers.
  • Security: permission sets and the generated object access table, org-wide defaults and their rationale, system-mode sites, bypass, audit, and vulnerability reporting.
  • Object model: every CKR_ object, field, sharing model, and relationship, checked against metadata by npm run test:object-model.
  • Platform constraints: gate cost, one instance per record and template, ungated inserts, trigger shims, string value matching, and AER limits.

Development and release

  • Testing, gate, and CI: the no-org suite, Code Analyzer (npm run analyze), scripts/gate.mjs, the CI jobs, commit hooks, toolchain pins, and AER known issues.
  • Org evidence: explicit real-org validation and latest runs, with scenario prerequisites and assertions.
  • Packaging: the unlocked checkr package, why it has no namespace, version numbering, cutting a beta with publish sf beta, the evidence a version needs, and promotion.
  • Release: package versions, the public snapshot, and pre-release verification.
  • Contributing, code of conduct, security policy, changelog, and license.