@capagents/forgeqe 2.9.5 → 2.9.7
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/HOW_TO_USE.md +130 -1
- package/README.md +3 -0
- package/dist/docs-site/docs/architecture/index.html +1 -1
- package/dist/docs-site/docs/containers/index.html +2 -2
- package/dist/docs-site/docs/cost-architecture/index.html +1 -1
- package/dist/docs-site/docs/custom-agents-first-run/index.html +216 -0
- package/dist/docs-site/docs/desktop/index.html +1 -1
- package/dist/docs-site/docs/desktop-ci/index.html +1 -1
- package/dist/docs-site/docs/evidence/index.html +992 -0
- package/dist/docs-site/docs/feature-test-prompts/index.html +1 -1
- package/dist/docs-site/docs/graphify/index.html +380 -0
- package/dist/docs-site/docs/guardrails/index.html +2 -2
- package/dist/docs-site/docs/index.html +141 -6
- package/dist/docs-site/docs/mobile/index.html +1 -1
- package/dist/docs-site/docs/model-routing/index.html +1 -1
- package/dist/docs-site/docs/product-graph/index.html +356 -0
- package/dist/docs-site/docs/product-knowledge/index.html +3 -3
- package/dist/docs-site/docs/product-views/index.html +431 -0
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/web-app/index.html +2 -2
- package/dist/forgeqe.js +1866 -1664
- package/dist/web/assets/{Agent-BU8FKiQt.js → Agent-I5mRol1P.js} +1 -1
- package/dist/web/assets/{ApiTests-Bsv3NhD5.js → ApiTests--JGFKbOa.js} +1 -1
- package/dist/web/assets/{Browse-D-ho9bS_.js → Browse-CIcl1j4N.js} +2 -2
- package/dist/web/assets/Chat-Baph1nlV.js +3 -0
- package/dist/web/assets/{CommandPalette-CrLuxoE5.js → CommandPalette-Dd0seTKQ.js} +1 -1
- package/dist/web/assets/{Compare-DfHMTNGi.js → Compare-B7barE31.js} +1 -1
- package/dist/web/assets/{Cost-BYb3T8-c.js → Cost-CGXZTXSz.js} +1 -1
- package/dist/web/assets/{Data-EF_k6c_T.js → Data-DGKi3KHS.js} +1 -1
- package/dist/web/assets/{Desktop-DY5Q1Sd3.js → Desktop-wfNhaxat.js} +1 -1
- package/dist/web/assets/{DesktopReview-DFKpYor2.js → DesktopReview-Cxn3mgKO.js} +1 -1
- package/dist/web/assets/{Evidence-Db9H4-Nu.js → Evidence-BZ-WKU9t.js} +1 -1
- package/dist/web/assets/{Explore-B0EkFCFe.js → Explore-pa8l7kiC.js} +1 -1
- package/dist/web/assets/{Features-8jsv2A1d.js → Features-JDMSSUpb.js} +1 -1
- package/dist/web/assets/{Flags-DtzmOA5o.js → Flags-DcWTBteQ.js} +1 -1
- package/dist/web/assets/{Flaky-BCzOx7Mq.js → Flaky-DnHWlzlk.js} +1 -1
- package/dist/web/assets/{ForceGraph-i1zlas5l.js → ForceGraph-BLYMwmyj.js} +1 -1
- package/dist/web/assets/{Impact-Da9L1tDd.js → Impact-Dn5PPQ5Z.js} +1 -1
- package/dist/web/assets/{Jobs-CHw00lcx.js → Jobs-CNhlUenm.js} +1 -1
- package/dist/web/assets/{KindPage-DiOmtzVZ.js → KindPage-BPwFdxHe.js} +1 -1
- package/dist/web/assets/{Migration-Cu4JgOj1.js → Migration-DsGwJd40.js} +1 -1
- package/dist/web/assets/{Product-DmvUI7pH.js → Product-DsolJU4Y.js} +1 -1
- package/dist/web/assets/{Production-CLoOV4jl.js → Production-Cnh3wWiK.js} +1 -1
- package/dist/web/assets/{Quality-ylTg9e0c.js → Quality-W_rQ6nRf.js} +1 -1
- package/dist/web/assets/{Readiness-BMD5Uj8D.js → Readiness-IWAIRZwC.js} +1 -1
- package/dist/web/assets/Record-DOImb7O7.js +2 -0
- package/dist/web/assets/{Regression-D_Hy9bMt.js → Regression-DQuiIAFx.js} +1 -1
- package/dist/web/assets/{Reports-DXphAHAy.js → Reports-C16UVZtQ.js} +1 -1
- package/dist/web/assets/{Response-PDQ8zEZU.js → Response-Vh2lEWnS.js} +1 -1
- package/dist/web/assets/{RunDiff-C3MIKipo.js → RunDiff-CVnhT7JE.js} +1 -1
- package/dist/web/assets/{Runs-DSQZwCpE.js → Runs-CI8NJB1v.js} +1 -1
- package/dist/web/assets/{Steps-CY6WROAr.js → Steps-Bwe4WAjy.js} +1 -1
- package/dist/web/assets/{TestCases-BjgWdtPi.js → TestCases-D5oOzYL4.js} +1 -1
- package/dist/web/assets/{TestData-CDziNp2d.js → TestData-27tyi6OD.js} +1 -1
- package/dist/web/assets/{TestDebt-D59zFYSu.js → TestDebt-D9k3uAiS.js} +1 -1
- package/dist/web/assets/{Tosca-umw1O224.js → Tosca-CMmixiPy.js} +1 -1
- package/dist/web/assets/{WhatsNew-DqNMAytd.js → WhatsNew-CuCua9dD.js} +1 -1
- package/dist/web/assets/{dataParts-DGVc48Ed.js → dataParts-D06wI4i1.js} +1 -1
- package/dist/web/assets/{families-DlfXDoO8.js → families-B0QIuAe3.js} +1 -1
- package/dist/web/assets/filters-mFECJpMB.js +1 -0
- package/dist/web/assets/{fold-BKAl2p_2.js → fold-CeQ84ypG.js} +1 -1
- package/dist/web/assets/frame-BcGZt823.js +4 -0
- package/dist/web/assets/{index-BLUj4Sgh.js → index-CotEpFLY.js} +19 -17
- package/dist/web/assets/index-VgSzQGK8.css +2 -0
- package/dist/web/assets/{logos-J0WPxDqj.js → logos-DN9jLn4q.js} +1 -1
- package/dist/web/assets/{palette-DViz4KwG.js → palette-BdMPhc9j.js} +1 -1
- package/dist/web/assets/{parts-W2J4TR3o.js → parts-z_AE9U-M.js} +1 -1
- package/dist/web/assets/{productParts-_8gKGn4o.js → productParts-C4vc_bLJ.js} +1 -1
- package/dist/web/assets/{qualityParts-DnbSeK-G.js → qualityParts-Cfirt7dZ.js} +1 -1
- package/dist/web/assets/{recordTest-etYNiLQy.js → recordTest-GvGQjhR4.js} +1 -1
- package/dist/web/assets/{rows-CbXelp5_.js → rows-CiR4hGkv.js} +1 -1
- package/dist/web/assets/{segmented-B7n6eLrO.js → segmented-DANusepM.js} +1 -1
- package/dist/web/assets/thread-CyTIuLgk.js +5 -0
- package/dist/web/assets/{usePageChat-DMOtRwzT.js → usePageChat-DOTAHsIS.js} +1 -1
- package/dist/web/index.html +4 -4
- package/docs/user-guide.html +137 -2
- package/env.example.yaml +1 -0
- package/forgeqe.example.yaml +14 -0
- package/package.json +1 -1
- package/prompts/brain.md +6 -3
- package/prompts/doc-reader.md +49 -0
- package/prompts/knowledge-agent.md +64 -0
- package/py/forgeqe_engine/brand.py +10 -1
- package/py/forgeqe_engine/capture.py +28 -12
- package/py/forgeqe_engine/logins.py +27 -0
- package/py/forgeqe_engine/loops.py +9 -0
- package/py/forgeqe_engine/memory.py +59 -0
- package/py/forgeqe_engine/recordsession.py +315 -40
- package/py/forgeqe_engine/service.py +11 -3
- package/py/forgeqe_engine/webrecord.py +153 -12
- package/py/forgeqe_engine/webrecord_page.py +211 -45
- package/dist/web/assets/Chat-czaM5kUi.js +0 -3
- package/dist/web/assets/Record-CoCnmfqW.js +0 -2
- package/dist/web/assets/filters-NVjc0d8i.js +0 -1
- package/dist/web/assets/frame-B0nzdTfN.js +0 -4
- package/dist/web/assets/index-RzPHjTCW.css +0 -2
- package/dist/web/assets/thread-BIUxcjeu.js +0 -5
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Product views (design) · ForgeQE docs</title>
|
|
7
|
+
<meta name="description" content="Status:">
|
|
8
|
+
<meta name="theme-color" content="#080a10">
|
|
9
|
+
<link rel="canonical" href="https://forgeqe.qualityai.co.uk/docs/product-views/">
|
|
10
|
+
<link rel="icon" type="image/png" href="../../img/favicon.png">
|
|
11
|
+
<link rel="stylesheet" href="../docs.css">
|
|
12
|
+
<script src="../search.js" defer></script>
|
|
13
|
+
<script src="../docs.js" defer></script>
|
|
14
|
+
</head>
|
|
15
|
+
<body class="docs">
|
|
16
|
+
<svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Lucide icons v0.454.0, ISC licence (https://lucide.dev) -->
|
|
17
|
+
<symbol id="i-monitor" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="14" x="2" y="3" rx="2" />
|
|
18
|
+
<line x1="8" x2="16" y1="21" y2="21" />
|
|
19
|
+
<line x1="12" x2="12" y1="17" y2="21" /></symbol>
|
|
20
|
+
<symbol id="i-smartphone" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="20" x="5" y="2" rx="2" ry="2" />
|
|
21
|
+
<path d="M12 18h.01" /></symbol>
|
|
22
|
+
<symbol id="i-braces" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" />
|
|
23
|
+
<path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" /></symbol>
|
|
24
|
+
<symbol id="i-container" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z" />
|
|
25
|
+
<path d="M10 21.9V14L2.1 9.1" />
|
|
26
|
+
<path d="m10 14 11.9-6.9" />
|
|
27
|
+
<path d="M14 19.8v-8.1" />
|
|
28
|
+
<path d="M18 17.5V9.4" /></symbol>
|
|
29
|
+
<symbol id="i-shield-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />
|
|
30
|
+
<path d="m9 12 2 2 4-4" /></symbol>
|
|
31
|
+
<symbol id="i-file-text" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" />
|
|
32
|
+
<path d="M14 2v4a2 2 0 0 0 2 2h4" />
|
|
33
|
+
<path d="M10 9H8" />
|
|
34
|
+
<path d="M16 13H8" />
|
|
35
|
+
<path d="M16 17H8" /></symbol>
|
|
36
|
+
<symbol id="i-terminal" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5" />
|
|
37
|
+
<line x1="12" x2="20" y1="19" y2="19" /></symbol>
|
|
38
|
+
<symbol id="i-brain" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z" />
|
|
39
|
+
<path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z" />
|
|
40
|
+
<path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4" />
|
|
41
|
+
<path d="M17.599 6.5a3 3 0 0 0 .399-1.375" />
|
|
42
|
+
<path d="M6.003 5.125A3 3 0 0 0 6.401 6.5" />
|
|
43
|
+
<path d="M3.477 10.896a4 4 0 0 1 .585-.396" />
|
|
44
|
+
<path d="M19.938 10.5a4 4 0 0 1 .585.396" />
|
|
45
|
+
<path d="M6 18a4 4 0 0 1-1.967-.516" />
|
|
46
|
+
<path d="M19.967 17.484A4 4 0 0 1 18 18" /></symbol>
|
|
47
|
+
<symbol id="i-git-branch" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><line x1="6" x2="6" y1="3" y2="15" />
|
|
48
|
+
<circle cx="18" cy="6" r="3" />
|
|
49
|
+
<circle cx="6" cy="18" r="3" />
|
|
50
|
+
<path d="M18 9a9 9 0 0 1-9 9" /></symbol>
|
|
51
|
+
<symbol id="i-database" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3" />
|
|
52
|
+
<path d="M3 5V19A9 3 0 0 0 21 19V5" />
|
|
53
|
+
<path d="M3 12A9 3 0 0 0 21 12" /></symbol>
|
|
54
|
+
<symbol id="i-zap" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z" /></symbol>
|
|
55
|
+
<symbol id="i-scan-search" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7V5a2 2 0 0 1 2-2h2" />
|
|
56
|
+
<path d="M17 3h2a2 2 0 0 1 2 2v2" />
|
|
57
|
+
<path d="M21 17v2a2 2 0 0 1-2 2h-2" />
|
|
58
|
+
<path d="M7 21H5a2 2 0 0 1-2-2v-2" />
|
|
59
|
+
<circle cx="12" cy="12" r="3" />
|
|
60
|
+
<path d="m16 16-1.9-1.9" /></symbol>
|
|
61
|
+
<symbol id="i-bug" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m8 2 1.88 1.88" />
|
|
62
|
+
<path d="M14.12 3.88 16 2" />
|
|
63
|
+
<path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />
|
|
64
|
+
<path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6" />
|
|
65
|
+
<path d="M12 20v-9" />
|
|
66
|
+
<path d="M6.53 9C4.6 8.8 3 7.1 3 5" />
|
|
67
|
+
<path d="M6 13H2" />
|
|
68
|
+
<path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
|
|
69
|
+
<path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
|
|
70
|
+
<path d="M22 13h-4" />
|
|
71
|
+
<path d="M17.2 17c2.1.1 3.8 1.9 3.8 4" /></symbol>
|
|
72
|
+
<symbol id="i-repeat" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m17 2 4 4-4 4" />
|
|
73
|
+
<path d="M3 11v-1a4 4 0 0 1 4-4h14" />
|
|
74
|
+
<path d="m7 22-4-4 4-4" />
|
|
75
|
+
<path d="M21 13v1a4 4 0 0 1-4 4H3" /></symbol>
|
|
76
|
+
<symbol id="i-code" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6" />
|
|
77
|
+
<polyline points="8 6 2 12 8 18" /></symbol>
|
|
78
|
+
<symbol id="i-lock" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
|
|
79
|
+
<path d="M7 11V7a5 5 0 0 1 10 0v4" /></symbol>
|
|
80
|
+
<symbol id="i-plug" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22v-5" />
|
|
81
|
+
<path d="M9 8V2" />
|
|
82
|
+
<path d="M15 8V2" />
|
|
83
|
+
<path d="M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z" /></symbol>
|
|
84
|
+
<symbol id="i-layers" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" />
|
|
85
|
+
<path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" />
|
|
86
|
+
<path d="m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" /></symbol>
|
|
87
|
+
<symbol id="i-chevron-right" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6" /></symbol>
|
|
88
|
+
<symbol id="i-copy" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
|
|
89
|
+
<path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></symbol>
|
|
90
|
+
<symbol id="i-play" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 20 12 6 21 6 3" /></symbol>
|
|
91
|
+
<symbol id="i-maximize" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 3 21 3 21 9" /><polyline points="9 21 3 21 3 15" /><line x1="21" x2="14" y1="3" y2="10" /><line x1="3" x2="10" y1="21" y2="14" /></symbol>
|
|
92
|
+
<symbol id="i-x" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></symbol>
|
|
93
|
+
<symbol id="i-mail" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="16" x="2" y="4" rx="2" /><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" /></symbol>
|
|
94
|
+
<symbol id="i-message-square" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /></symbol>
|
|
95
|
+
</svg>
|
|
96
|
+
|
|
97
|
+
<a class="skip" href="#main">Skip to content</a>
|
|
98
|
+
<header class="nav" id="navigation">
|
|
99
|
+
<div class="nav__bar">
|
|
100
|
+
<a class="nav__logo" href="https://forgeqe.github.io/" aria-label="ForgeQE by Capgemini, home"><img src="../../img/wordmark-white.webp" alt="" width="160" height="76"><span class="nav__by">by <img src="../../img/capgemini-color.svg" alt="" width="92" height="21"></span></a>
|
|
101
|
+
<nav aria-label="Main"><ul class="nav__links"><li><a href="https://forgeqe.github.io/"><img class="pix pix--nav" src="../../img/icons/context-engine.svg" alt="" width="40" height="40">Product</a></li><li><a href="../index.html" aria-current="page"><img class="pix pix--nav" src="../../img/icons/wikis.svg" alt="" width="40" height="40">Docs</a></li><li><a href="https://forgeqe.github.io/security/"><img class="pix pix--nav" src="../../img/icons/shield.svg" alt="" width="40" height="40">Security</a></li><li><a href="../../architecture-map/index.html"><img class="pix pix--nav" src="../../img/icons/architecture.svg" alt="" width="40" height="40">Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><img class="pix pix--nav" src="../../img/icons/mail.svg" alt="" width="40" height="40">Contact us</a></li></ul></nav>
|
|
102
|
+
<div class="nav__end">
|
|
103
|
+
<button class="search-open" type="button" aria-haspopup="dialog"><svg class="icon" aria-hidden="true"><use href="#i-scan-search"></use></svg><span>Search</span><kbd>/</kbd></button>
|
|
104
|
+
<button class="nav__menu" type="button" aria-expanded="false" aria-controls="menu"><span class="sr-only">Open the menu</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h16M4 16h16"/></svg></button>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="menu" id="menu" hidden><ul><li><a href="https://forgeqe.github.io/"><img class="pix pix--nav" src="../../img/icons/context-engine.svg" alt="" width="40" height="40">Product</a></li><li><a href="../index.html" aria-current="page"><img class="pix pix--nav" src="../../img/icons/wikis.svg" alt="" width="40" height="40">Docs</a></li><li><a href="https://forgeqe.github.io/security/"><img class="pix pix--nav" src="../../img/icons/shield.svg" alt="" width="40" height="40">Security</a></li><li><a href="../../architecture-map/index.html"><img class="pix pix--nav" src="../../img/icons/architecture.svg" alt="" width="40" height="40">Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><img class="pix pix--nav" src="../../img/icons/mail.svg" alt="" width="40" height="40">Contact us</a></li></ul></div>
|
|
108
|
+
</header>
|
|
109
|
+
<div class="container docs-layout">
|
|
110
|
+
<nav class="docs-side" aria-label="Docs">
|
|
111
|
+
<a class="side-home" href="../index.html"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40">User guide</a>
|
|
112
|
+
<div class="side-group"><p class="side-head">Guide</p><ul><li><a href="../index.html#overview" data-chapter="overview"><img class="pix" src="../../img/icons/context-engine.svg" alt="" width="40" height="40"><span>Overview</span><b>01</b></a></li><li><a href="../index.html#get-started" data-chapter="get-started"><img class="pix" src="../../img/icons/download.svg" alt="" width="40" height="40"><span>Get started</span><b>02</b></a></li><li><a href="../index.html#using" data-chapter="using"><img class="pix" src="../../img/icons/orchestrator.svg" alt="" width="40" height="40"><span>Using ForgeQE</span><b>03</b></a></li></ul></div><div class="side-group"><p class="side-head">Capability areas</p><ul><li><a href="../index.html#area-browser" data-chapter="area-browser"><img class="pix" src="../../img/icons/browser-agent.svg" alt="" width="40" height="40"><span>Browser</span><b>04</b></a></li><li><a href="../index.html#area-test-cases" data-chapter="area-test-cases"><img class="pix" src="../../img/icons/case.svg" alt="" width="40" height="40"><span>Test cases</span><b>05</b></a></li><li><a href="../index.html#area-setup" data-chapter="area-setup"><img class="pix" src="../../img/icons/healer.svg" alt="" width="40" height="40"><span>Setup</span><b>06</b></a></li><li><a href="../index.html#area-desktop" data-chapter="area-desktop"><img class="pix" src="../../img/icons/desktop.svg" alt="" width="40" height="40"><span>Desktop</span><b>07</b></a></li><li><a href="../index.html#area-mobile" data-chapter="area-mobile"><img class="pix" src="../../img/icons/mobile.svg" alt="" width="40" height="40"><span>Mobile</span><b>08</b></a></li><li><a href="../index.html#area-operations" data-chapter="area-operations"><img class="pix" src="../../img/icons/network.svg" alt="" width="40" height="40"><span>Operations</span><b>09</b></a></li><li><a href="../index.html#area-data" data-chapter="area-data"><img class="pix" src="../../img/icons/knowledge-base.svg" alt="" width="40" height="40"><span>Data</span><b>10</b></a></li><li><a href="../index.html#area-automated-tests" data-chapter="area-automated-tests"><img class="pix" src="../../img/icons/scribe.svg" alt="" width="40" height="40"><span>Automated tests</span><b>11</b></a></li><li><a href="../index.html#area-pull-requests" data-chapter="area-pull-requests"><img class="pix" src="../../img/icons/pr-reviewer.svg" alt="" width="40" height="40"><span>Pull requests</span><b>12</b></a></li><li><a href="../index.html#area-api" data-chapter="area-api"><img class="pix" src="../../img/icons/api.svg" alt="" width="40" height="40"><span>API</span><b>13</b></a></li><li><a href="../index.html#area-quality" data-chapter="area-quality"><img class="pix" src="../../img/icons/result.svg" alt="" width="40" height="40"><span>Quality</span><b>14</b></a></li><li><a href="../index.html#area-release" data-chapter="area-release"><img class="pix" src="../../img/icons/speed.svg" alt="" width="40" height="40"><span>Release</span><b>15</b></a></li><li><a href="../index.html#area-systems" data-chapter="area-systems"><img class="pix" src="../../img/icons/architecture.svg" alt="" width="40" height="40"><span>Systems</span><b>16</b></a></li></ul></div><div class="side-group"><p class="side-head">Reference</p><ul><li><a href="../index.html#reference" data-chapter="reference"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40"><span>Reference</span><b>17</b></a></li></ul></div>
|
|
113
|
+
<div class="side-group"><p class="side-head">More documentation</p><ul><li><a href="../web-app/index.html"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40"><span>The web app</span></a></li><li><a href="../desktop/index.html"><img class="pix" src="../../img/icons/desktop.svg" alt="" width="40" height="40"><span>Desktop apps</span></a></li><li><a href="../desktop-ci/index.html"><img class="pix" src="../../img/icons/desktop.svg" alt="" width="40" height="40"><span>Desktop in CI</span></a></li><li><a href="../mobile/index.html"><img class="pix" src="../../img/icons/mobile.svg" alt="" width="40" height="40"><span>Mobile apps</span></a></li><li><a href="../containers/index.html"><img class="pix" src="../../img/icons/knowledge-base.svg" alt="" width="40" height="40"><span>Containers</span></a></li><li><a href="../custom-agents-first-run/index.html"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40"><span>Custom agents: a first run</span></a></li><li><a href="../evidence/index.html"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40"><span>Evidence (design and status)</span></a></li><li><a href="../product-knowledge/index.html"><img class="pix" src="../../img/icons/context-engine.svg" alt="" width="40" height="40"><span>Product knowledge</span></a></li><li><a href="../product-graph/index.html"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40"><span>The product knowledge graph (design)</span></a></li><li><a href="index.html" aria-current="page"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40"><span>Product views (design)</span></a></li><li><a href="../graphify/index.html"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40"><span>Reading product code (Graphify)</span></a></li><li><a href="../guardrails/index.html"><img class="pix" src="../../img/icons/shield.svg" alt="" width="40" height="40"><span>Guardrails</span></a></li><li><a href="../feature-test-prompts/index.html"><img class="pix" src="../../img/icons/scribe.svg" alt="" width="40" height="40"><span>Feature test prompts</span></a></li><li><a href="../architecture/index.html"><img class="pix" src="../../img/icons/architecture.svg" alt="" width="40" height="40"><span>Architecture</span></a></li><li><a href="../cost-architecture/index.html"><img class="pix" src="../../img/icons/speed.svg" alt="" width="40" height="40"><span>Cost-aware execution</span></a></li><li><a href="../model-routing/index.html"><img class="pix" src="../../img/icons/orchestrator.svg" alt="" width="40" height="40"><span>Model routing</span></a></li></ul></div>
|
|
114
|
+
<div class="side-group"><p class="side-head">Pages of their own</p><ul>
|
|
115
|
+
<li><a href="https://forgeqe.github.io/security/"><img class="pix" src="../../img/icons/shield.svg" alt="" width="40" height="40"><span>Security and data flows</span></a></li>
|
|
116
|
+
<li><a href="../../architecture-map/index.html"><img class="pix" src="../../img/icons/architecture.svg" alt="" width="40" height="40"><span>Architecture map</span></a></li>
|
|
117
|
+
</ul></div>
|
|
118
|
+
</nav>
|
|
119
|
+
<main id="main" class="docs-main">
|
|
120
|
+
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>More documentation</p>
|
|
121
|
+
<h1 class="topic-h"><img class="pix pix--title" src="../../img/icons/wikis.svg" alt="" width="40" height="40">Product views (design)</h1>
|
|
122
|
+
<article class="prose">
|
|
123
|
+
<p>Status: proposal. It builds on the product knowledge graph (PRODUCT_KNOWLEDGE.md) and replaces the hand-drawn mockups.</p>
|
|
124
|
+
<h2 id="goal"><a href="#goal" class="hash">#</a>Goal</h2>
|
|
125
|
+
<p>ForgeQE builds two connected views of a product from what is connected to it: repositories, documents, API
|
|
126
|
+
descriptions, databases, and the runs ForgeQE makes. No one draws or maintains them.</p>
|
|
127
|
+
<ul>
|
|
128
|
+
<li><strong>Engineering view</strong>: how the system is built and works inside. Services and how they talk, code structure, APIs and
|
|
129
|
+
integrations, dependencies between components and repositories, internal data flow.</li>
|
|
130
|
+
<li><strong>Product view</strong>: how the product works for the business. Journeys, capabilities, business rules, the systems it
|
|
131
|
+
integrates with, and how data is shared, transformed and kept.</li>
|
|
132
|
+
</ul>
|
|
133
|
+
<p>Both views read from one graph. A capability in the Product view opens the services and code behind it in the
|
|
134
|
+
Engineering view, and the other way round.</p>
|
|
135
|
+
<h2 id="what-rea-teaches-us"><a href="#what-rea-teaches-us" class="hash">#</a>What REA teaches us</h2>
|
|
136
|
+
<p>REA (github.com/morluto/rea, MIT) reverse-engineers applications. Its tools target binaries, not product repositories,
|
|
137
|
+
so we take its model, not its tools. Its JavaScript Application Graph and Evidence model show five rules we follow:</p>
|
|
138
|
+
<ol>
|
|
139
|
+
<li><strong>Extractors produce facts; one model combines them.</strong> Each analyzer (bundle, browser, Electron, native) emits
|
|
140
|
+
facts, and a provider-neutral graph joins them. The graph does no I/O itself.</li>
|
|
141
|
+
<li><strong>Every node and edge carries its evidence.</strong> Each fact records who said it (artifact bytes, AST, static
|
|
142
|
+
inference, runtime capture, a person), an epistemic state (<code>observed</code>, <code>inferred</code>, <code>unknown</code>, <code>unavailable</code>), and a
|
|
143
|
+
confidence. An inference is never promoted to an observation.</li>
|
|
144
|
+
<li><strong>Unknown is a first-class answer.</strong> There is an <code>unknown</code> node kind. An endpoint whose URL is built at run time is
|
|
145
|
+
kept as <code>partial</code>, with the source expression and its call site, not guessed. Each graph states its coverage
|
|
146
|
+
(<code>complete</code>, <code>partial</code>, <code>unknown</code>, <code>unavailable</code>) and its limitations.</li>
|
|
147
|
+
<li><strong>Static and runtime are reconciled, not merged.</strong> What the code suggests and what a run observed are matched, and
|
|
148
|
+
each pair is labelled match, ambiguity, mismatch, or unknown. Both keep their own authority.</li>
|
|
149
|
+
<li><strong>Stable identity.</strong> A node's id comes from what it is (kind plus a normalized key), so a rebuild gives the same id,
|
|
150
|
+
and a change between versions is a <code>changed_from</code> edge, not a new, unrelated node.</li>
|
|
151
|
+
<li><strong>Depth comes from investigation, not from a map.</strong> REA does not map a whole application first. An agent asks one
|
|
152
|
+
question ("how does search work?"), REA's tools trace that feature, and the agent asks again until it understands.
|
|
153
|
+
Each answer comes back as findings with evidence and unknowns.</li>
|
|
154
|
+
</ol>
|
|
155
|
+
<p>Source code gives us more than REA has from a binary: names, comments, tests and history, exactly. Documents add the
|
|
156
|
+
business intent that a binary never holds. So we keep REA's loop and give it better sources.</p>
|
|
157
|
+
<p>A map built up front is wide and shallow. Retrieval (RAG) alone finds text like the question, but does not follow a call
|
|
158
|
+
from a screen through services to a table and a message. We need both: a skeleton everywhere, and investigation where
|
|
159
|
+
someone asks, with each finding written back.</p>
|
|
160
|
+
<h2 id="where-our-graph-falls-short-today"><a href="#where-our-graph-falls-short-today" class="hash">#</a>Where our graph falls short today</h2>
|
|
161
|
+
<p>The graph built in phases 1 to 4 is structure plus model summaries:</p>
|
|
162
|
+
<ul>
|
|
163
|
+
<li>Edges have a <code>weight</code> but no evidence. A call matched by URL tail looks the same as one a run observed.</li>
|
|
164
|
+
<li>The model's text (domains, flows, summaries) sits in the same nodes as parsed facts, and nothing tells them apart.</li>
|
|
165
|
+
<li>There is no <code>unknown</code>. A call to <code>${BASE}/x</code> either matches by guess or disappears.</li>
|
|
166
|
+
<li>It has no services as deployed: no Dockerfile, compose, Kubernetes, gateway config, or environment variables that
|
|
167
|
+
wire one service to another.</li>
|
|
168
|
+
<li>It has no messaging (Kafka, RabbitMQ, SQS, events), no outbound integrations (Stripe, SMTP), and no auth.</li>
|
|
169
|
+
<li>Its database knowledge comes from migration and model files by pattern. It does not read a live schema.</li>
|
|
170
|
+
<li>Runs (<code>network.json</code>, page memory) are not used as evidence.</li>
|
|
171
|
+
<li>The Understand-Anything format cannot hold any of the above, so the format has to change (see Format below).</li>
|
|
172
|
+
</ul>
|
|
173
|
+
<h2 id="design"><a href="#design" class="hash">#</a>Design</h2>
|
|
174
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre><code> sources extractors fact store resolver views
|
|
175
|
+
───────── ────────── ────────── ──────── ─────
|
|
176
|
+
repositories ──► code, config, infra, ──► entities, relations, ──► identity, merge, ──► Engineering
|
|
177
|
+
documents spec, schema, doc, each with observations reconcile static Product
|
|
178
|
+
API specs runtime, db, person (source, locator, vs runtime, queries for
|
|
179
|
+
databases state, confidence) coverage, unknowns agents
|
|
180
|
+
ForgeQE runs
|
|
181
|
+
▲ │
|
|
182
|
+
findings, cited │ │ skeleton: where to look
|
|
183
|
+
│ ▼
|
|
184
|
+
investigator agent: a question from a person,
|
|
185
|
+
a task or a requirement; reads code, documents,
|
|
186
|
+
runs; may run a test; cites fact ids
|
|
187
|
+
</code></pre></div>
|
|
188
|
+
<p>Two layers:</p>
|
|
189
|
+
<ul>
|
|
190
|
+
<li><strong>Skeleton</strong>: built by the extractors, without the model, on every build. Wide and cheap. It tells the investigator
|
|
191
|
+
where to look and gives every view its boxes and lines.</li>
|
|
192
|
+
<li><strong>Depth</strong>: written by the investigator, one question at a time. It grows where people actually ask.</li>
|
|
193
|
+
</ul>
|
|
194
|
+
<h3 id="fact-store"><a href="#fact-store" class="hash">#</a>Fact store</h3>
|
|
195
|
+
<p>One record per fact. It replaces node <code>summary</code> and edge <code>weight</code> as the source of truth.</p>
|
|
196
|
+
<ul>
|
|
197
|
+
<li><strong>Entity</strong>: <code>{ id, kind, key, name, repo? }</code>. <code>id</code> = hash of <code>kind</code> plus <code>key</code> (for example
|
|
198
|
+
<code>endpoint:order-api:POST /orders/{}/cancel</code>).</li>
|
|
199
|
+
<li><strong>Relation</strong>: <code>{ id, kind, from, to }</code>, with the same rule.</li>
|
|
200
|
+
<li><strong>Observation</strong>, many per entity or relation:
|
|
201
|
+
<code>{ source: code|config|infra|spec|schema|doc|db|runtime|person|model, locator, quote?, digest, state: observed|inferred|unknown, confidence, at }</code>.
|
|
202
|
+
<code>locator</code> is a file and line range, a URL and heading, a table, or a run id and request number.
|
|
203
|
+
<code>quote</code> is the exact text the fact rests on. Code checks it against the file, as the proof design already planned.</li>
|
|
204
|
+
<li><strong>Coverage</strong> per extractor and source: what was read, what was skipped and why, and what is left unknown.</li>
|
|
205
|
+
</ul>
|
|
206
|
+
<p>Facts are rebuilt only for files whose digest changed, as the structure cache does now.</p>
|
|
207
|
+
<h3 id="extractors"><a href="#extractors" class="hash">#</a>Extractors</h3>
|
|
208
|
+
<p>Each extractor is a pure function from a file, page or capture to facts. It runs no commands, and every path stays
|
|
209
|
+
inside its root (CLAUDE.md, Files).</p>
|
|
210
|
+
<div class="tbl"><table>
|
|
211
|
+
<thead>
|
|
212
|
+
<tr><th>Extractor</th><th>Reads</th><th>Produces</th></tr>
|
|
213
|
+
</thead>
|
|
214
|
+
<tbody>
|
|
215
|
+
<tr><td>code (exists, extend)</td><td>source files through tree-sitter</td><td>modules, classes, functions, imports, endpoints served, outbound HTTP calls (exact or <code>partial</code>), DB access, message publish and consume, scheduled jobs</td></tr>
|
|
216
|
+
<tr><td>config and infra (new)</td><td>Dockerfile, compose, Kubernetes and Helm, Terraform service names, gateway config (Kong, nginx, Ingress), <code>.env.example</code>, <code>appsettings*.json</code>, <code>application*.yml</code></td><td>deployable services, their ports, the base URLs and topics in their environment, which resolve <code>partial</code> calls; gateway routes; auth providers</td></tr>
|
|
217
|
+
<tr><td>API spec (exists, extend)</td><td>OpenAPI, AsyncAPI, GraphQL SDL, proto</td><td>operations, message channels, schemas, with their fields</td></tr>
|
|
218
|
+
<tr><td>schema (extend)</td><td>migrations, ORM models; and, when the person allows it, a configured read-only database through <code>forgeqe db</code></td><td>tables, columns, keys, relations, personal-data columns by name</td></tr>
|
|
219
|
+
<tr><td>documents (exists, extend)</td><td>folders, links, Confluence</td><td>glossary terms, business rules and journeys as quoted passages, linked to entities they name</td></tr>
|
|
220
|
+
<tr><td>runtime (new)</td><td>the <code>network.json</code> and page memory of ForgeQE's own browser and API runs</td><td>observed requests (service, operation, status, timing), screens visited, the order of calls in one journey</td></tr>
|
|
221
|
+
<tr><td>person (new)</td><td>Right or Wrong in the views, and corrections</td><td>confirmations and corrections, which outrank the model</td></tr>
|
|
222
|
+
</tbody>
|
|
223
|
+
</table></div>
|
|
224
|
+
<p>Secret values are never stored: environment files give names and hosts only, after <code>scrubSecrets</code>.</p>
|
|
225
|
+
<h3 id="resolver"><a href="#resolver" class="hash">#</a>Resolver</h3>
|
|
226
|
+
<ul>
|
|
227
|
+
<li><strong>Identity</strong>: normalizes keys (route templates, table names, topic names, host names to services) and merges facts
|
|
228
|
+
about the same thing from different sources.</li>
|
|
229
|
+
<li><strong>Linking</strong>: an outbound call becomes a service-to-service relation when its target resolves to one served endpoint
|
|
230
|
+
(exact path, or base URL from config plus path). If several fit, it is <code>ambiguous</code>; if none fit, the target stays an
|
|
231
|
+
<code>unknown</code> external, with the call site.</li>
|
|
232
|
+
<li><strong>Reconciliation</strong>: each static relation is compared with runtime observations: <code>match</code>, <code>mismatch</code> (the code says
|
|
233
|
+
<code>/refunds</code>, the runs call <code>/refunds/v2</code>), <code>not seen</code> (in code, never in a run), or <code>runtime only</code> (seen in a run, not
|
|
234
|
+
found in code).</li>
|
|
235
|
+
<li><strong>Coverage and unknowns</strong>: per service and per journey, for example "12 of 14 outbound calls resolved, 2 unknown".</li>
|
|
236
|
+
</ul>
|
|
237
|
+
<h3 id="investigation"><a href="#investigation" class="hash">#</a>Investigation</h3>
|
|
238
|
+
<p>The investigator is a ForgeQE agent on the user's model (routing as for other agents). It starts from a question:</p>
|
|
239
|
+
<ul>
|
|
240
|
+
<li>a person asks in the views or with <code>forgeqe knowledge ask "&lt;question>"</code>;</li>
|
|
241
|
+
<li>an agent's task needs something the skeleton does not answer (a requirement, a test plan, a PR review);</li>
|
|
242
|
+
<li>the views show a gap: an unknown call, a journey step not seen in a run, a contradiction.</li>
|
|
243
|
+
</ul>
|
|
244
|
+
<p>Its tools, all read-only unless marked:</p>
|
|
245
|
+
<div class="tbl"><table>
|
|
246
|
+
<thead>
|
|
247
|
+
<tr><th>Tool</th><th>Gives</th></tr>
|
|
248
|
+
</thead>
|
|
249
|
+
<tbody>
|
|
250
|
+
<tr><td>graph</td><td>search, node, neighbours, impact, flow (the <code>product_knowledge</code> operations)</td></tr>
|
|
251
|
+
<tr><td>code</td><td>read a file or a line range inside a product repository; find a symbol or text (allowlisted, no shell)</td></tr>
|
|
252
|
+
<tr><td>documents</td><td>search the read documents and pages; return passages with their locator</td></tr>
|
|
253
|
+
<tr><td>runs</td><td>the recorded requests and screens of ForgeQE's runs, by journey, endpoint or host</td></tr>
|
|
254
|
+
<tr><td>run a test (asks first)</td><td>start a browser or API run to confirm a step; its traffic becomes runtime facts</td></tr>
|
|
255
|
+
</tbody>
|
|
256
|
+
</table></div>
|
|
257
|
+
<p>It loops: look at the skeleton, read what it needs, ask again, until it can answer or says what stays unknown. It
|
|
258
|
+
stops at a step limit and a cost limit, set in settings, and says where it stopped.</p>
|
|
259
|
+
<p>Its answer is a set of <strong>findings</strong>. Each finding is a statement with the fact ids and quotes it rests on, a state
|
|
260
|
+
(<code>observed</code>, <code>inferred</code>, <code>unknown</code>), and the next probe when it is unknown (for example "run journey X on staging").
|
|
261
|
+
Code checks every quote against its source before storing it. A finding that adds a relation (for example "the refund
|
|
262
|
+
handler publishes <code>refund.created</code>") adds it as <code>inferred</code> with the finding as its evidence, until code, config or a run
|
|
263
|
+
observes it.</p>
|
|
264
|
+
<p>Findings are written back to the fact store under the question, so:</p>
|
|
265
|
+
<ul>
|
|
266
|
+
<li>the next question starts from them;</li>
|
|
267
|
+
<li>the views show them where they belong (a journey's steps, a service's rules);</li>
|
|
268
|
+
<li>a rebuild keeps them while the code they quote is unchanged, and marks them <code>stale</code> when it changes, for the next
|
|
269
|
+
investigation to check.</li>
|
|
270
|
+
</ul>
|
|
271
|
+
<p>Two kinds of questions are run without being asked, within the cost limit, after a build: the gaps above, and the
|
|
272
|
+
team questions (below).</p>
|
|
273
|
+
<h3 id="the-models-part"><a href="#the-models-part" class="hash">#</a>The model's part</h3>
|
|
274
|
+
<p>The model reads facts, not the other way round. Outside the investigator, it:</p>
|
|
275
|
+
<ul>
|
|
276
|
+
<li>names and groups: capabilities, domains, journeys;</li>
|
|
277
|
+
<li>writes the explanations shown in the Product view;</li>
|
|
278
|
+
<li>proposes business rules from code conditions and document passages.</li>
|
|
279
|
+
</ul>
|
|
280
|
+
<p>Every model statement cites the fact ids it rests on. Code rejects a statement that cites nothing, or cites a fact that
|
|
281
|
+
does not exist. The model's output is stored with <code>source: model, state: inferred</code> and can never make a relation
|
|
282
|
+
<code>observed</code>. A person's Right or Wrong is kept and survives rebuilds.</p>
|
|
283
|
+
<h2 id="engineering-view"><a href="#engineering-view" class="hash">#</a>Engineering view</h2>
|
|
284
|
+
<p>What it shows, and where each part comes from.</p>
|
|
285
|
+
<div class="tbl"><table>
|
|
286
|
+
<thead>
|
|
287
|
+
<tr><th>Asked for</th><th>Shown as</th><th>Derived from</th></tr>
|
|
288
|
+
</thead>
|
|
289
|
+
<tbody>
|
|
290
|
+
<tr><td>Service architecture and interactions</td><td>Services map: deployable services, gateway, stores, brokers, externals; lines for sync calls and messages, each with operation, count and evidence</td><td>infra + code calls + gateway + runtime</td></tr>
|
|
291
|
+
<tr><td>Code structure, modules, dependencies</td><td>Inside a service: layers (entry points, logic, data access, clients), modules and their imports; package dependencies with versions</td><td>code + package manifests</td></tr>
|
|
292
|
+
<tr><td>API definitions, integrations, patterns</td><td>Per service: operations served (spec and code side by side, differences marked), operations called, messages published and consumed, auth on each</td><td>spec + code + config</td></tr>
|
|
293
|
+
<tr><td>Dependencies between components and repos</td><td>Repo and package graph; shared libraries; "what breaks if X changes": impact over calls, messages, tables, and tests</td><td>resolver relations + <code>tested_by</code></td></tr>
|
|
294
|
+
<tr><td>Internal data flow</td><td>Per table and topic: writers, readers, and the call chain between them</td><td>DB access + messaging + calls</td></tr>
|
|
295
|
+
<tr><td>Implementation details</td><td>Any node opens its code with the line range and the quote it rests on</td><td>observations</td></tr>
|
|
296
|
+
</tbody>
|
|
297
|
+
</table></div>
|
|
298
|
+
<p>Every line and box shows its state: observed in a run, read in code or config, inferred by the model, or unknown.</p>
|
|
299
|
+
<h2 id="product-view"><a href="#product-view" class="hash">#</a>Product view</h2>
|
|
300
|
+
<div class="tbl"><table>
|
|
301
|
+
<thead>
|
|
302
|
+
<tr><th>Asked for</th><th>Shown as</th><th>Derived from</th></tr>
|
|
303
|
+
</thead>
|
|
304
|
+
<tbody>
|
|
305
|
+
<tr><td>End-to-end workflows and journeys</td><td>Journeys: screen → operation → services → stores → messages → externals, as a sequence; each step with its state</td><td>runtime traces first; else screen-to-endpoint links in code; named by the model</td></tr>
|
|
306
|
+
<tr><td>Systems interacting and integrating</td><td>Context map: users, the product's capabilities, outside systems, and what passes between them</td><td>externals from config and code; documents</td></tr>
|
|
307
|
+
<tr><td>Data shared, transferred, transformed</td><td>Data lineage: entity → tables → topics and APIs → outside systems and reports; personal data marked</td><td>schema + data access + messaging + data flows</td></tr>
|
|
308
|
+
<tr><td>Database structures and relationships</td><td>Entities and relations as business terms (Customer, Order), mapped to tables and columns</td><td>schema + glossary from documents</td></tr>
|
|
309
|
+
<tr><td>Business rules, processes, dependencies</td><td>Rules as sentences, each with its code condition and document passage; which journeys depend on them</td><td>code conditions + documents, phrased by the model, cited</td></tr>
|
|
310
|
+
<tr><td>Capabilities delivering outcomes</td><td>Capabilities (Ordering, Payments, Refunds) with the journeys, services, rules and tests behind each</td><td>model grouping over facts</td></tr>
|
|
311
|
+
</tbody>
|
|
312
|
+
</table></div>
|
|
313
|
+
<h2 id="how-a-person-knows-it-is-right"><a href="#how-a-person-knows-it-is-right" class="hash">#</a>How a person knows it is right</h2>
|
|
314
|
+
<ul>
|
|
315
|
+
<li>Every box, line and sentence opens its evidence.</li>
|
|
316
|
+
<li>Each view shows its coverage and its unknowns, not just what was found.</li>
|
|
317
|
+
<li>Contradictions (code against run, document against code) are listed first.</li>
|
|
318
|
+
<li>Team questions: a short list of questions with known answers, run after each build, scored.</li>
|
|
319
|
+
<li>Right or Wrong on anything; corrections are kept and outrank the model.</li>
|
|
320
|
+
</ul>
|
|
321
|
+
<h2 id="continuous-enrichment"><a href="#continuous-enrichment" class="hash">#</a>Continuous enrichment</h2>
|
|
322
|
+
<ul>
|
|
323
|
+
<li>A build re-reads only changed files, pages and specs.</li>
|
|
324
|
+
<li>Each ForgeQE browser or API run adds runtime facts after it ends, with no extra step.</li>
|
|
325
|
+
<li>Each investigation adds findings, so knowledge deepens where people and agents ask.</li>
|
|
326
|
+
<li>Stale findings (their quoted code changed) are checked again by the next investigation that reaches them.</li>
|
|
327
|
+
<li><code>forgeqe knowledge build</code> can run from a schedule or CI on merge to the main branch.</li>
|
|
328
|
+
<li>Facts from a source that is gone are dropped; a person's confirmations are kept and flagged if what they confirmed
|
|
329
|
+
changed.</li>
|
|
330
|
+
</ul>
|
|
331
|
+
<h2 id="format"><a href="#format" class="hash">#</a>Format</h2>
|
|
332
|
+
<p>The Understand-Anything shape cannot hold observations, states or coverage. Proposal:</p>
|
|
333
|
+
<ul>
|
|
334
|
+
<li>Evidence sits on each node and edge of <code>product-graph.json</code> (field <code>evidence</code>). Readers of the
|
|
335
|
+
Understand-Anything shape ignore the field, so the existing queries, Requirement_Agent and prompts keep working.</li>
|
|
336
|
+
<li><code>graph/coverage.json</code> holds the counts, the gaps, and what is not read yet.</li>
|
|
337
|
+
<li>Findings of the investigator (phase 2) are written beside the graph, by question.</li>
|
|
338
|
+
</ul>
|
|
339
|
+
<h2 id="security"><a href="#security" class="hash">#</a>Security</h2>
|
|
340
|
+
<p>Same rules as PRODUCT_KNOWLEDGE.md. In addition:</p>
|
|
341
|
+
<ul>
|
|
342
|
+
<li>Infra and env files give names, hosts and ports only. Values that look like secrets are scrubbed before storing.</li>
|
|
343
|
+
<li>A live database is read only through a configured read-only connection, schema only, and only after the person
|
|
344
|
+
allows it.</li>
|
|
345
|
+
<li>Runtime facts keep method, host, path template and status; no bodies, headers or query values.</li>
|
|
346
|
+
<li>Views draw facts as React elements; no HTML from repositories, documents or the model.</li>
|
|
347
|
+
<li>The investigator reads code and documents that others control, so their text may carry instructions. Its tools only
|
|
348
|
+
read, inside the product's roots, and refuse hidden and credential files. Its one action, running a test, is asked
|
|
349
|
+
first. It has no shell and no network beyond ForgeQE's own runs.</li>
|
|
350
|
+
</ul>
|
|
351
|
+
<h2 id="phases"><a href="#phases" class="hash">#</a>Phases</h2>
|
|
352
|
+
<ol>
|
|
353
|
+
<li><strong>Fact store and evidence</strong> (done). Evidence on every node and edge of <code>product-graph.json</code>; gaps for calls and
|
|
354
|
+
tables that cannot be settled; <code>graph/coverage.json</code>; <code>forgeqe knowledge gaps</code> and <code>check</code>; the tool's <code>gaps</code>.</li>
|
|
355
|
+
<li><strong>Investigator</strong> (done). <code>forgeqe-investigate</code> (prompts/product-investigate.md) with two read-only tools,
|
|
356
|
+
<code>product_knowledge</code> and <code>product_code</code> (src/mcp/investigatetools.ts); findings with quotes found again in code;
|
|
357
|
+
<code>graph/findings.json</code>, earlier findings in the next request, stale marking on build and check; <code>forgeqe knowledge ask|findings</code>; the tool's <code>ask</code> and <code>findings</code>; <code>node</code> shows findings. The investigator also reads the text of
|
|
358
|
+
pages from links and Confluence (kept in <code>graph/texts/</code>) and the API calls of ForgeQE's runs (<code>product_docs</code>,
|
|
359
|
+
<code>product_runs</code>), quoted and checked like code. <code>forgeqe knowledge eval</code> scores answers to questions with known
|
|
360
|
+
answers; <code>--sample</code> runs the 15 questions of the sample product in <code>evals/knowledge/shop</code>. Comparing runs with the
|
|
361
|
+
whole graph, and running a test, stay in phase 4.</li>
|
|
362
|
+
<li><strong>Engineering extractors</strong> (done). <code>src/product/infra.ts</code> (Docker Compose, Kubernetes manifests, Kong, nginx,
|
|
363
|
+
settings files: addresses only), <code>src/product/wiring.ts</code> (topics and queues, outside services, authentication),
|
|
364
|
+
<code>src/product/wiring-link.ts</code> (deployed service to repository, base URL or host to service, topics with no consumer
|
|
365
|
+
or publisher as gaps, gateway routes to repositories). Then: Terraform (<code>src/product/terraform.ts</code>, allowlisted
|
|
366
|
+
plain attributes only), topic names through constants and settings, and endpoints and calls for Go, Rails, Laravel,
|
|
367
|
+
Rust and hand-written routing. Helm templates are not read yet.</li>
|
|
368
|
+
<li><strong>Runtime</strong> (done). <code>src/product/runtime.ts</code> reads the last 50 runs' calls on every build: a match adds an
|
|
369
|
+
observation from the run to the endpoint, the front end's call and the screen; a near route is a mismatch, an
|
|
370
|
+
undeclared one runtime-only, both gaps; endpoints no run reached are listed (<code>forgeqe knowledge runtime</code>, op
|
|
371
|
+
<code>runtime</code>). The investigator's <code>product_run</code> starts one browser run, after the person agrees.
|
|
372
|
+
5a. <strong>Landscape</strong> (done): the level above the services map (<code>src/web/landscape.ts</code>, <code>web/src/pages/Landscape.tsx</code>).
|
|
373
|
+
Each repository's system comes from <code>product.repos.&lt;name>.system</code>, else a person's decision on the model's proposal,
|
|
374
|
+
else the proposal (<code>src/product/systems.ts</code>: the knowledge builder, no tools, a schema; code keeps a system only with
|
|
375
|
+
a plain name and repositories the product has, one each, a reason, and citations of ids it was given), else the
|
|
376
|
+
first word it shares with another repository. Proposal and decisions are in <code>graph/systems.json</code>. Every part of the services map belongs to one system; links between systems are summed by kind (REST,
|
|
377
|
+
routes, events through a topic, shared data, SDK), links inside one are counted, not drawn. Outside services are
|
|
378
|
+
systems of their own; topics with only one end here are listed. A system opens its services, with the parts of
|
|
379
|
+
other systems it reaches beside them. <code>forgeqe knowledge landscape</code> and the knowledge tool's <code>landscape</code> op say the same.</li>
|
|
380
|
+
<li><strong>Engineering view</strong> (done) in the web app, page Product (<code>web/src/pages/Product.tsx</code>, data from
|
|
381
|
+
<code>src/web/engineering.ts</code>): the services map drawn like ForgeQE's architecture map (bands for front ends,
|
|
382
|
+
gateways, services, and data and messages; outside systems in a side column; wires at right angles laid out by
|
|
383
|
+
<code>web/src/pages/archLayout.ts</code>, never through a card), with every link in words on its own tab, above them "How one part reaches another" (two parts picked from the graph's
|
|
384
|
+
search, and the chain of links between them with the line each rests on: <code>pathBetween</code>, <code>/api/knowledge/engineering/path</code>); one service from the inside (endpoints with their authentication,
|
|
385
|
+
callers and what a change reaches; calls out, data, messages, outside services, cloud resources; its modules, Graphify's
|
|
386
|
+
communities of the code, with their most called members; and what is most depended on, the hotspots, each with its
|
|
387
|
+
callers, the endpoints it serves and the tests that reach it, least tested first); runs against the
|
|
388
|
+
code; open questions. Every part and link says how it is known, opens its evidence in a side panel, and an open
|
|
389
|
+
question is investigated in a chat. Built on the sample product in <code>evals/knowledge/shop</code>. Findings are not yet
|
|
390
|
+
shown on the page.</li>
|
|
391
|
+
<li><strong>Product extractors and model pass with citations</strong> (done). Without a model (<code>src/product/business.ts</code>): business
|
|
392
|
+
rules as the conditions that refuse a request, each tied to its endpoint and quoted; table columns, personal data by
|
|
393
|
+
column name; journeys as the runs walked them (<code>runs:flow:&lt;run></code>). The model's rules cite the ids that show them (a
|
|
394
|
+
rule found in the code first); one that cites nothing is dropped. Not yet: investigations started for unexplained
|
|
395
|
+
journeys and rules on their own.</li>
|
|
396
|
+
<li><strong>Product view</strong> (done) on the Product page beside Engineering (<code>web/src/pages/ProductView.tsx</code>, data from
|
|
397
|
+
<code>src/web/productview.ts</code>), in the business's words (<code>src/product/plain.ts</code>): capability tiles with the actions people
|
|
398
|
+
take, journeys as storyboards with outcomes and the rules that stop a step, rules as sentences, each record's life
|
|
399
|
+
from the states the code sets and checks (<code>statesOf</code>), the glossary, and the team questions' last result. "Show how
|
|
400
|
+
it is built" adds the requests, files, capability map and sequence diagram. Right or Wrong on a rule, a journey, a
|
|
401
|
+
capability or a term is kept in <code>graph/feedback.json</code>, refused for anything else, and joins the part's evidence as a
|
|
402
|
+
person's on every build, ahead of the model.</li>
|
|
403
|
+
</ol>
|
|
404
|
+
<p>Each phase ends with the views or queries run on a real product, not sample data.</p>
|
|
405
|
+
<h2 id="decisions-needed"><a href="#decisions-needed" class="hash">#</a>Decisions needed</h2>
|
|
406
|
+
<ul>
|
|
407
|
+
<li>A product to test on: repositories we may read (or a public multi-service sample, for example a microservices demo
|
|
408
|
+
shop), so each phase is checked on real code.</li>
|
|
409
|
+
<li>Which brokers, gateways and deployment formats matter first.</li>
|
|
410
|
+
<li>Whether a read-only database connection is acceptable as a source.</li>
|
|
411
|
+
</ul>
|
|
412
|
+
|
|
413
|
+
</article>
|
|
414
|
+
<nav class="pager" aria-label="Previous and next">
|
|
415
|
+
<a class="prev" href="../product-graph/index.html"><small>Previous</small><span>The product knowledge graph (design)</span></a>
|
|
416
|
+
<a class="next" href="../graphify/index.html"><small>Next</small><span>Reading product code (Graphify)</span></a>
|
|
417
|
+
</nav>
|
|
418
|
+
</main>
|
|
419
|
+
<aside class="docs-toc" aria-label="On this page">
|
|
420
|
+
<p class="side-head">On this page</p><ul><li><a href="#goal">Goal</a></li><li><a href="#what-rea-teaches-us">What REA teaches us</a></li><li><a href="#where-our-graph-falls-short-today">Where our graph falls short today</a></li><li><a href="#design">Design</a></li><li><a href="#engineering-view">Engineering view</a></li><li><a href="#product-view">Product view</a></li><li><a href="#how-a-person-knows-it-is-right">How a person knows it is right</a></li><li><a href="#continuous-enrichment">Continuous enrichment</a></li><li><a href="#format">Format</a></li><li><a href="#security">Security</a></li><li><a href="#phases">Phases</a></li><li><a href="#decisions-needed">Decisions needed</a></li></ul>
|
|
421
|
+
</aside>
|
|
422
|
+
</div>
|
|
423
|
+
<footer class="foot">
|
|
424
|
+
<div class="container foot__row">
|
|
425
|
+
<a class="foot__brand" href="https://forgeqe.github.io/"><img src="../../img/wordmark-white.webp" alt="ForgeQE" width="160" height="76"><span>AI writes the code. <em>ForgeQE proves it works.</em></span></a>
|
|
426
|
+
<nav aria-label="Footer"><ul><li><a href="https://forgeqe.github.io/">Product</a></li><li><a href="../index.html">Docs</a></li><li><a href="https://forgeqe.github.io/security/">Security</a></li><li><a href="../../architecture-map/index.html">Architecture</a></li><li><a href="https://forgeqe.github.io/contact/">Contact us</a></li><li><a href="https://forgeqe.github.io/sample-report/">Sample report</a></li></ul></nav>
|
|
427
|
+
</div>
|
|
428
|
+
<p class="container foot__legal">© 2026 Capgemini · forgeqe.qualityai.co.uk · Built from ForgeQE's own docs</p>
|
|
429
|
+
</footer>
|
|
430
|
+
</body>
|
|
431
|
+
</html>
|