chore: release milestone 23

This commit is contained in:
Dandaedre 2026-09-30 00:56:01 +02:00
parent ae448ad60c
commit 429044b6dc
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
11 changed files with 53 additions and 24 deletions

View File

@ -1,11 +1,11 @@
[last_run_clean]
run_status = "Success"
lines_parsed = 393
coverage = 93.05
lines_parsed = 408
coverage = 93.09
[last_run_clean.run_duration]
secs = 50
nanos = 858077900
secs = 52
nanos = 332052570
[last_run_incremental]
run_status = "Success"

View File

@ -6,6 +6,21 @@ All notable changes to John Slop are recorded here. The format follows
## [Unreleased]
## [0.1.23] - 2026-09-30
### Added
- Added typed category-level diagnostic switches for `typography`, `style`,
`prompt-leakage`, and `source-code`, composed with the existing individual
rule switches through every configuration layer.
- Added `john-slop config init` and its `config generate` alias to write the
commented embedded base configuration into the current directory.
### Changed
- Configuration generation protects an existing `config.toml` unless
`--force` is explicitly supplied.
## [0.1.22] - 2026-09-30
### Added
@ -77,7 +92,8 @@ All notable changes to John Slop are recorded here. The format follows
- Stdio LSP replacement diagnostics and versioned quick fixes.
- Runnable examples, reviewed fixtures, fuzz targets, benchmarks, and CI gates.
[Unreleased]: https://git.dandaedre.com/idle-org/john_slop/compare/v0.1.22...HEAD
[Unreleased]: https://git.dandaedre.com/idle-org/john_slop/compare/v0.1.23...HEAD
[0.1.23]: https://git.dandaedre.com/idle-org/john_slop/compare/v0.1.22...v0.1.23
[0.1.22]: https://git.dandaedre.com/idle-org/john_slop/compare/v0.1.21...v0.1.22
[0.1.21]: https://git.dandaedre.com/idle-org/john_slop/compare/v0.1.20...v0.1.21
[0.1.20]: https://git.dandaedre.com/idle-org/john_slop/compare/v0.1.0...v0.1.20

6
Cargo.lock generated
View File

