Crafter.Review/process/templates/config.json
Jorijn van der Graaf febbfc3fcc
feat(lenses): the commit-truth lens, repo-facts, as Gate 4
Every claim in every commit message, and in the documentation the range
adds or changes, proven or gone. The lens's block kinds are text, doc and
slot: a message unit is keyed on its text, the base and the code up to its
commit (MessageDeps); a documentation unit on its file, its normalised
text, the base and the code of the whole range (DocKeyParts); a diffstat on
its text alone; whole:order and whole:absent are asked in slot passes of
its own, never stored. A documentation file's diff header and a part the
commit writes nothing in are a mechanical n/a. Budgets 60/40 for a text or
doc block, 50/35 for a slot; one read. Gate 4, after the proofs, so the
messages and documents are read once the code they describe has settled;
the owner's gate is 5.

The goldens that follow from the lens table are derived by
tests/Goldens/derive.py, which asserts that the recorded table still
reproduces the recorded entries before it writes.

Proven, with the opt-in commit after this one: the suite (26 passed); a dry
run of a scratch range (2 commits, a README with sections) by the previous
binary and this one with the three static lenses on and the rest off, 25
prompts and 4 system files byte for byte; with repo-facts on as well,
those files unchanged and 10 passes and 1 system file added.
The lens's firing proof in this pipeline is owed (the owner's go).
2026-10-31 20:08:26 +01:00

74 lines
1.4 KiB
JSON

{
"base": "origin/main",
"rangeFrom": "upstream",
"authors": [
"you@example.com"
],
"aiTrailers": "forbid",
"requireSigned": false,
"allowDirty": [],
"gate0": [
"make check"
],
"lenses": {
"repo-better-solution": {
"run": true,
"environment": "none"
},
"repo-functional": {
"run": true,
"environment": "browser"
},
"repo-bug-prover": {
"run": true,
"environment": "none"
},
"repo-security": {
"run": true,
"environment": "none"
},
"repo-facts": {
"run": true,
"environment": "none"
}
},
"supabase": {
"dbUrl": "postgresql://postgres:postgres@127.0.0.1:54322/postgres",
"start": null,
"stop": null,
"notes": ""
},
"slots": {
"dir": null,
"start": null,
"stop": null,
"memMb": null,
"startMb": null
},
"functional": {
"appUrl": "http://localhost:8080",
"readyPath": "/",
"apiUrls": [],
"start": "make run",
"stop": "make stop",
"login": {
"fixtures": [
".local-stack/test-user.json"
],
"notes": "the fixture holds a TOTP-verified login"
},
"exclude": [
"**/*.test.*",
"**/*.spec.*",
"docs/**",
".github/**",
"*.md"
],
"extraTools": [],
"mcp": {
"command": "npx",
"args": null
},
"notes": ""
}
}