cerber-core 1.0.1 → 1.0.3

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 (2) hide show
  1. package/README.md +54 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,6 +10,15 @@
10
10
  **Status:** Production-ready ✅
11
11
  **License:** MIT
12
12
 
13
+ ## 🚀 Try It Now
14
+
15
+ ```bash
16
+ npm install cerber-core --save-dev
17
+ npx cerber-guardian --help
18
+ ```
19
+
20
+ ⭐ **Like what you see?** [Star the repo](https://github.com/Agaslez/cerber-core) and share with your team!
21
+
13
22
  ---
14
23
 
15
24
  ## 📊 Real Production Metrics
@@ -36,6 +45,30 @@ ROI: Break-even on Day 1
36
45
 
37
46
  ---
38
47
 
48
+ ## 💼 Business Value
49
+
50
+ **For CTOs & Engineering Managers:**
51
+ - **Reduce production incidents** - 95% bugs caught pre-production (vs 60-70% manual reviews)
52
+ - **Cut debugging costs** - 4.5 hours saved per developer per session
53
+ - **Speed up onboarding** - BIBLE.md = instant project understanding for new hires
54
+ - **Enforce architecture** - Prevent technical debt before it enters codebase
55
+
56
+ **Cost Comparison:**
57
+ ```
58
+ Manual Code Reviews: $150/hour × 2 hours/day = $300/day
59
+ Cerber Core: $0 (open source) + 4h one-time setup
60
+ Break-even: Day 1 ✅
61
+ Ongoing savings: $6,000/month per developer
62
+ ```
63
+
64
+ **Who uses Cerber Core?**
65
+ - 🏢 **Startups** - Solo founders building fast with AI (SOLO layer)
66
+ - 👥 **Small teams** - 2-5 developers maintaining consistency (TEAM layer)
67
+ - 🚀 **Growing companies** - Enforcing architecture as team scales
68
+ - 🏭 **SaaS companies** - Production health monitoring (Cerber 2.1)
69
+
70
+ ---
71
+
39
72
  ## 🎯 What is Cerber Core?
40
73
 
41
74
  Cerber Core is a comprehensive toolkit for maintaining code quality and architecture in growing Node.js projects.
@@ -936,10 +969,29 @@ nano .cerber/BIBLE.md
936
969
 
937
970
  ### Integration with Cerber
938
971
 
939
- - **Guardian** validates modules match BIBLE structure
972
+ Cerber automatically reads BIBLE.md from `.cerber/BIBLE.md` when running health checks:
973
+
974
+ ```typescript
975
+ // server.ts
976
+ import { createHealthEndpoint } from 'cerber-core';
977
+
978
+ const healthChecks = {
979
+ // Cerber automatically validates against .cerber/BIBLE.md
980
+ architecture: async () => {
981
+ // Checks if actual modules match BIBLE structure
982
+ return await validateArchitectureAgainstBible();
983
+ }
984
+ };
985
+
986
+ app.get('/api/health', createHealthEndpoint(healthChecks));
987
+ ```
988
+
989
+ **What Cerber checks:**
990
+ - **Guardian** validates modules match BIBLE structure (pre-commit)
940
991
  - **Focus Mode** uses BIBLE to isolate context (500 LOC vs 10K LOC)
941
992
  - **Module checks** ensure boundaries defined in BIBLE are respected
942
993
  - **Morning checks** verify BIBLE is up-to-date with codebase
994
+ - **Runtime health** checks architecture drift from BIBLE
943
995
 
944
996
  **Result:** Your team stays aligned even when coding at AI speed! 🚀
945
997
 
@@ -1448,7 +1500,7 @@ Made with 🛡️ by developers, for developers
1448
1500
  ### 🎯 The Story
1449
1501
 
1450
1502
  **Stefan Pitek** - Career changer who started coding in May 2025
1451
- - Former banking professional (10+ years)
1503
+ - 30 years professional experience: 12 years banking, 8 years hospitality, 8 years business, 2 years as chef
1452
1504
  - Co-owned restaurant with Agata
1453
1505
  - First line of code: May 2025
1454
1506
  - 8 months later: 3 production SaaS apps + this open-source tool
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cerber-core",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Dual-layer code quality & production health monitoring - Guardian (pre-commit) + Cerber (runtime) + SOLO (automation) + TEAM (collaboration)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",