build: add the pre-push review's configuration

.review-gates/config.json configures Crafter.Review's pre-push review
for this repository. Its commits mode lists four lenses:
repo-better-solution, repo-bug-prover, repo-security and repo-facts.
For each it names a section of this repository's own, under
.review-gates/lenses/. It sets requireSigned, forbids AI attribution
trailers, and lists fourteen gate0 commands: the version check, the
tests, a build of each product and five lint runs. It names no
authors: a patch that came by mail, as the README asks for one, keeps
its author.

One of the five lint runs is new to the guide: the daemon's, whose
sources list implementations/nostrod.cpp, which the other four's do
not. "Code style" and the command list name it.

.gitignore gains the review's two generated directories.

AGENTS.template.md gains the directory in its table and two commit
guidelines about the review, puts the review into the release recipe
before the tag, names the two generated directories among what is never
committed, and loses the sentence that asked for a Co-Authored-By
trailer on a commit an agent wrote.
This commit is contained in:
Jorijn van der Graaf 2026-11-21 06:39:19 +01:00
commit 564fcdfe0e
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB
7 changed files with 372 additions and 4 deletions

2
.gitignore vendored
View file

@ -2,3 +2,5 @@ bin/
build/
# written by every build from AGENTS.template.md
/AGENTS.md
.review-gates/push/
.review-gates/trees/