2026-03-15 09:22:39 -05:00
# Changelog
This file is the running release and change log for MRP Codex. Keep it updated whenever shipped functionality, architecture expectations, deployment behavior, or operator-facing workflows materially change.
## Unreleased
### Added
2026-03-15 21:07:28 -05:00
- Revision comparison views for sales quotes, sales orders, and purchase orders with field- and line-level before/after diffs
- Purchase-order revision snapshots covering document edits, status changes, and receipt posting
2026-03-15 19:40:35 -05:00
- Session review cues on admin auth sessions, including flagged stale activity, multi-session counts, and multi-IP warnings
- Session filters and text search for admin-side access review across user, email, IP, user agent, and review reasons
2026-03-15 21:07:28 -05:00
- Support-log filtering by severity, source, search text, and retention window in admin diagnostics
- Support-log export and support-snapshot export now carry filter context, summary counts, available sources, and retention metadata
2026-03-15 18:59:37 -05:00
- Shared destructive-action confirmation dialog with impact and recovery guidance for high-risk operational actions
- Typed confirmation for sensitive admin actions such as account deactivation, current-session revocation, and terminal manufacturing/inventory postings
2026-03-15 19:22:20 -05:00
- Destructive-action confirmation and recovery coverage for sales approvals, quote conversion, purchase receiving, purchase status changes, and shipment status changes
2026-03-15 19:40:35 -05:00
- Destructive-action confirmation coverage for project customer/document unlinking and embedded form-row removals in sales, purchasing, inventory, and warehouse editors
2026-03-15 18:59:37 -05:00
- Persisted auth-session tracking with admin visibility into active, expired, and revoked sign-ins
- Admin-side session revocation controls plus server-side logout that invalidates the current JWT-backed session
2026-03-15 16:40:25 -05:00
- Shared shortage and readiness rollups across dashboard, planning, project detail, purchasing detail, and manufacturing detail
- Prefilled work-order draft launch for build recommendations and prefilled purchase-order draft launch for buy recommendations from sales-order demand planning
2026-03-15 15:45:29 -05:00
- Sales-order demand planning with multi-level BOM explosion across manufactured and assembly children
- Netting of sales-order demand against available stock, active reservations, open work orders, and open purchase orders
- Build and buy recommendations surfaced directly on sales-order detail pages
2026-03-15 16:40:25 -05:00
- Pegged work-order and purchase-order supply tracking back to sales demand so reopened planning views do not overstate remaining recommendations
- Preferred-vendor sourcing on inventory items, used to preseed buy-side planning workflows
- Demand-planning recommendations now reduce against existing linked WO/PO supply and support safer partial conversion behavior
2026-03-15 15:21:27 -05:00
- Support-log capture for startup warnings, HTTP failures, and server errors, surfaced through admin diagnostics
- Exportable support bundles that now include backup guidance and recent support logs for support handoff
- Deeper startup diagnostics with writable-path checks, database-file validation, startup timing, and pass/warn/fail rollups
- Backup verification checklist and restore-drill runbook surfaced in admin diagnostics
2026-03-15 15:04:18 -05:00
- Backup/restore guidance surfaced in admin diagnostics with exportable support snapshot JSON for support handoff
2026-03-15 14:57:41 -05:00
- CRM customer/vendor changes and shipping mutations now feed the shared audit trail
- Startup validation now runs during server boot and surfaces readiness checks in admin diagnostics
2026-03-15 14:47:58 -05:00
- Admin user-management screen with account creation, activation control, role assignment, and role-permission editing
- Route-level lazy loading and vendor chunking across the client so major operational modules no longer ship in the initial bundle
2026-03-15 14:11:21 -05:00
- Persisted audit events for core settings, inventory, purchasing, sales, project, and manufacturing write actions
- Admin diagnostics page with runtime footprint, storage-path visibility, key record counts, and recent audit activity
2026-03-15 14:00:12 -05:00
- Inventory transfers with paired physical stock movement posting between warehouses and locations
- Manual inventory reservations plus automatic work-order-driven component reservations
- Reserved and available stock visibility on inventory item detail and stock-by-location views
2026-03-15 12:11:46 -05:00
- Manufacturing stations with queue-day definitions and item-level station/time operation templates
- Automatic work-order operation plans copied from buildable item routing into planning/gantt
- Live planning gantt timelines backed by active projects and open manufacturing work orders
- Planning summary metrics and exception cards for overdue or at-risk project/manufacturing schedule items
2026-03-15 11:44:14 -05:00
- Sales approval actions with approved-by/approved-at stamps on quotes and sales orders
- Automatic sales-document revision history with authored reasons and per-revision snapshots
2026-03-15 10:13:53 -05:00
- Projects domain foundation with customer, owner, due date, priority, notes, and attachment support
- Project linkage to sales quotes, sales orders, and shipments for cross-module delivery tracking
- Project list/detail/create/edit workflows and app-shell navigation entry
- Dashboard project widgets for active, at-risk, and overdue program visibility
2026-03-15 11:12:58 -05:00
- Manufacturing foundation with work orders, optional project linkage, work-order attachments, and app-shell navigation entry
- BOM-based manufacturing requirement visibility plus material issue and completion posting through inventory transactions
- Dashboard manufacturing widgets for released, active, and overdue work visibility
2026-03-15 11:30:10 -05:00
- Purchase-order supporting documents for vendor invoices, acknowledgements, certifications, and procurement backup files
- Vendor-detail purchasing visibility with recent purchase-order activity and PO launch shortcuts
2026-03-15 09:25:37 -05:00
### Changed
2026-03-15 21:26:08 -05:00
- Fresh bootstrap now creates only minimal system records; operational domains no longer start with seeded demo customers, vendors, inventory, BOMs, or warehouses
2026-03-15 21:07:28 -05:00
- Sales and purchasing detail pages now expose revision comparison directly alongside chronological revision history
2026-03-15 19:40:35 -05:00
- `ROADMAP.md` now tracks remaining work only, and shipped phase history now lives in `SHIPPED.md`
2026-03-15 21:07:28 -05:00
- Support logs now prune retained entries by age instead of only trimming by count, and admin diagnostics now reviews filtered support-log summaries instead of an unbounded flat dump
2026-03-15 19:40:35 -05:00
- Admin diagnostics now summarizes sessions that need review, and startup now prunes old expired or revoked auth-session records
- Admin, sales, purchasing, shipping, inventory, manufacturing, project, warehouse, and attachment workflows now use explicit destructive-action confirmation and recovery messaging instead of immediate irreversible clicks
2026-03-15 18:59:37 -05:00
- Admin operations now combine user management with live session visibility so operators can inspect and revoke sign-ins without changing user records
- JWT authentication now validates against persisted session records and inactive users lose access immediately instead of waiting for token expiry
2026-03-15 10:13:53 -05:00
- The dashboard now treats Projects as a live first-class module alongside CRM, inventory, sales, and shipping
2026-03-15 11:12:58 -05:00
- The dashboard now treats Manufacturing as a live first-class module alongside CRM, inventory, sales, shipping, and projects
2026-03-15 12:11:46 -05:00
- The dashboard now treats Planning as a live first-class module with direct gantt access from the landing page
2026-03-15 14:00:12 -05:00
- Inventory control now distinguishes on-hand, reserved, and available stock instead of treating all positive stock as fully free
2026-03-15 12:11:46 -05:00
- Manufacturing and inventory now share a routing-driven workflow where assemblies/manufactured parts define station/time templates and work orders inherit them automatically
2026-03-15 11:44:14 -05:00
- Sales quote and sales-order detail pages now surface approval state and revision history directly in the operational workflow
2026-03-15 11:30:10 -05:00
- Project editing now uses searchable pickers for customer, owner, quote, sales-order, and shipment linkage instead of static operational dropdowns
- Project detail now surfaces linked work orders and can launch pre-seeded manufacturing records
- Purchase-order detail now links back to the vendor CRM record and supports direct supporting-document management on the PO itself
- Vendor CRM detail now exposes purchasing activity and can launch pre-seeded purchase orders
2026-03-15 14:47:58 -05:00
- The client entry bundle now stays lighter by loading major modules on demand instead of importing all route pages eagerly in `main.tsx`
- Company settings now acts as the staging area for admin surfaces while user administration lives on its own dedicated page instead of inside the company-profile form
2026-03-15 14:57:41 -05:00
- Admin diagnostics now includes startup-readiness status alongside runtime footprint and recent audit activity
2026-03-15 15:21:27 -05:00
- Admin diagnostics now includes structured startup summaries and a dedicated support-log view for faster debugging
2026-03-15 15:45:29 -05:00
- Roadmap and project docs now treat demand planning and supply generation as its own phase ahead of the deferred admin QOL work
2026-03-15 15:04:18 -05:00
- Roadmap and project docs now treat backup verification checklist and restore drill guidance as the next active priority after the backup/support-tooling slice
2026-03-15 16:40:25 -05:00
- Manufacturing work-order material requirements now include live available/shortage visibility instead of only required-versus-issued math
- Roadmap and project docs now move back to admin session visibility and destructive-action safety after the demand-planning rollout
2026-03-15 09:25:37 -05:00
## 2026-03-15
### Added
- Dashboard foundation followed by live-data dashboard cards and operational summary widgets
- Purchase-order domain foundation with searchable vendor and SKU workflows
2026-03-15 09:22:39 -05:00
- Purchase receiving foundation tied to purchase orders, including warehouse/location receipt posting, receipt history, and per-line received and remaining quantity tracking
- Branded quote, sales-order, and purchase-order PDFs through the shared backend Puppeteer document pipeline
2026-03-15 09:25:37 -05:00
- Navigation icon support for top-level modules
2026-03-15 09:22:39 -05:00
### Changed
- Purchasing detail workflows now support operational receiving directly from the purchase-order record
- Sales and purchasing detail pages now expose one-click PDF rendering actions
2026-03-15 09:25:37 -05:00
- Dashboard direction and project instructions were tightened through new documentation guidance
2026-03-15 09:22:39 -05:00
- Roadmap and project docs now treat shipping/logistics documents as the next active priority after receiving and commercial PDFs
2026-03-15 09:25:37 -05:00
### Fixed
- Purchase-order follow-up fixes after the initial purchasing rollout
- PDF rendering and document-pipeline fixes after the first document commits
- General refinement pass across active workflows after the initial March 15 feature wave
2026-03-15 09:22:39 -05:00
## 2026-03-14
### Added
2026-03-15 09:25:37 -05:00
- Initial MRP foundation scaffold
- Docker build and runtime foundation, plus Unraid deployment guidance
- Prisma setup, migration fixes, npm/workspace fixes, and supporting JS/runtime cleanup
- Auth/RBAC foundation, dark mode support, and early UI cleanup
- CRM foundation through customer/vendor records, hierarchy, contacts, lifecycle metadata, images, and final CRM polish
- Inventory foundation through item master, BOMs, warehouses, stock locations, searchable SKU flows, and inventory detail refinements
- Dense workspace and compact UI passes across the active product surface
- Sales foundation with searchable document entry, conversion actions, default cost/price support, and totals/commercial logic
- Shipping foundation with sales-order linkage and packing-slip PDFs
- Company-profile and document PDF foundation with subsequent documentation updates
### Changed
2026-03-15 09:22:39 -05:00
- Inventory default-price support flowing into sales documents
- Purchase-order line restrictions to purchasable inventory items only
2026-03-15 09:25:37 -05:00
- Search and focus behavior received follow-up fixes during CRM/inventory/sales rollout
- Documentation was expanded repeatedly as the foundation scope grew
### Fixed
- Prisma reliability and workspace setup issues discovered during the first foundation build-out
- SKU picker and autocomplete issues during inventory rollout
- Focus and autosuggest regressions during dense operational form work
2026-03-15 09:22:39 -05:00
### Known follow-up areas
- Shipping labels, bills of lading, and logistics attachments
- Vendor invoice/supporting-document attachments
- Sales approvals and document revision history
- Projects, manufacturing execution, and planning depth