claudeos-core 2.1.1 → 2.2.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 (35) hide show
  1. package/CHANGELOG.md +426 -0
  2. package/README.de.md +32 -5
  3. package/README.es.md +32 -5
  4. package/README.fr.md +32 -5
  5. package/README.hi.md +32 -5
  6. package/README.ja.md +32 -5
  7. package/README.ko.md +32 -5
  8. package/README.md +32 -5
  9. package/README.ru.md +34 -5
  10. package/README.vi.md +32 -5
  11. package/README.zh-CN.md +32 -5
  12. package/bin/commands/init.js +81 -45
  13. package/content-validator/index.js +6 -1
  14. package/lib/env-parser.js +317 -0
  15. package/lib/memory-scaffold.js +7 -5
  16. package/package.json +1 -1
  17. package/pass-prompts/templates/angular/pass3.md +28 -13
  18. package/pass-prompts/templates/common/claude-md-scaffold.md +644 -0
  19. package/pass-prompts/templates/common/pass3-footer.md +185 -0
  20. package/pass-prompts/templates/common/pass4.md +6 -3
  21. package/pass-prompts/templates/common/staging-override.md +1 -1
  22. package/pass-prompts/templates/java-spring/pass3.md +31 -21
  23. package/pass-prompts/templates/kotlin-spring/pass3.md +34 -22
  24. package/pass-prompts/templates/node-express/pass3.md +30 -21
  25. package/pass-prompts/templates/node-fastify/pass3.md +28 -14
  26. package/pass-prompts/templates/node-nestjs/pass3.md +29 -14
  27. package/pass-prompts/templates/node-nextjs/pass3.md +34 -21
  28. package/pass-prompts/templates/node-vite/pass3.md +30 -13
  29. package/pass-prompts/templates/python-django/pass3.md +32 -21
  30. package/pass-prompts/templates/python-fastapi/pass3.md +33 -21
  31. package/pass-prompts/templates/python-flask/pass3.md +31 -13
  32. package/pass-prompts/templates/vue-nuxt/pass3.md +32 -13
  33. package/plan-installer/index.js +8 -0
  34. package/plan-installer/prompt-generator.js +18 -1
  35. package/plan-installer/stack-detector.js +16 -0
@@ -21,17 +21,27 @@ Determine from pass2-merged.json how data flows between components, services, an
21
21
  This MUST be identical across architecture.md, component-patterns.md, http-patterns.md,
22
22
  state-management.md, and all rules files. Do NOT describe different data flows in different files.
23
23
 
24
- CRITICAL — CLAUDE.md Reference Table Completeness:
25
- The reference table in CLAUDE.md MUST list ALL generated standard files.
26
-
27
24
  Generation targets:
28
25
 
29
26
  1. CLAUDE.md (project root)
30
- - Role definition (Angular frontend)
31
- - Build & Run Commands (ng serve, ng build, ng test — using detected packageManager)
32
- - Core architecture diagram (Module Component → Service → HTTP)
33
- - State management approach
34
- - Standard/Skills/Guide reference table
27
+
28
+ Follow the scaffold EXACTLY:
29
+ `pass-prompts/templates/common/claude-md-scaffold.md`
30
+
31
+ The scaffold enforces an 8-section deterministic structure:
32
+ 1. Role Definition → 2. Project Overview → 3. Build & Run Commands →
33
+ 4. Core Architecture → 5. Directory Structure → 6. Standard / Rules / Skills Reference →
34
+ 7. DO NOT Read → 8. Common Rules & Memory (L4)
35
+
36
+ All section titles, order, and formats are FIXED by the scaffold.
37
+ Content within each section adapts to this project based on pass2-merged.json.
38
+ The scaffold's validation checklist MUST pass.
39
+
40
+ Stack-specific hints for this project (Angular):
41
+ - Project type for Section 1 PROJECT_CONTEXT: "Angular-based SPA" or the actual character of the project
42
+ - Architecture diagram (Section 4): Module → Component → Service → HTTP layers
43
+ - State management approach goes in Section 4 Core Patterns
44
+ - Use ng commands (ng serve, ng build, ng test) in Section 3
35
45
 
36
46
  2. claudeos-core/standard/ (active domains only)
37
47
  - 00.core/01.project-overview.md — Stack (Angular version, TypeScript version), project structure
@@ -68,14 +78,19 @@ Generation targets:
68
78
  - `00.core/*` rules: `paths: ["**/*"]`
69
79
  - `20.frontend/*` rules: `paths: ["**/*"]`
70
80
  - `30.security-db/*` rules: `paths: ["**/*"]`
71
- - `40.infra/*` rules: `paths: ["**/*.json", "**/*.env*", "**/angular.json", "**/Dockerfile*", "**/*.yml", "**/*.yaml"]`
81
+ - `40.infra/01.environment-config-rules.md` paths: `["**/*.env*", "**/angular.json", "**/environments/**", "**/*.json"]` — env / Angular workspace config
82
+ - `40.infra/02.logging-monitoring-rules.md` paths: `["**/*.ts", "**/*.html"]` — source code where logs live
83
+ - `40.infra/03.cicd-deployment-rules.md` paths: `["**/*.yml", "**/*.yaml", "**/Dockerfile*", "**/*.ts"]` — CI config + source
72
84
  - `50.sync/*` rules: `paths: ["**/claudeos-core/**", "**/.claude/**"]`
85
+ - `60.memory/*` rules: forward reference — Pass 4 will generate 4 files (01.decision-log, 02.failure-patterns, 03.compaction, 04.auto-rule-update), each with file-specific `paths`. Pass 3 must STILL list ```.claude/rules/60.memory/*``` as a row in CLAUDE.md Section 6 Rules table so developers/Claude see the category exists.
73
86
  - MUST generate `.claude/rules/00.core/00.standard-reference.md` as a directory of all standard files
74
87
 
75
- 4. .claude/rules/50.sync/ (3 sync rules)
76
- - 01.standard-sync.md
77
- - 02.rules-sync.md
78
- - 03.skills-sync.md
88
+ 4. .claude/rules/50.sync/ (2 sync rules)
89
+ - 01.doc-sync.md — Bidirectional standard ↔ rules sync reminder (both directions in ONE rule).
90
+ Do NOT generate a separate 02.rules-sync.md mirror file — redundant.
91
+ Express the mapping as a naming convention (standard/<N>.<dir>/<M>.<n>.md
92
+ .claude/rules/<N>.<dir>/<M>.<n>-rules.md), NOT a hardcoded file-to-file table.
93
+ - 02.skills-sync.md — Remind AI to update MANIFEST.md when skills are modified
79
94
 
80
95
  5. claudeos-core/skills/ (active domains only)
81
96
  - 20.frontend-page/01.scaffold-feature-module.md (orchestrator — Angular feature module scaffolding)