Commit ab9cc192bae56b3ec2fbf2ee1ae6981594a78e03
1 parent
3027c1f7
docs(progress): pin REF.1 commit ref
Showing
1 changed file
with
4 additions
and
4 deletions
PROGRESS.md
| @@ -10,11 +10,11 @@ | @@ -10,11 +10,11 @@ | ||
| 10 | 10 | ||
| 11 | | | | | 11 | | | | |
| 12 | |---|---| | 12 | |---|---| |
| 13 | -| **Latest version** | v0.20.4 (handler-side PluginContext — plug-in workflow mutates its own DB) | | ||
| 14 | -| **Latest commit** | `7b2ab34 feat(ref-plugin): PlateApprovalTaskHandler mutates plate state via PluginContext` | | 13 | +| **Latest version** | v0.21.0 (REF.1 — plug-in BPMN publishes event, pbc-production auto-creates WorkOrder) | |
| 14 | +| **Latest commit** | `3027c1f feat(workflow): REF.1 — plug-in BPMN publishes WorkOrderRequestedEvent → pbc-production auto-creates WorkOrder` | | ||
| 15 | | **Repo** | https://github.com/reporkey/vibe-erp | | 15 | | **Repo** | https://github.com/reporkey/vibe-erp | |
| 16 | | **Modules** | 19 | | 16 | | **Modules** | 19 | |
| 17 | -| **Unit tests** | 275, all green | | 17 | +| **Unit tests** | 278, all green | |
| 18 | | **End-to-end smoke runs** | An SO confirmed with 2 lines auto-spawns 2 draft work orders via `SalesOrderConfirmedSubscriber`; completing one credits the finished-good stock via `PRODUCTION_RECEIPT`, cancelling the other flips its status, and a manual WO can still be created with no source SO. All in one run: 6 outbox rows DISPATCHED across `orders_sales.SalesOrder` and `production.WorkOrder` topics; pbc-finance still writes its AR row for the underlying SO; the `inventory__stock_movement` ledger carries the production receipt tagged `WO:<code>`. First PBC that REACTS to another PBC's events by creating new business state (not just derived reporting state). | | 18 | | **End-to-end smoke runs** | An SO confirmed with 2 lines auto-spawns 2 draft work orders via `SalesOrderConfirmedSubscriber`; completing one credits the finished-good stock via `PRODUCTION_RECEIPT`, cancelling the other flips its status, and a manual WO can still be created with no source SO. All in one run: 6 outbox rows DISPATCHED across `orders_sales.SalesOrder` and `production.WorkOrder` topics; pbc-finance still writes its AR row for the underlying SO; the `inventory__stock_movement` ledger carries the production receipt tagged `WO:<code>`. First PBC that REACTS to another PBC's events by creating new business state (not just derived reporting state). | |
| 19 | | **Real PBCs implemented** | 8 of 10 (`pbc-identity`, `pbc-catalog`, `pbc-partners`, `pbc-inventory`, `pbc-orders-sales`, `pbc-orders-purchase`, `pbc-finance`, `pbc-production`) | | 19 | | **Real PBCs implemented** | 8 of 10 (`pbc-identity`, `pbc-catalog`, `pbc-partners`, `pbc-inventory`, `pbc-orders-sales`, `pbc-orders-purchase`, `pbc-finance`, `pbc-production`) | |
| 20 | | **Plug-ins serving HTTP** | 1 (reference printing-shop, 7 endpoints + own DB schema + own metadata + own i18n bundles) | | 20 | | **Plug-ins serving HTTP** | 1 (reference printing-shop, 7 endpoints + own DB schema + own metadata + own i18n bundles) | |
| @@ -102,7 +102,7 @@ That target breaks down into roughly 30 work units across 8 phases. About **22 a | @@ -102,7 +102,7 @@ That target breaks down into roughly 30 work units across 8 phases. About **22 a | ||
| 102 | | # | Unit | Status | | 102 | | # | Unit | Status | |
| 103 | |---|---|---| | 103 | |---|---|---| |
| 104 | | REF.0 | Hello-world plug-in (PF4J + Plugin lifecycle + endpoints + own DB) | ✅ DONE through v0.6 | | 104 | | REF.0 | Hello-world plug-in (PF4J + Plugin lifecycle + endpoints + own DB) | ✅ DONE through v0.6 | |
| 105 | -| REF.1 | Real BPMN workflow handler (quote → job card) | 🔜 Pending — depends on P2.1 | | 105 | +| REF.1 | Real BPMN workflow handler (quote → job card) | ✅ DONE — `3027c1f` — plug-in BPMN publishes `WorkOrderRequestedEvent` (new api.v1 event); pbc-production's `WorkOrderRequestedSubscriber` reacts by creating a DRAFT WorkOrder via `WorkOrderService.create`. Idempotent on event code. Plug-in has zero compile-time coupling to pbc-production; pbc-production has zero knowledge the plug-in exists. | |
| 106 | | REF.2 | Plate / ink / press CRUD as customer-style domain | ✅ Partial — plate + ink CRUD live (`7af11f2`) | | 106 | | REF.2 | Plate / ink / press CRUD as customer-style domain | ✅ Partial — plate + ink CRUD live (`7af11f2`) | |
| 107 | | REF.3 | Reference forms + automation rules in plug-in metadata | 🔜 Pending — depends on P3.3, P3.4 | | 107 | | REF.3 | Reference forms + automation rules in plug-in metadata | 🔜 Pending — depends on P3.3, P3.4 | |
| 108 | 108 |