Can I define a product entirely through chat?
Yes. Ask MESkit can create part numbers, add BOM entries, configure serial algorithms, and design routes with steps — all through natural language commands.
Release notes
MESkit M3 ships Configure Mode: full product definition through UI or natural language, with 15 new tools, a three-panel editor, and live cross-tab updates.
2-4 sentence snapshot for quick retrieval.
Milestone 3 adds Configure Mode to MESkit — the product and process definition layer. Users can create part numbers, assemble bills of materials, configure serial number algorithms, and design multi-step manufacturing routes. All operations work through both the UI and Ask MESkit via natural language. 15 new tools power the feature, and Supabase Realtime keeps every browser tab in sync.
Configure Mode is the second functional mode in MESkit, following Build Mode (M2). Where Build Mode handles the physical shop floor — lines, workstations, and machines — Configure Mode handles the product and process layer: what you manufacture, what it is made of, how units are serialized, and which path they follow through the shop floor.
The milestone delivers a complete product definition workflow. Users create part numbers (product definitions), attach bills of materials with items and quantities, configure serial number algorithms with prefix and padding, and design manufacturing routes with ordered steps assigned to workstations. Each step can optionally be a pass/fail quality gate.
Every operation is available through both the three-panel UI and the Ask MESkit chat interface. The same 15 typed tools serve both paths, maintaining the unified architecture established in M1.
M3 adds 15 tools to the MESkit tool layer, replacing the stubs created during the M1 scaffold. The tools cover five entity types: part numbers (list, create, update, delete), items (list, create), BOM entries (get, set as upsert, delete), routes (list, create, update, delete), and serial algorithms (configure as upsert, get).
Each tool follows the established pattern: a Zod schema for input validation, an async execute function against Supabase, and registration in the central tool registry. Ask MESkit has access to all 15 tools, and context injection now includes the selected part number and route so it can scope its actions.
Route creation handles the multi-table insert (route + steps) with cleanup on failure — if step insertion fails, the orphaned route is deleted. Serial algorithm configuration uses an upsert pattern since it has a 1:1 relationship with part numbers. BOM entry setting checks for existing entries on the same part number and item combination, updating quantity and position rather than creating duplicates.
The UI follows the same three-panel layout established in Build Mode. The left panel lists part numbers with inline rename and delete. The center panel shows the selected product's detail: a BOM section where users add items from a dropdown (or create new items inline) with quantities, and a serial algorithm section with prefix, digit count, and a live preview of the generated format.
The right panel is the route designer. Users create named routes, then expand them to add, reorder, or remove steps. Each step is assigned to a workstation via a dropdown populated from Build Mode, and has a pass/fail gate toggle shown as a shield icon. Steps can be reordered with up/down controls, and step counts are shown next to each route name.
All UI operations go through server actions that wrap the tool layer — the UI never calls Supabase directly. This preserves the four-layer architecture and ensures audit logging is consistent across all actions.
Configure Mode tables — part numbers, items, BOM entries, routes, route steps, and serial algorithms — are now published to Supabase Realtime. The UI subscribes to change events on all six tables, with debounced reloading to avoid rapid re-fetches during batch operations like route step reordering.
Cross-mode selection cleanup ensures a clean context when switching between Build and Configure modes. Entering Build Mode clears any selected part number and route. Entering Configure Mode clears any selected line and workstation. This prevents stale context from leaking into agent prompts.
The milestone badge in the top bar now shows M3, reflecting the current development state.
With the physical shop floor (M2) and product definitions (M3) in place, M4 will bring Run Mode — production execution. Users will generate units from part numbers, move them through routes, encounter pass/fail quality gates, and track everything in real time.
M4 also introduces the Quality Monitor, an event-driven feature that watches production in real time and alerts operators when yield drops or defect patterns emerge. The production simulator will let users auto-run production at configurable speeds.
The foundation is set: the tools, schema, and architecture from M1 through M3 carry forward unchanged. M4 adds execution state on top of the definitions created in Configure Mode.
Answer-ready end section.
Yes. Ask MESkit can create part numbers, add BOM entries, configure serial algorithms, and design routes with steps — all through natural language commands.
Both interfaces call the same tool layer. You can create a part number in the UI and add its route via chat, or vice versa. Changes from either source appear instantly in both.
Yes. The route step editor presents a dropdown of workstations from Build Mode. The database enforces this with a foreign key constraint.
Related supporting pages.