Files
compras/docs/proofs/draft-preparation.json
T
nala efd97e265b
tests / ci (push) Canceled after 0s
commit melhorias compras3
2026-11-22 10:56:58 +02:00

42 lines
2.8 KiB
JSON

{
"date": "2026-11-22",
"status": "installed_in_pilot_with_specific_authorization_visual_acceptance_pending",
"authorization": "draft-preparation-pilot-authorization.json",
"installation": "draft-preparation-pilot-installation.json",
"pilot_http": "draft-preparation-pilot-http.json",
"behavior": [
"Incomplete input is saved against the existing native requisition, using the same owner, version, operation receipts and audit",
"Unknown header and money values remain NULL, never zero or invented defaults",
"Recover the saved partial lines in the editor; completion clears draft_input and reuses native exact calculations",
"Submission rejects incomplete input before creating approvals or budget reservations",
"PostgreSQL check constraint prevents direct progression of incomplete records into pending or approved states",
"Earlier complete catalogue line identities are retained during partial edits, but are hidden as current line values until preparation is completed",
"Provided invalid values, cross-company cost centres, foreign authors and stale versions remain rejected",
"Rollback refuses to discard incomplete preparation; no automatic restoration over later user data"
],
"search_expansion": {
"sources": ["requests", "orders", "suppliers", "equipment", "stock", "warehouses", "receipts"],
"native_permissions_and_department_scope": true,
"pilot_read_only_http_proof": "search-expansion-http.json",
"frontend_description_update_in_private_candidate": true
},
"validation": {
"postgres_integrated": {"passed": 52, "assertions": 1347, "isolated_database_removed": true, "log": "storage/logs/draft-preparation-pg-final.txt"},
"sqlite_drafts_and_automatic_purchases": {"passed": 26, "skipped_postgres_specific_constraint_test": 1, "assertions": 308, "log": "storage/logs/draft-preparation-sqlite-final.txt"},
"frontend": {"passed": 126, "files": 23, "log": "storage/logs/draft-preparation-frontend.txt"},
"typescript": "passed",
"phpstan": "passed: zero errors",
"frontend_scoped_format_and_lint": "passed",
"private_build": "passed: draft-preparation-candidate-20261122",
"diff_check": "passed"
},
"migration_safety": {
"existing_postgresql_rows_preserved_in_round_trip": true,
"legacy_validation_retained_while_column_is_absent": true,
"sqlite": "Only empty test schemas are migrated. Populated SQLite schema changes are refused before mutation to preserve foreign references; populated migration is tested on operational PostgreSQL."
},
"proposal": "draft-preparation-pilot-proposal.json",
"pending": ["real browser interaction and back/forward preservation", "global search remaining sources and saved searches", "remaining advanced analytics", "mobile and print preview", "enterprise acceptance"],
"pilot_business_operations_performed": false
}