@roomi-fields/grillhouse 0.30.0 → 0.32.0

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.
Files changed (153) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +48 -0
  3. package/agents/developpeur.md +0 -1
  4. package/agents/explorateur.md +0 -1
  5. package/agents/questionneur.md +0 -1
  6. package/agents/testwriter.md +0 -1
  7. package/dist/temporal/circuit/client.d.ts +2 -2
  8. package/dist/temporal/circuit/client.js.map +1 -1
  9. package/dist/temporal/circuit/commande.js +4 -4
  10. package/dist/temporal/circuit/commande.js.map +1 -1
  11. package/dist/temporal/circuit/contrat.d.ts +3 -3
  12. package/dist/temporal/circuit/contrat.js +8 -2
  13. package/dist/temporal/circuit/contrat.js.map +1 -1
  14. package/dist/temporal/circuit/deroule.js +3 -3
  15. package/dist/temporal/circuit/deroule.js.map +1 -1
  16. package/dist/temporal/commande.js +5 -6
  17. package/dist/temporal/commande.js.map +1 -1
  18. package/dist/temporal/installation.d.ts +3 -6
  19. package/dist/temporal/installation.js +19 -38
  20. package/dist/temporal/installation.js.map +1 -1
  21. package/dist/temporal/tickets/activites.d.ts +1 -0
  22. package/dist/temporal/tickets/activites.js +5 -0
  23. package/dist/temporal/tickets/activites.js.map +1 -1
  24. package/dist/temporal/tickets/contrat.d.ts +10 -0
  25. package/dist/temporal/tickets/deroule.js +8 -1
  26. package/dist/temporal/tickets/deroule.js.map +1 -1
  27. package/docs/ARCHITECTURE.md +119 -27
  28. package/docs/CADRE.md +20 -0
  29. package/docs/INTERFACE.md +17 -4
  30. package/hooks/hooks.json +4 -0
  31. package/package.json +2 -2
  32. package/scripts/activites.mjs +155 -84
  33. package/scripts/aiguillage.mjs +35 -11
  34. package/scripts/attente-au-tour.mjs +99 -0
  35. package/scripts/avancement.mjs +27 -10
  36. package/scripts/base-des-workflows.mjs +57 -0
  37. package/scripts/bilan.mjs +101 -25
  38. package/scripts/cadre.mjs +5 -2
  39. package/scripts/circuit.mjs +173 -58
  40. package/scripts/composants-affectes.mjs +64 -21
  41. package/scripts/composition-des-langages.mjs +5 -3
  42. package/scripts/conformite.mjs +54 -19
  43. package/scripts/copies-finies.mjs +8 -1
  44. package/scripts/dependances-internes.mjs +9 -3
  45. package/scripts/dernier-vert.mjs +84 -23
  46. package/scripts/dette.mjs +32 -11
  47. package/scripts/donnees-cles.mjs +24 -8
  48. package/scripts/droits.mjs +40 -15
  49. package/scripts/effets.mjs +9 -0
  50. package/scripts/empreinte-d-etape.mjs +17 -0
  51. package/scripts/engendres.mjs +15 -5
  52. package/scripts/enveloppe/enveloppe.mjs +141 -48
  53. package/scripts/enveloppe/travail-de-la-copie.mjs +36 -12
  54. package/scripts/etapes.mjs +1 -1
  55. package/scripts/faits-du-circuit.mjs +1 -1
  56. package/scripts/flux-des-paquets.mjs +21 -7
  57. package/scripts/gardes-du-cadre.mjs +9 -3
  58. package/scripts/init.mjs +11 -4
  59. package/scripts/integration/file.mjs +84 -29
  60. package/scripts/integration/integrer.mjs +70 -24
  61. package/scripts/integration/rejeu.mjs +26 -9
  62. package/scripts/jointure.d.ts +10 -1
  63. package/scripts/journal-des-etats.d.mts +41 -0
  64. package/scripts/journal-des-etats.mjs +273 -0
  65. package/scripts/journal.mjs +119 -0
  66. package/scripts/langages/cargo/commandes.mjs +97 -18
  67. package/scripts/langages/cargo/composants.mjs +24 -8
  68. package/scripts/langages/cargo/index.mjs +7 -0
  69. package/scripts/langages/cargo/tests-de-head.mjs +25 -9
  70. package/scripts/langages/python/commandes.mjs +3 -1
  71. package/scripts/langages/python/index.mjs +6 -0
  72. package/scripts/langages/typescript/chemins-des-tests.mjs +6 -2
  73. package/scripts/langages/typescript/composants.mjs +9 -3
  74. package/scripts/langages/typescript/consommateurs-arbitres.mjs +40 -14
  75. package/scripts/langages/typescript/consommateurs.mjs +39 -14
  76. package/scripts/langages/typescript/elements-du-lot.mjs +36 -12
  77. package/scripts/langages/typescript/frontieres.mjs +112 -22
  78. package/scripts/langages/typescript/index-interfaces.mjs +36 -13
  79. package/scripts/langages/typescript/index.mjs +12 -3
  80. package/scripts/langages/typescript/interfaces-contre-code.mjs +109 -41
  81. package/scripts/langages/typescript/lecteurs.mjs +36 -11
  82. package/scripts/langages/typescript/migrations/0.23.0-config-vitest.mjs +15 -5
  83. package/scripts/langages/typescript/migrations/0.25.0-chemins-des-tests.mjs +6 -2
  84. package/scripts/langages/typescript/migrations/0.25.0-tailles-des-tests.mjs +6 -2
  85. package/scripts/langages/typescript/migrations/0.30.0-tailles-des-outils-lourds.mjs +3 -1
  86. package/scripts/langages/typescript/parcours.mjs +12 -4
  87. package/scripts/langages/typescript/regle-des-tests.mjs +9 -3
  88. package/scripts/langages/typescript/resumes.mjs +9 -3
  89. package/scripts/langages/typescript/tailles-des-tests.mjs +58 -16
  90. package/scripts/langages/typescript/tests-de-nuit.mjs +3 -1
  91. package/scripts/langages/typescript/tests.mjs +24 -8
  92. package/scripts/langages/typescript/titres-de-tests.mjs +35 -12
  93. package/scripts/langages/typescript/turbo-des-paquets.mjs +152 -51
  94. package/scripts/langages/typescript/verdict.mjs +3 -1
  95. package/scripts/langages/typescript/verifier.mjs +61 -14
  96. package/scripts/langages/typescript/vitest-config/avancement.reporter.mjs +15 -5
  97. package/scripts/langages/typescript/vitest-config/base.mjs +10 -2
  98. package/scripts/langages/typescript/vitest-config/changements.mjs +21 -8
  99. package/scripts/langages/typescript/vitest-config/delais.mjs +9 -3
  100. package/scripts/langages/typescript/vitest-config/duree.classement.mjs +12 -4
  101. package/scripts/langages/typescript/vitest-config/duree.reporter.mjs +17 -6
  102. package/scripts/langages/typescript/vitest-config/lances.mjs +83 -27
  103. package/scripts/langages/typescript/vitest-config/machine.setup.mjs +7 -0
  104. package/scripts/langages/typescript/vitest-config/resultats.mjs +3 -1
  105. package/scripts/langages.d.mts +20 -0
  106. package/scripts/lint-des-scripts.mjs +58 -0
  107. package/scripts/matiere-de-test.d.ts +11 -0
  108. package/scripts/mesure/base-de-passe.mjs +117 -25
  109. package/scripts/mesure/pression.mjs +9 -3
  110. package/scripts/migrations/0.23.0-charte-importee.mjs +6 -2
  111. package/scripts/migrations/0.23.0-crochets-de-seance.mjs +25 -8
  112. package/scripts/migrations/0.23.0-marche-du-projet.mjs +18 -6
  113. package/scripts/migrations/0.23.2-copies-du-cadre.mjs +48 -16
  114. package/scripts/migrations/0.24.12-tri-des-decouvertes.mjs +6 -2
  115. package/scripts/migrations/0.25.0-script-des-tests.mjs +15 -5
  116. package/scripts/migrations/0.30.0-ci-appelle-la-verification.mjs +6 -2
  117. package/scripts/migrations/0.31.0-paquets-dans-le-graphe.mjs +7 -7
  118. package/scripts/nuit.sh +24 -0
  119. package/scripts/outil.mjs +3 -1
  120. package/scripts/outils-cles.mjs +18 -7
  121. package/scripts/paquet-npm.mjs +15 -5
  122. package/scripts/paquets.mjs +12 -4
  123. package/scripts/passe-de-la-machine.mjs +7 -2
  124. package/scripts/places-de-la-machine.mjs +72 -12
  125. package/scripts/preparation.mjs +15 -5
  126. package/scripts/registre.mjs +6 -2
  127. package/scripts/reprise.mjs +66 -0
  128. package/scripts/resultats.mjs +105 -37
  129. package/scripts/seances.mjs +22 -4
  130. package/scripts/services-du-noyau.mjs +1 -0
  131. package/scripts/sous-commandes.mjs +5 -1
  132. package/scripts/style-a-l-ecriture.mjs +48 -17
  133. package/scripts/superviseur.mjs +127 -75
  134. package/scripts/tableau.mjs +133 -10
  135. package/scripts/taches-du-graphe.mjs +33 -13
  136. package/scripts/ticket-du-circuit.mjs +40 -0
  137. package/scripts/transitions.mjs +159 -29
  138. package/scripts/verrou-de-fichier.mjs +6 -2
  139. package/scripts/verrou-de-machine.mjs +123 -39
  140. package/scripts/verrous/commande.mjs +50 -17
  141. package/scripts/verrous/ticket-du-sous-agent.mjs +9 -3
  142. package/scripts/verrous/verrou.mjs +42 -14
  143. package/skills/developpeur/SKILL.md +1 -1
  144. package/skills/explorateur/SKILL.md +8 -2
  145. package/skills/grill/SKILL.md +3 -57
  146. package/skills/grill/references/paquets.md +60 -0
  147. package/skills/mesure/SKILL.md +3 -0
  148. package/skills/pitmaster/SKILL.md +16 -27
  149. package/skills/questionneur/SKILL.md +1 -1
  150. package/skills/relecteur/SKILL.md +2 -2
  151. package/skills/testwriter/SKILL.md +19 -7
  152. package/skills/release/SKILL.md +0 -134
  153. package/skills/release/scripts/update-version.cjs +0 -92
