-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroadmap.json
More file actions
915 lines (880 loc) · 27.5 KB
/
roadmap.json
File metadata and controls
915 lines (880 loc) · 27.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
{
"roadmap_version": "1.0.4",
"project": "maatify/security-guard",
"note": "introduces the new unified SecurityEventDTO architecture and shifts phase numbering forward accordingly.",
"core_dependencies": {
"storage_layer": "maatify/data-adapters",
"fake_layer": "maatify/data-fakes",
"contracts": "maatify/common",
"rules": [
"All MySQL, Redis, and MongoDB access MUST go through AdapterInterface",
"All real execution MUST use maatify/data-adapters",
"All fake execution and adapter behavior tests MUST use maatify/data-fakes",
"Direct PDO, Redis, or MongoDB client usage inside security-guard is forbidden"
]
},
"phases": [
{
"id": "phase1",
"title": "Environment Setup",
"version": "0.0.1",
"status": "completed",
"summary": "Project bootstrap, Composer setup, testing environment, and namespace preparation.",
"tracks": {
"core": {
"tasks": [
"Create GitHub repository",
"Initialize Composer project",
"Prepare .env.example",
"Setup autoloading namespaces"
],
"outputs": [
"composer.json",
".env.example"
]
},
"tests": {
"tasks": [
"Setup PHPUnit",
"Prepare CI environment"
],
"outputs": [
"tests/bootstrap.php"
]
},
"examples": {
"tasks": [],
"outputs": []
}
}
},
{
"id": "phase2",
"title": "Core Architecture & DTOs",
"version": "0.0.2",
"status": "completed",
"summary": "Finalize core DTO structures, interfaces, and the high-level Facade.",
"tracks": {
"core": {
"tasks": [
"Create LoginAttemptDTO",
"Create SecurityBlockDTO (final int-based timestamps version)",
"Design SecurityGuardDriverInterface",
"Create AbstractSecurityGuardDriver",
"Create SecurityGuardService (Facade)",
"IdentifierStrategy integration",
"Normalization + block encoding/decoding",
"Prepare config loader"
],
"outputs": [
"src/DTO/LoginAttemptDTO.php",
"src/DTO/SecurityBlockDTO.php",
"src/Contracts/SecurityGuardDriverInterface.php",
"src/Drivers/AbstractSecurityGuardDriver.php",
"src/Service/SecurityGuardService.php",
"src/Identifier/Contracts/IdentifierStrategyInterface.php",
"src/Config/SecurityConfigLoader.php"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase3",
"title": "Driver Implementations",
"version": "0.0.3",
"status": "completed",
"summary": "Implement all Security Guard storage drivers on top of maatify/data-adapters.",
"tracks": {
"core": {
"tasks": [
"Implement RedisSecurityGuard using RedisClientProxy",
"Implement PdoMySQLDriver",
"Implement DbalMySQLDriver",
"Implement MySQLSecurityGuard",
"Implement MongoSecurityGuard",
"Create SecurityGuardResolver",
"Fix PHPStan generics + safe casting",
"Unify block/unblock/cleanup behavior",
"Normalize identifier using strategy"
],
"outputs": [
"src/Drivers/RedisSecurityGuard.php",
"src/Drivers/MySQL/PdoMySQLDriver.php",
"src/Drivers/MySQL/DbalMySQLDriver.php",
"src/Drivers/MySQL/MySQLSecurityGuard.php",
"src/Drivers/Mongo/MongoSecurityGuard.php",
"src/Drivers/Support/RedisClientProxy.php",
"src/Resolver/SecurityGuardResolver.php"
],
"changes": [
"RedisSecurityGuard now fully uses RedisClientProxy abstraction",
"PdoMySQLDriver: fixed fetchColumn|false logic + strict int timestamps",
"DbalMySQLDriver: safe casting + consistent SQL + REPLACE INTO support",
"MySQLSecurityGuard delegates to PDO/DBAL transparently",
"MongoSecurityGuard rewritten with proper Collection handling + indexes",
"Resolver fixed to match MongoDatabase instead of MongoClient",
"Resolver refactored to remove unreachable conditions",
"Redis proxy unified commands: hGet, hSet, hDel, hGetAll, expire, del, info",
"Abstract driver now strictly validates block payload during decodeBlock()"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase4",
"title": "Unified Security Events (NEW)",
"version": "0.0.4",
"status": "completed",
"summary": "Introduce unified SecurityEventDTO and event normalization across all security actions.",
"tracks": {
"core": {
"tasks": [
"Create SecurityEventDTO (action/platform/userId/userType/context)",
"Create SecurityEventTypeEnum",
"Refactor LoginAttemptDTO to extend SecurityEventDTO",
"Introduce SecurityEventFactory",
"Unify event timestamps",
"Normalize subject/platform/action rules",
"Ensure driver compatibility with unified event model"
],
"outputs": [
"src/DTO/SecurityEventDTO.php",
"src/Enums/SecurityEventTypeEnum.php",
"src/DTO/LoginAttemptDTO.php",
"src/Event/SecurityEventFactory.php"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": {
"tasks": [],
"outputs": [
"docs/phases/README.phase4.md"
]
}
}
},
{
"id": "phase5",
"title": "Core Logic & Service Layer",
"version": "0.0.5",
"status": "completed",
"summary": "Main security orchestration logic built on top of unified security events.",
"tracks": {
"core": {
"tasks": [
"handleEvent() logic",
"handleAttempt() logic",
"Reset on success",
"Block/unblock logic",
"IP failure counters",
"Expose isBlocked()",
"ENV thresholds integration"
],
"outputs": [
"src/SecurityGuardService.php"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase6",
"title": "Driver Lifecycle & Resolver Responsibility Contract",
"version": "0.0.6",
"status": "blocking",
"summary": "Formalize driver lifecycle states and strictly define resolver responsibilities to eliminate side effects, duplicated initialization, and implicit infrastructure access.",
"tracks": {
"core": {
"tasks": [
"Define driver lifecycle states (uninitialized / ready / failed)",
"Introduce explicit initialization contract in AbstractSecurityGuardDriver",
"Ensure resolver never triggers side-effectful initialization",
"Move all connection logic behind lazy initialization barrier",
"Guarantee drivers do not auto-connect in constructors",
"Ensure all public driver methods are safe before initialization",
"Unify lifecycle behavior across Redis, MySQL, and Mongo drivers"
],
"outputs": [
"src/Drivers/AbstractSecurityGuardDriver.php",
"src/Drivers/RedisSecurityGuard.php",
"src/Drivers/MySQL/MySQLSecurityGuard.php",
"src/Drivers/Mongo/MongoSecurityGuard.php"
]
},
"tests": {
"tasks": [
"Add lifecycle unit tests for all drivers",
"Ensure resolver tests do not require real infrastructure",
"Validate resolver is side-effect free",
"Ensure initialization occurs only on first real operation",
"Add explicit failure semantics for initialization failures"
],
"outputs": [
"tests/Drivers/Lifecycle/",
"tests/Resolver/LifecycleTest.php"
]
},
"examples": { "tasks": [], "outputs": [] }
},
"rules": [
"Resolver must be side-effect free",
"Drivers must be lazy-initialized",
"Initialization logic must exist in exactly one place per driver",
"Public driver API must be safe before initialization",
"No real infrastructure access during resolver tests"
]
},
{
"id": "phase7",
"title": "IntegrationV2 Contracts & Architectural Decision Lock",
"version": "0.0.7",
"status": "in_progress",
"summary": "Lock IntegrationV2 architectural decisions and define explicit host vs library responsibilities.",
"tracks": {
"tests": {
"tasks": [
{
"id": "decision_lock",
"description": "Lock architectural decision: security-guard must not create or migrate schemas",
"status": "pending",
"done_criteria": [
"No CREATE TABLE logic exists in drivers",
"No schema auto-bootstrap exists in the library",
"Decision documented inside IntegrationV2 contract"
]
},
{
"id": "integration_v2_contract_doc",
"description": "Create global IntegrationV2 contract document",
"status": "pending",
"outputs": [
"docs/integration/INTEGRATION_V2_CONTRACT.md"
],
"done_criteria": [
"Redis expectations documented",
"MySQL expectations documented",
"Mongo expectations documented",
"Host vs library responsibilities clearly separated"
]
}
],
"rules": [
"IntegrationV2 is the ONLY source of truth for real infrastructure behavior",
"Infrastructure must be prepared by the host system",
"Library must fail fast and clearly when contracts are violated"
]
}
}
},
{
"id": "phase8",
"title": "IntegrationV2 Real Infrastructure Validation",
"version": "0.0.8",
"status": "pending",
"summary": "Validate Redis, MySQL, and Mongo behavior using real infrastructure with explicit schema contracts.",
"tracks": {
"tests": {
"tasks": [
{
"id": "integrationv2_base",
"description": "Create IntegrationV2 test layer",
"status": "completed"
},
{
"id": "real_infra_validation",
"description": "Validate Redis/MySQL/Mongo real behavior using real infrastructure",
"status": "completed"
},
{
"id": "mysql_schema_contract",
"description": "Define explicit MySQL schema contract",
"status": "pending",
"outputs": [
"tests/IntegrationV2/MySQL/schema.sql"
]
},
{
"id": "mysql_schema_docs",
"description": "Document MySQL schema expectations",
"status": "pending",
"outputs": [
"tests/IntegrationV2/MySQL/README.md"
]
},
{
"id": "mysql_clear_failure",
"description": "Ensure MySQL tests fail clearly when schema is missing",
"status": "pending"
}
]
}
}
},
{
"id": "phase9",
"title": "IntegrationV2 Test Governance & CI Stability",
"version": "0.0.9",
"status": "pending",
"summary": "Eliminate risky tests, validate PHPUnit configuration, and enforce CI stability.",
"tracks": {
"tests": {
"tasks": [
{
"id": "resolver_enforcement",
"description": "Enforce resolver-based adapter creation",
"status": "completed"
},
{
"id": "legacy_deprecation",
"description": "Deprecate legacy integration tests",
"status": "completed"
},
{
"id": "phpunit_exclusion",
"description": "Exclude legacy integration tests from PHPUnit execution",
"status": "completed"
},
{
"id": "phpunit_config_validation",
"description": "Validate PHPUnit configuration integrity",
"status": "pending"
},
{
"id": "risky_test_elimination",
"description": "Eliminate PHPUnit risky integration tests",
"status": "pending"
},
{
"id": "ci_gate_validation",
"description": "Run CI validation gate for IntegrationV2 stability",
"status": "pending"
},
{
"id": "phase_closure",
"description": "Close IntegrationV2 architectural contract phase",
"status": "pending"
}
]
}
}
},
{
"id": "phase10",
"title": "Config Normalization & DTO Injection Layer",
"version": "0.0.10",
"status": "pending",
"summary": "Introduce strict DTO-based configuration model. Eliminate all internal defaults and ensure the library is fully controlled by host-provided configuration.",
"tracks": {
"core": {
"tasks": [
"Design SecurityGuardConfigDTO as the single configuration entry point",
"Design ActionRateLimitConfigDTO",
"Design GlobalRateLimitConfigDTO",
"Design BackoffPolicyConfigDTO",
"Remove all internal default configuration logic",
"Ensure all runtime logic consumes DTOs only"
],
"outputs": [
"src/Config/DTO/SecurityGuardConfigDTO.php",
"src/Config/DTO/ActionRateLimitConfigDTO.php",
"src/Config/DTO/GlobalRateLimitConfigDTO.php",
"src/Config/DTO/BackoffPolicyConfigDTO.php"
]
},
"tests": {
"tasks": [
"Validate DTO acceptance",
"Validate resolver wiring using DTOs"
],
"outputs": []
},
"examples": {
"tasks": [
"Document host-driven configuration injection flow"
],
"outputs": [
"docs/phases/README.phase6.md"
]
}
}
},
{
"id": "phase11",
"title": "Global Rate Limiter Overlay Enforcement",
"version": "0.0.11",
"status": "pending",
"summary": "Introduce a real global rate limiter overlay that executes before all action-level enforcement using a dedicated DTO-based configuration.",
"tracks": {
"core": {
"tasks": [
"Introduce GlobalRateLimiter enforcement layer",
"Ensure global limiter executes before action limiter",
"Ensure global limiter uses GlobalRateLimitConfigDTO only",
"Add explicit source attribution for global violations"
],
"outputs": [
"src/RateLimit/GlobalRateLimiter.php",
"src/Enforcement/EnforcingRateLimiter.php"
]
},
"tests": {
"tasks": [
"Unit tests for global-before-action enforcement order",
"Integration tests using Redis adapter"
],
"outputs": []
},
"examples": {
"tasks": [],
"outputs": []
}
}
},
{
"id": "phase12",
"title": "Backoff Policy Hardening & banTime Integration",
"version": "0.0.12",
"status": "pending",
"summary": "Upgrade exponential backoff logic to a deterministic punishment strategy governed fully by DTO-provided policy, including banTime integration.",
"tracks": {
"core": {
"tasks": [
"Introduce BackoffPolicyInterface",
"Implement ExponentialBackoffPolicy using BackoffPolicyConfigDTO",
"Integrate banTime as a hard cap on calculated delays",
"Remove any implicit backoff assumptions"
],
"outputs": [
"src/Backoff/BackoffPolicyInterface.php",
"src/Backoff/ExponentialBackoffPolicy.php"
]
},
"tests": {
"tasks": [
"Unit tests for backoff calculation",
"Ensure banTime cap is respected"
],
"outputs": []
},
"examples": {
"tasks": [],
"outputs": []
}
}
},
{
"id": "phase13",
"title": "Phase 5 Coverage Completion & Validation",
"version": "0.0.13",
"status": "pending",
"summary": "Complete missing tests for Phase 5 core logic and enforcement layers to ensure production-grade stability.",
"tracks": {
"core": {
"tasks": [
"No production code changes allowed"
],
"outputs": []
},
"tests": {
"tasks": [
"Cover EnforcingRateLimiter logic",
"Cover GlobalRateLimiter enforcement",
"Cover BackoffPolicy behavior",
"Use real Redis adapter only (no mocks)"
],
"outputs": [
"tests/RateLimit/",
"tests/Backoff/"
]
},
"examples": {
"tasks": [],
"outputs": []
}
}
},
{
"id": "phase14",
"title": "Internal API Freeze (No Public Release)",
"version": "0.14.0",
"status": "pending",
"summary": "Freeze internal APIs for stabilization and validation. No public release, no tags, no Packagist publishing.",
"tracks": {
"core": {
"tasks": [
"Lock public API surface",
"Prohibit breaking changes without major version bump",
"Tag stable release"
],
"outputs": [
"CHANGELOG.md",
"README.md"
]
},
"tests": {
"tasks": [
"Final CI validation",
"Coverage threshold enforcement"
],
"outputs": []
},
"examples": {
"tasks": [
"Final integration documentation"
],
"outputs": [
"docs/phases/README.phase10.md"
]
}
}
},
{
"id": "phase15",
"title": "Rate Limiter Bridge",
"version": "0.15.0",
"status": "pending",
"summary": "Integration with maatify/rate-limiter using unified event pipeline.",
"tracks": {
"core": {
"tasks": [
"Design event hooks",
"Implement bridge listener",
"Forward rate-limit violations as SecurityEventDTO"
],
"outputs": [
"src/Bridge/RateLimiterBridge.php"
]
},
"tests": {
"tasks": [
"Flood attack testing"
],
"outputs": []
},
"examples": {
"tasks": [
"Manual integration support",
"Documentation"
],
"outputs": [
"docs/phases/README.phase6.md"
]
}
}
},
{
"id": "phase16",
"title": "Audit DTO & Storage",
"version": "0.16.0",
"status": "pending",
"summary": "Introduce audit event DTO and base storage abstraction.",
"tracks": {
"core": {
"tasks": [
"Create AuditEventDTO",
"Define AuditStorageInterface",
"Implement base audit repository via maatify/data-adapters"
],
"outputs": [
"src/Audit/AuditEventDTO.php",
"src/Audit/Contracts/AuditStorageInterface.php"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase17",
"title": "Mongo Audit Forwarding",
"version": "0.17.0",
"status": "pending",
"summary": "Forward unified audit events into MongoDB collections.",
"tracks": {
"core": {
"tasks": [
"Create Mongo audit driver",
"TTL index setup",
"Fallback handling via resolver"
],
"outputs": [
"src/Audit/Drivers/MongoAuditDriver.php"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase18",
"title": "Audit History API",
"version": "0.18.0",
"status": "pending",
"summary": "Expose security audit history.",
"tracks": {
"core": {
"tasks": [
"Audit query service",
"Pagination",
"Date range filtering"
],
"outputs": [
"src/Audit/AuditHistoryService.php"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase19",
"title": "Audit Filters & Indexes",
"version": "0.19.0",
"status": "pending",
"summary": "Advanced filtering and indexing.",
"tracks": {
"core": {
"tasks": [
"IP filtering",
"User type filtering",
"Composite indexes"
],
"outputs": [
"docs/phases/README.phase10.md"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase20",
"title": "PSR Logger Integration",
"version": "0.20.0",
"status": "pending",
"summary": "Structured logging for security actions.",
"tracks": {
"core": {
"tasks": [
"Inject PSR logger",
"Log block/unblock actions",
"Log suspicious patterns"
],
"outputs": [
"src/Logging/SecurityLogger.php"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase21",
"title": "Telegram Alerts",
"version": "0.21.0",
"status": "pending",
"summary": "Real-time alerts via Telegram bot.",
"tracks": {
"core": {
"tasks": [
"Telegram notifier",
"Configurable alert channels",
"Critical alert levels"
],
"outputs": [
"src/Alerts/TelegramAlertService.php"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase22",
"title": "Webhook Dispatcher",
"version": "0.22.0",
"status": "pending",
"summary": "Generic webhook dispatcher.",
"tracks": {
"core": {
"tasks": [
"Webhook payload schema",
"POST dispatcher",
"Async retry policy"
],
"outputs": [
"src/Webhook/WebhookDispatcher.php"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase23",
"title": "Retry Engine & Delivery Tests",
"version": "0.23.0",
"status": "pending",
"summary": "Reliable delivery system.",
"tracks": {
"core": {
"tasks": [
"Retry queue",
"Backoff strategy",
"Failure simulations"
],
"outputs": []
},
"tests": {
"tasks": [],
"outputs": [
"tests/Webhook/RetryTest.php"
]
},
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase24",
"title": "Monitoring APIs",
"version": "0.24.0",
"status": "pending",
"summary": "Monitoring endpoints and admin API controls.",
"tracks": {
"core": {
"tasks": [
"Health endpoint",
"Stats endpoint",
"Manual unblock API"
],
"outputs": [
"src/Monitoring/SecurityMetricsService.php"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase25",
"title": "Unit Consistency Tests",
"version": "0.25.0",
"status": "pending",
"summary": "Validate driver parity.",
"tracks": {
"core": { "tasks": [], "outputs": [] },
"tests": {
"tasks": [
"Driver parity tests",
"Edge case consistency"
],
"outputs": [
"tests/Consistency/"
]
},
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase26",
"title": "Attack Simulations",
"version": "0.26.0",
"status": "pending",
"summary": "Simulate distributed and burst attacks.",
"tracks": {
"core": { "tasks": [], "outputs": [] },
"tests": {
"tasks": [
"Multi-IP brute force",
"Burst login attempts"
],
"outputs": [
"tests/Simulation/"
]
},
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase27",
"title": "Redis & Mongo Stress",
"version": "0.27.0",
"status": "pending",
"summary": "High-load performance stress tests.",
"tracks": {
"core": { "tasks": [], "outputs": [] },
"tests": {
"tasks": [
"Redis load",
"Mongo TTL stress"
],
"outputs": [
"tests/Stress/"
]
},
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase28",
"title": "Coverage Hardening",
"version": "0.28.0",
"status": "pending",
"summary": "Achieve stable 85%+ coverage.",
"tracks": {
"core": { "tasks": [], "outputs": [] },
"tests": {
"tasks": [
"Coverage gap analysis",
"Critical path coverage enforcement"
],
"outputs": [
"coverage/"
]
},
"examples": { "tasks": [], "outputs": [] }
}
},
{
"id": "phase29",
"title": "Documentation & Packagist Release",
"version": "0.29.0",
"status": "pending",
"summary": "Finalize documentation & release.",
"tracks": {
"core": {
"tasks": [
"README.md",
"CHANGELOG.md",
"Phase documentation",
"Packagist publishing",
"Integration validation"
],
"outputs": [
"README.md",
"CHANGELOG.md"
]
},
"tests": { "tasks": [], "outputs": [] },
"examples": { "tasks": [], "outputs": [] }
}
}
],
"testing_policy": {
"phpunit": "latest",
"phpstan": "level-max",
"psr": ["PSR-4", "PSR-12", "PSR-3", "PSR-14 (events)"],
"rules": [
"Legacy integration tests must not run in CI",
"IntegrationV2 tests require real infrastructure",
"Unit tests may use data-fakes",
"Coverage tests must not rely on real infrastructure",
"No test exists to make CI green; tests exist to protect production"
]
}
}