feat: add contextual help and stabilize repository layout
ForgeFlow quality gate / secret-scan (push) Failing after 28s
ForgeFlow quality gate / quality (push) Failing after 0s

This commit is contained in:
NuklearRabbit
2026-08-27 01:19:36 +02:00
parent d47c7b5e41
commit e882656e85
17 changed files with 660 additions and 82 deletions
+76 -46
View File
@@ -1,5 +1,5 @@
{
"generatedAt": "2026-08-26T22:18:32.525Z",
"generatedAt": "2026-08-26T23:19:01.915Z",
"thresholds": {
"preferredMaximumLines": 750,
"justificationRequiredLines": 1000
@@ -19,6 +19,22 @@
],
"hotspotScore": 154
},
{
"file": "src/renderer/views.js",
"lines": 876,
"branches": 61,
"functions": 161,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
"deployment",
"git",
"renderer",
"security",
"updates"
],
"hotspotScore": 101
},
{
"file": "src/main/update-service.cjs",
"lines": 854,
@@ -31,6 +47,20 @@
"updates"
],
"hotspotScore": 74
},
{
"file": "src/renderer/mock-repository-bridge.js",
"lines": 780,
"branches": 19,
"functions": 100,
"ipcHandlers": 0,
"responsibilities": [
"deployment",
"git",
"security",
"updates"
],
"hotspotScore": 39
}
],
"over1000": [],
@@ -51,9 +81,9 @@
},
{
"file": "src/renderer/actions/shell.js",
"lines": 518,
"branches": 101,
"functions": 86,
"lines": 531,
"branches": 103,
"functions": 90,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
@@ -62,11 +92,11 @@
"renderer",
"updates"
],
"hotspotScore": 131
"hotspotScore": 133
},
{
"file": "src/renderer/app.js",
"lines": 734,
"lines": 738,
"branches": 80,
"functions": 124,
"ipcHandlers": 0,
@@ -128,9 +158,9 @@
},
{
"file": "src/renderer/actions/shell.js",
"lines": 518,
"branches": 101,
"functions": 86,
"lines": 531,
"branches": 103,
"functions": 90,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
@@ -139,11 +169,11 @@
"renderer",
"updates"
],
"hotspotScore": 131
"hotspotScore": 133
},
{
"file": "src/renderer/app.js",
"lines": 734,
"lines": 738,
"branches": 80,
"functions": 124,
"ipcHandlers": 0,
@@ -187,9 +217,25 @@
],
"hotspotScore": 106
},
{
"file": "src/renderer/views.js",
"lines": 876,
"branches": 61,
"functions": 161,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
"deployment",
"git",
"renderer",
"security",
"updates"
],
"hotspotScore": 101
},
{
"file": "src/renderer/dialogs.js",
"lines": 433,
"lines": 435,
"branches": 60,
"functions": 83,
"ipcHandlers": 0,
@@ -234,22 +280,6 @@
],
"hotspotScore": 94
},
{
"file": "src/renderer/views.js",
"lines": 736,
"branches": 53,
"functions": 152,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
"deployment",
"git",
"renderer",
"security",
"updates"
],
"hotspotScore": 93
},
{
"file": "src/main/ssh-service.cjs",
"lines": 513,
@@ -418,9 +448,9 @@
},
{
"file": "src/renderer/events.js",
"lines": 181,
"branches": 35,
"functions": 27,
"lines": 189,
"branches": 37,
"functions": 28,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
@@ -429,7 +459,7 @@
"renderer",
"security"
],
"hotspotScore": 65
"hotspotScore": 67
},
{
"file": "src/main/git-validator-service.cjs",
@@ -640,6 +670,20 @@
],
"hotspotScore": 42
},
{
"file": "src/renderer/mock-repository-bridge.js",
"lines": 780,
"branches": 19,
"functions": 100,
"ipcHandlers": 0,
"responsibilities": [
"deployment",
"git",
"security",
"updates"
],
"hotspotScore": 39
},
{
"file": "src/renderer/mock-bridge.js",
"lines": 590,
@@ -654,20 +698,6 @@
],
"hotspotScore": 37
},
{
"file": "src/renderer/mock-repository-bridge.js",
"lines": 701,
"branches": 14,
"functions": 91,
"ipcHandlers": 0,
"responsibilities": [
"deployment",
"git",
"security",
"updates"
],
"hotspotScore": 34
},
{
"file": "src/main/deployment-identity.cjs",
"lines": 36,
+5 -3
View File
@@ -1,13 +1,15 @@
# ForgeFlow architecture audit
Generated 2026-08-26T22:18:32.525Z. Complexity is a deterministic decision-point count used for hotspot ranking, not a claim of exact McCabe complexity.
Generated 2026-08-26T23:19:01.915Z. Complexity is a deterministic decision-point count used for hotspot ranking, not a claim of exact McCabe complexity.
## Files above 750 lines
| File | Lines | Decisions | Functions | IPC handlers | Responsibilities |
|---|---:|---:|---:|---:|---|
| `src/main/git-service.cjs` | 881 | 134 | 147 | 0 | git, renderer, security, updates |
| `src/renderer/views.js` | 876 | 61 | 161 | 0 | inventory, deployment, git, renderer, security, updates |
| `src/main/update-service.cjs` | 854 | 64 | 65 | 0 | git, security, updates |
| `src/renderer/mock-repository-bridge.js` | 780 | 19 | 100 | 0 | deployment, git, security, updates |
## Files above 1,000 lines
@@ -20,8 +22,8 @@ No findings.
| File | Lines | Decisions | Functions | IPC handlers | Responsibilities |
|---|---:|---:|---:|---:|---|
| `src/main/git-service.cjs` | 881 | 134 | 147 | 0 | git, renderer, security, updates |
| `src/renderer/actions/shell.js` | 518 | 101 | 86 | 0 | inventory, deployment, git, renderer, updates |
| `src/renderer/app.js` | 734 | 80 | 124 | 0 | inventory, deployment, git, renderer, security, updates |
| `src/renderer/actions/shell.js` | 531 | 103 | 90 | 0 | inventory, deployment, git, renderer, updates |
| `src/renderer/app.js` | 738 | 80 | 124 | 0 | inventory, deployment, git, renderer, security, updates |
| `src/main/server-inventory.cjs` | 578 | 89 | 104 | 0 | inventory, deployment, git, security, updates |
| `src/main/unraid-inventory-methods.cjs` | 710 | 76 | 93 | 0 | inventory, deployment, git, security, updates |