Correct what the review of 1.0.0 left inexact in the notes, the guide and a test #4

Open
opened 2026-11-22 13:22:04 +00:00 by jorijnvdgraaf · 0 comments

The pre-push review of 1.0.0 ended on the owner's word once its code lenses were clean and only single sentences were left. What it had noted and nobody changed is listed here, so that it is not lost. None of it changes what nostro does. Lines are those of the tree at 8dd31e2 (1.0.0).

In the notes for consumers

  • AGENTS.consumer.md:30 says Unshown(codePoint) is whether a code point "draws nothing or tells text where to go". The function is also true for surrogates, private use, U+FFFC, the noncharacters it lists and everything from U+F0000 up, as its own comment in interfaces/Nostro-Utils.cppm says. A consumer who strips what is Unshown loses private-use characters too. This was the review's last finding, waived as it stood.

In the guide (AGENTS.template.md)

  • Line 34, the row of packaging/system/: "the D-Bus policy and activation files". One activation file is left.
  • Lines 103 and 104: "On the main interface nothing of the user's is read …" and "Every answer of the main interface ends with the notes". nostrod serves one interface since the checkout went.
  • Line 123, where a link's form starts: "from that account where one is chosen, else from the first account whose connection pays anybody". Where no connection pays anybody, TakeLink leaves the choice to OpenPay, which keeps the account the form last paid from, or else takes the first.
  • Line 136, what a user's state directory holds: connectors.lock is in it too.
  • Line 253: "(:Utils has the space; match the file)". interfaces/Nostro-Utils.cppm writes if( and for( nearly throughout; only EscB has the space.
  • Line 255, three general statements with exceptions in the tree: the implementation units Nostro:BunqPayments_impl and Nostro:DaemonWorker_impl import :Bunq and :Daemon, not a partition of their own name; :Geometry and :Layout of the toolkit define their methods in the interface; Nostro.DebugCommands is one module without partitions.

In a test

  • The header comment of tests/ShouldServeEveryUser/main.cpp says "every call goes through Nostro::Client", while Contract() makes some by hand through Raw(), and "calls that wait on each other or do not", while no call waits on another since the checkout's retry went. The guide's row for the test was corrected; the comment was left, because a change to a code file has the review read every unit again.
  • No check calls DefaultCheckoutAccount while polkit refuses View. Lookups holds that a refused caller is told nothing and has the bank asked nothing, for the calls that look something up first, SetDefaultCheckoutAccount among them. The handler does read the chosen account only in its work, after the yes; no test fails if that changes.

In the packaging

  • Nothing tells an administrator whose system files are those of 0.0.0 to run packaging/system/install.sh again, or to update the Arch package, after the Flatpak has updated itself to 1.0.0. Until then the activation file of net.catcrafts.Nostro1.Checkout stays, and a caller of that name waits for a name nobody takes. A line in the release notes or under the README's "Installing" would do.
  • packaging/flatpak/net.catcrafts.Nostrod.metainfo.xml has no <releases> (appstreamcli validate --pedantic says releases-info-missing), so the break in nostrod's own interface is in the app's release notes alone.

How to take these

The guide's and the notes' lines are changes to documentation alone, which a review reads cheaply: one commit can take them together. The two under "In a test" touch a code file, and can wait for the next change to it.

The pre-push review of 1.0.0 ended on the owner's word once its code lenses were clean and only single sentences were left. What it had noted and nobody changed is listed here, so that it is not lost. None of it changes what nostro does. Lines are those of the tree at 8dd31e2 (1.0.0). ## In the notes for consumers - [ ] [`AGENTS.consumer.md:30`](https://forgejo.catcrafts.net/Catcrafts/Nostro/src/commit/8dd31e2bb9eb3ac3f7c73ea5f35ad1986b61877b/AGENTS.consumer.md#L30) says `Unshown(codePoint)` is whether a code point "draws nothing or tells text where to go". The function is also true for surrogates, private use, U+FFFC, the noncharacters it lists and everything from U+F0000 up, as its own comment in `interfaces/Nostro-Utils.cppm` says. A consumer who strips what is `Unshown` loses private-use characters too. This was the review's last finding, waived as it stood. ## In the guide (`AGENTS.template.md`) - [ ] Line 34, the row of `packaging/system/`: "the D-Bus policy and activation files". One activation file is left. - [ ] Lines 103 and 104: "On the main interface nothing of the user's is read …" and "Every answer of the main interface ends with the notes". nostrod serves one interface since the checkout went. - [ ] Line 123, where a link's form starts: "from that account where one is chosen, else from the first account whose connection pays anybody". Where no connection pays anybody, `TakeLink` leaves the choice to `OpenPay`, which keeps the account the form last paid from, or else takes the first. - [ ] Line 136, what a user's state directory holds: `connectors.lock` is in it too. - [ ] Line 253: "(`:Utils` has the space; match the file)". `interfaces/Nostro-Utils.cppm` writes `if(` and `for(` nearly throughout; only `EscB` has the space. - [ ] Line 255, three general statements with exceptions in the tree: the implementation units `Nostro:BunqPayments_impl` and `Nostro:DaemonWorker_impl` import `:Bunq` and `:Daemon`, not a partition of their own name; `:Geometry` and `:Layout` of the toolkit define their methods in the interface; `Nostro.DebugCommands` is one module without partitions. ## In a test - [ ] The header comment of [`tests/ShouldServeEveryUser/main.cpp`](https://forgejo.catcrafts.net/Catcrafts/Nostro/src/commit/8dd31e2bb9eb3ac3f7c73ea5f35ad1986b61877b/tests/ShouldServeEveryUser/main.cpp#L4-L8) says "every call goes through Nostro::Client", while `Contract()` makes some by hand through `Raw()`, and "calls that wait on each other or do not", while no call waits on another since the checkout's retry went. The guide's row for the test was corrected; the comment was left, because a change to a code file has the review read every unit again. - [ ] No check calls `DefaultCheckoutAccount` while polkit refuses `View`. [`Lookups`](https://forgejo.catcrafts.net/Catcrafts/Nostro/src/commit/8dd31e2bb9eb3ac3f7c73ea5f35ad1986b61877b/tests/ShouldServeEveryUser/main.cpp#L445-L502) holds that a refused caller is told nothing and has the bank asked nothing, for the calls that look something up first, `SetDefaultCheckoutAccount` among them. The handler does read the chosen account only in its work, after the yes; no test fails if that changes. ## In the packaging - [ ] Nothing tells an administrator whose system files are those of 0.0.0 to run `packaging/system/install.sh` again, or to update the Arch package, after the Flatpak has updated itself to 1.0.0. Until then the activation file of `net.catcrafts.Nostro1.Checkout` stays, and a caller of that name waits for a name nobody takes. A line in the release notes or under the README's "Installing" would do. - [ ] `packaging/flatpak/net.catcrafts.Nostrod.metainfo.xml` has no `<releases>` (`appstreamcli validate --pedantic` says `releases-info-missing`), so the break in nostrod's own interface is in the app's release notes alone. ## How to take these The guide's and the notes' lines are changes to documentation alone, which a review reads cheaply: one commit can take them together. The two under "In a test" touch a code file, and can wait for the next change to it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Catcrafts/Nostro#4
No description provided.