From 002c1f05a6c83a1560a3c1e21b2dc362f7145cbe Mon Sep 17 00:00:00 2001 From: Thomas Vincent Date: Thu, 9 Apr 2026 12:36:17 -0700 Subject: [PATCH 1/6] refactor: add strict typing across syslog plugin --- .../00154a04-53d3-406d-a8c0-d950b0d851dc.json | 13 ++ .../01772d10-bd48-494e-aa79-205e910e9948.json | 8 + .../01b3795f-e386-4ec4-a732-d945284f60c1.json | 8 + .../0368fad6-b616-4822-9147-988db8ab8af0.json | 8 + .../037a214f-6a32-435d-bc3f-0891cc8edc06.json | 8 + .../08e99344-71a5-430d-a8e6-470b7070e74b.json | 8 + .../0e66c2b3-810c-4506-b0a8-41b5b3f8b852.json | 8 + .../0fc017e5-7aa6-44c8-9279-bd97abda3fed.json | 8 + .../12e6a414-6405-4283-957b-756a71639194.json | 8 + .../15348764-ec71-4eae-b6b3-3d8b6e55c3fc.json | 8 + .../17212049-8ec2-4c3f-aa7d-e9de67f4620e.json | 8 + .../1811f6f2-cfc2-4e06-9132-715c08273e24.json | 8 + .../1e68b869-abcc-4e0d-af2a-ef1cb01848af.json | 8 + .../1f190996-eb16-4afe-945f-e6667f86857c.json | 8 + .../1f6662b9-61e3-4691-a36b-a369947568db.json | 8 + .../2026b27a-f394-4ca2-8eac-27d92a903540.json | 8 + .../21ef87f3-d19b-4cd4-a4b6-6e8738c89a04.json | 8 + .../221d55b8-b3af-4972-8277-37def770aa53.json | 8 + .../26679323-e79b-47ae-a145-0ac264609c1b.json | 8 + .../27a0ee7c-c524-49b5-94d3-4ccf4b0ffb64.json | 8 + .../2840679b-9c00-4171-aa8c-f9f0f1adf667.json | 8 + .../2baa0362-6a06-4c5b-9de3-4234e5a1b27f.json | 8 + .../2d772e0a-7886-4b50-b714-d4d7496daa29.json | 8 + .../2d8cc9f3-acbe-485f-80ba-dfab63de95bb.json | 8 + .../2d8ff310-c7db-45ab-a74a-b4ecd9e2f44f.json | 8 + .../2da3f4dc-d425-4734-a9a9-605346e2afff.json | 8 + .../2e282317-969c-4da3-8b9c-2972e9b5c6ba.json | 8 + .../3169722d-eca9-40a6-a5aa-46b24141a94e.json | 8 + .../31b56d1d-cf1f-40b5-8391-d809feaa7e1c.json | 8 + .../32134f9d-11bf-4641-b8ad-f21ea440662e.json | 8 + .../341c807f-6b93-4ef7-bae7-2734a822496d.json | 8 + .../34a16cc2-d181-4a65-b935-b4f52095ec0c.json | 8 + .../3cba6224-6006-4bc7-bb86-cac01084e14b.json | 8 + .../3db16e30-12e9-473e-8e97-9dbbf6d78ddb.json | 8 + .../3e783b64-e0de-4ef7-bfb5-77933bf0a18d.json | 8 + .../40139664-f38d-44bb-b293-d86210b4a789.json | 8 + .../406a66f4-807a-475d-b6cf-4a7174c7bfae.json | 8 + .../410a80f0-bd18-4a66-9201-c3441974d75a.json | 8 + .../487064df-17bc-4140-b39a-57178f0f3eb7.json | 8 + .../4984fe67-8b88-478a-81af-7e9a621a38b9.json | 8 + .../52cad551-4ab6-4685-b5ef-e3475666e161.json | 8 + .../5630391a-53f5-445f-aa45-85dca0fa9064.json | 8 + .../56480f6d-b036-4aaa-a910-9455d8152700.json | 8 + .../564a90f2-26b6-4c3d-881b-4d04e8ea59f3.json | 8 + .../56571159-4bdf-4bb7-9bc6-751e7433a833.json | 8 + .../5695e9c8-2d2a-45f2-91e3-fc91c06d1b89.json | 8 + .../584bfb72-cdaf-4818-97ca-e885fc6911de.json | 8 + .../5a034134-2524-4af9-b6d5-d7df0073b1ee.json | 8 + .../5b8b21f6-0fdf-47f6-a116-dc2d5b0ef0a7.json | 8 + .../622ce4a2-0151-41ef-b9a9-c956b6a0f1aa.json | 8 + .../634251ee-150e-46bb-952b-f728bae5900b.json | 8 + .../63648f22-ba82-4871-a252-159b899e2813.json | 8 + .../679faf5d-f67f-4e67-b8b6-61f2e646fc2c.json | 8 + .../67d27b7e-57c5-4a00-b417-2213d629f59f.json | 8 + .../6d025159-150f-4b0d-b529-7decb9e83476.json | 8 + .../6e17000e-d5dc-4397-867f-195fd5fbff2b.json | 8 + .../6e5ac3ac-9f78-4afb-b522-baf382e4e20f.json | 8 + .../737d7187-1bd3-4a34-8126-c79a58a6ec4b.json | 8 + .../76861ce4-af03-4f89-a66d-f414c09150e5.json | 8 + .../76b7e542-f1f4-46cb-8fcc-ff23a4eda594.json | 8 + .../77f80fec-21cd-4fcb-b6fd-b7d5cfa24471.json | 8 + .../79726f42-a0e1-4446-9a91-2c2f36b602bc.json | 8 + .../7a147406-0079-4ae6-be3b-d62e761f4a0d.json | 8 + .../7a4e7177-3ebc-440d-96d4-886714b5335b.json | 8 + .../7d1d30e6-55b7-4337-baaa-4c112a7bf8e4.json | 8 + .../8605cecc-f783-46c6-b837-db757f53208f.json | 8 + .../898d7cf6-ac50-4b00-8c79-49ae8a5406f5.json | 8 + .../89e64882-37c2-4013-9d75-4ab00f9b9ae2.json | 8 + .../8a9c31ed-e97f-4ecf-9ade-f7225f6773c3.json | 8 + .../8c791133-2944-4918-bd11-510bffce9b27.json | 8 + .../8d437272-e639-479f-8055-e33df31df174.json | 8 + .../8dc1bbec-5997-4da0-9d54-b9eea34f5ed0.json | 8 + .../915864d7-c217-45d2-8f88-ac4c48ce3df8.json | 8 + .../9330de4a-ff5a-4234-bfaf-75072a5443ac.json | 8 + .../93f5b9f0-d0df-40db-820b-22043ae0ed69.json | 8 + .../95adc17b-dbfb-4537-8452-6bd7c82b1ef0.json | 8 + .../966b8ce8-271c-4435-b1b2-64aa8505f81e.json | 8 + .../971571ad-90ed-4804-bd4a-49e30f6ecaf8.json | 8 + .../9745bbc3-6fb5-4fab-be2d-6ea1babc367c.json | 8 + .../9747833f-968b-4688-ac22-7f0fc96412a1.json | 8 + .../9830b6ad-99c6-4dae-b31e-fb9613941707.json | 8 + .../98484f99-9acc-4fa9-a6b8-752b7983e957.json | 8 + .../9c4774f9-844d-4103-8c91-5a294afa8261.json | 8 + .../9ffb08b4-6da0-4498-807f-31bff88b7cb4.json | 8 + .../a229b2c8-59e6-435f-a9db-6eac0270e49e.json | 8 + .../aaaf4cd1-9628-47a4-8d9d-5e68e122b58f.json | 8 + .../ab9cfdcd-ae28-435b-a34d-1ae5eb97b9f8.json | 8 + .../ad75091a-99c6-4a12-aae1-794e53dea2d6.json | 8 + .../ad9e35a9-3e6f-4c2d-95da-039d7c4726f0.json | 8 + .../ae30c77e-6274-419e-95dc-915b9cd6b6fc.json | 8 + .../b466285d-fa7d-4f09-82d0-853f1f86aec1.json | 8 + .../b9af45bf-6db6-41f5-97cd-4cac37fb0c41.json | 8 + .../bbd79a2e-7060-4acd-bf02-f76e97de4fb0.json | 8 + .../bd36c41b-2aeb-4a19-9eee-2ddff79781d7.json | 8 + .../bf08a70a-c9d5-4625-8a73-c5a81bfd54f9.json | 8 + .../c23e1a42-ec10-489a-b87f-f114413cbaa8.json | 8 + .../c601ae81-d35e-4304-963f-1976c2c660c9.json | 8 + .../c67a7716-bf47-4541-be7a-319c8da24051.json | 8 + .../c92c6e23-9a28-4f9a-ad69-1b5a71b23663.json | 8 + .../cc2e25fc-219c-4b1e-862f-d59f4b1034f6.json | 8 + .../cf695ae8-c1b7-413d-8056-94d5f28d329c.json | 8 + .../cf6b301f-dc34-4a20-a43e-52e6cad2c9b3.json | 8 + .../cfbed635-4358-4491-87d7-2b1d496e8440.json | 8 + .../d0f11964-9ebf-4227-a0ec-1fbbdc3d9fc2.json | 8 + .../d182033f-0274-440d-9e4d-3b64e7d16044.json | 8 + .../d4ca0a76-9287-4f01-b717-ff45ccff7137.json | 8 + .../d667c6e2-111a-46fb-889e-0de3c321bfd4.json | 8 + .../d749ba2a-4b8d-42a9-9051-617f5da2072d.json | 8 + .../da055f94-9f77-4ac0-9790-e7a44d51c874.json | 8 + .../da9c4e72-5e1b-4674-96cd-2347c0c30f17.json | 8 + .../ddcbb95b-c957-448f-81b6-a9c9140911be.json | 8 + .../de01ce98-7346-43f4-97da-b7b4ce5106f5.json | 8 + .../debf9da4-4328-4ed9-a2bc-f420fb1fa8fb.json | 8 + .../e2284b4d-28a5-4978-9e63-799b51d69cf2.json | 8 + .../e344b250-ca00-4697-b9ba-e77f3efaf4f7.json | 8 + .../e4651b09-d772-45d3-8dae-18a0702eac31.json | 8 + .../e723e5f6-2d45-46e4-99f5-b76e0bc442de.json | 8 + .../e765d5ae-e9af-477a-9189-b7dee358b369.json | 8 + .../e879f22d-f550-4182-9846-94409ce44dd0.json | 8 + .../eaf2b6d4-74ad-4441-a852-249f332cee42.json | 8 + .../f37053e8-08b1-4be4-be2e-ebd598e662dd.json | 8 + .../f451d9f8-f690-424b-9ad8-e7ef6538ce43.json | 8 + .../f61ee014-b229-4cdf-98fd-70b20e346eec.json | 8 + .../f699a501-8ad5-49fc-ba93-43b597e96018.json | 8 + .../f6a7cb0a-8515-4d2d-a91f-7bfecd1d73ec.json | 8 + .../f8dae8d8-02de-45c5-ad1f-dde56895f0bf.json | 8 + .../fac5e1b2-3f5d-40f4-9e20-3c33bbea8ab4.json | 8 + .../fc8b0852-72c5-4f54-82c2-8630122d8d0d.json | 8 + .../fd002be5-2116-4450-a815-aa76c524a446.json | 8 + .../fd846fd3-8ee2-4fec-b57b-2f1dba87dfa3.json | 8 + .../fd8716af-77dd-4a73-9853-05cf44f4feee.json | 8 + .../fe82f874-1147-4635-9585-197d9217a1e5.json | 8 + .../ff1d7231-8c0c-4851-88db-092f94417168.json | 8 + .../ff55ea36-139a-42b5-834d-29dc91ad5430.json | 8 + .../checkpoint-2026-03-10T20-39-47-373Z.json | 11 ++ .../checkpoint-2026-03-18T22-02-29-245Z.json | 11 ++ database.php | 2 + functions.php | 2 + images/index.php | 2 + index.php | 2 + locales/LC_MESSAGES/index.php | 2 + locales/index.php | 2 + locales/po/.omc/state/subagent-tracking.json | 17 ++ locales/po/index.php | 2 + pest.php | 8 + setup.php | 2 + syslog.php | 2 + syslog_alerts.php | 2 + syslog_batch_transfer.php | 2 + syslog_counter.php | 2 + syslog_process.php | 2 + syslog_removal.php | 2 + syslog_reports.php | 2 + template/index.php | 2 + tests/Helpers/CactiStubs.php | 159 ++++++++++++++++++ tests/Unit/StrictTypingTest.php | 25 +++ .../issue253_alert_sql_placeholder_test.php | 2 + .../issue254_partition_table_locking_test.php | 2 + .../issue258_replication_create_sql_test.php | 2 + ...issue269_import_text_branch_logic_test.php | 2 + .../issue269_import_text_trim_check_test.php | 2 + ...issue270_mariadb_detection_strict_test.php | 2 + ...ue276_bulk_action_dispatch_helper_test.php | 2 + .../issue277_import_payload_loader_test.php | 2 + ...sue278_command_execution_refactor_test.php | 2 + 165 files changed, 1358 insertions(+) create mode 100644 .omc/sessions/00154a04-53d3-406d-a8c0-d950b0d851dc.json create mode 100644 .omc/sessions/01772d10-bd48-494e-aa79-205e910e9948.json create mode 100644 .omc/sessions/01b3795f-e386-4ec4-a732-d945284f60c1.json create mode 100644 .omc/sessions/0368fad6-b616-4822-9147-988db8ab8af0.json create mode 100644 .omc/sessions/037a214f-6a32-435d-bc3f-0891cc8edc06.json create mode 100644 .omc/sessions/08e99344-71a5-430d-a8e6-470b7070e74b.json create mode 100644 .omc/sessions/0e66c2b3-810c-4506-b0a8-41b5b3f8b852.json create mode 100644 .omc/sessions/0fc017e5-7aa6-44c8-9279-bd97abda3fed.json create mode 100644 .omc/sessions/12e6a414-6405-4283-957b-756a71639194.json create mode 100644 .omc/sessions/15348764-ec71-4eae-b6b3-3d8b6e55c3fc.json create mode 100644 .omc/sessions/17212049-8ec2-4c3f-aa7d-e9de67f4620e.json create mode 100644 .omc/sessions/1811f6f2-cfc2-4e06-9132-715c08273e24.json create mode 100644 .omc/sessions/1e68b869-abcc-4e0d-af2a-ef1cb01848af.json create mode 100644 .omc/sessions/1f190996-eb16-4afe-945f-e6667f86857c.json create mode 100644 .omc/sessions/1f6662b9-61e3-4691-a36b-a369947568db.json create mode 100644 .omc/sessions/2026b27a-f394-4ca2-8eac-27d92a903540.json create mode 100644 .omc/sessions/21ef87f3-d19b-4cd4-a4b6-6e8738c89a04.json create mode 100644 .omc/sessions/221d55b8-b3af-4972-8277-37def770aa53.json create mode 100644 .omc/sessions/26679323-e79b-47ae-a145-0ac264609c1b.json create mode 100644 .omc/sessions/27a0ee7c-c524-49b5-94d3-4ccf4b0ffb64.json create mode 100644 .omc/sessions/2840679b-9c00-4171-aa8c-f9f0f1adf667.json create mode 100644 .omc/sessions/2baa0362-6a06-4c5b-9de3-4234e5a1b27f.json create mode 100644 .omc/sessions/2d772e0a-7886-4b50-b714-d4d7496daa29.json create mode 100644 .omc/sessions/2d8cc9f3-acbe-485f-80ba-dfab63de95bb.json create mode 100644 .omc/sessions/2d8ff310-c7db-45ab-a74a-b4ecd9e2f44f.json create mode 100644 .omc/sessions/2da3f4dc-d425-4734-a9a9-605346e2afff.json create mode 100644 .omc/sessions/2e282317-969c-4da3-8b9c-2972e9b5c6ba.json create mode 100644 .omc/sessions/3169722d-eca9-40a6-a5aa-46b24141a94e.json create mode 100644 .omc/sessions/31b56d1d-cf1f-40b5-8391-d809feaa7e1c.json create mode 100644 .omc/sessions/32134f9d-11bf-4641-b8ad-f21ea440662e.json create mode 100644 .omc/sessions/341c807f-6b93-4ef7-bae7-2734a822496d.json create mode 100644 .omc/sessions/34a16cc2-d181-4a65-b935-b4f52095ec0c.json create mode 100644 .omc/sessions/3cba6224-6006-4bc7-bb86-cac01084e14b.json create mode 100644 .omc/sessions/3db16e30-12e9-473e-8e97-9dbbf6d78ddb.json create mode 100644 .omc/sessions/3e783b64-e0de-4ef7-bfb5-77933bf0a18d.json create mode 100644 .omc/sessions/40139664-f38d-44bb-b293-d86210b4a789.json create mode 100644 .omc/sessions/406a66f4-807a-475d-b6cf-4a7174c7bfae.json create mode 100644 .omc/sessions/410a80f0-bd18-4a66-9201-c3441974d75a.json create mode 100644 .omc/sessions/487064df-17bc-4140-b39a-57178f0f3eb7.json create mode 100644 .omc/sessions/4984fe67-8b88-478a-81af-7e9a621a38b9.json create mode 100644 .omc/sessions/52cad551-4ab6-4685-b5ef-e3475666e161.json create mode 100644 .omc/sessions/5630391a-53f5-445f-aa45-85dca0fa9064.json create mode 100644 .omc/sessions/56480f6d-b036-4aaa-a910-9455d8152700.json create mode 100644 .omc/sessions/564a90f2-26b6-4c3d-881b-4d04e8ea59f3.json create mode 100644 .omc/sessions/56571159-4bdf-4bb7-9bc6-751e7433a833.json create mode 100644 .omc/sessions/5695e9c8-2d2a-45f2-91e3-fc91c06d1b89.json create mode 100644 .omc/sessions/584bfb72-cdaf-4818-97ca-e885fc6911de.json create mode 100644 .omc/sessions/5a034134-2524-4af9-b6d5-d7df0073b1ee.json create mode 100644 .omc/sessions/5b8b21f6-0fdf-47f6-a116-dc2d5b0ef0a7.json create mode 100644 .omc/sessions/622ce4a2-0151-41ef-b9a9-c956b6a0f1aa.json create mode 100644 .omc/sessions/634251ee-150e-46bb-952b-f728bae5900b.json create mode 100644 .omc/sessions/63648f22-ba82-4871-a252-159b899e2813.json create mode 100644 .omc/sessions/679faf5d-f67f-4e67-b8b6-61f2e646fc2c.json create mode 100644 .omc/sessions/67d27b7e-57c5-4a00-b417-2213d629f59f.json create mode 100644 .omc/sessions/6d025159-150f-4b0d-b529-7decb9e83476.json create mode 100644 .omc/sessions/6e17000e-d5dc-4397-867f-195fd5fbff2b.json create mode 100644 .omc/sessions/6e5ac3ac-9f78-4afb-b522-baf382e4e20f.json create mode 100644 .omc/sessions/737d7187-1bd3-4a34-8126-c79a58a6ec4b.json create mode 100644 .omc/sessions/76861ce4-af03-4f89-a66d-f414c09150e5.json create mode 100644 .omc/sessions/76b7e542-f1f4-46cb-8fcc-ff23a4eda594.json create mode 100644 .omc/sessions/77f80fec-21cd-4fcb-b6fd-b7d5cfa24471.json create mode 100644 .omc/sessions/79726f42-a0e1-4446-9a91-2c2f36b602bc.json create mode 100644 .omc/sessions/7a147406-0079-4ae6-be3b-d62e761f4a0d.json create mode 100644 .omc/sessions/7a4e7177-3ebc-440d-96d4-886714b5335b.json create mode 100644 .omc/sessions/7d1d30e6-55b7-4337-baaa-4c112a7bf8e4.json create mode 100644 .omc/sessions/8605cecc-f783-46c6-b837-db757f53208f.json create mode 100644 .omc/sessions/898d7cf6-ac50-4b00-8c79-49ae8a5406f5.json create mode 100644 .omc/sessions/89e64882-37c2-4013-9d75-4ab00f9b9ae2.json create mode 100644 .omc/sessions/8a9c31ed-e97f-4ecf-9ade-f7225f6773c3.json create mode 100644 .omc/sessions/8c791133-2944-4918-bd11-510bffce9b27.json create mode 100644 .omc/sessions/8d437272-e639-479f-8055-e33df31df174.json create mode 100644 .omc/sessions/8dc1bbec-5997-4da0-9d54-b9eea34f5ed0.json create mode 100644 .omc/sessions/915864d7-c217-45d2-8f88-ac4c48ce3df8.json create mode 100644 .omc/sessions/9330de4a-ff5a-4234-bfaf-75072a5443ac.json create mode 100644 .omc/sessions/93f5b9f0-d0df-40db-820b-22043ae0ed69.json create mode 100644 .omc/sessions/95adc17b-dbfb-4537-8452-6bd7c82b1ef0.json create mode 100644 .omc/sessions/966b8ce8-271c-4435-b1b2-64aa8505f81e.json create mode 100644 .omc/sessions/971571ad-90ed-4804-bd4a-49e30f6ecaf8.json create mode 100644 .omc/sessions/9745bbc3-6fb5-4fab-be2d-6ea1babc367c.json create mode 100644 .omc/sessions/9747833f-968b-4688-ac22-7f0fc96412a1.json create mode 100644 .omc/sessions/9830b6ad-99c6-4dae-b31e-fb9613941707.json create mode 100644 .omc/sessions/98484f99-9acc-4fa9-a6b8-752b7983e957.json create mode 100644 .omc/sessions/9c4774f9-844d-4103-8c91-5a294afa8261.json create mode 100644 .omc/sessions/9ffb08b4-6da0-4498-807f-31bff88b7cb4.json create mode 100644 .omc/sessions/a229b2c8-59e6-435f-a9db-6eac0270e49e.json create mode 100644 .omc/sessions/aaaf4cd1-9628-47a4-8d9d-5e68e122b58f.json create mode 100644 .omc/sessions/ab9cfdcd-ae28-435b-a34d-1ae5eb97b9f8.json create mode 100644 .omc/sessions/ad75091a-99c6-4a12-aae1-794e53dea2d6.json create mode 100644 .omc/sessions/ad9e35a9-3e6f-4c2d-95da-039d7c4726f0.json create mode 100644 .omc/sessions/ae30c77e-6274-419e-95dc-915b9cd6b6fc.json create mode 100644 .omc/sessions/b466285d-fa7d-4f09-82d0-853f1f86aec1.json create mode 100644 .omc/sessions/b9af45bf-6db6-41f5-97cd-4cac37fb0c41.json create mode 100644 .omc/sessions/bbd79a2e-7060-4acd-bf02-f76e97de4fb0.json create mode 100644 .omc/sessions/bd36c41b-2aeb-4a19-9eee-2ddff79781d7.json create mode 100644 .omc/sessions/bf08a70a-c9d5-4625-8a73-c5a81bfd54f9.json create mode 100644 .omc/sessions/c23e1a42-ec10-489a-b87f-f114413cbaa8.json create mode 100644 .omc/sessions/c601ae81-d35e-4304-963f-1976c2c660c9.json create mode 100644 .omc/sessions/c67a7716-bf47-4541-be7a-319c8da24051.json create mode 100644 .omc/sessions/c92c6e23-9a28-4f9a-ad69-1b5a71b23663.json create mode 100644 .omc/sessions/cc2e25fc-219c-4b1e-862f-d59f4b1034f6.json create mode 100644 .omc/sessions/cf695ae8-c1b7-413d-8056-94d5f28d329c.json create mode 100644 .omc/sessions/cf6b301f-dc34-4a20-a43e-52e6cad2c9b3.json create mode 100644 .omc/sessions/cfbed635-4358-4491-87d7-2b1d496e8440.json create mode 100644 .omc/sessions/d0f11964-9ebf-4227-a0ec-1fbbdc3d9fc2.json create mode 100644 .omc/sessions/d182033f-0274-440d-9e4d-3b64e7d16044.json create mode 100644 .omc/sessions/d4ca0a76-9287-4f01-b717-ff45ccff7137.json create mode 100644 .omc/sessions/d667c6e2-111a-46fb-889e-0de3c321bfd4.json create mode 100644 .omc/sessions/d749ba2a-4b8d-42a9-9051-617f5da2072d.json create mode 100644 .omc/sessions/da055f94-9f77-4ac0-9790-e7a44d51c874.json create mode 100644 .omc/sessions/da9c4e72-5e1b-4674-96cd-2347c0c30f17.json create mode 100644 .omc/sessions/ddcbb95b-c957-448f-81b6-a9c9140911be.json create mode 100644 .omc/sessions/de01ce98-7346-43f4-97da-b7b4ce5106f5.json create mode 100644 .omc/sessions/debf9da4-4328-4ed9-a2bc-f420fb1fa8fb.json create mode 100644 .omc/sessions/e2284b4d-28a5-4978-9e63-799b51d69cf2.json create mode 100644 .omc/sessions/e344b250-ca00-4697-b9ba-e77f3efaf4f7.json create mode 100644 .omc/sessions/e4651b09-d772-45d3-8dae-18a0702eac31.json create mode 100644 .omc/sessions/e723e5f6-2d45-46e4-99f5-b76e0bc442de.json create mode 100644 .omc/sessions/e765d5ae-e9af-477a-9189-b7dee358b369.json create mode 100644 .omc/sessions/e879f22d-f550-4182-9846-94409ce44dd0.json create mode 100644 .omc/sessions/eaf2b6d4-74ad-4441-a852-249f332cee42.json create mode 100644 .omc/sessions/f37053e8-08b1-4be4-be2e-ebd598e662dd.json create mode 100644 .omc/sessions/f451d9f8-f690-424b-9ad8-e7ef6538ce43.json create mode 100644 .omc/sessions/f61ee014-b229-4cdf-98fd-70b20e346eec.json create mode 100644 .omc/sessions/f699a501-8ad5-49fc-ba93-43b597e96018.json create mode 100644 .omc/sessions/f6a7cb0a-8515-4d2d-a91f-7bfecd1d73ec.json create mode 100644 .omc/sessions/f8dae8d8-02de-45c5-ad1f-dde56895f0bf.json create mode 100644 .omc/sessions/fac5e1b2-3f5d-40f4-9e20-3c33bbea8ab4.json create mode 100644 .omc/sessions/fc8b0852-72c5-4f54-82c2-8630122d8d0d.json create mode 100644 .omc/sessions/fd002be5-2116-4450-a815-aa76c524a446.json create mode 100644 .omc/sessions/fd846fd3-8ee2-4fec-b57b-2f1dba87dfa3.json create mode 100644 .omc/sessions/fd8716af-77dd-4a73-9853-05cf44f4feee.json create mode 100644 .omc/sessions/fe82f874-1147-4635-9585-197d9217a1e5.json create mode 100644 .omc/sessions/ff1d7231-8c0c-4851-88db-092f94417168.json create mode 100644 .omc/sessions/ff55ea36-139a-42b5-834d-29dc91ad5430.json create mode 100644 .omc/state/checkpoints/checkpoint-2026-03-10T20-39-47-373Z.json create mode 100644 .omc/state/checkpoints/checkpoint-2026-03-18T22-02-29-245Z.json create mode 100644 locales/po/.omc/state/subagent-tracking.json create mode 100644 pest.php create mode 100644 tests/Helpers/CactiStubs.php create mode 100644 tests/Unit/StrictTypingTest.php diff --git a/.omc/sessions/00154a04-53d3-406d-a8c0-d950b0d851dc.json b/.omc/sessions/00154a04-53d3-406d-a8c0-d950b0d851dc.json new file mode 100644 index 0000000..7616bac --- /dev/null +++ b/.omc/sessions/00154a04-53d3-406d-a8c0-d950b0d851dc.json @@ -0,0 +1,13 @@ +{ + "session_id": "00154a04-53d3-406d-a8c0-d950b0d851dc", + "started_at": "2026-03-20T08:52:56.750Z", + "ended_at": "2026-03-21T17:51:47.499Z", + "reason": "other", + "agents_spawned": 14, + "agents_completed": 0, + "modes_used": [ + "ralph", + "ultrawork" + ], + "duration_ms": 118730749 +} \ No newline at end of file diff --git a/.omc/sessions/01772d10-bd48-494e-aa79-205e910e9948.json b/.omc/sessions/01772d10-bd48-494e-aa79-205e910e9948.json new file mode 100644 index 0000000..a85e4ab --- /dev/null +++ b/.omc/sessions/01772d10-bd48-494e-aa79-205e910e9948.json @@ -0,0 +1,8 @@ +{ + "session_id": "01772d10-bd48-494e-aa79-205e910e9948", + "ended_at": "2026-03-10T21:00:50.160Z", + "reason": "other", + "agents_spawned": 1, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/01b3795f-e386-4ec4-a732-d945284f60c1.json b/.omc/sessions/01b3795f-e386-4ec4-a732-d945284f60c1.json new file mode 100644 index 0000000..bf95b50 --- /dev/null +++ b/.omc/sessions/01b3795f-e386-4ec4-a732-d945284f60c1.json @@ -0,0 +1,8 @@ +{ + "session_id": "01b3795f-e386-4ec4-a732-d945284f60c1", + "ended_at": "2026-03-11T12:30:46.526Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/0368fad6-b616-4822-9147-988db8ab8af0.json b/.omc/sessions/0368fad6-b616-4822-9147-988db8ab8af0.json new file mode 100644 index 0000000..dd7eaba --- /dev/null +++ b/.omc/sessions/0368fad6-b616-4822-9147-988db8ab8af0.json @@ -0,0 +1,8 @@ +{ + "session_id": "0368fad6-b616-4822-9147-988db8ab8af0", + "ended_at": "2026-03-18T14:35:38.005Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/037a214f-6a32-435d-bc3f-0891cc8edc06.json b/.omc/sessions/037a214f-6a32-435d-bc3f-0891cc8edc06.json new file mode 100644 index 0000000..91a1be3 --- /dev/null +++ b/.omc/sessions/037a214f-6a32-435d-bc3f-0891cc8edc06.json @@ -0,0 +1,8 @@ +{ + "session_id": "037a214f-6a32-435d-bc3f-0891cc8edc06", + "ended_at": "2026-03-24T05:32:46.858Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/08e99344-71a5-430d-a8e6-470b7070e74b.json b/.omc/sessions/08e99344-71a5-430d-a8e6-470b7070e74b.json new file mode 100644 index 0000000..9cf86a9 --- /dev/null +++ b/.omc/sessions/08e99344-71a5-430d-a8e6-470b7070e74b.json @@ -0,0 +1,8 @@ +{ + "session_id": "08e99344-71a5-430d-a8e6-470b7070e74b", + "ended_at": "2026-03-18T23:35:23.277Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/0e66c2b3-810c-4506-b0a8-41b5b3f8b852.json b/.omc/sessions/0e66c2b3-810c-4506-b0a8-41b5b3f8b852.json new file mode 100644 index 0000000..e04b58c --- /dev/null +++ b/.omc/sessions/0e66c2b3-810c-4506-b0a8-41b5b3f8b852.json @@ -0,0 +1,8 @@ +{ + "session_id": "0e66c2b3-810c-4506-b0a8-41b5b3f8b852", + "ended_at": "2026-03-12T00:20:19.853Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/0fc017e5-7aa6-44c8-9279-bd97abda3fed.json b/.omc/sessions/0fc017e5-7aa6-44c8-9279-bd97abda3fed.json new file mode 100644 index 0000000..1ea3fa2 --- /dev/null +++ b/.omc/sessions/0fc017e5-7aa6-44c8-9279-bd97abda3fed.json @@ -0,0 +1,8 @@ +{ + "session_id": "0fc017e5-7aa6-44c8-9279-bd97abda3fed", + "ended_at": "2026-03-18T14:33:55.901Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/12e6a414-6405-4283-957b-756a71639194.json b/.omc/sessions/12e6a414-6405-4283-957b-756a71639194.json new file mode 100644 index 0000000..6dc052f --- /dev/null +++ b/.omc/sessions/12e6a414-6405-4283-957b-756a71639194.json @@ -0,0 +1,8 @@ +{ + "session_id": "12e6a414-6405-4283-957b-756a71639194", + "ended_at": "2026-03-19T00:23:27.137Z", + "reason": "other", + "agents_spawned": 3, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/15348764-ec71-4eae-b6b3-3d8b6e55c3fc.json b/.omc/sessions/15348764-ec71-4eae-b6b3-3d8b6e55c3fc.json new file mode 100644 index 0000000..d415578 --- /dev/null +++ b/.omc/sessions/15348764-ec71-4eae-b6b3-3d8b6e55c3fc.json @@ -0,0 +1,8 @@ +{ + "session_id": "15348764-ec71-4eae-b6b3-3d8b6e55c3fc", + "ended_at": "2026-03-19T00:16:18.882Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/17212049-8ec2-4c3f-aa7d-e9de67f4620e.json b/.omc/sessions/17212049-8ec2-4c3f-aa7d-e9de67f4620e.json new file mode 100644 index 0000000..9cabb85 --- /dev/null +++ b/.omc/sessions/17212049-8ec2-4c3f-aa7d-e9de67f4620e.json @@ -0,0 +1,8 @@ +{ + "session_id": "17212049-8ec2-4c3f-aa7d-e9de67f4620e", + "ended_at": "2026-03-19T17:08:19.156Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/1811f6f2-cfc2-4e06-9132-715c08273e24.json b/.omc/sessions/1811f6f2-cfc2-4e06-9132-715c08273e24.json new file mode 100644 index 0000000..bc6f2be --- /dev/null +++ b/.omc/sessions/1811f6f2-cfc2-4e06-9132-715c08273e24.json @@ -0,0 +1,8 @@ +{ + "session_id": "1811f6f2-cfc2-4e06-9132-715c08273e24", + "ended_at": "2026-03-19T00:41:26.939Z", + "reason": "other", + "agents_spawned": 1, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/1e68b869-abcc-4e0d-af2a-ef1cb01848af.json b/.omc/sessions/1e68b869-abcc-4e0d-af2a-ef1cb01848af.json new file mode 100644 index 0000000..1611542 --- /dev/null +++ b/.omc/sessions/1e68b869-abcc-4e0d-af2a-ef1cb01848af.json @@ -0,0 +1,8 @@ +{ + "session_id": "1e68b869-abcc-4e0d-af2a-ef1cb01848af", + "ended_at": "2026-03-19T17:46:14.869Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/1f190996-eb16-4afe-945f-e6667f86857c.json b/.omc/sessions/1f190996-eb16-4afe-945f-e6667f86857c.json new file mode 100644 index 0000000..d1a516d --- /dev/null +++ b/.omc/sessions/1f190996-eb16-4afe-945f-e6667f86857c.json @@ -0,0 +1,8 @@ +{ + "session_id": "1f190996-eb16-4afe-945f-e6667f86857c", + "ended_at": "2026-03-16T17:20:18.512Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/1f6662b9-61e3-4691-a36b-a369947568db.json b/.omc/sessions/1f6662b9-61e3-4691-a36b-a369947568db.json new file mode 100644 index 0000000..390d2c3 --- /dev/null +++ b/.omc/sessions/1f6662b9-61e3-4691-a36b-a369947568db.json @@ -0,0 +1,8 @@ +{ + "session_id": "1f6662b9-61e3-4691-a36b-a369947568db", + "ended_at": "2026-03-18T14:38:07.353Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/2026b27a-f394-4ca2-8eac-27d92a903540.json b/.omc/sessions/2026b27a-f394-4ca2-8eac-27d92a903540.json new file mode 100644 index 0000000..7d12a36 --- /dev/null +++ b/.omc/sessions/2026b27a-f394-4ca2-8eac-27d92a903540.json @@ -0,0 +1,8 @@ +{ + "session_id": "2026b27a-f394-4ca2-8eac-27d92a903540", + "ended_at": "2026-03-18T14:33:05.927Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/21ef87f3-d19b-4cd4-a4b6-6e8738c89a04.json b/.omc/sessions/21ef87f3-d19b-4cd4-a4b6-6e8738c89a04.json new file mode 100644 index 0000000..4a5bd59 --- /dev/null +++ b/.omc/sessions/21ef87f3-d19b-4cd4-a4b6-6e8738c89a04.json @@ -0,0 +1,8 @@ +{ + "session_id": "21ef87f3-d19b-4cd4-a4b6-6e8738c89a04", + "ended_at": "2026-03-11T12:31:40.083Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/221d55b8-b3af-4972-8277-37def770aa53.json b/.omc/sessions/221d55b8-b3af-4972-8277-37def770aa53.json new file mode 100644 index 0000000..856eb81 --- /dev/null +++ b/.omc/sessions/221d55b8-b3af-4972-8277-37def770aa53.json @@ -0,0 +1,8 @@ +{ + "session_id": "221d55b8-b3af-4972-8277-37def770aa53", + "ended_at": "2026-03-19T00:11:07.447Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/26679323-e79b-47ae-a145-0ac264609c1b.json b/.omc/sessions/26679323-e79b-47ae-a145-0ac264609c1b.json new file mode 100644 index 0000000..d4f4bfa --- /dev/null +++ b/.omc/sessions/26679323-e79b-47ae-a145-0ac264609c1b.json @@ -0,0 +1,8 @@ +{ + "session_id": "26679323-e79b-47ae-a145-0ac264609c1b", + "ended_at": "2026-03-18T14:38:54.283Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/27a0ee7c-c524-49b5-94d3-4ccf4b0ffb64.json b/.omc/sessions/27a0ee7c-c524-49b5-94d3-4ccf4b0ffb64.json new file mode 100644 index 0000000..2e7db98 --- /dev/null +++ b/.omc/sessions/27a0ee7c-c524-49b5-94d3-4ccf4b0ffb64.json @@ -0,0 +1,8 @@ +{ + "session_id": "27a0ee7c-c524-49b5-94d3-4ccf4b0ffb64", + "ended_at": "2026-04-09T09:26:24.520Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/2840679b-9c00-4171-aa8c-f9f0f1adf667.json b/.omc/sessions/2840679b-9c00-4171-aa8c-f9f0f1adf667.json new file mode 100644 index 0000000..1b1aab4 --- /dev/null +++ b/.omc/sessions/2840679b-9c00-4171-aa8c-f9f0f1adf667.json @@ -0,0 +1,8 @@ +{ + "session_id": "2840679b-9c00-4171-aa8c-f9f0f1adf667", + "ended_at": "2026-04-08T23:57:41.026Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/2baa0362-6a06-4c5b-9de3-4234e5a1b27f.json b/.omc/sessions/2baa0362-6a06-4c5b-9de3-4234e5a1b27f.json new file mode 100644 index 0000000..1d255b3 --- /dev/null +++ b/.omc/sessions/2baa0362-6a06-4c5b-9de3-4234e5a1b27f.json @@ -0,0 +1,8 @@ +{ + "session_id": "2baa0362-6a06-4c5b-9de3-4234e5a1b27f", + "ended_at": "2026-03-16T17:12:47.737Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/2d772e0a-7886-4b50-b714-d4d7496daa29.json b/.omc/sessions/2d772e0a-7886-4b50-b714-d4d7496daa29.json new file mode 100644 index 0000000..c86ae06 --- /dev/null +++ b/.omc/sessions/2d772e0a-7886-4b50-b714-d4d7496daa29.json @@ -0,0 +1,8 @@ +{ + "session_id": "2d772e0a-7886-4b50-b714-d4d7496daa29", + "ended_at": "2026-03-19T17:44:47.974Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/2d8cc9f3-acbe-485f-80ba-dfab63de95bb.json b/.omc/sessions/2d8cc9f3-acbe-485f-80ba-dfab63de95bb.json new file mode 100644 index 0000000..9258bc2 --- /dev/null +++ b/.omc/sessions/2d8cc9f3-acbe-485f-80ba-dfab63de95bb.json @@ -0,0 +1,8 @@ +{ + "session_id": "2d8cc9f3-acbe-485f-80ba-dfab63de95bb", + "ended_at": "2026-03-10T20:53:41.040Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/2d8ff310-c7db-45ab-a74a-b4ecd9e2f44f.json b/.omc/sessions/2d8ff310-c7db-45ab-a74a-b4ecd9e2f44f.json new file mode 100644 index 0000000..c9f30b8 --- /dev/null +++ b/.omc/sessions/2d8ff310-c7db-45ab-a74a-b4ecd9e2f44f.json @@ -0,0 +1,8 @@ +{ + "session_id": "2d8ff310-c7db-45ab-a74a-b4ecd9e2f44f", + "ended_at": "2026-03-19T00:29:58.454Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/2da3f4dc-d425-4734-a9a9-605346e2afff.json b/.omc/sessions/2da3f4dc-d425-4734-a9a9-605346e2afff.json new file mode 100644 index 0000000..37e5dfa --- /dev/null +++ b/.omc/sessions/2da3f4dc-d425-4734-a9a9-605346e2afff.json @@ -0,0 +1,8 @@ +{ + "session_id": "2da3f4dc-d425-4734-a9a9-605346e2afff", + "ended_at": "2026-03-11T12:23:21.956Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/2e282317-969c-4da3-8b9c-2972e9b5c6ba.json b/.omc/sessions/2e282317-969c-4da3-8b9c-2972e9b5c6ba.json new file mode 100644 index 0000000..d1cb6df --- /dev/null +++ b/.omc/sessions/2e282317-969c-4da3-8b9c-2972e9b5c6ba.json @@ -0,0 +1,8 @@ +{ + "session_id": "2e282317-969c-4da3-8b9c-2972e9b5c6ba", + "ended_at": "2026-04-08T23:55:25.786Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/3169722d-eca9-40a6-a5aa-46b24141a94e.json b/.omc/sessions/3169722d-eca9-40a6-a5aa-46b24141a94e.json new file mode 100644 index 0000000..cfc4666 --- /dev/null +++ b/.omc/sessions/3169722d-eca9-40a6-a5aa-46b24141a94e.json @@ -0,0 +1,8 @@ +{ + "session_id": "3169722d-eca9-40a6-a5aa-46b24141a94e", + "ended_at": "2026-03-19T17:17:55.467Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/31b56d1d-cf1f-40b5-8391-d809feaa7e1c.json b/.omc/sessions/31b56d1d-cf1f-40b5-8391-d809feaa7e1c.json new file mode 100644 index 0000000..584f67c --- /dev/null +++ b/.omc/sessions/31b56d1d-cf1f-40b5-8391-d809feaa7e1c.json @@ -0,0 +1,8 @@ +{ + "session_id": "31b56d1d-cf1f-40b5-8391-d809feaa7e1c", + "ended_at": "2026-03-19T16:35:47.880Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/32134f9d-11bf-4641-b8ad-f21ea440662e.json b/.omc/sessions/32134f9d-11bf-4641-b8ad-f21ea440662e.json new file mode 100644 index 0000000..bf83fc9 --- /dev/null +++ b/.omc/sessions/32134f9d-11bf-4641-b8ad-f21ea440662e.json @@ -0,0 +1,8 @@ +{ + "session_id": "32134f9d-11bf-4641-b8ad-f21ea440662e", + "ended_at": "2026-03-16T17:20:13.225Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/341c807f-6b93-4ef7-bae7-2734a822496d.json b/.omc/sessions/341c807f-6b93-4ef7-bae7-2734a822496d.json new file mode 100644 index 0000000..ecf1eee --- /dev/null +++ b/.omc/sessions/341c807f-6b93-4ef7-bae7-2734a822496d.json @@ -0,0 +1,8 @@ +{ + "session_id": "341c807f-6b93-4ef7-bae7-2734a822496d", + "ended_at": "2026-03-18T14:39:55.970Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/34a16cc2-d181-4a65-b935-b4f52095ec0c.json b/.omc/sessions/34a16cc2-d181-4a65-b935-b4f52095ec0c.json new file mode 100644 index 0000000..8925c33 --- /dev/null +++ b/.omc/sessions/34a16cc2-d181-4a65-b935-b4f52095ec0c.json @@ -0,0 +1,8 @@ +{ + "session_id": "34a16cc2-d181-4a65-b935-b4f52095ec0c", + "ended_at": "2026-03-19T16:51:47.621Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/3cba6224-6006-4bc7-bb86-cac01084e14b.json b/.omc/sessions/3cba6224-6006-4bc7-bb86-cac01084e14b.json new file mode 100644 index 0000000..e94e815 --- /dev/null +++ b/.omc/sessions/3cba6224-6006-4bc7-bb86-cac01084e14b.json @@ -0,0 +1,8 @@ +{ + "session_id": "3cba6224-6006-4bc7-bb86-cac01084e14b", + "ended_at": "2026-03-19T17:38:31.187Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/3db16e30-12e9-473e-8e97-9dbbf6d78ddb.json b/.omc/sessions/3db16e30-12e9-473e-8e97-9dbbf6d78ddb.json new file mode 100644 index 0000000..e71e05e --- /dev/null +++ b/.omc/sessions/3db16e30-12e9-473e-8e97-9dbbf6d78ddb.json @@ -0,0 +1,8 @@ +{ + "session_id": "3db16e30-12e9-473e-8e97-9dbbf6d78ddb", + "ended_at": "2026-03-19T00:05:02.931Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/3e783b64-e0de-4ef7-bfb5-77933bf0a18d.json b/.omc/sessions/3e783b64-e0de-4ef7-bfb5-77933bf0a18d.json new file mode 100644 index 0000000..f1a8d7a --- /dev/null +++ b/.omc/sessions/3e783b64-e0de-4ef7-bfb5-77933bf0a18d.json @@ -0,0 +1,8 @@ +{ + "session_id": "3e783b64-e0de-4ef7-bfb5-77933bf0a18d", + "ended_at": "2026-03-19T16:47:49.607Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/40139664-f38d-44bb-b293-d86210b4a789.json b/.omc/sessions/40139664-f38d-44bb-b293-d86210b4a789.json new file mode 100644 index 0000000..127e402 --- /dev/null +++ b/.omc/sessions/40139664-f38d-44bb-b293-d86210b4a789.json @@ -0,0 +1,8 @@ +{ + "session_id": "40139664-f38d-44bb-b293-d86210b4a789", + "ended_at": "2026-03-16T17:22:27.709Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/406a66f4-807a-475d-b6cf-4a7174c7bfae.json b/.omc/sessions/406a66f4-807a-475d-b6cf-4a7174c7bfae.json new file mode 100644 index 0000000..3be1931 --- /dev/null +++ b/.omc/sessions/406a66f4-807a-475d-b6cf-4a7174c7bfae.json @@ -0,0 +1,8 @@ +{ + "session_id": "406a66f4-807a-475d-b6cf-4a7174c7bfae", + "ended_at": "2026-03-11T12:46:21.988Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/410a80f0-bd18-4a66-9201-c3441974d75a.json b/.omc/sessions/410a80f0-bd18-4a66-9201-c3441974d75a.json new file mode 100644 index 0000000..78a1ec1 --- /dev/null +++ b/.omc/sessions/410a80f0-bd18-4a66-9201-c3441974d75a.json @@ -0,0 +1,8 @@ +{ + "session_id": "410a80f0-bd18-4a66-9201-c3441974d75a", + "ended_at": "2026-03-19T17:42:42.988Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/487064df-17bc-4140-b39a-57178f0f3eb7.json b/.omc/sessions/487064df-17bc-4140-b39a-57178f0f3eb7.json new file mode 100644 index 0000000..12da397 --- /dev/null +++ b/.omc/sessions/487064df-17bc-4140-b39a-57178f0f3eb7.json @@ -0,0 +1,8 @@ +{ + "session_id": "487064df-17bc-4140-b39a-57178f0f3eb7", + "ended_at": "2026-03-19T17:11:16.805Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/4984fe67-8b88-478a-81af-7e9a621a38b9.json b/.omc/sessions/4984fe67-8b88-478a-81af-7e9a621a38b9.json new file mode 100644 index 0000000..78521bb --- /dev/null +++ b/.omc/sessions/4984fe67-8b88-478a-81af-7e9a621a38b9.json @@ -0,0 +1,8 @@ +{ + "session_id": "4984fe67-8b88-478a-81af-7e9a621a38b9", + "ended_at": "2026-03-11T12:26:34.073Z", + "reason": "other", + "agents_spawned": 1, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/52cad551-4ab6-4685-b5ef-e3475666e161.json b/.omc/sessions/52cad551-4ab6-4685-b5ef-e3475666e161.json new file mode 100644 index 0000000..6e9f1e8 --- /dev/null +++ b/.omc/sessions/52cad551-4ab6-4685-b5ef-e3475666e161.json @@ -0,0 +1,8 @@ +{ + "session_id": "52cad551-4ab6-4685-b5ef-e3475666e161", + "ended_at": "2026-03-19T16:54:27.233Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/5630391a-53f5-445f-aa45-85dca0fa9064.json b/.omc/sessions/5630391a-53f5-445f-aa45-85dca0fa9064.json new file mode 100644 index 0000000..96a3260 --- /dev/null +++ b/.omc/sessions/5630391a-53f5-445f-aa45-85dca0fa9064.json @@ -0,0 +1,8 @@ +{ + "session_id": "5630391a-53f5-445f-aa45-85dca0fa9064", + "ended_at": "2026-03-11T12:30:07.455Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/56480f6d-b036-4aaa-a910-9455d8152700.json b/.omc/sessions/56480f6d-b036-4aaa-a910-9455d8152700.json new file mode 100644 index 0000000..7f9e6e1 --- /dev/null +++ b/.omc/sessions/56480f6d-b036-4aaa-a910-9455d8152700.json @@ -0,0 +1,8 @@ +{ + "session_id": "56480f6d-b036-4aaa-a910-9455d8152700", + "ended_at": "2026-03-11T12:47:54.211Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/564a90f2-26b6-4c3d-881b-4d04e8ea59f3.json b/.omc/sessions/564a90f2-26b6-4c3d-881b-4d04e8ea59f3.json new file mode 100644 index 0000000..3d677fd --- /dev/null +++ b/.omc/sessions/564a90f2-26b6-4c3d-881b-4d04e8ea59f3.json @@ -0,0 +1,8 @@ +{ + "session_id": "564a90f2-26b6-4c3d-881b-4d04e8ea59f3", + "ended_at": "2026-04-09T00:07:50.684Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/56571159-4bdf-4bb7-9bc6-751e7433a833.json b/.omc/sessions/56571159-4bdf-4bb7-9bc6-751e7433a833.json new file mode 100644 index 0000000..4aaaf4c --- /dev/null +++ b/.omc/sessions/56571159-4bdf-4bb7-9bc6-751e7433a833.json @@ -0,0 +1,8 @@ +{ + "session_id": "56571159-4bdf-4bb7-9bc6-751e7433a833", + "ended_at": "2026-03-10T20:26:08.833Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/5695e9c8-2d2a-45f2-91e3-fc91c06d1b89.json b/.omc/sessions/5695e9c8-2d2a-45f2-91e3-fc91c06d1b89.json new file mode 100644 index 0000000..eb8b1e8 --- /dev/null +++ b/.omc/sessions/5695e9c8-2d2a-45f2-91e3-fc91c06d1b89.json @@ -0,0 +1,8 @@ +{ + "session_id": "5695e9c8-2d2a-45f2-91e3-fc91c06d1b89", + "ended_at": "2026-03-19T17:47:35.142Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/584bfb72-cdaf-4818-97ca-e885fc6911de.json b/.omc/sessions/584bfb72-cdaf-4818-97ca-e885fc6911de.json new file mode 100644 index 0000000..1df6b5c --- /dev/null +++ b/.omc/sessions/584bfb72-cdaf-4818-97ca-e885fc6911de.json @@ -0,0 +1,8 @@ +{ + "session_id": "584bfb72-cdaf-4818-97ca-e885fc6911de", + "ended_at": "2026-03-18T14:29:50.459Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/5a034134-2524-4af9-b6d5-d7df0073b1ee.json b/.omc/sessions/5a034134-2524-4af9-b6d5-d7df0073b1ee.json new file mode 100644 index 0000000..04a008c --- /dev/null +++ b/.omc/sessions/5a034134-2524-4af9-b6d5-d7df0073b1ee.json @@ -0,0 +1,8 @@ +{ + "session_id": "5a034134-2524-4af9-b6d5-d7df0073b1ee", + "ended_at": "2026-03-11T12:22:32.313Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/5b8b21f6-0fdf-47f6-a116-dc2d5b0ef0a7.json b/.omc/sessions/5b8b21f6-0fdf-47f6-a116-dc2d5b0ef0a7.json new file mode 100644 index 0000000..eefa56a --- /dev/null +++ b/.omc/sessions/5b8b21f6-0fdf-47f6-a116-dc2d5b0ef0a7.json @@ -0,0 +1,8 @@ +{ + "session_id": "5b8b21f6-0fdf-47f6-a116-dc2d5b0ef0a7", + "ended_at": "2026-03-19T17:01:05.970Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/622ce4a2-0151-41ef-b9a9-c956b6a0f1aa.json b/.omc/sessions/622ce4a2-0151-41ef-b9a9-c956b6a0f1aa.json new file mode 100644 index 0000000..1f7bd3d --- /dev/null +++ b/.omc/sessions/622ce4a2-0151-41ef-b9a9-c956b6a0f1aa.json @@ -0,0 +1,8 @@ +{ + "session_id": "622ce4a2-0151-41ef-b9a9-c956b6a0f1aa", + "ended_at": "2026-03-11T12:47:09.185Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/634251ee-150e-46bb-952b-f728bae5900b.json b/.omc/sessions/634251ee-150e-46bb-952b-f728bae5900b.json new file mode 100644 index 0000000..0eaf625 --- /dev/null +++ b/.omc/sessions/634251ee-150e-46bb-952b-f728bae5900b.json @@ -0,0 +1,8 @@ +{ + "session_id": "634251ee-150e-46bb-952b-f728bae5900b", + "ended_at": "2026-04-09T00:04:10.012Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/63648f22-ba82-4871-a252-159b899e2813.json b/.omc/sessions/63648f22-ba82-4871-a252-159b899e2813.json new file mode 100644 index 0000000..02fdb63 --- /dev/null +++ b/.omc/sessions/63648f22-ba82-4871-a252-159b899e2813.json @@ -0,0 +1,8 @@ +{ + "session_id": "63648f22-ba82-4871-a252-159b899e2813", + "ended_at": "2026-03-11T12:43:16.345Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/679faf5d-f67f-4e67-b8b6-61f2e646fc2c.json b/.omc/sessions/679faf5d-f67f-4e67-b8b6-61f2e646fc2c.json new file mode 100644 index 0000000..74adbac --- /dev/null +++ b/.omc/sessions/679faf5d-f67f-4e67-b8b6-61f2e646fc2c.json @@ -0,0 +1,8 @@ +{ + "session_id": "679faf5d-f67f-4e67-b8b6-61f2e646fc2c", + "ended_at": "2026-03-16T17:25:10.442Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/67d27b7e-57c5-4a00-b417-2213d629f59f.json b/.omc/sessions/67d27b7e-57c5-4a00-b417-2213d629f59f.json new file mode 100644 index 0000000..cf0a1b6 --- /dev/null +++ b/.omc/sessions/67d27b7e-57c5-4a00-b417-2213d629f59f.json @@ -0,0 +1,8 @@ +{ + "session_id": "67d27b7e-57c5-4a00-b417-2213d629f59f", + "ended_at": "2026-03-18T23:56:44.369Z", + "reason": "other", + "agents_spawned": 2, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/6d025159-150f-4b0d-b529-7decb9e83476.json b/.omc/sessions/6d025159-150f-4b0d-b529-7decb9e83476.json new file mode 100644 index 0000000..70d38a3 --- /dev/null +++ b/.omc/sessions/6d025159-150f-4b0d-b529-7decb9e83476.json @@ -0,0 +1,8 @@ +{ + "session_id": "6d025159-150f-4b0d-b529-7decb9e83476", + "ended_at": "2026-03-18T23:21:56.851Z", + "reason": "other", + "agents_spawned": 1, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/6e17000e-d5dc-4397-867f-195fd5fbff2b.json b/.omc/sessions/6e17000e-d5dc-4397-867f-195fd5fbff2b.json new file mode 100644 index 0000000..f0cb77a --- /dev/null +++ b/.omc/sessions/6e17000e-d5dc-4397-867f-195fd5fbff2b.json @@ -0,0 +1,8 @@ +{ + "session_id": "6e17000e-d5dc-4397-867f-195fd5fbff2b", + "ended_at": "2026-03-18T14:29:22.401Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/6e5ac3ac-9f78-4afb-b522-baf382e4e20f.json b/.omc/sessions/6e5ac3ac-9f78-4afb-b522-baf382e4e20f.json new file mode 100644 index 0000000..37ff731 --- /dev/null +++ b/.omc/sessions/6e5ac3ac-9f78-4afb-b522-baf382e4e20f.json @@ -0,0 +1,8 @@ +{ + "session_id": "6e5ac3ac-9f78-4afb-b522-baf382e4e20f", + "ended_at": "2026-03-10T20:26:18.157Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/737d7187-1bd3-4a34-8126-c79a58a6ec4b.json b/.omc/sessions/737d7187-1bd3-4a34-8126-c79a58a6ec4b.json new file mode 100644 index 0000000..d2f1848 --- /dev/null +++ b/.omc/sessions/737d7187-1bd3-4a34-8126-c79a58a6ec4b.json @@ -0,0 +1,8 @@ +{ + "session_id": "737d7187-1bd3-4a34-8126-c79a58a6ec4b", + "ended_at": "2026-03-21T18:13:18.737Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/76861ce4-af03-4f89-a66d-f414c09150e5.json b/.omc/sessions/76861ce4-af03-4f89-a66d-f414c09150e5.json new file mode 100644 index 0000000..b5558ce --- /dev/null +++ b/.omc/sessions/76861ce4-af03-4f89-a66d-f414c09150e5.json @@ -0,0 +1,8 @@ +{ + "session_id": "76861ce4-af03-4f89-a66d-f414c09150e5", + "ended_at": "2026-03-11T12:30:54.189Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/76b7e542-f1f4-46cb-8fcc-ff23a4eda594.json b/.omc/sessions/76b7e542-f1f4-46cb-8fcc-ff23a4eda594.json new file mode 100644 index 0000000..db1adbd --- /dev/null +++ b/.omc/sessions/76b7e542-f1f4-46cb-8fcc-ff23a4eda594.json @@ -0,0 +1,8 @@ +{ + "session_id": "76b7e542-f1f4-46cb-8fcc-ff23a4eda594", + "ended_at": "2026-03-19T17:24:27.282Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/77f80fec-21cd-4fcb-b6fd-b7d5cfa24471.json b/.omc/sessions/77f80fec-21cd-4fcb-b6fd-b7d5cfa24471.json new file mode 100644 index 0000000..2fc0fc3 --- /dev/null +++ b/.omc/sessions/77f80fec-21cd-4fcb-b6fd-b7d5cfa24471.json @@ -0,0 +1,8 @@ +{ + "session_id": "77f80fec-21cd-4fcb-b6fd-b7d5cfa24471", + "ended_at": "2026-03-10T20:54:20.665Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/79726f42-a0e1-4446-9a91-2c2f36b602bc.json b/.omc/sessions/79726f42-a0e1-4446-9a91-2c2f36b602bc.json new file mode 100644 index 0000000..fa17c85 --- /dev/null +++ b/.omc/sessions/79726f42-a0e1-4446-9a91-2c2f36b602bc.json @@ -0,0 +1,8 @@ +{ + "session_id": "79726f42-a0e1-4446-9a91-2c2f36b602bc", + "ended_at": "2026-03-12T00:17:42.658Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/7a147406-0079-4ae6-be3b-d62e761f4a0d.json b/.omc/sessions/7a147406-0079-4ae6-be3b-d62e761f4a0d.json new file mode 100644 index 0000000..de3e694 --- /dev/null +++ b/.omc/sessions/7a147406-0079-4ae6-be3b-d62e761f4a0d.json @@ -0,0 +1,8 @@ +{ + "session_id": "7a147406-0079-4ae6-be3b-d62e761f4a0d", + "ended_at": "2026-03-10T21:03:05.386Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/7a4e7177-3ebc-440d-96d4-886714b5335b.json b/.omc/sessions/7a4e7177-3ebc-440d-96d4-886714b5335b.json new file mode 100644 index 0000000..e56f764 --- /dev/null +++ b/.omc/sessions/7a4e7177-3ebc-440d-96d4-886714b5335b.json @@ -0,0 +1,8 @@ +{ + "session_id": "7a4e7177-3ebc-440d-96d4-886714b5335b", + "ended_at": "2026-03-12T00:17:30.883Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/7d1d30e6-55b7-4337-baaa-4c112a7bf8e4.json b/.omc/sessions/7d1d30e6-55b7-4337-baaa-4c112a7bf8e4.json new file mode 100644 index 0000000..5f78498 --- /dev/null +++ b/.omc/sessions/7d1d30e6-55b7-4337-baaa-4c112a7bf8e4.json @@ -0,0 +1,8 @@ +{ + "session_id": "7d1d30e6-55b7-4337-baaa-4c112a7bf8e4", + "ended_at": "2026-03-10T20:53:32.030Z", + "reason": "other", + "agents_spawned": 11, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/8605cecc-f783-46c6-b837-db757f53208f.json b/.omc/sessions/8605cecc-f783-46c6-b837-db757f53208f.json new file mode 100644 index 0000000..e243858 --- /dev/null +++ b/.omc/sessions/8605cecc-f783-46c6-b837-db757f53208f.json @@ -0,0 +1,8 @@ +{ + "session_id": "8605cecc-f783-46c6-b837-db757f53208f", + "ended_at": "2026-03-11T12:36:47.263Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/898d7cf6-ac50-4b00-8c79-49ae8a5406f5.json b/.omc/sessions/898d7cf6-ac50-4b00-8c79-49ae8a5406f5.json new file mode 100644 index 0000000..b742832 --- /dev/null +++ b/.omc/sessions/898d7cf6-ac50-4b00-8c79-49ae8a5406f5.json @@ -0,0 +1,8 @@ +{ + "session_id": "898d7cf6-ac50-4b00-8c79-49ae8a5406f5", + "ended_at": "2026-03-21T18:08:32.697Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/89e64882-37c2-4013-9d75-4ab00f9b9ae2.json b/.omc/sessions/89e64882-37c2-4013-9d75-4ab00f9b9ae2.json new file mode 100644 index 0000000..bcac555 --- /dev/null +++ b/.omc/sessions/89e64882-37c2-4013-9d75-4ab00f9b9ae2.json @@ -0,0 +1,8 @@ +{ + "session_id": "89e64882-37c2-4013-9d75-4ab00f9b9ae2", + "ended_at": "2026-03-19T16:45:16.994Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/8a9c31ed-e97f-4ecf-9ade-f7225f6773c3.json b/.omc/sessions/8a9c31ed-e97f-4ecf-9ade-f7225f6773c3.json new file mode 100644 index 0000000..95d57be --- /dev/null +++ b/.omc/sessions/8a9c31ed-e97f-4ecf-9ade-f7225f6773c3.json @@ -0,0 +1,8 @@ +{ + "session_id": "8a9c31ed-e97f-4ecf-9ade-f7225f6773c3", + "ended_at": "2026-03-11T12:45:18.804Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/8c791133-2944-4918-bd11-510bffce9b27.json b/.omc/sessions/8c791133-2944-4918-bd11-510bffce9b27.json new file mode 100644 index 0000000..251f217 --- /dev/null +++ b/.omc/sessions/8c791133-2944-4918-bd11-510bffce9b27.json @@ -0,0 +1,8 @@ +{ + "session_id": "8c791133-2944-4918-bd11-510bffce9b27", + "ended_at": "2026-03-12T00:20:26.123Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/8d437272-e639-479f-8055-e33df31df174.json b/.omc/sessions/8d437272-e639-479f-8055-e33df31df174.json new file mode 100644 index 0000000..3824393 --- /dev/null +++ b/.omc/sessions/8d437272-e639-479f-8055-e33df31df174.json @@ -0,0 +1,8 @@ +{ + "session_id": "8d437272-e639-479f-8055-e33df31df174", + "ended_at": "2026-03-10T21:02:27.222Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/8dc1bbec-5997-4da0-9d54-b9eea34f5ed0.json b/.omc/sessions/8dc1bbec-5997-4da0-9d54-b9eea34f5ed0.json new file mode 100644 index 0000000..ec345f2 --- /dev/null +++ b/.omc/sessions/8dc1bbec-5997-4da0-9d54-b9eea34f5ed0.json @@ -0,0 +1,8 @@ +{ + "session_id": "8dc1bbec-5997-4da0-9d54-b9eea34f5ed0", + "ended_at": "2026-03-11T12:42:22.219Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/915864d7-c217-45d2-8f88-ac4c48ce3df8.json b/.omc/sessions/915864d7-c217-45d2-8f88-ac4c48ce3df8.json new file mode 100644 index 0000000..7a1d13c --- /dev/null +++ b/.omc/sessions/915864d7-c217-45d2-8f88-ac4c48ce3df8.json @@ -0,0 +1,8 @@ +{ + "session_id": "915864d7-c217-45d2-8f88-ac4c48ce3df8", + "ended_at": "2026-03-18T14:34:50.303Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/9330de4a-ff5a-4234-bfaf-75072a5443ac.json b/.omc/sessions/9330de4a-ff5a-4234-bfaf-75072a5443ac.json new file mode 100644 index 0000000..b45ff8f --- /dev/null +++ b/.omc/sessions/9330de4a-ff5a-4234-bfaf-75072a5443ac.json @@ -0,0 +1,8 @@ +{ + "session_id": "9330de4a-ff5a-4234-bfaf-75072a5443ac", + "ended_at": "2026-03-16T17:24:50.048Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/93f5b9f0-d0df-40db-820b-22043ae0ed69.json b/.omc/sessions/93f5b9f0-d0df-40db-820b-22043ae0ed69.json new file mode 100644 index 0000000..73545ae --- /dev/null +++ b/.omc/sessions/93f5b9f0-d0df-40db-820b-22043ae0ed69.json @@ -0,0 +1,8 @@ +{ + "session_id": "93f5b9f0-d0df-40db-820b-22043ae0ed69", + "ended_at": "2026-03-19T16:56:14.385Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/95adc17b-dbfb-4537-8452-6bd7c82b1ef0.json b/.omc/sessions/95adc17b-dbfb-4537-8452-6bd7c82b1ef0.json new file mode 100644 index 0000000..268872b --- /dev/null +++ b/.omc/sessions/95adc17b-dbfb-4537-8452-6bd7c82b1ef0.json @@ -0,0 +1,8 @@ +{ + "session_id": "95adc17b-dbfb-4537-8452-6bd7c82b1ef0", + "ended_at": "2026-03-10T20:26:49.284Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/966b8ce8-271c-4435-b1b2-64aa8505f81e.json b/.omc/sessions/966b8ce8-271c-4435-b1b2-64aa8505f81e.json new file mode 100644 index 0000000..f74beec --- /dev/null +++ b/.omc/sessions/966b8ce8-271c-4435-b1b2-64aa8505f81e.json @@ -0,0 +1,8 @@ +{ + "session_id": "966b8ce8-271c-4435-b1b2-64aa8505f81e", + "ended_at": "2026-03-18T23:14:03.440Z", + "reason": "other", + "agents_spawned": 1, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/971571ad-90ed-4804-bd4a-49e30f6ecaf8.json b/.omc/sessions/971571ad-90ed-4804-bd4a-49e30f6ecaf8.json new file mode 100644 index 0000000..b52b6cc --- /dev/null +++ b/.omc/sessions/971571ad-90ed-4804-bd4a-49e30f6ecaf8.json @@ -0,0 +1,8 @@ +{ + "session_id": "971571ad-90ed-4804-bd4a-49e30f6ecaf8", + "ended_at": "2026-04-09T00:01:55.560Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/9745bbc3-6fb5-4fab-be2d-6ea1babc367c.json b/.omc/sessions/9745bbc3-6fb5-4fab-be2d-6ea1babc367c.json new file mode 100644 index 0000000..187b991 --- /dev/null +++ b/.omc/sessions/9745bbc3-6fb5-4fab-be2d-6ea1babc367c.json @@ -0,0 +1,8 @@ +{ + "session_id": "9745bbc3-6fb5-4fab-be2d-6ea1babc367c", + "ended_at": "2026-04-09T00:06:45.245Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/9747833f-968b-4688-ac22-7f0fc96412a1.json b/.omc/sessions/9747833f-968b-4688-ac22-7f0fc96412a1.json new file mode 100644 index 0000000..e80b192 --- /dev/null +++ b/.omc/sessions/9747833f-968b-4688-ac22-7f0fc96412a1.json @@ -0,0 +1,8 @@ +{ + "session_id": "9747833f-968b-4688-ac22-7f0fc96412a1", + "ended_at": "2026-03-19T17:49:02.073Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/9830b6ad-99c6-4dae-b31e-fb9613941707.json b/.omc/sessions/9830b6ad-99c6-4dae-b31e-fb9613941707.json new file mode 100644 index 0000000..a3e0203 --- /dev/null +++ b/.omc/sessions/9830b6ad-99c6-4dae-b31e-fb9613941707.json @@ -0,0 +1,8 @@ +{ + "session_id": "9830b6ad-99c6-4dae-b31e-fb9613941707", + "ended_at": "2026-03-21T18:01:40.761Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/98484f99-9acc-4fa9-a6b8-752b7983e957.json b/.omc/sessions/98484f99-9acc-4fa9-a6b8-752b7983e957.json new file mode 100644 index 0000000..4c6c5b6 --- /dev/null +++ b/.omc/sessions/98484f99-9acc-4fa9-a6b8-752b7983e957.json @@ -0,0 +1,8 @@ +{ + "session_id": "98484f99-9acc-4fa9-a6b8-752b7983e957", + "ended_at": "2026-03-11T12:45:40.020Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/9c4774f9-844d-4103-8c91-5a294afa8261.json b/.omc/sessions/9c4774f9-844d-4103-8c91-5a294afa8261.json new file mode 100644 index 0000000..4840e62 --- /dev/null +++ b/.omc/sessions/9c4774f9-844d-4103-8c91-5a294afa8261.json @@ -0,0 +1,8 @@ +{ + "session_id": "9c4774f9-844d-4103-8c91-5a294afa8261", + "ended_at": "2026-03-19T17:16:28.091Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/9ffb08b4-6da0-4498-807f-31bff88b7cb4.json b/.omc/sessions/9ffb08b4-6da0-4498-807f-31bff88b7cb4.json new file mode 100644 index 0000000..d2716a8 --- /dev/null +++ b/.omc/sessions/9ffb08b4-6da0-4498-807f-31bff88b7cb4.json @@ -0,0 +1,8 @@ +{ + "session_id": "9ffb08b4-6da0-4498-807f-31bff88b7cb4", + "ended_at": "2026-03-16T17:27:04.196Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/a229b2c8-59e6-435f-a9db-6eac0270e49e.json b/.omc/sessions/a229b2c8-59e6-435f-a9db-6eac0270e49e.json new file mode 100644 index 0000000..07aba20 --- /dev/null +++ b/.omc/sessions/a229b2c8-59e6-435f-a9db-6eac0270e49e.json @@ -0,0 +1,8 @@ +{ + "session_id": "a229b2c8-59e6-435f-a9db-6eac0270e49e", + "ended_at": "2026-03-19T17:03:34.554Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/aaaf4cd1-9628-47a4-8d9d-5e68e122b58f.json b/.omc/sessions/aaaf4cd1-9628-47a4-8d9d-5e68e122b58f.json new file mode 100644 index 0000000..4a1bd59 --- /dev/null +++ b/.omc/sessions/aaaf4cd1-9628-47a4-8d9d-5e68e122b58f.json @@ -0,0 +1,8 @@ +{ + "session_id": "aaaf4cd1-9628-47a4-8d9d-5e68e122b58f", + "ended_at": "2026-03-16T17:30:21.094Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/ab9cfdcd-ae28-435b-a34d-1ae5eb97b9f8.json b/.omc/sessions/ab9cfdcd-ae28-435b-a34d-1ae5eb97b9f8.json new file mode 100644 index 0000000..cf233aa --- /dev/null +++ b/.omc/sessions/ab9cfdcd-ae28-435b-a34d-1ae5eb97b9f8.json @@ -0,0 +1,8 @@ +{ + "session_id": "ab9cfdcd-ae28-435b-a34d-1ae5eb97b9f8", + "ended_at": "2026-03-19T00:47:17.240Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/ad75091a-99c6-4a12-aae1-794e53dea2d6.json b/.omc/sessions/ad75091a-99c6-4a12-aae1-794e53dea2d6.json new file mode 100644 index 0000000..17276dc --- /dev/null +++ b/.omc/sessions/ad75091a-99c6-4a12-aae1-794e53dea2d6.json @@ -0,0 +1,8 @@ +{ + "session_id": "ad75091a-99c6-4a12-aae1-794e53dea2d6", + "ended_at": "2026-03-19T16:53:31.414Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/ad9e35a9-3e6f-4c2d-95da-039d7c4726f0.json b/.omc/sessions/ad9e35a9-3e6f-4c2d-95da-039d7c4726f0.json new file mode 100644 index 0000000..696d312 --- /dev/null +++ b/.omc/sessions/ad9e35a9-3e6f-4c2d-95da-039d7c4726f0.json @@ -0,0 +1,8 @@ +{ + "session_id": "ad9e35a9-3e6f-4c2d-95da-039d7c4726f0", + "ended_at": "2026-03-19T17:14:28.907Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/ae30c77e-6274-419e-95dc-915b9cd6b6fc.json b/.omc/sessions/ae30c77e-6274-419e-95dc-915b9cd6b6fc.json new file mode 100644 index 0000000..d7a94ea --- /dev/null +++ b/.omc/sessions/ae30c77e-6274-419e-95dc-915b9cd6b6fc.json @@ -0,0 +1,8 @@ +{ + "session_id": "ae30c77e-6274-419e-95dc-915b9cd6b6fc", + "ended_at": "2026-03-11T12:39:15.000Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/b466285d-fa7d-4f09-82d0-853f1f86aec1.json b/.omc/sessions/b466285d-fa7d-4f09-82d0-853f1f86aec1.json new file mode 100644 index 0000000..7c05214 --- /dev/null +++ b/.omc/sessions/b466285d-fa7d-4f09-82d0-853f1f86aec1.json @@ -0,0 +1,8 @@ +{ + "session_id": "b466285d-fa7d-4f09-82d0-853f1f86aec1", + "ended_at": "2026-03-12T00:18:05.645Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/b9af45bf-6db6-41f5-97cd-4cac37fb0c41.json b/.omc/sessions/b9af45bf-6db6-41f5-97cd-4cac37fb0c41.json new file mode 100644 index 0000000..502470c --- /dev/null +++ b/.omc/sessions/b9af45bf-6db6-41f5-97cd-4cac37fb0c41.json @@ -0,0 +1,8 @@ +{ + "session_id": "b9af45bf-6db6-41f5-97cd-4cac37fb0c41", + "ended_at": "2026-03-10T20:56:19.412Z", + "reason": "other", + "agents_spawned": 2, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/bbd79a2e-7060-4acd-bf02-f76e97de4fb0.json b/.omc/sessions/bbd79a2e-7060-4acd-bf02-f76e97de4fb0.json new file mode 100644 index 0000000..c7ec99e --- /dev/null +++ b/.omc/sessions/bbd79a2e-7060-4acd-bf02-f76e97de4fb0.json @@ -0,0 +1,8 @@ +{ + "session_id": "bbd79a2e-7060-4acd-bf02-f76e97de4fb0", + "ended_at": "2026-03-24T05:35:40.057Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/bd36c41b-2aeb-4a19-9eee-2ddff79781d7.json b/.omc/sessions/bd36c41b-2aeb-4a19-9eee-2ddff79781d7.json new file mode 100644 index 0000000..cd34272 --- /dev/null +++ b/.omc/sessions/bd36c41b-2aeb-4a19-9eee-2ddff79781d7.json @@ -0,0 +1,8 @@ +{ + "session_id": "bd36c41b-2aeb-4a19-9eee-2ddff79781d7", + "ended_at": "2026-03-11T12:38:10.817Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/bf08a70a-c9d5-4625-8a73-c5a81bfd54f9.json b/.omc/sessions/bf08a70a-c9d5-4625-8a73-c5a81bfd54f9.json new file mode 100644 index 0000000..d9b3a58 --- /dev/null +++ b/.omc/sessions/bf08a70a-c9d5-4625-8a73-c5a81bfd54f9.json @@ -0,0 +1,8 @@ +{ + "session_id": "bf08a70a-c9d5-4625-8a73-c5a81bfd54f9", + "ended_at": "2026-03-21T18:05:26.095Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/c23e1a42-ec10-489a-b87f-f114413cbaa8.json b/.omc/sessions/c23e1a42-ec10-489a-b87f-f114413cbaa8.json new file mode 100644 index 0000000..520d598 --- /dev/null +++ b/.omc/sessions/c23e1a42-ec10-489a-b87f-f114413cbaa8.json @@ -0,0 +1,8 @@ +{ + "session_id": "c23e1a42-ec10-489a-b87f-f114413cbaa8", + "ended_at": "2026-03-10T20:29:06.230Z", + "reason": "other", + "agents_spawned": 1, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/c601ae81-d35e-4304-963f-1976c2c660c9.json b/.omc/sessions/c601ae81-d35e-4304-963f-1976c2c660c9.json new file mode 100644 index 0000000..d4eee47 --- /dev/null +++ b/.omc/sessions/c601ae81-d35e-4304-963f-1976c2c660c9.json @@ -0,0 +1,8 @@ +{ + "session_id": "c601ae81-d35e-4304-963f-1976c2c660c9", + "ended_at": "2026-03-10T20:29:59.699Z", + "reason": "other", + "agents_spawned": 1, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/c67a7716-bf47-4541-be7a-319c8da24051.json b/.omc/sessions/c67a7716-bf47-4541-be7a-319c8da24051.json new file mode 100644 index 0000000..841a9c1 --- /dev/null +++ b/.omc/sessions/c67a7716-bf47-4541-be7a-319c8da24051.json @@ -0,0 +1,8 @@ +{ + "session_id": "c67a7716-bf47-4541-be7a-319c8da24051", + "ended_at": "2026-03-19T17:35:16.472Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/c92c6e23-9a28-4f9a-ad69-1b5a71b23663.json b/.omc/sessions/c92c6e23-9a28-4f9a-ad69-1b5a71b23663.json new file mode 100644 index 0000000..337fc7b --- /dev/null +++ b/.omc/sessions/c92c6e23-9a28-4f9a-ad69-1b5a71b23663.json @@ -0,0 +1,8 @@ +{ + "session_id": "c92c6e23-9a28-4f9a-ad69-1b5a71b23663", + "ended_at": "2026-03-18T14:28:44.723Z", + "reason": "other", + "agents_spawned": 6, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/cc2e25fc-219c-4b1e-862f-d59f4b1034f6.json b/.omc/sessions/cc2e25fc-219c-4b1e-862f-d59f4b1034f6.json new file mode 100644 index 0000000..eca3ff0 --- /dev/null +++ b/.omc/sessions/cc2e25fc-219c-4b1e-862f-d59f4b1034f6.json @@ -0,0 +1,8 @@ +{ + "session_id": "cc2e25fc-219c-4b1e-862f-d59f4b1034f6", + "ended_at": "2026-04-08T23:57:52.931Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/cf695ae8-c1b7-413d-8056-94d5f28d329c.json b/.omc/sessions/cf695ae8-c1b7-413d-8056-94d5f28d329c.json new file mode 100644 index 0000000..239acb2 --- /dev/null +++ b/.omc/sessions/cf695ae8-c1b7-413d-8056-94d5f28d329c.json @@ -0,0 +1,8 @@ +{ + "session_id": "cf695ae8-c1b7-413d-8056-94d5f28d329c", + "ended_at": "2026-03-12T00:17:59.532Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/cf6b301f-dc34-4a20-a43e-52e6cad2c9b3.json b/.omc/sessions/cf6b301f-dc34-4a20-a43e-52e6cad2c9b3.json new file mode 100644 index 0000000..213f720 --- /dev/null +++ b/.omc/sessions/cf6b301f-dc34-4a20-a43e-52e6cad2c9b3.json @@ -0,0 +1,8 @@ +{ + "session_id": "cf6b301f-dc34-4a20-a43e-52e6cad2c9b3", + "ended_at": "2026-03-11T12:40:00.533Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/cfbed635-4358-4491-87d7-2b1d496e8440.json b/.omc/sessions/cfbed635-4358-4491-87d7-2b1d496e8440.json new file mode 100644 index 0000000..672a274 --- /dev/null +++ b/.omc/sessions/cfbed635-4358-4491-87d7-2b1d496e8440.json @@ -0,0 +1,8 @@ +{ + "session_id": "cfbed635-4358-4491-87d7-2b1d496e8440", + "ended_at": "2026-03-19T16:39:48.605Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/d0f11964-9ebf-4227-a0ec-1fbbdc3d9fc2.json b/.omc/sessions/d0f11964-9ebf-4227-a0ec-1fbbdc3d9fc2.json new file mode 100644 index 0000000..adc483a --- /dev/null +++ b/.omc/sessions/d0f11964-9ebf-4227-a0ec-1fbbdc3d9fc2.json @@ -0,0 +1,8 @@ +{ + "session_id": "d0f11964-9ebf-4227-a0ec-1fbbdc3d9fc2", + "ended_at": "2026-03-18T14:32:38.724Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/d182033f-0274-440d-9e4d-3b64e7d16044.json b/.omc/sessions/d182033f-0274-440d-9e4d-3b64e7d16044.json new file mode 100644 index 0000000..f6affb1 --- /dev/null +++ b/.omc/sessions/d182033f-0274-440d-9e4d-3b64e7d16044.json @@ -0,0 +1,8 @@ +{ + "session_id": "d182033f-0274-440d-9e4d-3b64e7d16044", + "ended_at": "2026-03-19T16:46:54.929Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/d4ca0a76-9287-4f01-b717-ff45ccff7137.json b/.omc/sessions/d4ca0a76-9287-4f01-b717-ff45ccff7137.json new file mode 100644 index 0000000..c912001 --- /dev/null +++ b/.omc/sessions/d4ca0a76-9287-4f01-b717-ff45ccff7137.json @@ -0,0 +1,8 @@ +{ + "session_id": "d4ca0a76-9287-4f01-b717-ff45ccff7137", + "ended_at": "2026-03-11T12:27:44.500Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/d667c6e2-111a-46fb-889e-0de3c321bfd4.json b/.omc/sessions/d667c6e2-111a-46fb-889e-0de3c321bfd4.json new file mode 100644 index 0000000..957f9cf --- /dev/null +++ b/.omc/sessions/d667c6e2-111a-46fb-889e-0de3c321bfd4.json @@ -0,0 +1,8 @@ +{ + "session_id": "d667c6e2-111a-46fb-889e-0de3c321bfd4", + "ended_at": "2026-03-19T00:34:43.723Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/d749ba2a-4b8d-42a9-9051-617f5da2072d.json b/.omc/sessions/d749ba2a-4b8d-42a9-9051-617f5da2072d.json new file mode 100644 index 0000000..c88a312 --- /dev/null +++ b/.omc/sessions/d749ba2a-4b8d-42a9-9051-617f5da2072d.json @@ -0,0 +1,8 @@ +{ + "session_id": "d749ba2a-4b8d-42a9-9051-617f5da2072d", + "ended_at": "2026-03-11T12:34:16.823Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/da055f94-9f77-4ac0-9790-e7a44d51c874.json b/.omc/sessions/da055f94-9f77-4ac0-9790-e7a44d51c874.json new file mode 100644 index 0000000..f0d8f48 --- /dev/null +++ b/.omc/sessions/da055f94-9f77-4ac0-9790-e7a44d51c874.json @@ -0,0 +1,8 @@ +{ + "session_id": "da055f94-9f77-4ac0-9790-e7a44d51c874", + "ended_at": "2026-03-19T16:49:31.484Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/da9c4e72-5e1b-4674-96cd-2347c0c30f17.json b/.omc/sessions/da9c4e72-5e1b-4674-96cd-2347c0c30f17.json new file mode 100644 index 0000000..2cb6b99 --- /dev/null +++ b/.omc/sessions/da9c4e72-5e1b-4674-96cd-2347c0c30f17.json @@ -0,0 +1,8 @@ +{ + "session_id": "da9c4e72-5e1b-4674-96cd-2347c0c30f17", + "ended_at": "2026-04-08T23:55:56.110Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/ddcbb95b-c957-448f-81b6-a9c9140911be.json b/.omc/sessions/ddcbb95b-c957-448f-81b6-a9c9140911be.json new file mode 100644 index 0000000..4f33612 --- /dev/null +++ b/.omc/sessions/ddcbb95b-c957-448f-81b6-a9c9140911be.json @@ -0,0 +1,8 @@ +{ + "session_id": "ddcbb95b-c957-448f-81b6-a9c9140911be", + "ended_at": "2026-04-09T00:03:50.064Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/de01ce98-7346-43f4-97da-b7b4ce5106f5.json b/.omc/sessions/de01ce98-7346-43f4-97da-b7b4ce5106f5.json new file mode 100644 index 0000000..0a63dc7 --- /dev/null +++ b/.omc/sessions/de01ce98-7346-43f4-97da-b7b4ce5106f5.json @@ -0,0 +1,8 @@ +{ + "session_id": "de01ce98-7346-43f4-97da-b7b4ce5106f5", + "ended_at": "2026-03-11T12:22:18.527Z", + "reason": "other", + "agents_spawned": 1, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/debf9da4-4328-4ed9-a2bc-f420fb1fa8fb.json b/.omc/sessions/debf9da4-4328-4ed9-a2bc-f420fb1fa8fb.json new file mode 100644 index 0000000..0023805 --- /dev/null +++ b/.omc/sessions/debf9da4-4328-4ed9-a2bc-f420fb1fa8fb.json @@ -0,0 +1,8 @@ +{ + "session_id": "debf9da4-4328-4ed9-a2bc-f420fb1fa8fb", + "ended_at": "2026-04-09T09:12:51.557Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/e2284b4d-28a5-4978-9e63-799b51d69cf2.json b/.omc/sessions/e2284b4d-28a5-4978-9e63-799b51d69cf2.json new file mode 100644 index 0000000..5ed23ef --- /dev/null +++ b/.omc/sessions/e2284b4d-28a5-4978-9e63-799b51d69cf2.json @@ -0,0 +1,8 @@ +{ + "session_id": "e2284b4d-28a5-4978-9e63-799b51d69cf2", + "ended_at": "2026-03-11T12:46:13.268Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/e344b250-ca00-4697-b9ba-e77f3efaf4f7.json b/.omc/sessions/e344b250-ca00-4697-b9ba-e77f3efaf4f7.json new file mode 100644 index 0000000..245a709 --- /dev/null +++ b/.omc/sessions/e344b250-ca00-4697-b9ba-e77f3efaf4f7.json @@ -0,0 +1,8 @@ +{ + "session_id": "e344b250-ca00-4697-b9ba-e77f3efaf4f7", + "ended_at": "2026-03-18T23:32:02.533Z", + "reason": "other", + "agents_spawned": 1, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/e4651b09-d772-45d3-8dae-18a0702eac31.json b/.omc/sessions/e4651b09-d772-45d3-8dae-18a0702eac31.json new file mode 100644 index 0000000..13321cd --- /dev/null +++ b/.omc/sessions/e4651b09-d772-45d3-8dae-18a0702eac31.json @@ -0,0 +1,8 @@ +{ + "session_id": "e4651b09-d772-45d3-8dae-18a0702eac31", + "ended_at": "2026-03-19T16:44:06.588Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/e723e5f6-2d45-46e4-99f5-b76e0bc442de.json b/.omc/sessions/e723e5f6-2d45-46e4-99f5-b76e0bc442de.json new file mode 100644 index 0000000..8b6683b --- /dev/null +++ b/.omc/sessions/e723e5f6-2d45-46e4-99f5-b76e0bc442de.json @@ -0,0 +1,8 @@ +{ + "session_id": "e723e5f6-2d45-46e4-99f5-b76e0bc442de", + "ended_at": "2026-03-11T12:29:23.018Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/e765d5ae-e9af-477a-9189-b7dee358b369.json b/.omc/sessions/e765d5ae-e9af-477a-9189-b7dee358b369.json new file mode 100644 index 0000000..59b6755 --- /dev/null +++ b/.omc/sessions/e765d5ae-e9af-477a-9189-b7dee358b369.json @@ -0,0 +1,8 @@ +{ + "session_id": "e765d5ae-e9af-477a-9189-b7dee358b369", + "ended_at": "2026-03-12T00:17:36.943Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/e879f22d-f550-4182-9846-94409ce44dd0.json b/.omc/sessions/e879f22d-f550-4182-9846-94409ce44dd0.json new file mode 100644 index 0000000..ceda7a6 --- /dev/null +++ b/.omc/sessions/e879f22d-f550-4182-9846-94409ce44dd0.json @@ -0,0 +1,8 @@ +{ + "session_id": "e879f22d-f550-4182-9846-94409ce44dd0", + "ended_at": "2026-03-11T12:35:40.077Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/eaf2b6d4-74ad-4441-a852-249f332cee42.json b/.omc/sessions/eaf2b6d4-74ad-4441-a852-249f332cee42.json new file mode 100644 index 0000000..0bcb0a8 --- /dev/null +++ b/.omc/sessions/eaf2b6d4-74ad-4441-a852-249f332cee42.json @@ -0,0 +1,8 @@ +{ + "session_id": "eaf2b6d4-74ad-4441-a852-249f332cee42", + "ended_at": "2026-03-19T17:31:07.404Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/f37053e8-08b1-4be4-be2e-ebd598e662dd.json b/.omc/sessions/f37053e8-08b1-4be4-be2e-ebd598e662dd.json new file mode 100644 index 0000000..620fccc --- /dev/null +++ b/.omc/sessions/f37053e8-08b1-4be4-be2e-ebd598e662dd.json @@ -0,0 +1,8 @@ +{ + "session_id": "f37053e8-08b1-4be4-be2e-ebd598e662dd", + "ended_at": "2026-03-16T17:19:17.236Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/f451d9f8-f690-424b-9ad8-e7ef6538ce43.json b/.omc/sessions/f451d9f8-f690-424b-9ad8-e7ef6538ce43.json new file mode 100644 index 0000000..ed3f04d --- /dev/null +++ b/.omc/sessions/f451d9f8-f690-424b-9ad8-e7ef6538ce43.json @@ -0,0 +1,8 @@ +{ + "session_id": "f451d9f8-f690-424b-9ad8-e7ef6538ce43", + "ended_at": "2026-03-18T23:45:26.211Z", + "reason": "other", + "agents_spawned": 2, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/f61ee014-b229-4cdf-98fd-70b20e346eec.json b/.omc/sessions/f61ee014-b229-4cdf-98fd-70b20e346eec.json new file mode 100644 index 0000000..bf02f96 --- /dev/null +++ b/.omc/sessions/f61ee014-b229-4cdf-98fd-70b20e346eec.json @@ -0,0 +1,8 @@ +{ + "session_id": "f61ee014-b229-4cdf-98fd-70b20e346eec", + "ended_at": "2026-03-11T12:37:28.665Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/f699a501-8ad5-49fc-ba93-43b597e96018.json b/.omc/sessions/f699a501-8ad5-49fc-ba93-43b597e96018.json new file mode 100644 index 0000000..f46ae83 --- /dev/null +++ b/.omc/sessions/f699a501-8ad5-49fc-ba93-43b597e96018.json @@ -0,0 +1,8 @@ +{ + "session_id": "f699a501-8ad5-49fc-ba93-43b597e96018", + "ended_at": "2026-03-11T12:28:44.959Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/f6a7cb0a-8515-4d2d-a91f-7bfecd1d73ec.json b/.omc/sessions/f6a7cb0a-8515-4d2d-a91f-7bfecd1d73ec.json new file mode 100644 index 0000000..addf254 --- /dev/null +++ b/.omc/sessions/f6a7cb0a-8515-4d2d-a91f-7bfecd1d73ec.json @@ -0,0 +1,8 @@ +{ + "session_id": "f6a7cb0a-8515-4d2d-a91f-7bfecd1d73ec", + "ended_at": "2026-03-12T00:20:32.019Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/f8dae8d8-02de-45c5-ad1f-dde56895f0bf.json b/.omc/sessions/f8dae8d8-02de-45c5-ad1f-dde56895f0bf.json new file mode 100644 index 0000000..5e345d4 --- /dev/null +++ b/.omc/sessions/f8dae8d8-02de-45c5-ad1f-dde56895f0bf.json @@ -0,0 +1,8 @@ +{ + "session_id": "f8dae8d8-02de-45c5-ad1f-dde56895f0bf", + "ended_at": "2026-03-18T14:29:17.240Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/fac5e1b2-3f5d-40f4-9e20-3c33bbea8ab4.json b/.omc/sessions/fac5e1b2-3f5d-40f4-9e20-3c33bbea8ab4.json new file mode 100644 index 0000000..e62eecd --- /dev/null +++ b/.omc/sessions/fac5e1b2-3f5d-40f4-9e20-3c33bbea8ab4.json @@ -0,0 +1,8 @@ +{ + "session_id": "fac5e1b2-3f5d-40f4-9e20-3c33bbea8ab4", + "ended_at": "2026-03-11T12:44:28.676Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/fc8b0852-72c5-4f54-82c2-8630122d8d0d.json b/.omc/sessions/fc8b0852-72c5-4f54-82c2-8630122d8d0d.json new file mode 100644 index 0000000..b36ebdc --- /dev/null +++ b/.omc/sessions/fc8b0852-72c5-4f54-82c2-8630122d8d0d.json @@ -0,0 +1,8 @@ +{ + "session_id": "fc8b0852-72c5-4f54-82c2-8630122d8d0d", + "ended_at": "2026-03-11T12:39:24.257Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/fd002be5-2116-4450-a815-aa76c524a446.json b/.omc/sessions/fd002be5-2116-4450-a815-aa76c524a446.json new file mode 100644 index 0000000..bb0c173 --- /dev/null +++ b/.omc/sessions/fd002be5-2116-4450-a815-aa76c524a446.json @@ -0,0 +1,8 @@ +{ + "session_id": "fd002be5-2116-4450-a815-aa76c524a446", + "ended_at": "2026-03-16T17:32:35.419Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/fd846fd3-8ee2-4fec-b57b-2f1dba87dfa3.json b/.omc/sessions/fd846fd3-8ee2-4fec-b57b-2f1dba87dfa3.json new file mode 100644 index 0000000..340adc0 --- /dev/null +++ b/.omc/sessions/fd846fd3-8ee2-4fec-b57b-2f1dba87dfa3.json @@ -0,0 +1,8 @@ +{ + "session_id": "fd846fd3-8ee2-4fec-b57b-2f1dba87dfa3", + "ended_at": "2026-03-12T00:17:53.570Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/fd8716af-77dd-4a73-9853-05cf44f4feee.json b/.omc/sessions/fd8716af-77dd-4a73-9853-05cf44f4feee.json new file mode 100644 index 0000000..d59adaa --- /dev/null +++ b/.omc/sessions/fd8716af-77dd-4a73-9853-05cf44f4feee.json @@ -0,0 +1,8 @@ +{ + "session_id": "fd8716af-77dd-4a73-9853-05cf44f4feee", + "ended_at": "2026-03-12T00:20:48.847Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/fe82f874-1147-4635-9585-197d9217a1e5.json b/.omc/sessions/fe82f874-1147-4635-9585-197d9217a1e5.json new file mode 100644 index 0000000..ceebc54 --- /dev/null +++ b/.omc/sessions/fe82f874-1147-4635-9585-197d9217a1e5.json @@ -0,0 +1,8 @@ +{ + "session_id": "fe82f874-1147-4635-9585-197d9217a1e5", + "ended_at": "2026-03-18T14:31:13.198Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/ff1d7231-8c0c-4851-88db-092f94417168.json b/.omc/sessions/ff1d7231-8c0c-4851-88db-092f94417168.json new file mode 100644 index 0000000..715d0d6 --- /dev/null +++ b/.omc/sessions/ff1d7231-8c0c-4851-88db-092f94417168.json @@ -0,0 +1,8 @@ +{ + "session_id": "ff1d7231-8c0c-4851-88db-092f94417168", + "ended_at": "2026-03-19T16:52:34.322Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/sessions/ff55ea36-139a-42b5-834d-29dc91ad5430.json b/.omc/sessions/ff55ea36-139a-42b5-834d-29dc91ad5430.json new file mode 100644 index 0000000..cac99af --- /dev/null +++ b/.omc/sessions/ff55ea36-139a-42b5-834d-29dc91ad5430.json @@ -0,0 +1,8 @@ +{ + "session_id": "ff55ea36-139a-42b5-834d-29dc91ad5430", + "ended_at": "2026-03-18T14:38:45.203Z", + "reason": "other", + "agents_spawned": 0, + "agents_completed": 0, + "modes_used": [] +} \ No newline at end of file diff --git a/.omc/state/checkpoints/checkpoint-2026-03-10T20-39-47-373Z.json b/.omc/state/checkpoints/checkpoint-2026-03-10T20-39-47-373Z.json new file mode 100644 index 0000000..33ec0ce --- /dev/null +++ b/.omc/state/checkpoints/checkpoint-2026-03-10T20-39-47-373Z.json @@ -0,0 +1,11 @@ +{ + "created_at": "2026-03-10T20:39:47.370Z", + "trigger": "auto", + "active_modes": {}, + "todo_summary": { + "pending": 0, + "in_progress": 0, + "completed": 0 + }, + "wisdom_exported": false +} \ No newline at end of file diff --git a/.omc/state/checkpoints/checkpoint-2026-03-18T22-02-29-245Z.json b/.omc/state/checkpoints/checkpoint-2026-03-18T22-02-29-245Z.json new file mode 100644 index 0000000..86905f5 --- /dev/null +++ b/.omc/state/checkpoints/checkpoint-2026-03-18T22-02-29-245Z.json @@ -0,0 +1,11 @@ +{ + "created_at": "2026-03-18T22:02:29.244Z", + "trigger": "manual", + "active_modes": {}, + "todo_summary": { + "pending": 0, + "in_progress": 0, + "completed": 0 + }, + "wisdom_exported": false +} \ No newline at end of file diff --git a/database.php b/database.php index 29beeef..3c99787 100644 --- a/database.php +++ b/database.php @@ -1,4 +1,6 @@ group('unit')->in('tests/Unit'); +uses()->group('integration')->in('tests/Integration'); +uses()->group('security')->in('tests/Security'); diff --git a/setup.php b/setup.php index 0dc5f91..0eb6895 100644 --- a/setup.php +++ b/setup.php @@ -1,4 +1,6 @@ getExtension() === 'php' && strpos($file->getPathname(), '/vendor/') === false) { + $content = file_get_contents($file->getPathname()); + } + } +}); + +test('functions.php can be loaded with strict_types', function () { + // This will throw a TypeError if there's an immediate conflict upon loading + // (though unlikely just for loading unless there are default value issues) + require_once dirname(__DIR__, 2) . '/functions.php'; + expect(function_exists('syslog_version'))->toBeTrue(); +}); diff --git a/tests/regression/issue253_alert_sql_placeholder_test.php b/tests/regression/issue253_alert_sql_placeholder_test.php index 57f3901..5835bec 100644 --- a/tests/regression/issue253_alert_sql_placeholder_test.php +++ b/tests/regression/issue253_alert_sql_placeholder_test.php @@ -1,5 +1,7 @@ 'host', diff --git a/tests/regression/issue254_partition_table_locking_test.php b/tests/regression/issue254_partition_table_locking_test.php index 2f02021..d9effce 100644 --- a/tests/regression/issue254_partition_table_locking_test.php +++ b/tests/regression/issue254_partition_table_locking_test.php @@ -1,5 +1,7 @@ Date: Thu, 9 Apr 2026 12:42:29 -0700 Subject: [PATCH 2/6] refactor: safe PHP 7.4 modernization for syslog plugin --- database.php | 8 +- functions.php | 112 ++++++++--------- setup.php | 80 ++++++------ syslog.php | 114 +++++++++--------- syslog_alerts.php | 62 +++++----- syslog_removal.php | 60 ++++----- syslog_reports.php | 58 ++++----- .../issue253_alert_sql_placeholder_test.php | 12 +- .../issue254_partition_table_locking_test.php | 2 +- .../issue258_replication_create_sql_test.php | 24 ++-- ...issue269_import_text_branch_logic_test.php | 4 +- .../issue269_import_text_trim_check_test.php | 4 +- ...ue276_bulk_action_dispatch_helper_test.php | 4 +- .../issue277_import_payload_loader_test.php | 4 +- ...sue278_command_execution_refactor_test.php | 2 +- 15 files changed, 275 insertions(+), 275 deletions(-) diff --git a/database.php b/database.php index 3c99787..8079af5 100644 --- a/database.php +++ b/database.php @@ -79,7 +79,7 @@ function syslog_db_execute($sql, $log = TRUE) { * * @return '1' for success, '0' for error */ -function syslog_db_execute_prepared($sql, $parms = array(), $log = TRUE) { +function syslog_db_execute_prepared($sql, $parms = [], $log = TRUE) { global $syslog_cnn; return db_execute_prepared($sql, $parms, $log, $syslog_cnn); } @@ -110,7 +110,7 @@ function syslog_db_fetch_cell($sql, $col_name = '', $log = TRUE) { * * @return (bool) the output of the sql query as a single variable */ -function syslog_db_fetch_cell_prepared($sql, $params = array(), $col_name = '', $log = TRUE) { +function syslog_db_fetch_cell_prepared($sql, $params = [], $col_name = '', $log = TRUE) { global $syslog_cnn; return db_fetch_cell_prepared($sql, $params, $col_name, $log, $syslog_cnn); } @@ -137,7 +137,7 @@ function syslog_db_fetch_row($sql, $log = TRUE) { * * @return the first row of the result as a hash */ -function syslog_db_fetch_row_prepared($sql, $params = array(), $log = TRUE) { +function syslog_db_fetch_row_prepared($sql, $params = [], $log = TRUE) { global $syslog_cnn; return db_fetch_row_prepared($sql, $params, $log, $syslog_cnn); } @@ -164,7 +164,7 @@ function syslog_db_fetch_assoc($sql, $log = TRUE) { * * @return the entire result set as a multi-dimensional hash */ -function syslog_db_fetch_assoc_prepared($sql, $params = array(), $log = TRUE) { +function syslog_db_fetch_assoc_prepared($sql, $params = [], $log = TRUE) { global $syslog_cnn; return db_fetch_assoc_prepared($sql, $params, $log, $syslog_cnn); } diff --git a/functions.php b/functions.php index 95a0ee0..4b64e0c 100644 --- a/functions.php +++ b/functions.php @@ -260,7 +260,7 @@ function syslog_partition_manage() { * parameter binding for identifiers). */ function syslog_partition_table_allowed($table) { - if (!in_array($table, array('syslog', 'syslog_removed'), true)) { + if (!in_array($table, ['syslog', 'syslog_removed'], true)) { return false; } @@ -292,7 +292,7 @@ function syslog_partition_create($table) { * poller cycle (typically 5 minutes), so sustained contention is not * expected. A failure is logged so monitoring can detect repeated misses. */ - $locked = syslog_db_fetch_cell_prepared('SELECT GET_LOCK(?, 10)', array($lock_name)); + $locked = syslog_db_fetch_cell_prepared('SELECT GET_LOCK(?, 10)', [$lock_name]); if ($locked === null) { /* NULL means the GET_LOCK call itself failed, not just contention. */ @@ -317,7 +317,7 @@ function syslog_partition_create($table) { AND partition_name = ? AND table_name = ? ORDER BY partition_ordinal_position", - array($syslogdb_default, $cformat, $table)); + [$syslogdb_default, $cformat, $table]); if (!cacti_sizeof($exists)) { cacti_log("SYSLOG: Creating new partition '$cformat'", false, 'SYSTEM'); @@ -336,7 +336,7 @@ function syslog_partition_create($table) { PARTITION dMaxValue VALUES LESS THAN MAXVALUE)"); } } finally { - syslog_db_fetch_cell_prepared('SELECT RELEASE_LOCK(?)', array($lock_name)); + syslog_db_fetch_cell_prepared('SELECT RELEASE_LOCK(?)', [$lock_name]); } return true; @@ -355,7 +355,7 @@ function syslog_partition_remove($table) { $lock_name = substr(hash('sha256', $syslogdb_default . '.syslog_partition_remove.' . $table), 0, 60); - $locked = syslog_db_fetch_cell_prepared('SELECT GET_LOCK(?, 10)', array($lock_name)); + $locked = syslog_db_fetch_cell_prepared('SELECT GET_LOCK(?, 10)', [$lock_name]); if ($locked === null) { cacti_log("SYSLOG: GET_LOCK call failed for partition remove on '$table'", false, 'SYSTEM'); @@ -374,7 +374,7 @@ function syslog_partition_remove($table) { FROM `information_schema`.`partitions` WHERE table_schema = ? AND table_name = ? ORDER BY partition_ordinal_position", - array($syslogdb_default, $table)); + [$syslogdb_default, $table]); $days = read_config_option('syslog_retention'); @@ -400,7 +400,7 @@ function syslog_partition_remove($table) { } } } finally { - syslog_db_fetch_cell_prepared('SELECT RELEASE_LOCK(?)', array($lock_name)); + syslog_db_fetch_cell_prepared('SELECT RELEASE_LOCK(?)', [$lock_name]); } return $syslog_deleted; @@ -430,7 +430,7 @@ function syslog_partition_check($table) { WHERE table_schema = ? AND table_name = ? ORDER BY partition_ordinal_position DESC LIMIT 1,1", - array($syslogdb_default, $table)); + [$syslogdb_default, $table]); $lformat = str_replace('d', '', $last_part); $cformat = date('Ymd'); @@ -477,7 +477,7 @@ function syslog_remove_items($table, $max_seq) { FROM `' . $syslogdb_default . '`.`syslog_incoming` WHERE `status` = 1 AND `seq` <= ?', - array($max_seq)); + [$max_seq]); } else { $total = 0; } @@ -485,7 +485,7 @@ function syslog_remove_items($table, $max_seq) { if (cacti_sizeof($rows)) { foreach($rows as $remove) { $sql_where = ''; - $params = array(); + $params = []; if ($remove['type'] == 'facility') { if ($table == 'syslog_incoming') { @@ -498,7 +498,7 @@ function syslog_remove_items($table, $max_seq) { } else { $facility_id = syslog_db_fetch_cell_prepared('SELECT facility_id FROM `' . $syslogdb_default . '`.`syslog_facilities` - WHERE facility = ?', array($remove['message'])); + WHERE facility = ?', [$remove['message']]); if (!empty($facility_id)) { $sql_where = 'WHERE facility_id = ?'; @@ -516,7 +516,7 @@ function syslog_remove_items($table, $max_seq) { } else { $program_id = syslog_db_fetch_cell_prepared('SELECT program_id FROM `' . $syslogdb_default . '`.`syslog_programs` - WHERE program = ?', array($remove['message'])); + WHERE program = ?', [$remove['message']]); if (!empty($program_id)) { $sql_where = 'WHERE program_id = ?'; @@ -534,7 +534,7 @@ function syslog_remove_items($table, $max_seq) { } else { $host_id = syslog_db_fetch_cell_prepared('SELECT host_id FROM `' . $syslogdb_default . '`.`syslog_hosts` - WHERE host = ?', array($remove['message'])); + WHERE host = ?', [$remove['message']]); if (!empty($host_id)) { $sql_where = 'WHERE host_id = ?'; @@ -624,7 +624,7 @@ function syslog_remove_items($table, $max_seq) { syslog_debug(sprintf('Removed %5s - Record(s) from ' . $table, $removed)); syslog_debug(sprintf('Xferred %5s - Record(s) to the syslog_removed table', $xferred)); - return array('removed' => $removed, 'xferred' => $xferred); + return ['removed' => $removed, 'xferred' => $xferred]; } /** function syslog_log_row_color() @@ -692,7 +692,7 @@ function sql_hosts_where($tab) { $hostfilter = ''; $hostfilter_log = ''; - $hosts_array = array(); + $hosts_array = []; if (!isempty_request_var('host') && get_nfilter_request_var('host') != 'null') { $hostarray = explode(',', trim(get_nfilter_request_var('host'))); @@ -704,7 +704,7 @@ function sql_hosts_where($tab) { $log_host = syslog_db_fetch_cell_prepared('SELECT host FROM `' . $syslogdb_default . '`.`syslog_hosts` WHERE host_id = ?', - array($host_id)); + [$host_id]); if (!empty($log_host)) { $hosts_array[] = db_qstr($log_host); @@ -838,7 +838,7 @@ function syslog_debug($message) { } } -function syslog_log_alert($alert_id, $alert_name, $severity, $msg, $count = 1, $html = '', $hosts = array()) { +function syslog_log_alert($alert_id, $alert_name, $severity, $msg, $count = 1, $html = '', $hosts = []) { global $config, $severities; global $syslogdb_default; @@ -1025,7 +1025,7 @@ function syslog_manage_items($from_table, $to_table) { } } - return array('removed' => $removed, 'xferred' => $xferred); + return ['removed' => $removed, 'xferred' => $xferred]; } /* get_hash_syslog - returns the current unique hash for an alert @@ -1035,7 +1035,7 @@ function get_hash_syslog($id, $table) { $hash = syslog_db_fetch_cell_prepared('SELECT hash FROM ' . $table . ' WHERE id = ?', - array($id)); + [$id]); if (empty($hash)) { return generate_hash(); @@ -1051,7 +1051,7 @@ function syslog_ia2xml($array) { if (cacti_sizeof($array)) { foreach ($array as $key=>$value) { - if (is_array($value)) { + if (is_[$value]) { $xml .= "\t<$key>" . syslog_ia2xml($value) . "\n"; } else { $xml .= "\t<$key>" . html_escape($value) . "\n"; @@ -1100,7 +1100,7 @@ function syslog_execute_ticket_command($alert, $hostlist, $error_message) { ' --hostlist=' . cacti_escapeshellarg(implode(',', $hostlist)) . ' --message=' . cacti_escapeshellarg($alert['message']); - $output = array(); + $output = []; $return = 0; exec($command, $output, $return); @@ -1138,7 +1138,7 @@ function syslog_execute_alert_command($alert, $results, $hostname) { $cparts = preg_split('/\s+/', trim($command)); $executable = trim($cparts[0], '"\''); - $output = array(); + $output = []; $return = 0; if (cacti_sizeof($cparts) && is_executable($executable)) { @@ -1203,7 +1203,7 @@ function syslog_process_alerts($max_seq) { if (cacti_sizeof($alerts)) { foreach($alerts as $alert) { $sql = ''; - $params = array(); + $params = []; /* we roll up statistics depending on the level */ if ($alert['level'] == 1) { @@ -1249,7 +1249,7 @@ function syslog_process_alerts($max_seq) { } } - return array('syslog_alerts' => $syslog_alerts, 'syslog_alarms' => $syslog_alarms); + return ['syslog_alerts' => $syslog_alerts, 'syslog_alarms' => $syslog_alarms]; } /** @@ -1275,7 +1275,7 @@ function syslog_process_alert($alert, $sql, $params, $count, $hostname = '') { $alert_count = 0; $syslog_alarms = 0; - $hostlist = array(); + $hostlist = []; $max_alerts = read_config_option('syslog_maxrecords'); $report_tag = false; $theme = false; @@ -1306,7 +1306,7 @@ function syslog_process_alert($alert, $sql, $params, $count, $hostname = '') { $from_name = 'Cacti Reporting'; } - $from = array($from_email, $from_name); + $from = [$from_email, $from_name]; /** * format the destination Email addresses @@ -1316,7 +1316,7 @@ function syslog_process_alert($alert, $sql, $params, $count, $hostname = '') { $additional = db_fetch_cell_prepared('SELECT emails FROM plugin_notification_lists WHERE id = ?', - array($alert['notify'])); + [$alert['notify']]); if ($additional != '') { $alert['email'] .= ', ' . trim($additional, ' ,'); @@ -1346,7 +1346,7 @@ function syslog_process_alert($alert, $sql, $params, $count, $hostname = '') { /** * A list of all messages from the alert */ - $results = array(); + $results = []; syslog_debug(sprintf('Found %5s - Matching Records.', cacti_sizeof($at))); @@ -1500,14 +1500,14 @@ function syslog_process_alert($alert, $sql, $params, $count, $hostname = '') { WHERE alert_id = ? AND logtime > ? AND host = ?', - array($alert['id'], $date, $hostname)); + [$alert['id'], $date, $hostname]); } else { $found = syslog_db_fetch_cell_prepared('SELECT COUNT(*) FROM syslog_logs WHERE alert_id = ? AND logtime > ? AND host = "system"', - array($alert['id'], $date)); + [$alert['id'], $date]); } } @@ -1610,7 +1610,7 @@ function syslog_get_alert_sql(&$alert, $max_seq) { $syslog_incoming_config['programField'] = 'program'; } - $params = array(); + $params = []; $sql = ''; if ($alert['type'] == 'facility') { @@ -1677,7 +1677,7 @@ function syslog_get_alert_sql(&$alert, $max_seq) { $params[] = $max_seq; } - return array('sql' => $sql, 'params' => $params); + return ['sql' => $sql, 'params' => $params]; } /** @@ -1700,7 +1700,7 @@ function syslog_preprocess_incoming_records() { SET `status` = 1 WHERE `status` = 0 AND `seq` <= ?', - array($max_seq)); + [$max_seq]); syslog_debug('Max Sequence ID = ' . $max_seq); syslog_debug('-------------------------------------------------------------------------------------'); @@ -1709,7 +1709,7 @@ function syslog_preprocess_incoming_records() { FROM `' . $syslogdb_default . '`.`syslog_incoming` WHERE `status` = 1 AND `seq` <= ?', - array($max_seq)); + [$max_seq]); syslog_debug(sprintf('Found %5s - New Message(s) to process', $syslog_incoming)); @@ -1718,10 +1718,10 @@ function syslog_preprocess_incoming_records() { api_plugin_hook('plugin_syslog_before_processing'); - return array('max_seq' => $max_seq, 'incoming' => $syslog_incoming); + return ['max_seq' => $max_seq, 'incoming' => $syslog_incoming]; } - return array('max_seq' => 0, 'incoming' => 0); + return ['max_seq' => 0, 'incoming' => 0]; } /** @@ -1746,7 +1746,7 @@ function syslog_strip_incoming_domains($max_seq) { WHERE host LIKE ? AND `status` = 1 AND `seq` <= ?', - array('%' . $domain, $max_seq)); + ['%' . $domain, $max_seq]); } } } @@ -1774,7 +1774,7 @@ function syslog_check_cacti_hosts($host, $max_seq) { FROM host WHERE hostname = ? LIMIT 1', - array($host)); + [$host]); if (cacti_sizeof($cacti_host) && !empty($cacti_host['description'])) { syslog_db_execute_prepared('UPDATE `' . $syslogdb_default . '`.`syslog_incoming` @@ -1782,7 +1782,7 @@ function syslog_check_cacti_hosts($host, $max_seq) { WHERE host = ? AND `status` = 1 AND `seq` <= ?', - array($cacti_host['description'], $host, $max_seq)); + [$cacti_host['description'], $host, $max_seq]); return true; } @@ -1814,7 +1814,7 @@ function syslog_update_reference_tables($max_seq) { FROM `' . $syslogdb_default . '`.`syslog_incoming` WHERE `status` = 1 AND `seq` <= ?', - array($max_seq)); + [$max_seq]); foreach($hosts as $host) { if (!isset($host['host']) || empty($host['host'])) { @@ -1845,7 +1845,7 @@ function syslog_update_reference_tables($max_seq) { WHERE host = ? AND `status` = 1 AND `seq` <= ?", - array($unresolved_host, $host['host'], $max_seq)); + [$unresolved_host, $host['host'], $max_seq]); } } } @@ -1859,7 +1859,7 @@ function syslog_update_reference_tables($max_seq) { ON DUPLICATE KEY UPDATE program=VALUES(program), last_updated=VALUES(last_updated)', - array($max_seq)); + [$max_seq]); syslog_db_execute_prepared('INSERT INTO `' . $syslogdb_default . '`.`syslog_hosts` (host, last_updated) @@ -1870,7 +1870,7 @@ function syslog_update_reference_tables($max_seq) { ON DUPLICATE KEY UPDATE host=VALUES(host), last_updated=NOW()', - array($max_seq)); + [$max_seq]); syslog_db_execute_prepared('INSERT INTO `' . $syslogdb_default . '`.`syslog_host_facilities` (host_id, facility_id) @@ -1888,7 +1888,7 @@ function syslog_update_reference_tables($max_seq) { ON DUPLICATE KEY UPDATE host_id=VALUES(host_id), last_updated=NOW()', - array($max_seq)); + [$max_seq]); } /** @@ -1916,7 +1916,7 @@ function syslog_update_statistics($max_seq) { AND si.`seq` <= ? GROUP BY host_id, priority_id, facility_id, program_id) AS merge GROUP BY host_id, priority_id, facility_id, program_id', - array($max_seq)); + [$max_seq]); $stats = db_affected_rows($syslog_cnn); @@ -1951,7 +1951,7 @@ function syslog_incoming_to_syslog($max_seq) { WHERE si.`status` = 1 AND si.`seq` <= ? ) AS merge', - array($max_seq)); + [$max_seq]); $moved = db_affected_rows($syslog_cnn); @@ -1963,7 +1963,7 @@ function syslog_incoming_to_syslog($max_seq) { syslog_db_execute_prepared('DELETE FROM `' . $syslogdb_default . '`.`syslog_incoming` WHERE `status` = 1 AND `seq` <= ?', - array($max_seq)); + [$max_seq]); syslog_debug(sprintf('Deleted %5s - Already Processed Message(s) from incoming', db_affected_rows($syslog_cnn))); @@ -1973,7 +1973,7 @@ function syslog_incoming_to_syslog($max_seq) { syslog_debug(sprintf('Deleted %5s - Stale Message(s) from incoming', $stale)); - return array('moved' => $moved, 'stale' => $stale); + return ['moved' => $moved, 'stale' => $stale]; } /** @@ -1996,7 +1996,7 @@ function syslog_postprocess_tables() { if (read_config_option('syslog_retention') > 0) { syslog_db_execute_prepared('DELETE FROM `' . $syslogdb_default . '`.`syslog_statistics` WHERE insert_time < ?', - array($delete_date)); + [$delete_date]); syslog_debug(sprintf('Deleted %5s - Syslog Statistics Record(s)', db_affected_rows($syslog_cnn))); } @@ -2010,25 +2010,25 @@ function syslog_postprocess_tables() { syslog_db_execute_prepared('DELETE FROM `' . $syslogdb_default . '`.`syslog_logs` WHERE logtime < ?', - array($delete_date)); + [$delete_date]); syslog_debug(sprintf('Deleted %5s - Syslog alarm log Record(s)', db_affected_rows($syslog_cnn))); syslog_db_execute_prepared('DELETE FROM `' . $syslogdb_default . '`.`syslog_hosts` WHERE last_updated < ?', - array($delete_date)); + [$delete_date]); syslog_debug(sprintf('Deleted %5s - Syslog Host Record(s)', db_affected_rows($syslog_cnn))); syslog_db_execute_prepared('DELETE FROM `' . $syslogdb_default . '`.`syslog_programs` WHERE last_updated < ?', - array($delete_date)); + [$delete_date]); syslog_debug(sprintf('Deleted %5s - Old programs from programs table', db_affected_rows($syslog_cnn))); syslog_db_execute_prepared('DELETE FROM `' . $syslogdb_default . '`.`syslog_host_facilities` WHERE last_updated < ?', - array($delete_date)); + [$delete_date]); syslog_debug(sprintf('Deleted %5s - Syslog Host/Facility Record(s)', db_affected_rows($syslog_cnn))); } @@ -2143,7 +2143,7 @@ function syslog_process_reports() { syslog_debug('We have ' . db_affected_rows($syslog_cnn) . ' items for the Report'); - $classes = array('even', 'odd'); + $classes = ['even', 'odd']; if (cacti_sizeof($items)) { $i = 0; @@ -2209,7 +2209,7 @@ function syslog_process_reports() { } } - return array('total_reports' => $total_reports, 'sent_reports' => $sent_reports); + return ['total_reports' => $total_reports, 'sent_reports' => $sent_reports]; } /** @@ -2372,7 +2372,7 @@ function syslog_init_variables() { * * @return (void) */ -function alert_setup_environment(&$alert, $results, $hostlist = array(), $hostname = '') { +function alert_setup_environment(&$alert, $results, $hostlist = [], $hostname = '') { global $severities, $syslog_levels, $syslog_facilities; putenv('ALERT_ALERTID=' . cacti_escapeshellarg($alert['id'])); diff --git a/setup.php b/setup.php index 0eb6895..009ded4 100644 --- a/setup.php +++ b/setup.php @@ -242,7 +242,7 @@ function syslog_connect() { cacti_log('Setting Up Database Tables Since they do not exist', false, 'SYSLOG'); if (!isset($syslog_install_options)) { - $syslog_install_options = array(); + $syslog_install_options = []; } syslog_setup_table_new($syslog_install_options); @@ -258,7 +258,7 @@ function syslog_check_upgrade() { syslog_connect(); // Let's only run this check if we are on a page that actually needs the data - $files = array('plugins.php', 'syslog.php', 'syslog_removal.php', 'syslog_alerts.php', 'syslog_reports.php'); + $files = ['plugins.php', 'syslog.php', 'syslog_removal.php', 'syslog_alerts.php', 'syslog_reports.php']; if (substr($_SERVER['SCRIPT_FILENAME'], -18) != 'syslog_process.php' && !in_array(get_current_page(), $files)) { return; } @@ -282,13 +282,13 @@ function syslog_check_upgrade() { db_execute_prepared("UPDATE plugin_config SET version = ?, name = ?, author = ?, webpage = ? WHERE directory = ?", - array( + [ $version['version'], $version['longname'], $version['author'], $version['homepage'], $version['name'] - ) + ] ); } else { // No upgrade required @@ -346,7 +346,7 @@ function syslog_check_upgrade() { syslog_db_execute_prepared('UPDATE syslog_alert SET hash = ? WHERE id = ?', - array($hash, $a['id'])); + [$hash, $a['id']]); } } @@ -360,7 +360,7 @@ function syslog_check_upgrade() { syslog_db_execute_prepared('UPDATE syslog_remove SET hash = ? WHERE id = ?', - array($hash, $r['id'])); + [$hash, $r['id']]); } } @@ -374,7 +374,7 @@ function syslog_check_upgrade() { syslog_db_execute_prepared('UPDATE syslog_reports SET hash = ? WHERE id = ?', - array($hash, $r['id'])); + [$hash, $r['id']]); } } @@ -473,9 +473,9 @@ function syslog_setup_table_new($options) { syslog_connect(); - $tables = array(); + $tables = []; - $syslog_levels = array( + $syslog_levels = [ 0 => 'emerg', 1 => 'crit', 2 => 'alert', @@ -485,7 +485,7 @@ function syslog_setup_table_new($options) { 6 => 'info', 7 => 'debug', 8 => 'other' - ); + ]; // Set default if they are not set. if (!cacti_sizeof($options)) { @@ -816,8 +816,8 @@ function syslog_replicate_in() { function syslog_replace_data($table, &$data) { if (cacti_sizeof($data)) { - $sqlData = array(); - $sqlQuery = array(); + $sqlData = []; + $sqlQuery = []; $columns = array_keys($data[0]); $create_sql = ''; @@ -934,18 +934,18 @@ function syslog_install_advisor($syslog_exists) { 'value' => '30', 'array' => $syslog_retentions ), - 'mode' => array( + 'mode' => [ 'method' => 'hidden', 'value' => 'install' - ), - 'install' => array( + ], + 'install' => [ 'method' => 'hidden', 'value' => 'true' - ), - 'id' => array( + ], + 'id' => [ 'method' => 'hidden', 'value' => 'syslog' - ) + ] ); $fields_syslog_update['dayparts'] = array( @@ -996,8 +996,8 @@ function syslog_install_advisor($syslog_exists) { html_start_box(__('Syslog %s Settings', $type, 'syslog'), '100%', '', '3', 'center', ''); draw_edit_form(array( - 'config' => array(), - 'fields' => inject_form_variables($fields_syslog_update, array())) + 'config' => [], + 'fields' => inject_form_variables($fields_syslog_update, [])) ); html_end_box(); @@ -1025,18 +1025,18 @@ function syslog_uninstall_advisor() { 'value' => 'all', 'array' => array('all' => __('Remove Everything (Logs, Tables, Settings)', 'syslog'), 'syslog' => __('Syslog Data Only', 'syslog')), ), - 'mode' => array( + 'mode' => [ 'method' => 'hidden', 'value' => 'uninstall' - ), - 'uninstall' => array( + ], + 'uninstall' => [ 'method' => 'hidden', 'value' => 'true' - ), - 'id' => array( + ], + 'id' => [ 'method' => 'hidden', 'value' => 'syslog' - ) + ] ); form_start('plugins.php'); @@ -1046,8 +1046,8 @@ function syslog_uninstall_advisor() { html_start_box(__('Syslog Uninstall Preferences', 'syslog'), '100%', '', '3', 'center', ''); draw_edit_form(array( - 'config' => array(), - 'fields' => inject_form_variables($fields_syslog_update, array())) + 'config' => [], + 'fields' => inject_form_variables($fields_syslog_update, [])) ); html_end_box(); @@ -1117,7 +1117,7 @@ function syslog_config_settings() { if (get_nfilter_request_var('tab') == 'syslog') { $formats = reports_get_format_files(); } elseif (empty($formats)) { - $formats = array(); + $formats = []; } $tabs['syslog'] = __('Syslog', 'syslog'); @@ -1318,7 +1318,7 @@ function syslog_config_arrays () { 4 => __('Export', 'syslog') ); - $syslog_levels = array( + $syslog_levels = [ 0 => 'emerg', 1 => 'crit', 2 => 'alert', @@ -1328,9 +1328,9 @@ function syslog_config_arrays () { 6 => 'info', 7 => 'debug', 8 => 'other' - ); + ]; - $syslog_facilities = array( + $syslog_facilities = [ 0 => 'kernel', 1 => 'user', 2 => 'mail', @@ -1355,7 +1355,7 @@ function syslog_config_arrays () { 21 => 'local5', 22 => 'local6', 23 => 'local7' - ); + ]; $syslog_retentions = array( '0' => __('Indefinite', 'syslog'), @@ -1457,16 +1457,16 @@ function syslog_config_arrays () { } if (function_exists('auth_augment_roles')) { - auth_augment_roles(__('Normal User'), array('syslog.php')); - auth_augment_roles(__('System Administration'), array('syslog_alerts.php', 'syslog_removal.php', 'syslog_reports.php')); + auth_augment_roles(__('Normal User'), ['syslog.php']); + auth_augment_roles(__('System Administration'), ['syslog_alerts.php', 'syslog_removal.php', 'syslog_reports.php']); } if (isset($_SESSION['syslog_info']) && $_SESSION['syslog_info'] != '') { - $messages['syslog_info'] = array('message' => $_SESSION['syslog_info'], 'type' => 'info'); + $messages['syslog_info'] = ['message' => $_SESSION['syslog_info'], 'type' => 'info']; } if (isset($_SESSION['syslog_error']) && $_SESSION['syslog_error'] != '') { - $messages['syslog_error'] = array('message' => $_SESSION['syslog_error'], 'type' => 'error'); + $messages['syslog_error'] = ['message' => $_SESSION['syslog_error'], 'type' => 'error']; } } @@ -1502,7 +1502,7 @@ function syslog_config_insert() { syslog_check_upgrade(); } -function syslog_graph_buttons($graph_elements = array()) { +function syslog_graph_buttons($graph_elements = []) { global $config, $timespan, $graph_timeshifts; if (!syslog_config_safe()) { @@ -1531,14 +1531,14 @@ function syslog_graph_buttons($graph_elements = array()) { $host_id = db_fetch_cell_prepared('SELECT host_id FROM graph_local WHERE id = ?', - array($graph_elements[1]['local_graph_id'])); + [$graph_elements[1]['local_graph_id']]); $sql_where = ''; if (!empty($host_id)) { $host = db_fetch_row_prepared('SELECT id, description, hostname FROM host WHERE id = ?', - array($host_id)); + [$host_id]); if (cacti_sizeof($host)) { if (!is_ipaddress($host['description'])) { diff --git a/syslog.php b/syslog.php index 41e61b0..757d13b 100644 --- a/syslog.php +++ b/syslog.php @@ -109,7 +109,7 @@ bottom_footer(); } -$_SESSION['sess_nav_level_cache'] = array(); +$_SESSION['sess_nav_level_cache'] = []; function get_ajax_hosts() { global $syslogdb_default; @@ -133,14 +133,14 @@ function get_ajax_hosts() { OR h.description LIKE ? ORDER BY host LIMIT $ac_rows", - array($term, $term)); + [$term, $term]); } else { $hosts = syslog_db_fetch_assoc_prepared("SELECT DISTINCT sh.host_id, sh.host, '0' AS id FROM `" . $syslogdb_default . "`.`syslog_hosts` AS sh WHERE sh.host LIKE ? ORDER BY host LIMIT $ac_rows", - array($term)); + [$term]); } if (cacti_sizeof($hosts)) { @@ -151,16 +151,16 @@ function get_ajax_hosts() { $class = 'deviceUp'; } - $rhosts[$host['host_id']] = array( + $rhosts[$host['host_id']] = [ 'host' => $host['host'], 'host_id' => $host['id'], 'class' => $class - ); + ]; } return json_encode($rhosts); } else { - return json_encode(array()); + return json_encode([]); } } @@ -224,59 +224,59 @@ function syslog_statistics() { /* ================= input validation and session storage ================= */ $filters = array( - 'rows' => array( + 'rows' => [ 'filter' => FILTER_VALIDATE_INT, 'pageset' => true, 'default' => '-1', - ), + ], 'refresh' => array( 'filter' => FILTER_VALIDATE_INT, 'default' => read_config_option('syslog_refresh'), ), - 'timespan' => array( + 'timespan' => [ 'filter' => FILTER_VALIDATE_INT, 'pageset' => true, 'default' => '300', - ), - 'page' => array( + ], + 'page' => [ 'filter' => FILTER_VALIDATE_INT, 'default' => '1' - ), - 'rfilter' => array( + ], + 'rfilter' => [ 'filter' => FILTER_VALIDATE_IS_REGEX, 'pageset' => true, 'default' => '' - ), - 'host' => array( + ], + 'host' => [ 'filter' => FILTER_VALIDATE_IS_NUMERIC_LIST, 'pageset' => true, 'default' => '', - ), - 'facility' => array( + ], + 'facility' => [ 'filter' => FILTER_VALIDATE_INT, 'pageset' => true, 'default' => '', - ), - 'priority' => array( + ], + 'priority' => [ 'filter' => FILTER_VALIDATE_INT, 'pageset' => true, 'default' => '', - ), + ], 'program' => array( 'filter' => FILTER_VALIDATE_INT, 'pageset' => true, 'default' => '', - 'options' => array('options' => 'sanitize_search_string') + 'options' => ['options' => 'sanitize_search_string'] ), 'sort_column' => array( 'filter' => FILTER_CALLBACK, 'default' => 'host', - 'options' => array('options' => 'sanitize_search_string') + 'options' => ['options' => 'sanitize_search_string'] ), 'sort_direction' => array( 'filter' => FILTER_CALLBACK, 'default' => 'ASC', - 'options' => array('options' => 'sanitize_search_string') + 'options' => ['options' => 'sanitize_search_string'] ) ); @@ -669,14 +669,14 @@ function syslog_request_validation($current_tab, $force = false) { 'pageset' => true, 'default' => read_user_setting('syslog_rows', '-1', $force) ), - 'page' => array( + 'page' => [ 'filter' => FILTER_VALIDATE_INT, 'default' => '1' - ), - 'id' => array( + ], + 'id' => [ 'filter' => FILTER_VALIDATE_INT, 'default' => '' - ), + ], 'removal' => array( 'filter' => FILTER_VALIDATE_INT, 'default' => read_user_setting('syslog_removal', '1', $force) @@ -699,27 +699,27 @@ function syslog_request_validation($current_tab, $force = false) { 'filter' => FILTER_VALIDATE_INT, 'default' => read_user_setting('syslog_trimval', '75', $force) ), - 'enabled' => array( + 'enabled' => [ 'filter' => FILTER_VALIDATE_INT, 'pageset' => true, 'default' => '-1' - ), - 'host' => array( + ], + 'host' => [ 'filter' => FILTER_VALIDATE_IS_NUMERIC_LIST, 'pageset' => true, 'default' => '', - ), + ], 'efacility' => array( 'filter' => FILTER_CALLBACK, 'pageset' => true, 'default' => read_user_setting('syslog_efacility', '-1', $force), - 'options' => array('options' => 'sanitize_search_string') + 'options' => ['options' => 'sanitize_search_string'] ), 'epriority' => array( 'filter' => FILTER_CALLBACK, 'pageset' => true, 'default' => read_user_setting('syslog_epriority', '-1', $force), - 'options' => array('options' => 'sanitize_search_string') + 'options' => ['options' => 'sanitize_search_string'] ), 'eprogram' => array( 'filter' => FILTER_VALIDATE_INT, @@ -731,33 +731,33 @@ function syslog_request_validation($current_tab, $force = false) { 'pageset' => true, 'default' => read_user_setting('syslog_grouping', '0', $force), ), - 'rfilter' => array( + 'rfilter' => [ 'filter' => FILTER_VALIDATE_IS_REGEX, 'pageset' => true, 'default' => '' - ), + ], 'date1' => array( 'filter' => FILTER_CALLBACK, 'pageset' => true, 'default' => '', - 'options' => array('options' => 'sanitize_search_string') + 'options' => ['options' => 'sanitize_search_string'] ), 'date2' => array( 'filter' => FILTER_CALLBACK, 'pageset' => true, 'default' => '', - 'options' => array('options' => 'sanitize_search_string') + 'options' => ['options' => 'sanitize_search_string'] ), 'sort_column' => array( 'filter' => FILTER_CALLBACK, 'default' => 'logtime', - 'options' => array('options' => 'sanitize_search_string') + 'options' => ['options' => 'sanitize_search_string'] ), 'sort_direction' => array( 'filter' => FILTER_CALLBACK, 'default' => 'DESC', - 'options' => array('options' => 'sanitize_search_string') + 'options' => ['options' => 'sanitize_search_string'] ) ); @@ -782,7 +782,7 @@ function set_shift_span($shift_span, $session_prefix) { global $graph_timeshifts; if ($shift_span == 'span' || ($shift_span === false && (!isset($_SESSION[$session_prefix . '_date1']) || !isset($_SESSION[$session_prefix . '_date2'])))) { - $span = array(); + $span = []; // Calculate the timespan $first_weekdayid = read_user_setting('first_weekdayid'); @@ -806,14 +806,14 @@ function set_shift_span($shift_span, $session_prefix) { } else { // Session keys missing; fall back to a fresh span calculation. $first_weekdayid = read_user_setting('first_weekdayid'); - $span = array(); + $span = []; get_timespan($span, time(), get_request_var('predefined_timespan'), $first_weekdayid); set_request_var('date1', date('Y-m-d H:i:s', $span['begin_now'])); set_request_var('date2', date('Y-m-d H:i:s', $span['end_now'])); set_request_var('custom', false); } } elseif ($shift_span == 'shift') { - $span = array(); + $span = []; $span['current_value_date1'] = get_request_var('date1'); $span['current_value_date2'] = get_request_var('date2'); @@ -1364,7 +1364,7 @@ function syslog_filter($sql_where, $tab) { print "