claudeos-core 2.2.0 → 2.3.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +1664 -907
  2. package/CONTRIBUTING.md +92 -92
  3. package/README.de.md +28 -0
  4. package/README.es.md +28 -0
  5. package/README.fr.md +28 -0
  6. package/README.hi.md +28 -0
  7. package/README.ja.md +28 -0
  8. package/README.ko.md +1014 -986
  9. package/README.md +1016 -987
  10. package/README.ru.md +28 -0
  11. package/README.vi.md +1015 -987
  12. package/README.zh-CN.md +28 -0
  13. package/bin/cli.js +152 -148
  14. package/bin/commands/init.js +1673 -1554
  15. package/bin/commands/lint.js +62 -0
  16. package/bin/commands/memory.js +438 -438
  17. package/bin/lib/cli-utils.js +206 -206
  18. package/claude-md-validator/index.js +184 -0
  19. package/claude-md-validator/reporter.js +66 -0
  20. package/claude-md-validator/structural-checks.js +528 -0
  21. package/content-validator/index.js +666 -441
  22. package/lib/expected-guides.js +23 -23
  23. package/lib/expected-outputs.js +90 -90
  24. package/lib/language-config.js +35 -35
  25. package/lib/memory-scaffold.js +1058 -1054
  26. package/lib/plan-parser.js +165 -165
  27. package/lib/staged-rules.js +118 -118
  28. package/manifest-generator/index.js +174 -174
  29. package/package.json +90 -87
  30. package/pass-json-validator/index.js +337 -337
  31. package/pass-prompts/templates/common/claude-md-scaffold.md +52 -10
  32. package/pass-prompts/templates/common/pass3-footer.md +402 -224
  33. package/pass-prompts/templates/common/pass3b-core-header.md +43 -0
  34. package/pass-prompts/templates/common/pass4.md +375 -305
  35. package/pass-prompts/templates/common/staging-override.md +26 -26
  36. package/pass-prompts/templates/node-vite/pass1.md +117 -117
  37. package/pass-prompts/templates/node-vite/pass2.md +78 -78
  38. package/pass-prompts/templates/python-flask/pass1.md +119 -119
  39. package/pass-prompts/templates/python-flask/pass2.md +85 -85
  40. package/plan-installer/domain-grouper.js +76 -76
  41. package/plan-installer/index.js +137 -137
  42. package/plan-installer/prompt-generator.js +188 -145
  43. package/plan-installer/scanners/scan-frontend.js +505 -473
  44. package/plan-installer/scanners/scan-java.js +226 -226
  45. package/plan-installer/scanners/scan-node.js +57 -57
  46. package/plan-installer/scanners/scan-python.js +85 -85
  47. package/plan-installer/stack-detector.js +482 -482
  48. package/plan-installer/structure-scanner.js +65 -65
  49. package/sync-checker/index.js +177 -177
@@ -51,6 +51,49 @@ MUST match the fact sheet exactly. If `pass3a-facts.md` says
51
51
  `controller-patterns.md`, `response-exception.md`, and
52
52
  `controller-rules.md` MUST all show Controller wrapping the response.
53
53
 
54
+ ## CLAUDE.md Section 6 — Skills sub-section (entry point only)
55
+
56
+ The Skills sub-section inside CLAUDE.md Section 6 is an **entry point**,
57
+ not a full registry. Pass 3c has not yet run when Section 6 is being
58
+ written, so the specific sub-skill filenames (e.g. `01.dto.md`,
59
+ `02.mapper-read.md`) do not exist and must NOT be predicted. Listing
60
+ sub-skills here by name always produces one of two bugs:
61
+
62
+ 1. Hallucinated filenames when Pass 3c picks a different breakdown than
63
+ the one predicted (e.g. `01.entity.md` written here, `01.dto.md`
64
+ generated by Pass 3c → mismatch → MANIFEST_DRIFT).
65
+
66
+ 2. Silent staleness when Pass 3c adds or removes a sub-skill later and
67
+ CLAUDE.md is not regenerated — the listed names diverge from
68
+ MANIFEST and the drift is user-visible.
69
+
70
+ ### What to write in Section 6 — Skills
71
+
72
+ List ONLY:
73
+ - `claudeos-core/skills/00.shared/MANIFEST.md` — the skill registry
74
+ - The orchestrator file(s) for any skill that has sub-skills, with a
75
+ short one-line role description. Example:
76
+ `claudeos-core/skills/10.backend-crud/01.scaffold-crud-feature.md`
77
+ — CRUD scaffolding orchestrator (sub-skills registered in MANIFEST).
78
+ - Standalone skills (skills without sub-skills), if any exist and can
79
+ be verified from the Pass 3c scope described in the stack template.
80
+
81
+ ### What NOT to write in Section 6 — Skills
82
+
83
+ - Do NOT list individual sub-skill files
84
+ (`scaffold-crud-feature/01.dto.md`,
85
+ `scaffold-crud-feature/02.mapper-read.md`, …). They belong in
86
+ MANIFEST only. The orchestrator row in Section 6 covers them via
87
+ indirection — the v2.3.0 validator recognizes this pattern and
88
+ suppresses MANIFEST_DRIFT for sub-skills under a mentioned
89
+ orchestrator.
90
+ - Do NOT predict sub-skill names, counts, or ordering. Write
91
+ "sub-skills registered in MANIFEST" instead of enumerating them.
92
+
93
+ This single-source-of-truth split (CLAUDE.md §6 = entry; MANIFEST =
94
+ full registry) keeps the two documents independently correct as Pass
95
+ 3c iterates on the sub-skill set.
96
+
54
97
  ---
55
98
 
56
99
  Below is the stack-specific generation guide. Apply these instructions within