werkrevisor 0.20.3: the statistics service is called statistics, not server #34

Merged
ai-reviewer merged 3 commits from claude-code/statistics-directory into main 2026-10-06 17:00:45 +02:00
Collaborator

See the PR doc.

🤖 Generated with Claude Code

See [the PR doc](docs/prs/2026-10-06-PR%2334-statistics-instead-of-server.md). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude-code added 1 commit 2026-10-06 16:54:26 +02:00
docs: PR#34 doc, the statistics service is called statistics, not server
werkator build succeeded after 01:06
werkator/werkrevisor-statistics build succeeded after 00:32
dc84cd3fd1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude-code marked the pull request as ready for review 2026-10-06 16:55:48 +02:00
mi added 1 commit 2026-10-06 16:55:48 +02:00
werkrevisor 0.20.3: the statistics service is called statistics, not server
werkator/werkrevisor-statistics build succeeded after 00:31
ai-review/assessment human review required; a human approval unlocks the merge; review requested from mi; merge scheduled for when the checks succeed
ai-review/gate build succeeded after 00:24
werkator build succeeded after 00:10
8c244e0f60
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
🟡 werkrevisor YELLOW for 8c244e0, superseded by the result for 537b48a

🟡 werkrevisor: YELLOW / HUMAN_REVIEW

Change kind: mixed.

11 files changed only mechanically and were not reviewed by the model: statistics/gradle/wrapper/gradle-wrapper.jar (renamed), statistics/gradle/wrapper/gradle-wrapper.properties (renamed), statistics/gradlew (renamed) and 8 more.

