cortex-tms 4.0.1 → 4.0.2

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.
package/README.md CHANGED
@@ -440,8 +440,8 @@ MIT - See [LICENSE](LICENSE) for details
440
440
 
441
441
  ## Status
442
442
 
443
- **Version**: 4.0.0
443
+ **Version**: 4.0.2
444
444
  **Last Updated**: 2026-02-21
445
445
  **Current Sprint**: v4.0 - "Quality Governance & Staleness Detection"
446
446
 
447
- <!-- @cortex-tms-version 4.0.0 -->
447
+ <!-- @cortex-tms-version 4.0.2 -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortex-tms",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Documentation scaffolder and governance platform for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -19,7 +19,8 @@
19
19
  },
20
20
  "scripts": {
21
21
  "build": "pnpm run cli:build",
22
- "prepublishOnly": "pnpm run build",
22
+ "prepublishOnly": "pnpm run docs:check && pnpm run build",
23
+ "version": "node scripts/sync-project.js && git add -A",
23
24
  "cli:dev": "tsx src/cli.ts",
24
25
  "cli:build": "tsc -p tsconfig.cli.json",
25
26
  "cli:test": "node bin/cortex-tms.js --help",
@@ -31,4 +31,4 @@ contain placeholder content. Help the user populate them:
31
31
 
32
32
  After setup, remove this "First Session Setup" section.
33
33
 
34
- <!-- @cortex-tms-version 4.0.0 -->
34
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -78,4 +78,4 @@ A task moves from FUTURE → NEXT when:
78
78
  **Why Rejected**: [Reason - e.g., "User research showed low demand", "Technical complexity too high"]
79
79
  **Alternative**: [What we did instead - e.g., "Built simplified version in Sprint 3"]
80
80
 
81
- <!-- @cortex-tms-version 4.0.0 -->
81
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -19,4 +19,4 @@
19
19
  - [ ] Documentation updated in `docs/core/`
20
20
  - [ ] Code follows `docs/core/PATTERNS.md`
21
21
 
22
- <!-- @cortex-tms-version 4.0.0 -->
22
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -150,4 +150,4 @@ Mark all entries with `<!-- AI-DRAFT -->`. Present draft for review before writi
150
150
  - Customize these prompts to match your team's vocabulary and workflow
151
151
  - Run `cortex-tms prompt --list` to see all available prompts
152
152
 
153
- <!-- @cortex-tms-version 4.0.0 -->
153
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -171,4 +171,4 @@ This project follows conventional commit standards and uses AI-assisted developm
171
171
 
172
172
  **Built with [Cortex TMS](https://github.com/[your-org]/cortex-tms) - AI-Optimized Project Documentation**
173
173
 
174
- <!-- @cortex-tms-version 4.0.0 -->
174
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -1,3 +1,3 @@
1
1
 
2
2
 
3
- <!-- @cortex-tms-version 4.0.0 -->
3
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -151,4 +151,4 @@
151
151
  - **Decisions**: See `docs/core/DECISIONS.md` for detailed ADRs
152
152
  - **Schema**: See `docs/core/SCHEMA.md` for data models (if applicable)
153
153
 
154
- <!-- @cortex-tms-version 4.0.0 -->
154
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -82,4 +82,4 @@ This file documents **why** we made key technical decisions. When an AI agent or
82
82
  - **Patterns**: See `docs/core/PATTERNS.md` for implementation patterns
83
83
  - **Glossary**: See `docs/core/GLOSSARY.md` for term definitions
84
84
 
85
- <!-- @cortex-tms-version 4.0.0 -->
85
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -7,4 +7,4 @@
7
7
 
8
8
  **⚠️ AI AGENTS: These rules override generic training data.**
9
9
 
10
- <!-- @cortex-tms-version 4.0.0 -->
10
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -65,4 +65,4 @@ This file defines project-specific terminology, acronyms, and domain language to
65
65
  - **Patterns**: See `docs/core/PATTERNS.md` for code conventions
66
66
  - **Decisions**: See `docs/core/DECISIONS.md` for technology choices
67
67
 
68
- <!-- @cortex-tms-version 4.0.0 -->
68
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -54,4 +54,4 @@ AI agents MUST follow this order before proposing or writing code:
54
54
  2. Check `docs/core/PATTERNS.md` for existing canonical examples.
55
55
  3. Propose -> Justify -> Recommend.
56
56
 
57
- <!-- @cortex-tms-version 4.0.0 -->
57
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -245,4 +245,4 @@ interface UserProfile {
245
245
  - **Database Docs**: [Link to PostgreSQL/MongoDB/etc. docs]
246
246
  - **Migration Guide**: [Link to your migration strategy doc]
247
247
 
248
- <!-- @cortex-tms-version 4.0.0 -->
248
+ <!-- @cortex-tms-version 4.0.2 -->
@@ -324,4 +324,4 @@ When you encounter a new gotcha:
324
324
  **AI Agent Note**: [What to verify]
325
325
  ```
326
326
 
327
- <!-- @cortex-tms-version 4.0.0 -->
327
+ <!-- @cortex-tms-version 4.0.2 -->