buvard 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +41 -0
- package/LICENSE +674 -0
- package/README.md +95 -2
- package/SKILL.md +34 -0
- package/bin/buvard.js +68 -0
- package/docs/anatomie-du-slop.svg +76 -0
- package/docs/research-litreview.md +282 -0
- package/docs/research.md +68 -0
- package/lib/catalog.mjs +72 -0
- package/lib/index.mjs +4 -0
- package/lib/lint.mjs +86 -0
- package/package.json +37 -4
package/AGENTS.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# buvard
|
|
2
|
+
|
|
3
|
+
**L'anti-slop qui tache.** Blotting paper for AI-flavored prose: a weighted,
|
|
4
|
+
multi-score style linter for French and English slop patterns. GPL-3.0,
|
|
5
|
+
repo `git.nech.pl/pln/buvard` (visibility toggle is the owner's call).
|
|
6
|
+
|
|
7
|
+
## Where things stand (2026-11-07)
|
|
8
|
+
|
|
9
|
+
- **Catalog v2** in `lib/catalog.mjs` — weighted patterns clustered from five
|
|
10
|
+
anti-slop sources, provenance tag per pattern. Barème: 100 base, lexique -5,
|
|
11
|
+
structure -8, servile/meta -10; punctuation budgets (1 tiret cadratin/500w,
|
|
12
|
+
1 !/1000w). **Voice rule: hits are review candidates, never verdicts — the
|
|
13
|
+
author's voice always wins.** buvard is a style linter, never an AI detector.
|
|
14
|
+
- **`bin/buvard.js`** — CLI (`check`, `--json`), frontmatter stripped. Tests:
|
|
15
|
+
`npm test` (node:test, 6/6 passing).
|
|
16
|
+
- **`docs/research.md`** — the clustering study. **`docs/research-litreview.md`**
|
|
17
|
+
— literature review (2026-11-07): detection literature unreliable on short/
|
|
18
|
+
paraphrased text; 61.22% FP rate of commercial detectors on non-native essays
|
|
19
|
+
(arxiv 2304.02819) is the core argument for staying a linter; French is open
|
|
20
|
+
territory (MULTITuDE omits it); ends with **10 falsifiable recommendations
|
|
21
|
+
for catalog v3** — read it before touching the catalog.
|
|
22
|
+
- Extracted from the www multi-score suite; www still runs its own
|
|
23
|
+
`scripts/slop.mjs` — swap to the buvard dependency once on npm.
|
|
24
|
+
|
|
25
|
+
## Pending (owner)
|
|
26
|
+
|
|
27
|
+
1. Flip GitLab visibility to public (same toggle as devname).
|
|
28
|
+
2. `npm login` then `npm publish` (name free on npm + PyPI; PyPI registration
|
|
29
|
+
not done yet).
|
|
30
|
+
3. Catalog v3 from the lit review's recommendations — semver with per-rule
|
|
31
|
+
provenance (source URL + date + severity), Gutenberg pre-2022 FP corpus with
|
|
32
|
+
a <2% per-rule FP gate, language-specific dash budgets (EN 1/500w,
|
|
33
|
+
FR 1/1000w), "X, so Y" stays at folklore weight until a second source.
|
|
34
|
+
|
|
35
|
+
## Conventions
|
|
36
|
+
|
|
37
|
+
- GPL-3.0-only; no AI fingerprints in commits; tiny atomic commits.
|
|
38
|
+
- Node >= 18, ESM (`"type": "module"`), zero runtime dependencies.
|
|
39
|
+
- Regex catalog is deliberately high-precision/low-recall: règle de trois,
|
|
40
|
+
synonyme acrobatique, sentence-length monotony stay manual checks (see
|
|
41
|
+
SKILL.md's known-gaps list).
|