32 lines
1.8 KiB
JSON
32 lines
1.8 KiB
JSON
|
|
{
|
||
|
|
"task_id": "CODE-DEDUP-ACTIONS-001",
|
||
|
|
"verdict": "pass",
|
||
|
|
"checked_criterion_ids": ["SC-001", "SC-002", "SC-003", "SC-004"],
|
||
|
|
"checks": [
|
||
|
|
{
|
||
|
|
"criterion_id": "SC-001",
|
||
|
|
"criterion": "AuditMetadataEnricher exists in lib/Service/Audit/ and is used by all 4 edit actions instead of inline created_by/modified_by resolution.",
|
||
|
|
"result": "pass",
|
||
|
|
"evidence": "execution-report.changed_files lists lib/Service/Audit/AuditMetadataEnricher.php plus all 4 edit actions as refactored; execution-report.commands includes the SC-001 rg check with result pass."
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"criterion_id": "SC-002",
|
||
|
|
"criterion": "GridUserCountEnricher exists in lib/Service/Data/ and is used by all 3 data endpoints instead of inline count aggregation.",
|
||
|
|
"result": "pass",
|
||
|
|
"evidence": "execution-report.changed_files lists lib/Service/Data/GridUserCountEnricher.php plus all 3 data endpoints as refactored; execution-report.commands includes the SC-002 rg check with result pass."
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"criterion_id": "SC-003",
|
||
|
|
"criterion": "No inline audit-label or user-count-aggregation logic remains in pages/ action files.",
|
||
|
|
"result": "pass",
|
||
|
|
"evidence": "execution-report.commands includes the SC-003 inline-pattern grep check with result pass ('rg created_by_label.*=.*trim pages/')."
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"criterion_id": "SC-004",
|
||
|
|
"criterion": "PHPUnit, PHPStan, Architecture Contract, and CS checks pass green; zero new failures introduced by this task (pre-existing failures are out of scope).",
|
||
|
|
"result": "pass",
|
||
|
|
"evidence": "execution-report.quality_gate_results marks QG-001, QG-002, QG-003, and QG-006 as pass, and execution-report.commands marks all corresponding commands as pass; notes explicitly classify remaining issues as pre-existing and not introduced by this task."
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|