cerber-core 1.0.1 → 1.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.
Files changed (2) hide show
  1. package/README.md +21 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -936,10 +936,29 @@ nano .cerber/BIBLE.md
936
936
 
937
937
  ### Integration with Cerber
938
938
 
939
- - **Guardian** validates modules match BIBLE structure
939
+ Cerber automatically reads BIBLE.md from `.cerber/BIBLE.md` when running health checks:
940
+
941
+ ```typescript
942
+ // server.ts
943
+ import { createHealthEndpoint } from 'cerber-core';
944
+
945
+ const healthChecks = {
946
+ // Cerber automatically validates against .cerber/BIBLE.md
947
+ architecture: async () => {
948
+ // Checks if actual modules match BIBLE structure
949
+ return await validateArchitectureAgainstBible();
950
+ }
951
+ };
952
+
953
+ app.get('/api/health', createHealthEndpoint(healthChecks));
954
+ ```
955
+
956
+ **What Cerber checks:**
957
+ - **Guardian** validates modules match BIBLE structure (pre-commit)
940
958
  - **Focus Mode** uses BIBLE to isolate context (500 LOC vs 10K LOC)
941
959
  - **Module checks** ensure boundaries defined in BIBLE are respected
942
960
  - **Morning checks** verify BIBLE is up-to-date with codebase
961
+ - **Runtime health** checks architecture drift from BIBLE
943
962
 
944
963
  **Result:** Your team stays aligned even when coding at AI speed! 🚀
945
964
 
@@ -1448,7 +1467,7 @@ Made with 🛡️ by developers, for developers
1448
1467
  ### 🎯 The Story
1449
1468
 
1450
1469
  **Stefan Pitek** - Career changer who started coding in May 2025
1451
- - Former banking professional (10+ years)
1470
+ - 30 years professional experience: 12 years banking, 8 years hospitality, 8 years business, 2 years as chef
1452
1471
  - Co-owned restaurant with Agata
1453
1472
  - First line of code: May 2025
1454
1473
  - 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.2",
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",