.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.
61 lines
3.4 KiB
Markdown
61 lines
3.4 KiB
Markdown
## This repository: Nostro
|
|
|
|
- A claim that a tree passes the version check, the tests or lint, or
|
|
builds a product, traces to the Gate 0 log among the evidence paths
|
|
INPUTS names: each command with its exit code and the sha it ran at.
|
|
A claim of a run anywhere else traces to a capture of that run that
|
|
names the commit, or is unverifiable: bunq's sandbox or production, a
|
|
phone, a compositor or a look at the window (which screens, at which
|
|
sizes, on what), a polkit agent's dialog, the installed Flatpaks and
|
|
system files, the aarch64 cross build, CI, the coverage figures
|
|
(`tests/coverage.sh`), a session of the `--debug-api` build.
|
|
- The guide asks a commit to say how a bug was reproduced, how a
|
|
connector was tried against the bank and how a change to a screen was
|
|
looked at. Each such sentence is a tested claim by the rule above,
|
|
not a formality.
|
|
- A test a message names is a name in `project.cpp`'s lists and a
|
|
`tests/<Name>/main.cpp` whose checks pin what the message says. The
|
|
tests talk to a fake bunq and a fake system bus of their own
|
|
(`tests/Support/`): a passing test shows what nostro does with what
|
|
the fake answers, never what bunq, polkit, logind or a compositor
|
|
does.
|
|
- `AGENTS.md` is generated from `AGENTS.template.md` and the
|
|
dependencies' `AGENTS.consumer.md` and is not in the tree: a claim
|
|
about it is checked against those sources. `AGENTS.consumer.md`
|
|
reaches the agents of the library's consumers on their next build:
|
|
every sentence in it is a claim about the code at the commit that
|
|
writes it.
|
|
- The guide dates what it records ("on 2026-11-19 ..."). A dated
|
|
sentence the range adds claims that the thing was done, seen or
|
|
decided that day, which is no later than its commit's date, and what
|
|
it says was run or seen traces like any tested claim.
|
|
- A claim about a contract is checked against the contract:
|
|
- the wire against `packaging/dbus/*.xml` and the method tables in
|
|
`interfaces/Nostro-Bus.cppm`;
|
|
- a polkit default against
|
|
`packaging/system/net.catcrafts.Nostro1.policy`;
|
|
- the size or fingerprint of `Transaction` against the
|
|
`static_assert`s in `implementations/Nostro-Account.cpp`;
|
|
- a Flatpak's permissions against
|
|
`packaging/flatpak/net.catcrafts.Nostrod.yaml`, `project.cpp` and
|
|
`packaging/flatpak/build-aarch64.sh`;
|
|
- a dependency's commit against `project.cpp`;
|
|
- the vendored `lib/json.hpp` against the upstream commit the guide
|
|
and `packaging/licenses/NOTICE` name and the blob id the guide
|
|
gives (`git hash-object`);
|
|
- the version against `NOSTRO_VERSION` in `project.cpp` and the
|
|
newest `<release>` of
|
|
`packaging/flatpak/net.catcrafts.Nostro.metainfo.xml`.
|
|
- A `<release>` entry in that metainfo is the release notes users read:
|
|
every sentence in it is a claim about the code since the previous
|
|
tag.
|
|
- The README is the manual. Its CLI section is a claim about
|
|
`implementations/main.cpp`, "The app" about the screens, and "How
|
|
Nostro runs" and "Security" about nostrod and the shipped policy.
|
|
"Installing" speaks of a published channel that is not on disk: what
|
|
it says of the remote, and of what a release carries, is unverifiable
|
|
from here, a note naming what would settle it.
|
|
- A statement of how bunq behaves (the guide's "Gotchas", a comment, a
|
|
message) says where it was seen, the sandbox or production, and
|
|
traces to a capture, or is unverifiable. bunq's specification is not
|
|
on disk.
|