feat: referentiel projets dynamique + validation nommage by design

Durcit la convention de nommage des projets (dérive constatée : 'Sliding
Automation', 'code_versioning'... au lieu des formes canoniques).

- trilium_api.py : projets_canoniques() lit le référentiel = valeurs du label
  projet sur les notes de type=projet (source unique, pas de constante en dur).
  Note-projet CodeVersioning créée (manquait).
- mcp_server.py : _valider_projet() branché dans les 6 tools de création
  (add_decision/history/backlog, new_conversation, create_entite, add_skill).
  Refuse un projet non canonique (suggestion si faute) ou inconnu (renvoi au
  processus de création de projet). Ne verrouille pas si référentiel illisible.
- lint_audit.py : VAL-nommage aligné sur le référentiel (attrape casse, espace
  ET snake_case ; l'ancien 'contient un espace' ratait code_versioning).
- Données : 79 notes ré-étiquetées vers les 3 formes canoniques.

Quality by design : l'erreur de nommage devient impossible à l'écriture, le
Lint n'est plus que le filet de sécurité.
This commit is contained in:
2026-07-17 14:59:33 +02:00
parent d1e67431b6
commit 943acbc573
2425 changed files with 710525 additions and 6 deletions
@@ -0,0 +1,59 @@
This implementation of Markdown is licensed under the MIT License:
The MIT License
Copyright (c) 2012 Trent Mick
Copyright (c) 2010 ActiveState Software Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.
All files in a *source package* of markdown2 (i.e. those available on
pypi.python.org and the Google Code project "downloads" page) are under the
MIT license. However, in the *subversion repository* there are some files
(used for performance and testing purposes) that are under different licenses
as follows:
- perf/recipes.pprint
Python License. This file includes a number of real-world examples of
Markdown from the ActiveState Python Cookbook, used for doing some
performance testing of markdown2.py.
- test/php-markdown-cases/...
test/php-markdown-extra-cases/...
GPL. These are from the MDTest package announced here:
http://six.pairlist.net/pipermail/markdown-discuss/2007-July/000674.html
- test/markdown.py
GPL 2 or BSD. A copy (currently old) of Python-Markdown -- the other
Python Markdown implementation.
- test/markdown.php
BSD-style. This is PHP Markdown
(http://michelf.com/projects/php-markdown/).
- test/Markdown.pl: BSD-style
A copy of Perl Markdown (http://daringfireball.net/projects/markdown/).
@@ -0,0 +1,50 @@
Metadata-Version: 2.1
Name: markdown2
Version: 2.5.5
Summary: A fast and complete Python implementation of Markdown
Home-page: https://github.com/trentm/python-markdown2
Author: Trent Mick
Author-email: trentm@gmail.com
Maintainer: Trent Mick
Maintainer-email: trentm@gmail.com
License: MIT
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Text Processing :: Filters
Classifier: Topic :: Text Processing :: Markup :: HTML
Requires-Python: >=3.9, <4
License-File: LICENSE.txt
Provides-Extra: all
Requires-Dist: pygments>=2.7.3; extra == "all"
Requires-Dist: wavedrom; extra == "all"
Requires-Dist: latex2mathml; python_version >= "3.8.1" and extra == "all"
Provides-Extra: code_syntax_highlighting
Requires-Dist: pygments>=2.7.3; extra == "code-syntax-highlighting"
Provides-Extra: latex
Requires-Dist: latex2mathml; python_version >= "3.8.1" and extra == "latex"
Provides-Extra: wavedrom
Requires-Dist: wavedrom; extra == "wavedrom"
markdown2: A fast and complete Python implementation of Markdown.
Markdown is a text-to-HTML filter; it translates an easy-to-read /
easy-to-write structured text format into HTML. Markdown's text
format is most similar to that of plain text email, and supports
features such as headers, *emphasis*, code blocks, blockquotes, and
links. -- http://daringfireball.net/projects/markdown/
This is a fast and complete Python implementation of the Markdown
spec. See http://github.com/trentm/python-markdown2 for more info.
@@ -0,0 +1,11 @@
../../../bin/markdown2,sha256=qbokLCN7eQyul_8gxahNevmLqx3eQB5cvOu6WAq0qSY,253
../../../testing/tox.ini,sha256=WcL0SSFuvNzTvdf0yc19X45rgTHsS3akgG1FtuYZRqk,352
__pycache__/markdown2.cpython-39.pyc,,
markdown2-2.5.5.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
markdown2-2.5.5.dist-info/LICENSE.txt,sha256=-MfE1VRAnPYhuNZT2__7cZdF_Tb1xJuDBSWGSbQD75w,2313
markdown2-2.5.5.dist-info/METADATA,sha256=bn_ArxcZMLk0fS1m4Z5ffxCvoAk0WqGWoaIlP0JXy3I,2068
markdown2-2.5.5.dist-info/RECORD,,
markdown2-2.5.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
markdown2-2.5.5.dist-info/entry_points.txt,sha256=ZAfeiSjZzwRSLJYMNAPOV-cMgZhEAVdrjG_E3wF0kz4,46
markdown2-2.5.5.dist-info/top_level.txt,sha256=fDjZIsBNbTniMxzHsMuRyzfmvWbBOoUklf6ycVKreNc,10
markdown2.py,sha256=P45y4MoTwfQVTbh-36h2-9oqSGSRgS0matTu4R1fOtI,190609
@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.45.1)
Root-Is-Purelib: true
Tag: py3-none-any
@@ -0,0 +1,3 @@
[console_scripts]
markdown2 = markdown2:main