Reasons

  • YELLOW risky paths changed: .werkrevisor.toml (built in), server/build.gradle.kts (server/*.gradle.kts), server/gradle/wrapper/gradle-wrapper.jar (server/gradle/**) and 3 more
  • YELLOW spec: docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md Scenario#34.01 implementation_details (0.65 > yellow_above = 0.6)
  • hint writing rules violated in the changed docs: README.md:843: line longer than 128 characters (137)
  • hint 2 finding(s) of low severity or rated minor by Jev: docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md:24-35, docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md:37-47
  • hint model recommends merge with caution

Findings

  1. [medium] Scenario#34.01 not verifiable from the diff at docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md:24-35, hint, as a line comment

  2. [low] Scenario#34.02 has no automated verification at docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md:37-47, hint, as a line comment

Classifier

Unit Question Problem Confidence Verdict
docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md Scenario#34.01 implementation_details 0.65 – YELLOW

5 of 6 units passed all questions (1 PR document(s)).
1 answer ignored because of a confidence below [classifier] min_confidence.

Usage: model `openrouter/anthropic/claude-sonnet-5.5`, LLM done, tokens counted before the call 45803, calls 1, tokens in 46053 / out 548 (reasoning included in out), duration 21.8 s, cost 0.0976 USD (reported), classifier `jev-1.13.0` calls 6, tokens in 4674, cost 0.0002 USD, finding judge `jev-1.13.0` calls 1, tokens in 1538, cost 0.0001 USD, config: defaults + host + repository (.werkrevisor.toml at base 760f9a5).
Reviewed head `8c244e0f600ae2937f5380399907499ae778c0fd` against base `760f9a5c639a24c46061977badc072faa92fb077`, werkrevisor 0.20.2.
<!-- werkrevisor:8c244e0f600ae2937f5380399907499ae778c0fd --> <!-- werkrevisor-verdict:YELLOW --> <!-- werkrevisor-folded --> <details><summary>🟡 werkrevisor YELLOW for <code>8c244e0</code>, superseded by <a href="http://git.javagil.de/mi/werkrevisor/pulls/34#issuecomment-1513">the result for <code>537b48a</code></a></summary> ## 🟡 werkrevisor: YELLOW / HUMAN_REVIEW Change kind: `mixed`. 11 files changed only mechanically and were not reviewed by the model: statistics/gradle/wrapper/gradle-wrapper.jar (renamed), statistics/gradle/wrapper/gradle-wrapper.properties (renamed), statistics/gradlew (renamed) and 8 more. ### Reasons - **YELLOW** risky paths changed: .werkrevisor.toml (built in), server/build.gradle.kts (server/*.gradle.kts), server/gradle/wrapper/gradle-wrapper.jar (server/gradle/**) and 3 more - **YELLOW** spec: docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md Scenario#34.01 implementation_details (0.65 > yellow_above = 0.6) - **hint** writing rules violated in the changed docs: README.md:843: line longer than 128 characters (137) - **hint** 2 finding(s) of low severity or rated minor by Jev: docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md:24-35, docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md:37-47 - **hint** model recommends merge with caution ### Findings 1. **[medium] Scenario#34.01 not verifiable from the diff** at `docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md:24-35`, hint, as a line comment 2. **[low] Scenario#34.02 has no automated verification** at `docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md:37-47`, hint, as a line comment ### Classifier | Unit | Question | Problem | Confidence | Verdict | |---|---|---|---|---| | docs/prs/2026-10-06-PR#34-statistics-instead-of-server.md Scenario#34.01 | implementation_details | 0.65 | – | YELLOW | 5 of 6 units passed all questions (1 PR document(s)). 1 answer ignored because of a confidence below [classifier] min_confidence. <sub> Usage: model `openrouter/anthropic/claude-sonnet-5.5`, LLM done, tokens counted before the call 45803, calls 1, tokens in 46053 / out 548 (reasoning included in out), duration 21.8 s, cost 0.0976 USD (reported), classifier `jev-1.13.0` calls 6, tokens in 4674, cost 0.0002 USD, finding judge `jev-1.13.0` calls 1, tokens in 1538, cost 0.0001 USD, config: defaults + host + repository (.werkrevisor.toml at base 760f9a5).<br> Reviewed head `8c244e0f600ae2937f5380399907499ae778c0fd` against base `760f9a5c639a24c46061977badc072faa92fb077`, werkrevisor 0.20.2. </sub> </details>
ai-reviewer left a comment
Collaborator

werkrevisor: YELLOW / HUMAN_REVIEW for 8c244e0f600ae2937f5380399907499ae778c0fd.
The result comment of werkrevisor holds the details.

werkrevisor: YELLOW / HUMAN_REVIEW for `8c244e0f600ae2937f5380399907499ae778c0fd`. The result comment of werkrevisor holds the details. <!-- werkrevisor-review:8c244e0f600ae2937f5380399907499ae778c0fd -->
@@ -0,0 +21,4 @@
### Feature: the statistics service is named after its purpose
#### Scenario#34.01: the build of the statistics service names it
Collaborator

[medium] Scenario#34.01 not verifiable from the diff (werkrevisor)

hint; Jev: real 0.65, severity 1.5 of 3

Scenario#34.01 specifies the status context werkator/werkrevisor-statistics and the build directory. Both belong to the Werkator machine config on mih09, which is not part of this PR. The "Verified by" entry says "checked by the build of this PR", but a PR build cannot check its own status name if the host config is changed outside the repository. The scenario also names implementation details (status context, directory), as the classifier hint notes.

**[medium] Scenario#34.01 not verifiable from the diff** (werkrevisor) hint; Jev: real 0.65, severity 1.5 of 3 Scenario#34.01 specifies the status context `werkator/werkrevisor-statistics` and the build directory. Both belong to the Werkator machine config on mih09, which is not part of this PR. The "Verified by" entry says "checked by the build of this PR", but a PR build cannot check its own status name if the host config is changed outside the repository. The scenario also names implementation details (status context, directory), as the classifier hint notes.
Author
Collaborator

Fixed in 537b48a: the scenario about the status context is gone, since the machine config on mih09 is outside this repository; the Solution names that change. The build of this PR reported werkator/werkrevisor-statistics=success, which shows the config works.

Fixed in 537b48a: the scenario about the status context is gone, since the machine config on mih09 is outside this repository; the Solution names that change. The build of this PR reported `werkator/werkrevisor-statistics=success`, which shows the config works.
claude-code marked this conversation as resolved
@@ -0,0 +34,4 @@
- Werkator machine config of mih09, checked by the build of this PR.
#### Scenario#34.02: the service reads its settings from `WERKREVISOR_STATISTICS_*`
Collaborator

[low] Scenario#34.02 has no automated verification (werkrevisor)

hint

The renamed WERKREVISOR_STATISTICS_* variables are only verified by a manual deployment check. The integration test sets the properties directly (werkrevisor.statistics.*) and never resolves the environment variable placeholders in application.properties. A typo in a placeholder would pass the tests and silently fall back to the default values or empty tokens.

**[low] Scenario#34.02 has no automated verification** (werkrevisor) hint The renamed `WERKREVISOR_STATISTICS_*` variables are only verified by a manual deployment check. The integration test sets the properties directly (`werkrevisor.statistics.*`) and never resolves the environment variable placeholders in `application.properties`. A typo in a placeholder would pass the tests and silently fall back to the default values or empty tokens.
Author
Collaborator

Fixed in 537b48a: SettingsIntegrationTest sets the WERKREVISOR_STATISTICS_* names and checks that port, address and tokens arrive; it failed with a typo in the placeholder of the read tokens. The database placeholder is not asserted: UsageApiIntegrationTest sets werkrevisor.statistics.database as JVM system property, which overrides the placeholder in the same test JVM.

Fixed in 537b48a: `SettingsIntegrationTest` sets the `WERKREVISOR_STATISTICS_*` names and checks that port, address and tokens arrive; it failed with a typo in the placeholder of the read tokens. The database placeholder is not asserted: `UsageApiIntegrationTest` sets `werkrevisor.statistics.database` as JVM system property, which overrides the placeholder in the same test JVM.
claude-code marked this conversation as resolved
ai-reviewer scheduled this pull request to auto merge when all checks succeed 2026-10-06 16:56:23 +02:00
ai-reviewer requested review from mi 2026-10-06 16:56:23 +02:00
mi added 1 commit 2026-10-06 16:59:15 +02:00
review: a test covers the WERKREVISOR_STATISTICS_* placeholders; the host config is no scenario of this repository
werkator build succeeded after 00:09
ai-review/assessment human review required; a human approval unlocks the merge; a human review request is pending; merge already scheduled
ai-review/gate build succeeded after 00:12
werkator/werkrevisor-statistics build succeeded after 00:28
537b48abb2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Collaborator

Answer to the review of 8c244e0 (YELLOW):

  • YELLOW risky paths (.werkrevisor.toml, the Gradle files): renamed only, plus the version bump; needs the human review.
  • YELLOW spec Scenario#34.01 implementation_details and the two hints on the scenarios: fixed in 537b48a, threads resolved.
  • hint writing rule README.md:843 (137 characters): wrapped in 537b48a.
  • hint merge with caution: the deployment renames the systemd unit, its directory and the variables of its env file on mih09 in one step.
Answer to the review of `8c244e0` (YELLOW): - YELLOW risky paths (`.werkrevisor.toml`, the Gradle files): renamed only, plus the version bump; needs the human review. - YELLOW spec Scenario#34.01 `implementation_details` and the two hints on the scenarios: fixed in 537b48a, threads resolved. - hint writing rule `README.md:843` (137 characters): wrapped in 537b48a. - hint merge with caution: the deployment renames the systemd unit, its directory and the variables of its env file on mih09 in one step.
Collaborator

🟡 werkrevisor: YELLOW / HUMAN_REVIEW

Change kind: mixed.

11 files changed only mechanically and were not reviewed by the model: statistics/gradle/wrapper/gradle-wrapper.jar (renamed), statistics/gradle/wrapper/gradle-wrapper.properties (renamed), statistics/gradlew (renamed) and 8 more.

Reasons

  • YELLOW risky paths changed: .werkrevisor.toml (built in), server/build.gradle.kts (server/*.gradle.kts), server/gradle/wrapper/gradle-wrapper.jar (server/gradle/**) and 3 more

Classifier

5 of 5 units passed all questions (1 PR document(s)).

Usage: model `openrouter/anthropic/claude-sonnet-5.5`, LLM done, tokens counted before the call 46739, calls 1, tokens in 47156 / out 96 (reasoning included in out), duration 9.6 s, cost 0.0953 USD (reported), classifier `jev-1.13.0` calls 5, tokens in 3767, cost 0.0002 USD, config: defaults + host + repository (.werkrevisor.toml at base 760f9a5).
Reviewed head `537b48abb21e9e971c2fb8db33306b17f90b7c82` against base `760f9a5c639a24c46061977badc072faa92fb077`, werkrevisor 0.20.2.
<!-- werkrevisor:537b48abb21e9e971c2fb8db33306b17f90b7c82 --> <!-- werkrevisor-verdict:YELLOW --> ## 🟡 werkrevisor: YELLOW / HUMAN_REVIEW Change kind: `mixed`. 11 files changed only mechanically and were not reviewed by the model: statistics/gradle/wrapper/gradle-wrapper.jar (renamed), statistics/gradle/wrapper/gradle-wrapper.properties (renamed), statistics/gradlew (renamed) and 8 more. ### Reasons - **YELLOW** risky paths changed: .werkrevisor.toml (built in), server/build.gradle.kts (server/*.gradle.kts), server/gradle/wrapper/gradle-wrapper.jar (server/gradle/**) and 3 more ### Classifier 5 of 5 units passed all questions (1 PR document(s)). <sub> Usage: model `openrouter/anthropic/claude-sonnet-5.5`, LLM done, tokens counted before the call 46739, calls 1, tokens in 47156 / out 96 (reasoning included in out), duration 9.6 s, cost 0.0953 USD (reported), classifier `jev-1.13.0` calls 5, tokens in 3767, cost 0.0002 USD, config: defaults + host + repository (.werkrevisor.toml at base 760f9a5).<br> Reviewed head `537b48abb21e9e971c2fb8db33306b17f90b7c82` against base `760f9a5c639a24c46061977badc072faa92fb077`, werkrevisor 0.20.2. </sub>
mi approved these changes 2026-10-06 17:00:44 +02:00
ai-reviewer merged commit d7f7f2f7fb into main 2026-10-06 17:00:45 +02:00
ai-reviewer deleted branch claude-code/statistics-directory 2026-10-06 17:00:45 +02:00
Sign in to join this conversation.
No Reviewers
No labels
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mi/werkrevisor#34