@@ -1,134 +0,0 @@
1
- ---
2
- name: release
3
- description: Automates the complete release process for npm packages. This skill should be used when the user requests to publish a new version, bump version numbers, sync versions across files, update changelog, build, tag, and publish to npm and GitHub.
4
- ---
5
-
6
- # Release Management Skill
7
-
8
- ## Overview
9
-
10
- This skill automates the complete release workflow for npm packages, ensuring consistent versioning, changelog updates, and proper publication to npm and GitHub.
11
-
12
- ## Project Structure
13
-
14
- Files that may need version updates:
15
- - `package.json` - Source of truth for version (ALWAYS update first)
16
- - `README.md` - Version badges, installation commands
17
- - `CHANGELOG.md` - Release history (le CHANGELOG du paquet publié, dans le dossier de ce paquet; à la racine seulement pour un projet dont la racine est son paquet)
18
-
19
- ## Pre-Release Checklist
20
-
21
- Before starting a release:
22
- 1. Ensure all tests pass: `npm test`
23
- 2. Ensure code is formatted: `npm run format:check`
24
- 3. Ensure linting passes: `npm run lint`
25
- 4. Ensure build succeeds: `npm run build`
26
- 5. Ensure working directory is clean: `git status`
27
- 6. Ensure you're on the main branch: `git branch --show-current`
28
-
29
- ## Release Workflow
30
-
31
- ### 1. Determine Version Bump
32
-
33
- Follow semantic versioning (SemVer):
34
- - **MAJOR** (x.0.0): Breaking changes, incompatible API changes
35
- - **MINOR** (0.x.0): New features, backward compatible
36
- - **PATCH** (0.0.x): Bug fixes, backward compatible
37
-
38
- ### 2. Update Version in package.json
39
-
40
- ```bash
41
- # For patch release
42
- npm version patch --no-git-tag-version
43
-
44
- # For minor release
45
- npm version minor --no-git-tag-version
46
-
47
- # For major release
48
- npm version major --no-git-tag-version
49
- ```
50
-
51
- ### 3. Update CHANGELOG.md
52
-
53
- The CHANGELOG du paquet publié lives in the folder of that package (`packages/<paquet>/CHANGELOG.md`; at the root only for a project whose root is its package). Add a new section at the top of it:
54
-
55
- ```markdown
56
- ## [X.Y.Z] - YYYY-MM-DD
57
-
58
- ### Added
59
- - New features
60
-
61
- ### Changed
62
- - Changes in existing functionality
63
-
64
- ### Fixed
65
- - Bug fixes
66
-
67
- ### Removed
68
- - Removed features
69
- ```
70
-
71
- ### 4. Update Version References
72
-
73
- Search and update version strings in:
74
- - README.md (installation commands, badges)
75
- - Any hardcoded version strings in source code
76
-
77
- ### 5. Build and Test
78
-
79
- ```bash
80
- npm run build
81
- npm test
82
- ```
83
-
84
- ### 6. Commit and Tag
85
-
86
- ```bash
87
- git add package.json package-lock.json <chemin du CHANGELOG du paquet publié> README.md # the files this release changed, named
88
- git commit -m "chore: release vX.Y.Z"
89
- git tag -a vX.Y.Z -m "Release vX.Y.Z"
90
- ```
91
-
92
- ### 7. Push to GitHub
93
-
94
- ```bash
95
- git push origin HEAD
96
- git push origin vX.Y.Z
97
- ```
98
-
99
- ### 8. Publish to npm
100
-
101
- ```bash
102
- npm publish --access public
103
- ```
104
-
105
- ### 9. Create GitHub Release
106
-
107
- ```bash
108
- gh release create vX.Y.Z --title "vX.Y.Z" --notes-from-tag
109
- ```
110
-
111
- ## Troubleshooting
112
-
113
- ### npm publish fails
114
- - Check you're logged in: `npm whoami`
115
- - Check package name is available
116
- - Verify you have publish rights to the scope
117
-
118
- ### Tag already exists
119
- - Delete local tag: `git tag -d vX.Y.Z`
120
- - Delete remote tag: `git push origin :refs/tags/vX.Y.Z`
121
-
122
- ### Version mismatch
123
- - Always update package.json first
124
- - Use the version sync script to update all references
125
-
126
- ## Scripts
127
-
128
- ### update-version.cjs
129
-
130
- Use this script to automatically update version references across the project:
131
-
132
- ```bash
133
- node "${CLAUDE_PLUGIN_ROOT}/skills/release/scripts/update-version.cjs"
134
- ```
@@ -1,92 +0,0 @@
1
- /**
2
- * Version Update Script
3
- *
4
- * Automatically updates version strings across the project.
5
- * Reads the version from package.json and updates all configured files.
6
- *
7
- * Usage:
8
- * node <the plugin grillhouse>/skills/release/scripts/update-version.cjs
9
- *
10
- * Customize the FILES_TO_UPDATE array for your project structure.
11
- */
12
-
13
- const fs = require('fs');
14
- const path = require('path');
15
-
16
- // Read version from package.json (source of truth)
17
- const packageJsonPath = path.join(__dirname, '..', '..', '..', '..', 'package.json');
18
- const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
19
- const version = packageJson.version;
20
-
21
- console.log(`Updating version references to: ${version}`);
22
-
23
- /**
24
- * Files to update with version patterns
25
- *
26
- * Each entry has:
27
- * - file: relative path from project root
28
- * - patterns: array of { search: RegExp, replace: string template }
29
- *
30
- * In replace strings, use $VERSION as placeholder for the version number
31
- */
32
- const FILES_TO_UPDATE = [
33
- {
34
- file: 'README.md',
35
- patterns: [
36
- // npm install command with version
37
- {
38
- search: /@your-scope\/project-name@[\d.]+/g,
39
- replace: '@your-scope/project-name@$VERSION',
40
- },
41
- // Version badge
42
- {
43
- search: /version-[\d.]+-blue/g,
44
- replace: 'version-$VERSION-blue',
45
- },
46
- ],
47
- },
48
- // Add more files as needed for your project
49
- // {
50
- // file: 'src/config.ts',
51
- // patterns: [
52
- // {
53
- // search: /VERSION\s*=\s*['"][\d.]+['"]/g,
54
- // replace: 'VERSION = \'$VERSION\'',
55
- // },
56
- // ],
57
- // },
58
- ];
59
-
60
- // Process each file
61
- const projectRoot = path.join(__dirname, '..', '..', '..', '..');
62
-
63
- for (const config of FILES_TO_UPDATE) {
64
- const filePath = path.join(projectRoot, config.file);
65
-
66
- if (!fs.existsSync(filePath)) {
67
- console.log(`Skipping ${config.file} (file not found)`);
68
- continue;
69
- }
70
-
71
- let content = fs.readFileSync(filePath, 'utf8');
72
- let updated = false;
73
-
74
- for (const pattern of config.patterns) {
75
- const newContent = content.replace(pattern.search, pattern.replace.replace('$VERSION', version));
76
-
77
- if (newContent !== content) {
78
- content = newContent;
79
- updated = true;
80
- }
81
- }
82
-
83
- if (updated) {
84
- fs.writeFileSync(filePath, content, 'utf8');
85
- console.log(`Updated: ${config.file}`);
86
- } else {
87
- console.log(`No changes: ${config.file}`);
88
- }
89
- }
90
-
91
- console.log('\nVersion update complete!');
92
- console.log(`\nDon't forget to update CHANGELOG.md manually with release notes.`);