chore: refresh the knowledge graph after the policy sandbox

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
hamed
2026-07-31 10:44:50 +03:30
co-authored by Claude Opus 5
parent bcfa87bfad
commit d6294242b7
22 changed files with 8296 additions and 2825 deletions
+1 -22
View File
@@ -1301,9 +1301,7 @@
"1299": "Community 1299",
"1300": "Community 1300",
"1301": "Community 1301",
"1302": "Community 1302",
"1303": "Community 1303",
"1304": "Community 1304",
"1305": "Community 1305",
"1306": "Community 1306",
"1307": "Community 1307",
@@ -1319,7 +1317,6 @@
"1317": "Community 1317",
"1318": "Community 1318",
"1319": "Community 1319",
"1320": "Community 1320",
"1321": "Community 1321",
"1322": "Community 1322",
"1323": "Community 1323",
@@ -1332,26 +1329,20 @@
"1330": "Community 1330",
"1331": "Community 1331",
"1332": "Community 1332",
"1333": "Community 1333",
"1334": "Community 1334",
"1335": "Community 1335",
"1336": "Community 1336",
"1337": "Community 1337",
"1338": "Community 1338",
"1339": "Community 1339",
"1340": "Community 1340",
"1341": "Community 1341",
"1342": "Community 1342",
"1343": "Community 1343",
"1344": "Community 1344",
"1345": "Community 1345",
"1346": "Community 1346",
"1347": "Community 1347",
"1348": "Community 1348",
"1349": "Community 1349",
"1350": "Community 1350",
"1351": "Community 1351",
"1352": "Community 1352",
"1353": "Community 1353",
"1354": "Community 1354",
"1355": "Community 1355",
@@ -1359,9 +1350,6 @@
"1357": "Community 1357",
"1358": "Community 1358",
"1359": "Community 1359",
"1360": "Community 1360",
"1361": "Community 1361",
"1362": "Community 1362",
"1363": "Community 1363",
"1364": "Community 1364",
"1365": "Community 1365",
@@ -1369,15 +1357,6 @@
"1367": "Community 1367",
"1368": "Community 1368",
"1369": "Community 1369",
"1370": "Community 1370",
"1371": "Community 1371",
"1372": "Community 1372",
"1373": "Community 1373",
"1374": "Community 1374",
"1375": "Community 1375",
"1376": "Community 1376",
"1377": "Community 1377",
"1378": "Community 1378",
"1379": "Community 1379",
"1380": "Community 1380"
"1375": "Community 1375"
}
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_template_policytemplateregistry_php", "label": "PolicyTemplateRegistry.php", "file_type": "code", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L1"}, {"id": "template_policytemplateregistry_policytemplateregistry", "label": "PolicyTemplateRegistry", "file_type": "code", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L18"}, {"id": "template_policytemplateregistry_policytemplateregistry_describe", "label": ".describe()", "file_type": "code", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L74"}, {"id": "template_policytemplateregistry_policytemplateregistry_build", "label": ".build()", "file_type": "code", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L89"}, {"id": "template_policytemplateregistry_policytemplateregistry_contentfor", "label": ".contentFor()", "file_type": "code", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L115"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_template_policytemplateregistry_php", "target": "policy", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_template_policytemplateregistry_php", "target": "policyschema", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_template_policytemplateregistry_php", "target": "errorcodes", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_template_policytemplateregistry_php", "target": "appexception", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_template_policytemplateregistry_php", "target": "template_policytemplateregistry_policytemplateregistry", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L18", "weight": 1.0}, {"source": "template_policytemplateregistry_policytemplateregistry", "target": "template_policytemplateregistry_policytemplateregistry_describe", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L74", "weight": 1.0}, {"source": "template_policytemplateregistry_policytemplateregistry", "target": "template_policytemplateregistry_policytemplateregistry_build", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L89", "weight": 1.0}, {"source": "template_policytemplateregistry_policytemplateregistry", "target": "template_policytemplateregistry_policytemplateregistry_contentfor", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L115", "weight": 1.0}, {"source": "template_policytemplateregistry_policytemplateregistry_build", "target": "template_policytemplateregistry_policytemplateregistry_contentfor", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L108", "weight": 1.0}], "raw_calls": [{"caller_nid": "template_policytemplateregistry_policytemplateregistry_build", "callee": "is_numeric", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L98", "receiver": null}, {"caller_nid": "template_policytemplateregistry_policytemplateregistry_build", "callee": "sprintf", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Policy/Template/PolicyTemplateRegistry.php", "source_location": "L101", "receiver": null}]}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_service_policyschema_php", "label": "PolicySchema.php", "file_type": "code", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L1"}, {"id": "service_policyschema_policyschema", "label": "PolicySchema", "file_type": "code", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L18"}, {"id": "service_policyschema_policyschema_describe", "label": ".describe()", "file_type": "code", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L130"}, {"id": "service_policyschema_policyschema_allowsfield", "label": ".allowsField()", "file_type": "code", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L159"}, {"id": "service_policyschema_policyschema_allowseffect", "label": ".allowsEffect()", "file_type": "code", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L164"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_service_policyschema_php", "target": "policy", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_service_policyschema_php", "target": "service_policyschema_policyschema", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L18", "weight": 1.0}, {"source": "service_policyschema_policyschema", "target": "service_policyschema_policyschema_describe", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L130", "weight": 1.0}, {"source": "service_policyschema_policyschema", "target": "service_policyschema_policyschema_allowsfield", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L159", "weight": 1.0}, {"source": "service_policyschema_policyschema", "target": "service_policyschema_policyschema_allowseffect", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L164", "weight": 1.0}], "raw_calls": [{"caller_nid": "service_policyschema_policyschema_describe", "callee": "array_map", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Policy/Service/PolicySchema.php", "source_location": "L139", "receiver": null}, {"caller_nid": "service_policyschema_policyschema_describe", "callee": "array_map", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Policy/Service/PolicySchema.php", "source_location": "L146", "receiver": null}, {"caller_nid": "service_policyschema_policyschema_allowsfield", "callee": "in_array", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Policy/Service/PolicySchema.php", "source_location": "L161", "receiver": null}, {"caller_nid": "service_policyschema_policyschema_allowseffect", "callee": "in_array", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Policy/Service/PolicySchema.php", "source_location": "L166", "receiver": null}]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+7902 -2471
View File
File diff suppressed because it is too large Load Diff
+105 -20
View File
@@ -1,7 +1,7 @@
{
"assets/admin/App.tsx": {
"mtime": 1785422823.0390222,
"ast_hash": "e09ed97ea5b9778aa6edef6c3fb93d48",
"mtime": 1785481356.3214045,
"ast_hash": "1be1c19c8037c0457de3b4e45c7467e1",
"semantic_hash": ""
},
"assets/admin/components/FreeVisitPrice.tsx": {
@@ -390,8 +390,8 @@
"semantic_hash": ""
},
"assets/admin/types/index.ts": {
"mtime": 1785422695.6858704,
"ast_hash": "6e964d32be522060fec4b2e1d69a0fbd",
"mtime": 1785481189.6137154,
"ast_hash": "7f4cda889ff38587422d4140b6a38a7b",
"semantic_hash": ""
},
"assets/app.js": {
@@ -4070,8 +4070,8 @@
"semantic_hash": ""
},
"assets/admin/components/layout/SettingsLayout.tsx": {
"mtime": 1785422823.0393267,
"ast_hash": "01545b65720a809cef210d81eeaae3d1",
"mtime": 1785481424.3068295,
"ast_hash": "f20e859463fe09ca872820777582e4e8",
"semantic_hash": ""
},
"assets/admin/pages/PaymentSuccessPage.test.tsx": {
@@ -7210,8 +7210,8 @@
"semantic_hash": ""
},
"docs/new_feture/taskes/task-10-policy-admin-sandbox/checklist.md": {
"mtime": 1785400396.373778,
"ast_hash": "2fd95a477770027e9768b87bdf139995",
"mtime": 1785481998.3306007,
"ast_hash": "e1c07e1701e5f3ca683e800b7cbe7bcf",
"semantic_hash": ""
},
"docs/new_feture/taskes/task-10-policy-admin-sandbox/database.md": {
@@ -8195,8 +8195,8 @@
"semantic_hash": ""
},
"src/Policy/Controller/PolicyController.php": {
"mtime": 1785478689.5767467,
"ast_hash": "65e1d8a275f30d0a69794afab75ac2c9",
"mtime": 1785480864.376068,
"ast_hash": "e3e005b0185fe4c3d4deae978e591f88",
"semantic_hash": ""
},
"src/Policy/Entity/Policy.php": {
@@ -8230,13 +8230,13 @@
"semantic_hash": ""
},
"src/Policy/Service/PolicyResolver.php": {
"mtime": 1785479790.1617236,
"ast_hash": "750d3562b5bef179304894a6f6f7798b",
"mtime": 1785480695.9654446,
"ast_hash": "1b9737a70fa973fb07517394c1827b2e",
"semantic_hash": ""
},
"src/Policy/Service/PolicySchema.php": {
"mtime": 1785478532.1325989,
"ast_hash": "ebcac2c50201f1469759466db5bc3786",
"mtime": 1785481131.0335608,
"ast_hash": "6f484611dee554c25362c18c79f4292a",
"semantic_hash": ""
},
"src/Policy/ValueObject/PolicyOutcome.php": {
@@ -8255,18 +8255,103 @@
"semantic_hash": ""
},
"tests/Policy/PolicyEngineTest.php": {
"mtime": 1785479816.1753817,
"ast_hash": "95910c4b0987cddd73c97fb46138c4a0",
"mtime": 1785481154.2518916,
"ast_hash": "176a04f8991b754c737908a0ec5fa77f",
"semantic_hash": ""
},
"docs/api/policy.md": {
"mtime": 1785480208.8222737,
"ast_hash": "7fb903b317e4e586594dd56546eec5bb",
"mtime": 1785481564.640136,
"ast_hash": "0ddce43586cd34248b403f852a1749d6",
"semantic_hash": ""
},
"docs/architecture/policy-engine.md": {
"mtime": 1785480395.3356152,
"ast_hash": "fdb2aba6010e8500c9ecc97daaf3f1ef",
"mtime": 1785481934.4355047,
"ast_hash": "c489437d9435d9ba65f1e8b22cf5eec9",
"semantic_hash": ""
},
"assets/admin/components/PolicyConditionBuilder.tsx": {
"mtime": 1785481268.0732336,
"ast_hash": "e17605d4e98f1aa53730bf162141f4f5",
"semantic_hash": ""
},
"assets/admin/hooks/usePolicies.ts": {
"mtime": 1785481215.3543923,
"ast_hash": "bebb5f52c0ab29556a08dfb88f6f9ae0",
"semantic_hash": ""
},
"assets/admin/pages/PoliciesPage.tsx": {
"mtime": 1785481240.463899,
"ast_hash": "1a3869522fa99218882c5b2dcd6b75cb",
"semantic_hash": ""
},
"assets/admin/pages/PolicyFormPage.test.tsx": {
"mtime": 1785481688.8663511,
"ast_hash": "cd55cc2c016650d188b115d85b1e430c",
"semantic_hash": ""
},
"assets/admin/pages/PolicyFormPage.tsx": {
"mtime": 1785481307.7718349,
"ast_hash": "7ebd56443031e9fe3e0575c99998dfcd",
"semantic_hash": ""
},
"assets/admin/pages/PolicySimulationPage.test.tsx": {
"mtime": 1785481495.7301166,
"ast_hash": "6f5fea9336c66ddc9cf4d55abc292aa8",
"semantic_hash": ""
},
"assets/admin/pages/PolicySimulationPage.tsx": {
"mtime": 1785481658.2977936,
"ast_hash": "78889db98a15552ab2ac5dc259aacd33",
"semantic_hash": ""
},
"migrations/Version20260731065427.php": {
"mtime": 1785480875.562077,
"ast_hash": "abcc7cbad704687a98ca4ade90d8a3e7",
"semantic_hash": ""
},
"src/Policy/Command/PruneSimulationsCommand.php": {
"mtime": 1785481607.0966215,
"ast_hash": "ea36b0bfc16f720b4518eb1e8e9d2dac",
"semantic_hash": ""
},
"src/Policy/Controller/PolicySimulationController.php": {
"mtime": 1785481588.10625,
"ast_hash": "359abbd069f8aa091bd8311c18e93cd0",
"semantic_hash": ""
},
"src/Policy/Entity/PolicySimulationRun.php": {
"mtime": 1785480642.311879,
"ast_hash": "9aa6cd930ae3fc9a199575d03f099c46",
"semantic_hash": ""
},
"src/Policy/Repository/PolicySimulationRunRepository.php": {
"mtime": 1785480652.9644914,
"ast_hash": "d30a7d2f5d21461d3095ac7c29eea215",
"semantic_hash": ""
},
"src/Policy/Simulation/PolicySimulator.php": {
"mtime": 1785480767.1420372,
"ast_hash": "ed8205a7f4d29f9f8ad37dc18180163a",
"semantic_hash": ""
},
"src/Policy/Simulation/SimulationFacts.php": {
"mtime": 1785481896.708188,
"ast_hash": "b21879e1019d61140d85ad619377ce4a",
"semantic_hash": ""
},
"src/Policy/Simulation/SimulationSampler.php": {
"mtime": 1785481588.1057312,
"ast_hash": "313281b1073d5552d24dd638ef86acb6",
"semantic_hash": ""
},
"src/Policy/Template/PolicyTemplateRegistry.php": {
"mtime": 1785480801.8620565,
"ast_hash": "ee0b139309a7b055db145aa8920808f8",
"semantic_hash": ""
},
"tests/Policy/PolicySimulationTest.php": {
"mtime": 1785481719.778239,
"ast_hash": "2f7be58a5dd988acdf20f34bad3f2618",
"semantic_hash": ""
}
}