commit melhorias sgf

This commit is contained in:
2026-11-11 09:00:17 +02:00
parent 0b05a1192c
commit 1d11a5e57b
736 changed files with 40746 additions and 210 deletions
+2
View File
@@ -0,0 +1,2 @@
<?php
require __DIR__.'/sgf-fiscal-rules-proof-bootstrap.php';$count=$host->table('fr_events')->count();$input=$ruleInput('prepare',0,$def(1),null,'QA-INPUT-NORMALIZATION');$input['revision']='0';$p=$rulePreview(13,$input);$ok($p['impact']['after']['revision']===1,'validated numeric revision normalized before compare');$selectRule(13);$reject(fn()=>$rules->receipt(13,str_repeat('-',36)),422,'malformed36-character key rejected before UUID query');$ok($host->table('fr_events')->count()===$count,'input checks do not persist rule events');file_put_contents($work.'/fiscal-rules-input.json',json_encode(['passed'=>true,'checks'=>$checks,'business_commands'=>0],JSON_PRETTY_PRINT));echo json_encode(['passed'=>true,'checks'=>count($checks),'proof'=>$work.'/fiscal-rules-input.json']).PHP_EOL;