@ -699,7 +699,7 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
[[package]]
name = "john-slop-core"
version = "0.1.22"
version = "0.1.23"
dependencies = [
"directories",
"figment",
@ -717,7 +717,7 @@ dependencies = [
[[package]]
name = "john-slop-lsp"
version = "0.1.22"
version = "0.1.23"
dependencies = [
"john-slop-core",
"serde_json",
@ -728,7 +728,7 @@ dependencies = [
[[package]]
name = "john_slop"
version = "0.1.22"
version = "0.1.23"
dependencies = [
"clap",
"criterion",

View File

@ -4,7 +4,7 @@ default-members = [".", "crates/john-slop-core", "crates/john-slop-lsp"]
resolver = "3"
[workspace.package]
version = "0.1.22"
version = "0.1.23"
edition = "2024"
rust-version = "1.98.1"
license = "MIT"
@ -18,8 +18,8 @@ figment = { version = "0.10.19", default-features = false, features = ["toml"] }
futures = { version = "0.3.34", default-features = false, features = ["std"] }
globset = { version = "0.4.20", default-features = false }
insta = { version = "1.48.0", default-features = false }
john-slop-core = { version = "0.1.22", path = "crates/john-slop-core" }
john-slop-lsp-engine = { package = "john-slop-lsp", version = "0.1.22", path = "crates/john-slop-lsp" }
john-slop-core = { version = "0.1.23", path = "crates/john-slop-core" }
john-slop-lsp-engine = { package = "john-slop-lsp", version = "0.1.23", path = "crates/john-slop-lsp" }
miette = { version = "7.6.0", default-features = false, features = ["derive"] }
regex = "1.13.1"
serde = { version = "1.0.229", features = ["derive"] }

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="96" height="18" role="img" aria-label="version: 0.1.22"><title>version: 0.1.22</title><linearGradient id="bms-49fd3ccd9d32982d" x2="0" y2="100%"><stop offset="0" stop-color="#fff" stop-opacity=".7"/><stop offset=".1" stop-color="#aaa" stop-opacity=".1"/><stop offset=".9" stop-color="#000" stop-opacity=".3"/><stop offset="1" stop-color="#000" stop-opacity=".5"/></linearGradient><clipPath id="bmr-49fd3ccd9d32982d"><rect width="96" height="18" rx="4" fill="#fff"/></clipPath><g clip-path="url(#bmr-49fd3ccd9d32982d)"><rect width="51" height="18" fill="#555"/><rect x="51" width="45" height="18" fill="#fe7d37"/><rect width="96" height="18" fill="url(#bms-49fd3ccd9d32982d)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="265" y="140" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="410">version</text><text x="265" y="130" transform="scale(.1)" fill="#fff" textLength="410">version</text><text aria-hidden="true" x="725" y="140" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="350">0.1.22</text><text x="725" y="130" transform="scale(.1)" fill="#fff" textLength="350">0.1.22</text></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="96" height="18" role="img" aria-label="version: 0.1.23"><title>version: 0.1.23</title><linearGradient id="bms-57a874b394dd235d" x2="0" y2="100%"><stop offset="0" stop-color="#fff" stop-opacity=".7"/><stop offset=".1" stop-color="#aaa" stop-opacity=".1"/><stop offset=".9" stop-color="#000" stop-opacity=".3"/><stop offset="1" stop-color="#000" stop-opacity=".5"/></linearGradient><clipPath id="bmr-57a874b394dd235d"><rect width="96" height="18" rx="4" fill="#fff"/></clipPath><g clip-path="url(#bmr-57a874b394dd235d)"><rect width="51" height="18" fill="#555"/><rect x="51" width="45" height="18" fill="#fe7d37"/><rect width="96" height="18" fill="url(#bms-57a874b394dd235d)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="265" y="140" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="410">version</text><text x="265" y="130" transform="scale(.1)" fill="#fff" textLength="410">version</text><text aria-hidden="true" x="725" y="140" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="350">0.1.23</text><text x="725" y="130" transform="scale(.1)" fill="#fff" textLength="350">0.1.23</text></g></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -67,8 +67,8 @@ Run line coverage with Cargo Tarpaulin:
cargo tarpaulin --config tarpaulin.toml
```
The configuration enforces a 90% floor. The current suite measured 93.05%
(1,487/1,598 lines) on 2026-09-30. The remaining lines are dominated by
The configuration enforces a 90% floor. The current suite measured 93.09%
(1,523/1,636 lines) on 2026-09-30. The remaining lines are dominated by
platform/I/O failure injection, malformed archive internals, coordinate
overflow, LSP logging/reload failures, and subprocess attribution. Do not add
brittle tests or production seams solely to make Tarpaulin count those paths.

View File

@ -53,7 +53,9 @@ categories. The Milestone 22 review makes printable-ASCII UTS #39 mappings
replaceable by default, retains a non-mutating `review` policy, and keeps the
Gitea-compatible invisible/control profile diagnostic-only, with explicit
multilingual limitations. The checked-in `signoff.toml` records those decisions
and contains the SHA-256 digest of both `heuristics.toml` and `unicode.toml`.
and contains the SHA-256 digest of `config.toml`, `heuristics.toml`, and
`unicode.toml`. This binds the reviewed scoring behavior to both rule catalogs
and the default category policy.
Any default rule, matcher, pattern, weight, occurrence cap, scope, or threshold
change invalidates the sign-off test. Renewal requires reviewing positive and

6
fuzz/Cargo.lock generated
View File

@ -385,7 +385,7 @@ dependencies = [
[[package]]
name = "john-slop-core"
version = "0.1.22"
version = "0.1.23"
dependencies = [
"directories",
"figment",
@ -411,7 +411,7 @@ dependencies = [
[[package]]
name = "john-slop-lsp"
version = "0.1.22"
version = "0.1.23"
dependencies = [
"john-slop-core",
"serde_json",
@ -422,7 +422,7 @@ dependencies = [
[[package]]
name = "john_slop"
version = "0.1.22"
version = "0.1.23"
dependencies = [
"clap",
"globset",

View File

@ -589,7 +589,7 @@ is 93.05% (1,487/1,598 lines), and release metadata agrees on `0.1.22`.
configuration to `./config.toml`. Refuse to replace an existing file by
default, support an explicit `--force`, and test the generated file by loading
it through the public configuration path.
- [ ] Update the quickstart, configuration examples, CLI help, changelog,
- [x] Update the quickstart, configuration examples, CLI help, changelog,
release metadata, badges, and ignored recap; run both feature matrices,
formatting, Clippy, rustdoc, package/audit checks, and Tarpaulin.
@ -599,6 +599,13 @@ CLI and LSP because they resolve in the shared core configuration; a fresh
directory without silently destroying user data; all release artifacts agree
on `0.1.23` before the immutable `v0.1.23` tag is created.
Accepted on 2026-09-30 after layered category and individual switches produced
matching CLI/LSP behavior, and config generation passed create, preserve,
force-overwrite, parse, and reload checks. Formatting, Clippy, rustdoc, both
feature matrices, evaluation, dependency policy/audit checks, and workspace
package assembly pass; coverage is 93.09% (1,523/1,636 lines), and all release
metadata and binary versions agree on `0.1.23`.
## Deferred by design
- Statistical or model-based authorship classification.

View File

@ -127,6 +127,10 @@ fn reviewed_corpus_reports_per_rule_metrics_and_false_positive_rate() {
)
.expect("parse evaluation sign-off");
let mut catalog = Sha256::new();
catalog.update(include_bytes!(
"../crates/john-slop-core/assets/config.toml"
));
catalog.update([0]);
catalog.update(include_bytes!(
"../crates/john-slop-core/assets/heuristics.toml"
));
@ -141,7 +145,7 @@ fn reviewed_corpus_reports_per_rule_metrics_and_false_positive_rate() {
.collect::<String>();
assert_eq!(signoff.schema_version, 1);
assert_eq!(signoff.release, env!("CARGO_PKG_VERSION"));
assert_eq!(signoff.status, "accepted-after-unicode-replacement-profile");
assert_eq!(signoff.status, "accepted-after-diagnostic-policy");
assert_eq!(signoff.catalog_sha256, catalog_hash);
assert!(signoff.limitations_acknowledged);
assert_eq!(signoff.reviewed_on, "2026-09-30");

View File

@ -1,7 +1,7 @@
schema_version = 1
release = "0.1.22"
release = "0.1.23"
reviewed_on = "2026-09-30"
status = "accepted-after-unicode-replacement-profile"
catalog_sha256 = "74be9257120a8830f546b3b6e87c1a73b4c55041cf1022c1fe568eb84ef30117"
status = "accepted-after-diagnostic-policy"
catalog_sha256 = "ae7f4c8309389c6703bc109cb053105da8421ada2e870e12903d5525109aa045"
limitations_acknowledged = true
decision = "Retain category-specific correlation damping: prompt-leakage uses 0.90 per later distinct rule while other families retain 0.75. Use generated Unicode 16.0 UTS #39 printable-ASCII mappings in replace mode by default, retain review and off policies for multilingual usage, and keep pinned Gitea invisible/control findings non-mutating. Reviewed corpus scores are pinned with 0/5 observed false-positive documents; the small authored sample does not establish real-world or multilingual accuracy."
decision = "Retain category-specific correlation damping: prompt-leakage uses 0.90 per later distinct rule while other families retain 0.75. Keep every diagnostic category enabled by default while allowing layered category gates and individual rule switches. Use generated Unicode 16.0 UTS #39 printable-ASCII mappings in replace mode by default, retain review and off policies for multilingual usage, and keep pinned Gitea invisible/control findings non-mutating. Reviewed corpus scores are pinned with 0/5 observed false-positive documents; the small authored sample does not establish real-world or multilingual accuracy."