chore: refresh the knowledge graph after the policy engine

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
hamed
2026-07-31 10:19:47 +03:30
co-authored by Claude Opus 5
parent 584ea4067f
commit 56bd1b474a
31 changed files with 8838 additions and 2283 deletions
+38 -1
View File
@@ -1342,5 +1342,42 @@
"1340": "Community 1340",
"1341": "Community 1341",
"1342": "Community 1342",
"1349": "Community 1349"
"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",
"1356": "Community 1356",
"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",
"1366": "Community 1366",
"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"
}
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
@@ -0,0 +1 @@
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_valueobject_policyoutcome_php", "label": "PolicyOutcome.php", "file_type": "code", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L1"}, {"id": "valueobject_policyoutcome_policyoutcome", "label": "PolicyOutcome", "file_type": "code", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L11"}, {"id": "valueobject_policyoutcome_policyoutcome_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L18"}, {"id": "valueobject_policyoutcome_policyoutcome_isforbidden", "label": ".isForbidden()", "file_type": "code", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L24"}, {"id": "valueobject_policyoutcome_policyoutcome_effect", "label": ".effect()", "file_type": "code", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L29"}, {"id": "valueobject_policyoutcome_policyoutcome_toarray", "label": ".toArray()", "file_type": "code", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L34"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_policy_valueobject_policyoutcome_php", "target": "valueobject_policyoutcome_policyoutcome", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L11", "weight": 1.0}, {"source": "valueobject_policyoutcome_policyoutcome", "target": "valueobject_policyoutcome_policyoutcome_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L18", "weight": 1.0}, {"source": "valueobject_policyoutcome_policyoutcome", "target": "valueobject_policyoutcome_policyoutcome_isforbidden", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L24", "weight": 1.0}, {"source": "valueobject_policyoutcome_policyoutcome", "target": "valueobject_policyoutcome_policyoutcome_effect", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L29", "weight": 1.0}, {"source": "valueobject_policyoutcome_policyoutcome", "target": "valueobject_policyoutcome_policyoutcome_toarray", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L34", "weight": 1.0}, {"source": "valueobject_policyoutcome_policyoutcome_toarray", "target": "valueobject_policyoutcome_policyoutcome_isforbidden", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Policy/ValueObject/PolicyOutcome.php", "source_location": "L39", "weight": 1.0}], "raw_calls": []}
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": "L80"}, {"id": "service_policyschema_policyschema_allowsfield", "label": ".allowsField()", "file_type": "code", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L101"}, {"id": "service_policyschema_policyschema_allowseffect", "label": ".allowsEffect()", "file_type": "code", "source_file": "src/Policy/Service/PolicySchema.php", "source_location": "L106"}], "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": "L80", "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": "L101", "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": "L106", "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": "L88", "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": "L103", "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": "L108", "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
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_shared_tenant_globaltables_php", "label": "GlobalTables.php", "file_type": "code", "source_file": "src/Shared/Tenant/GlobalTables.php", "source_location": "L1"}, {"id": "tenant_globaltables_globaltables", "label": "GlobalTables", "file_type": "code", "source_file": "src/Shared/Tenant/GlobalTables.php", "source_location": "L16"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_tenant_globaltables_php", "target": "tenant_globaltables_globaltables", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Shared/Tenant/GlobalTables.php", "source_location": "L16", "weight": 1.0}], "raw_calls": []}
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
+1 -1
View File
File diff suppressed because one or more lines are too long
+8372 -2045
View File
File diff suppressed because it is too large Load Diff
+100 -20
View File
@@ -2360,8 +2360,8 @@
"semantic_hash": ""
},
"docs/api/clinic-services.md": {
"mtime": 1785424384.8763475,
"ast_hash": "3488498b233436d2e3b50e8f4413f845",
"mtime": 1785480246.8588555,
"ast_hash": "fae07b943f63faedba826dd6d5056950",
"semantic_hash": ""
},
"docs/api/clinic.md": {
@@ -6680,8 +6680,8 @@
"semantic_hash": ""
},
"src/Shared/Tenant/GlobalTables.php": {
"mtime": 1785477945.6033664,
"ast_hash": "7e0ab4e643aab43174959fcc5fb511ad",
"mtime": 1785478692.1318524,
"ast_hash": "c754252d014b357a6446311a263ed4b3",
"semantic_hash": ""
},
"src/Shared/Tenant/NullableTenantOwnedTrait.php": {
@@ -7185,8 +7185,8 @@
"semantic_hash": ""
},
"docs/new_feture/taskes/task-09-policy-engine/checklist.md": {
"mtime": 1785400355.6349082,
"ast_hash": "31fc48d4ac648809dce7a2c6a238f676",
"mtime": 1785480479.0553312,
"ast_hash": "034c3f0484d36413f5679c2cb042bcaa",
"semantic_hash": ""
},
"docs/new_feture/taskes/task-09-policy-engine/database.md": {
@@ -7945,8 +7945,8 @@
"semantic_hash": ""
},
"src/ClinicService/Service/ServiceSelectionValidator.php": {
"mtime": 1785423855.048404,
"ast_hash": "fcb9d2dc98361be9b3a4c571993167ff",
"mtime": 1785479343.8604543,
"ast_hash": "74f7e4c39c34b3baf4a3a2a788783909",
"semantic_hash": ""
},
"tests/ClinicService/DurationCalculatorTest.php": {
@@ -7990,8 +7990,8 @@
"semantic_hash": ""
},
"src/Appointment/Plan/Service/AppointmentPlanBuilder.php": {
"mtime": 1785432673.5726178,
"ast_hash": "5e9bd339a9db524bcfd71ffc991e0c99",
"mtime": 1785479965.5303476,
"ast_hash": "a89a38ca2cd71f5606419777f5faea25",
"semantic_hash": ""
},
"src/Appointment/Plan/ValueObject/AppointmentPlan.php": {
@@ -8015,8 +8015,8 @@
"semantic_hash": ""
},
"docs/api/appointment-plan.md": {
"mtime": 1785432990.4510753,
"ast_hash": "d0f95c63d6e5592e8909a4b59c67e889",
"mtime": 1785480246.858115,
"ast_hash": "6f3afe61cc5c1b104cba62b71ff7c52e",
"semantic_hash": ""
},
"migrations/Version20260730174147.php": {
@@ -8075,8 +8075,8 @@
"semantic_hash": ""
},
"src/Appointment/Booking/Controller/BookingController.php": {
"mtime": 1785478249.9395454,
"ast_hash": "e6f93e3ea266654fa7bfbde377ab1275",
"mtime": 1785479180.1403022,
"ast_hash": "4f9acf06856088893025ef0dc8d41bab",
"semantic_hash": ""
},
"src/Appointment/Booking/Entity/AppointmentHold.php": {
@@ -8120,8 +8120,8 @@
"semantic_hash": ""
},
"docs/api/appointment-booking.md": {
"mtime": 1785477178.753774,
"ast_hash": "a15fc599dab10a0db7f00293078d175d",
"mtime": 1785480246.8582659,
"ast_hash": "94a8c9d83d3078ceda12512e286a94fb",
"semantic_hash": ""
},
"migrations/Version20260731060549.php": {
@@ -8170,8 +8170,8 @@
"semantic_hash": ""
},
"src/Pricing/Service/PricingEngine.php": {
"mtime": 1785477864.7545834,
"ast_hash": "5446193eb13d136f4798f4e219c54fae",
"mtime": 1785478822.3804827,
"ast_hash": "ee2b106bcaf20bc9cafc8b5b308f4ad6",
"semantic_hash": ""
},
"src/Pricing/ValueObject/PriceQuote.php": {
@@ -8185,8 +8185,88 @@
"semantic_hash": ""
},
"docs/api/pricing.md": {
"mtime": 1785478341.4944887,
"ast_hash": "013fa293cf6bd215004081b5dbe4abff",
"mtime": 1785480246.8576732,
"ast_hash": "9ba10e431e101cc00f4678cbde8d0fa1",
"semantic_hash": ""
},
"migrations/Version20260731061814.php": {
"mtime": 1785479546.0089939,
"ast_hash": "3b93ca314ae65d8548f0e07df55db23f",
"semantic_hash": ""
},
"src/Policy/Controller/PolicyController.php": {
"mtime": 1785478689.5767467,
"ast_hash": "65e1d8a275f30d0a69794afab75ac2c9",
"semantic_hash": ""
},
"src/Policy/Entity/Policy.php": {
"mtime": 1785479546.008472,
"ast_hash": "b928040988f10b55f3f9f0b281b7e3a6",
"semantic_hash": ""
},
"src/Policy/Entity/PolicyVersionLog.php": {
"mtime": 1785478532.1299305,
"ast_hash": "9d231ecb2732128b618a21baf10aac1d",
"semantic_hash": ""
},
"src/Policy/Repository/PolicyRepository.php": {
"mtime": 1785478633.5084064,
"ast_hash": "1b26ab563f332d8a68db558dcc118e03",
"semantic_hash": ""
},
"src/Policy/Repository/PolicyVersionLogRepository.php": {
"mtime": 1785478633.5102217,
"ast_hash": "57d463cfce0e064f2d755c2b87c0173a",
"semantic_hash": ""
},
"src/Policy/Service/BookingPolicyGuard.php": {
"mtime": 1785479153.1378164,
"ast_hash": "011744e5e9b82f1f4252e35492a70c1f",
"semantic_hash": ""
},
"src/Policy/Service/ConditionEvaluator.php": {
"mtime": 1785479941.2841632,
"ast_hash": "2b1127d9a31cd9afdff3d9fafd58798c",
"semantic_hash": ""
},
"src/Policy/Service/PolicyResolver.php": {
"mtime": 1785479790.1617236,
"ast_hash": "750d3562b5bef179304894a6f6f7798b",
"semantic_hash": ""
},
"src/Policy/Service/PolicySchema.php": {
"mtime": 1785478532.1325989,
"ast_hash": "ebcac2c50201f1469759466db5bc3786",
"semantic_hash": ""
},
"src/Policy/ValueObject/PolicyOutcome.php": {
"mtime": 1785478633.504122,
"ast_hash": "d901594ccbb36accca8ea9ebe1d72885",
"semantic_hash": ""
},
"tests/Policy/DocsCaptureTest.php": {
"mtime": 1785480315.871351,
"ast_hash": "9e6dfd5f791510458bb939ad1e2d7518",
"semantic_hash": ""
},
"tests/Policy/NoPolicyRegressionTest.php": {
"mtime": 1785480286.8730018,
"ast_hash": "9f726aceeb3dc882ca18f864fb5d54bb",
"semantic_hash": ""
},
"tests/Policy/PolicyEngineTest.php": {
"mtime": 1785479816.1753817,
"ast_hash": "95910c4b0987cddd73c97fb46138c4a0",
"semantic_hash": ""
},
"docs/api/policy.md": {
"mtime": 1785480208.8222737,
"ast_hash": "7fb903b317e4e586594dd56546eec5bb",
"semantic_hash": ""
},
"docs/architecture/policy-engine.md": {
"mtime": 1785480395.3356152,
"ast_hash": "fdb2aba6010e8500c9ecc97daaf3f1ef",
"semantic_hash": ""
}
}