Commit graph

4 commits

Author SHA1 Message Date
2f3c371d7b Stop new code from skipping its JSDoc or SassDoc, and tell agents to fix old gaps as they go
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 24m10s
Validate and deploy Sokko G / deploy (push) Successful in 19s
A ratchet test fails on any new exported function without a JSDoc block and
keeps the list of the 496 older ones only shrinking. Every Sass sheet must now
start with its role header, not only the listed ones. The root, website, styles
and tests AGENTS.md files say to document new declarations at once and to
complete an undocumented one whenever it is modified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:34:47 +01:00
db93420daf Document every Sass mixin and function with SassDoc and drop the unused ones
Some checks failed
Validate and deploy Sokko G / deploy (push) Blocked by required conditions
Validate and deploy Sokko G / validate (push) Has been cancelled
Each @mixin and @function now has a /// block: what it draws and when to use
it, its parameters with their accepted values, and the mixin that goes with
it. VS Code shows it on hover with SCSS IntelliSense. Ten mixins that nothing
included are removed; the built CSS is byte-identical. tests/static-styles
now requires the block, and website/AGENTS.md gives the template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:22:36 +01:00
ae739b08ad Check in the tests that central files keep their full headers and that every tool has a compactor
tests/file-headers.test.mjs now fails when a source file over 300 lines lacks
"Utilisé par :" and @see, when a listed central file lacks "Utilisé par :", or
when a file adding methods through Object.assign does not say so. The eleven
files below the bar are completed, so no waiting list is needed.
tests/toolbox-compactors.test.mjs makes sure every tool type has a storage
compactor, the gap found while documenting the toolboxes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 11:22:50 +01:00
22b397ebfa Document Sokko G's architecture and folders, and move JavaScript file headers to JSDoc @file blocks
Add ARCHITECTURE.md (layers, flows, folder map, glossary), CONTRIBUTING.md
(setup and step-by-step recipes) and a README in each main folder, with an
index of docs/. Convert the 511 JavaScript headers from "// Rôle :" lines to
JSDoc @file blocks, define a three-level header template in website/AGENTS.md
and check the header in tests/file-headers.test.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 09:42:13 +01:00