chore: release milestone 24
Rust CI JohnSlop failed CI.
Gitea/john_slop/pipeline/head There was a failure building this commit Details

This commit is contained in:
Dandaedre 2026-09-30 01:13:26 +02:00
parent 501328d05f
commit 215a164a04
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
11 changed files with 57 additions and 22 deletions

View File

@ -1,11 +1,11 @@
[last_run_clean]
run_status = "Success"
lines_parsed = 408
coverage = 93.09
lines_parsed = 418
coverage = 92.83
[last_run_clean.run_duration]
secs = 52
nanos = 332052570
secs = 53
nanos = 964406972
[last_run_incremental]
run_status = "Success"

View File

@ -6,6 +6,25 @@ All notable changes to John Slop are recorded here. The format follows
## [Unreleased]
## [0.1.24] - 2026-09-30
### Added
- Added restricted runtime `diagnostics.toml` catalogs for defining
exact-phrase, regex, and repeated-regex rules without recompilation.
- Added repeatable `--diagnostics <FILE>` support across the detector,
formatter, and LSP, including LSP configuration reloads.
- Added `john-slop config init-diagnostics`, a commented starter catalog, and a
complete project example.
### Changed
- User and explicit diagnostic catalogs load before normal configuration so
later base, named, and explicit layers can tune or disable their stable IDs.
- Runtime catalogs reject code-backed matcher engines and unrelated settings;
executable plugin behavior remains outside the declarative configuration
boundary.
## [0.1.23] - 2026-09-30
### Added
@ -92,7 +111,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.23...HEAD
[Unreleased]: https://git.dandaedre.com/idle-org/john_slop/compare/v0.1.24...HEAD
[0.1.24]: https://git.dandaedre.com/idle-org/john_slop/compare/v0.1.23...v0.1.24
[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

6
Cargo.lock generated
View File

@ -699,7 +699,7 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
[[package]]
name = "john-slop-core"
version = "0.1.23"
version = "0.1.24"
dependencies = [
"directories",
"figment",
@ -717,7 +717,7 @@ dependencies = [
[[package]]
name = "john-slop-lsp"
version = "0.1.23"
version = "0.1.24"
dependencies = [
"john-slop-core",
"serde_json",
@ -728,7 +728,7 @@ dependencies = [
[[package]]
name = "john_slop"
version = "0.1.23"
version = "0.1.24"
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.23"
version = "0.1.24"
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.23", path = "crates/john-slop-core" }
john-slop-lsp-engine = { package = "john-slop-lsp", version = "0.1.23", path = "crates/john-slop-lsp" }
john-slop-core = { version = "0.1.24", path = "crates/john-slop-core" }
john-slop-lsp-engine = { package = "john-slop-lsp", version = "0.1.24", 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.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>
<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.24"><title>version: 0.1.24</title><linearGradient id="bms-92b6d7b702266c6a" 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-92b6d7b702266c6a"><rect width="96" height="18" rx="4" fill="#fff"/></clipPath><g clip-path="url(#bmr-92b6d7b702266c6a)"><rect width="51" height="18" fill="#555"/><rect x="51" width="45" height="18" fill="#fe7d37"/><rect width="96" height="18" fill="url(#bms-92b6d7b702266c6a)"/></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.24</text><text x="725" y="130" transform="scale(.1)" fill="#fff" textLength="350">0.1.24</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.09%
(1,523/1,636 lines) on 2026-09-30. The remaining lines are dominated by
The configuration enforces a 90% floor. The current suite measured 92.83%
(1,579/1,701 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

@ -63,3 +63,9 @@ near-miss cases, reporting changed per-rule/aggregate metrics, explaining the
false-positive tradeoff, updating the digest and decision text, and obtaining
explicit maintainer approval in the change review. A green test alone is not
approval to tune defaults.
Runtime diagnostic catalogs are deployment policy and are not part of the
embedded-catalog digest. Their rules use the same validation and scoring
formula, but teams must evaluate their own added patterns and near misses for
their corpus rather than treating the embedded sign-off as validation of custom
rules.

6
fuzz/Cargo.lock generated
View File

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

View File

@ -616,7 +616,7 @@ metadata and binary versions agree on `0.1.23`.
and LSP adapters; add a safe command that generates a valid commented
`./diagnostics.toml` starter without overwriting it unless forced. Cover CLI
detection, LSP reload, help, missing files, and generated-template loading.
- [ ] Update configuration/editor/development guides, examples, changelog,
- [x] Update configuration/editor/development guides, examples, changelog,
evaluation sign-off, release metadata, coverage, badges, and ignored recap;
run all quality, audit, and package gates.
@ -628,6 +628,14 @@ replacement engines, and category expansion remain explicitly out of scope;
all release artifacts agree on `0.1.24` before the immutable `v0.1.24` tag is
created.
Accepted on 2026-09-30 after runtime catalogs added diagnostics through the CLI
and LSP without rebuilding, normal configuration disabled those rules by stable
ID, and invalid or code-backed definitions failed explicitly. Formatting,
Clippy, rustdoc, both feature matrices, evaluation, dependency policy/audit
checks, Unicode-catalog reproducibility, and workspace package assembly pass;
coverage is 92.83% (1,579/1,701 lines), and all release metadata and binary
versions agree on `0.1.24`.
## Deferred by design
- Statistical or model-based authorship classification.

View File

@ -145,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-diagnostic-policy");
assert_eq!(signoff.status, "accepted-with-runtime-catalog-boundary");
assert_eq!(signoff.catalog_sha256, catalog_hash);
assert!(signoff.limitations_acknowledged);
assert_eq!(signoff.reviewed_on, "2026-09-30");
@ -153,4 +153,5 @@ fn reviewed_corpus_reports_per_rule_metrics_and_false_positive_rate() {
assert!(signoff.decision.contains("0.90"));
assert!(signoff.decision.contains("UTS #39"));
assert!(signoff.decision.contains("review"));
assert!(signoff.decision.contains("runtime catalogs"));
}

View File

@ -1,7 +1,7 @@
schema_version = 1
release = "0.1.23"
release = "0.1.24"
reviewed_on = "2026-09-30"
status = "accepted-after-diagnostic-policy"
status = "accepted-with-runtime-catalog-boundary"
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. 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."
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. Permit declarative runtime catalogs to add exact-phrase, regex, and repeated-regex rules, but reject code-backed matcher engines. 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."