Files
SGF/docs/proofs/stock-period-report-20261103.json
T
2026-11-04 09:37:20 +02:00

278 lines
13 KiB
JSON

{
"date": "2026-11-03T21:07:36.428Z",
"increment": "SGF-STOCK-PERIOD-REPORT-QA-v1",
"passed": true,
"functional_code": true,
"checks": 52,
"tests": {
"api": {
"file": "private/receipt-composition-1c6d78bf0bf8/stock-period-result.json",
"sha256": "1b37de8a6c6efed5bcc2d19e1e003b920286c8d5a4d2bf022c29bcba505a5f4b",
"checks": 28,
"result": {
"passed": true,
"checks": [
"period report groups105 eligible pairs and returns only25 rows",
"stable reference admits period page1",
"stable reference admits period page2",
"stable reference admits period page3",
"stable reference admits period page4",
"stable reference admits period page5",
"all period pairs are reachable once without pagination overlap",
"UTC boundary includes first midnight and last second but excludes next midnight",
"same article in another mapped warehouse has its own opening and closing",
"opening-only pair remains visible without inventing period movements or mixing units",
"SQL numeric sums remain exact beyond JavaScript safe integers",
"future-only foreign tenant and unmapped warehouse pairs are absent",
"pages100 and5 cover the same report universe",
"period search treats percent and underscore literally",
"warehouse filter applies to opening entries issues and closing together",
"explicit unmapped and foreign warehouse filters are refused",
"reversed impossible dates and excessive page size are rejected",
"period requires explicit dates and legacy views reject report-only fields",
"date or page-size change cannot reuse another report reference",
"tampered report reference is rejected",
"Purchasing authority alone cannot read the physical period report",
"Purchasing module context cannot bypass Stock report isolation",
"another unit cannot reuse the report binding",
"new session context invalidates an older report reference",
"all report reads leave fixture metadata movements audit and grants unchanged",
"new append invalidates a previously observed report",
"new reference recovers the updated exact physical closing",
"report fixture and reads produce no business receipt invoice obligation or payment"
],
"period_pairs": 105,
"page_sizes": [
25,
100
],
"fixture": {
"passed": true,
"second": 3,
"excluded": 4,
"opening_only": 3,
"large": 4,
"future": 5,
"report_pairs": 105,
"fixture_movements": 114,
"business_workflow_claim": false
},
"read_fingerprint_before": "37a1b59474ed430dd13282f241941d59e8f080901b136e8bb8094cbcf7877e25",
"read_fingerprint_after_before_explicit_append": "37a1b59474ed430dd13282f241941d59e8f080901b136e8bb8094cbcf7877e25",
"explicit_revision_fixture_appends": 1,
"sql_fixture_not_workflow": true,
"business_commands": 0,
"visual_review": false
}
},
"ui": {
"file": "private/receipt-composition-1c6d78bf0bf8/stock-period-ui.json",
"sha256": "c6848eb11322dffd0e7262340480882e6dc3242047a538261b12f7fb4c39097c",
"checks": 12,
"result": {
"passed": true,
"checks": [
"starting another period immediately clears stale rows errors and enters loading",
"report request preserves dates literal search warehouse page and reference",
"successful active read supplies the current result without a business command",
"older period response cannot replace rows or release a newer loading state",
"newest period response owns the visible result",
"rejected reference shows an error without retaining previous report rows",
"late failure after cancellation cannot overwrite another context message",
"actual report form requires an explicit period without choosing dates or fetching on mount",
"actual report explains registration time current metadata and physical-only scope",
"actual report table renders exact three-decimal quantities beyond JS safe integer limits",
"actual report preserves each unit and does not invent a grand quantity total",
"actual report labels all four reconciliation quantities"
],
"react_render": true,
"async_race_simulation": true,
"business_commands": 0,
"visual_review": false
}
},
"queries": {
"file": "private/receipt-composition-1c6d78bf0bf8/stock-period-queries.json",
"sha256": "041984d9c8a7bfeb5a8a096bda6dd6c4897fc524bb72c6c11f0927143a28419f",
"checks": 2,
"result": {
"passed": true,
"checks": [
"projection SELECT count is independent of page size25/100 and bounded by6",
"projection materialises only the requested25/100 report rows"
],
"select_queries": {
"25": 5,
"100": 5
},
"returned_rows": {
"25": 25,
"100": 100
},
"scope": "direct projection only; authentication/middleware/physical-source checks excluded",
"sustained_load": false,
"deployment_capacity_validated": false
}
},
"guards": {
"file": "private/receipt-composition-1c6d78bf0bf8/stock-period-guards.json",
"sha256": "980cab714afff497a28449ae2268031c8cd7fb41b4303ed44d3d44121177ed8c",
"checks": 3,
"result": {
"passed": true,
"checks": [
"expired report reference requires refresh",
"future-dated report reference is refused",
"disabled report refuses before selecting a context or source"
],
"scope": "direct report/adapter probes, not middleware",
"business_commands": 0,
"visual_review": false
}
},
"demo": {
"file": "private/receipt-composition-cc50a276c10c/stock-period-demo.json",
"sha256": "bee8528d7e2d971e44c4f944036ce6ef86f7c8b5890d69cbbe896fa03fe20ec7",
"checks": 7,
"result": {
"passed": true,
"checks": [
"new demo starts without main requests or physical fixtures",
"existing session enables the period report only in its QA composition",
"empty source supplies an authorised empty report without invented zero balances",
"existing current-balance view remains available without report date parameters",
"existing React shell is served for report navigation",
"served report bundle matches the local build manifest",
"demo report reads preserve metadata stock audit and grants"
],
"before": "89a598405da503fc59f205987080d51dc9ef7f46a20a6b5c213042ff542a5396",
"after": "89a598405da503fc59f205987080d51dc9ef7f46a20a6b5c213042ff542a5396",
"business_commands": 0,
"visual_review": false
}
}
},
"sources": [
{
"file": "app/Modules/Inventory/StockPeriodReport.php",
"sha256": "d491541c6c60bc0c661dc442b8db8ce2e757f1d63dfc4982a3631f820cfb7a06"
},
{
"file": "app/Modules/Inventory/CompositionStockRead.php",
"sha256": "01c558457df290879bdf6c7f8de8cd9efccad81b940731f0aaf2489cf02bfcf7"
},
{
"file": "app/Modules/Identity/Services/IdentityWorkflow.php",
"sha256": "be1f044a20f8847134fac8c8092c7b5322d169f616207b4d986a1a4dfff58b4e"
},
{
"file": "config/receipt_qa.php",
"sha256": "78193f0646d726628b66a3458f77ce53d1c4a9bf817dd84b41ced7573d1f790e"
},
{
"file": "resources/js/StockPeriodReportWorkspace.jsx",
"sha256": "a03fa2fde5f7cc17cff4349d87feffe465888cea77bc0dfa62029bc92755ccbd"
},
{
"file": "resources/js/stock-period-request.js",
"sha256": "bfa2644100ee89e83c005c339b5110ce41cb090c843423b356e8098b76baebda"
},
{
"file": "resources/js/StockMenuWorkspace.jsx",
"sha256": "8dcfe2cef641744cab073df8f2e9477c5cf2e8d39cfc51f1fb58e94cab700219"
}
],
"unchanged_authority": [
{
"file": "packages/inventory-read/src/InventoryReader.php",
"sha256": "9b0591600da07719d655324ccf0b740f06de07db2806540684c9730d048e44b6"
},
{
"file": "packages/inventory-read/src/InventoryReadSession.php",
"sha256": "e5ea1ec6771e34478367218d73ba1d1d90464ddc87d1c5fa3d679622ffb81111"
},
{
"file": "app/Modules/Purchasing/ReceiptRuntime.php",
"sha256": "9b426476b2805094fb317cc753385ef43882fb4964883e880eac287eed89d9e0"
},
{
"file": "app/Modules/Purchasing/ReceiptController.php",
"sha256": "0226b354db20a0eab19598ff35dbb35e0fa7f117de0c477e0b870159024d49df"
},
{
"file": "app/Modules/Purchasing/StockReceiptTraceController.php",
"sha256": "33238278600f358265211212949cea4cbe511ddec6225f3c9c5e902d03136594"
},
{
"file": "resources/js/app.jsx",
"sha256": "d0d3db22cfd3121e4c674285285f4ae45360c6e70a582f016997bbd6679334ab"
},
{
"file": "resources/js/context-transition.js",
"sha256": "3d76e21eca185ae97c1a6a6f5965ab33c242a28391c8c50f5af30dfc0a4a3c6a"
},
{
"file": "app/Shared/Context/ModuleNavigation.php",
"sha256": "397d7a4af7d16547ff60ea20a6733aa994d98a6ecf0cbca4b1437da14c3c55a1"
}
],
"existing_physical_source_and_permission_guard_unchanged": true,
"pinned_native_manifests": {
"bundle": "7709a3d447d54c17d2fb4be4f9a0f70455c4a38c34e4bb8c643f6b5169071556",
"economic": "8b2d3aa61054e0edc54fcd818467eb2bacb5e1178f903b12ab44119e0f2e8d2e",
"internal": "2343af71f72259dd705f4cc3a3b163c90edf331a5b6ebe173531aeb341649e1b"
},
"build": {
"manifest_sha256": "8f0650b1ef61c6492b7c1205b63efcb66de5594b172365829ece8e1c328e33e5",
"entry_sha256": "aa39cb22206a2fa51e0fff5e1d136f221e8798da602e11fa2cd60fb9d6aeab0c"
},
"demo": {
"port": 8085,
"entry": "http://127.0.0.1:8085/qa/enter/validator?module=stock&open=1",
"navigate": "Stock > Relatórios > Movimentos de stock",
"initial_main_requests": 0,
"initial_movements": 0
},
"prior_proofs_preserved": [
{
"file": "docs/proofs/stock-receipt-trace-20261103.json",
"sha256": "29ffe0d5e588af175d926444e84faa655560999dfcff58dcf8eb37a3423f07b7"
},
{
"file": "docs/proofs/stock-composed-source-20261103.json",
"sha256": "7f1fc61962e68b1676fad694068761158edc41623dee73238b012c37da593caa"
},
{
"file": "docs/proofs/module-association-consolidation-summary-20261102.json",
"sha256": "8f693f39763ee21a22ebd3929d95ba1480f339eca18742fa53055c69eb5219ef"
}
],
"preservation": {
"installed_purchasing_sha256": "81899e531e9eec449717e694d8bdc106a9e220a828f5491ce918c1d2dc612787",
"new_permission_names": [],
"new_real_grants": false,
"stock_reader_grants_widened": false,
"source_package_modified": false,
"new_source_or_target_indexes": false,
"target_database_connected": false,
"protected_six_records_changed": false,
"blocked_cache_cleared": false,
"previous_demo_data_written": false,
"publication": false,
"checkpoint": false
},
"limitations": [
"UTC registration timestamps are used, not effective receipt dates. Deployment must validate the source timestamp convention; current QA source application is configured UTC.",
"Opening/entries/issues/closing are quantities per article and warehouse. Current item/warehouse metadata are shown; no cross-unit grand total, valuation, reservation, blocked or available quantity is inferred.",
"105 eligible pairs with114 initial SQL fixture movements; one explicit additional append verifies reference invalidation. These fixtures are not business receipts, stock-operation workflow proofs or financial transactions.",
"Existing receipt and Stock-trace proofs are reused without rerunning commands or suites.",
"Five projection SELECTs were observed for both25 and100 rows. This excludes host authentication, middleware and source-identity checks, and is not sustained load, memory profiling or deployment capacity evidence.",
"SQL aggregates examine the authorised history to the closing boundary with a3-second statement timeout; only the requested page is materialised in PHP. Large histories may time out and require later measurement.",
"12 UI checks use asynchronous reply simulation and actual React server rendering; no browser visual proof. New report dates are selected explicitly.",
"Three guards are direct report/adapter probes, not middleware. A harness bootstrap initially loaded duplicate copies of an unchanged reader class; corrected by loading the adapter bootstrap once before those guards.",
"Document-level period export/printing, historical names, other Stock reports, visual review, accessibility, sustained load and operational deployment remain pending."
],
"visual_review_pending": true,
"deployment_capacity_validated": false
}