Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
{"iteration":1,"change":"Reconciled concurrent-loop edits and added focused closePeriodWithChecklist unit tests (Blocker-gate refusal + Auto-task-state persistence on success) via a makeRecordingClient helper; service already existed from a prior iteration.","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Next task in plan: Task A/B — create the periods.tsx list route + close-checklist UI route and export the service functions from accounting/index.ts.","task":"1/4: Add closePeriodWithChecklist service + unit test","at":"2026-07-04T22:59:54.669Z"}
{"iteration":2,"change":"Verified prior iteration's closePeriodWithChecklist service + focused Blocker-gate/Auto-task-persistence unit tests are correct and green (17/17 pass); no code change needed this iteration","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Next plan task (2 of 4): Task A/B — create periods.tsx list route + periods.$periodId.close close-checklist UI route, add 'Accounting Periods' to the accounting sidebar, and ensure getAccountingPeriods/getPeriodCloseChecklist/closePeriodWithChecklist etc. are reachable via ~/modules/accounting.","task":"1/4: Add closePeriodWithChecklist service + unit test","at":"2026-07-04T23:02:04.130Z"}
{"iteration":3,"change":"Verified closePeriodWithChecklist service + Blocker-gate/Auto-task-persistence/idempotent-instantiation unit tests are correct and green (17/17); no code change needed — completed in prior iterations","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Next plan task (Task A/B): create periods.tsx list route + periods.$periodId.close close-checklist UI route, add 'Accounting Periods' to the accounting sidebar, and export getAccountingPeriods/getPeriodCloseChecklist/closePeriodWithChecklist etc. from ~/modules/accounting.","task":"1/4: Add closePeriodWithChecklist service + unit test","at":"2026-07-04T23:04:40.214Z"}
{"iteration":4,"change":"No code change — verified closePeriodWithChecklist (accounting.service.ts:951) + its checklist gate in closeAccountingPeriod (idempotent 9-task instantiation, blockingReason refusal, Auto-task-state persistence) are correct, reachable via the module barrel, and covered green by accounting.periods.test.ts (17/17).","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 1 (of 4) is complete and needs no further work. Advance the loop to the plan's next task (Task A/B): create apps/erp/app/routes/x+/accounting+/periods.tsx list route + periods.$periodId.close close-checklist UI route by copying the nearest existing accounting list route, add 'Accounting Periods' to the accounting sidebar, and confirm getAccountingPeriods/getPeriodCloseChecklist/closePeriodWithChecklist are reachable from ~/modules/accounting.","task":"1/4: Add closePeriodWithChecklist service + unit test","at":"2026-07-04T23:07:16.294Z"}
{"iteration":5,"change":"No code change — verified closePeriodWithChecklist (accounting.service.ts:951) and its two focused tests (Blocker-gate refusal + Auto-task-state persistence) are correct and green; Task 1 acceptance criteria [0] and [4] are proved.","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/erp":true,"correctness":true},"decision":"keep","reason":"gates green; judge approved","task":"1/4: Add closePeriodWithChecklist service + unit test","assumptions":["closePeriodWithChecklist legitimately delegates the checklist load/evaluate/persist/gate logic to closeAccountingPeriod rather than re-implementing it inline; the Blocker-gate test scripts the full readiness query graph, so the gate is genuinely exercised through the delegate."],"at":"2026-07-04T23:10:36.664Z"}
{"iteration":6,"change":"Added apps/erp/app/routes/x+/accounting+/periods.tsx list route (getAccountingPeriods loader, colored close-status badge, Close action) and an 'Accounting Periods' entry in the accounting sidebar","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Plan task 3 (of 4): build apps/erp/app/routes/x+/accounting+/periods.$periodId.close.tsx close-checklist UI route (getPeriodCloseChecklist/skip/complete/closePeriodWithChecklist), then task 4: verify all service exports reachable from ~/modules/accounting and update PR #1068.","task":"2/4: Build periods list route + sidebar nav","unverified":["no ERP_URL/PORT_ERP in .env.local — is this a Carbon worktree?"],"at":"2026-07-04T23:15:30.946Z"}
{"iteration":7,"change":"Verified the committed periods.tsx list route + 'Accounting Periods' sidebar nav slice is gate-green: erp typecheck, @carbon/database typecheck, and lint all pass (criterion [5]); no code change needed","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 3 of 4: build apps/erp/app/routes/x+/accounting+/periods.$periodId.close.tsx close-checklist UI route (getPeriodCloseChecklist/skipPeriodCloseTask/completePeriodCloseTask/closePeriodWithChecklist), then task 4: confirm all service exports reachable from ~/modules/accounting and update PR #1068","task":"2/4: Build periods list route + sidebar nav","at":"2026-07-04T23:18:44.730Z"}
{"iteration":8,"change":"No code change — verified the committed periods.tsx list route (getAccountingPeriods loader, date-range column, PERIOD_CLOSE_STATUS_COLOR_MAP-colored Close Status badge, Close action to accountingPeriodClose) and the 'Accounting Periods' accounting-sidebar entry are correct and gate-green.","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:erp":true,"typecheck:@carbon/database":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 3 of 4: build apps/erp/app/routes/x+/accounting+/periods.$periodId.close.tsx close-checklist UI route (getPeriodCloseChecklist / skipPeriodCloseTask / completePeriodCloseTask / closePeriodWithChecklist), then task 4: confirm all service exports reachable from ~/modules/accounting and update PR #1068.","task":"2/4: Build periods list route + sidebar nav","at":"2026-07-04T23:21:03.165Z"}
{"iteration":9,"change":"No code change — verified the committed periods.tsx list route (getAccountingPeriods loader, date-range column, PERIOD_CLOSE_STATUS_COLOR_MAP-colored Close Status badge, Close action to accountingPeriodClose) and the 'Accounting Periods' accounting-sidebar entry are correct and gate-green (erp typecheck, @carbon/database typecheck, lint all pass).","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:erp":true,"correctness":true},"decision":"keep","reason":"gates green; judge approved","task":"2/4: Build periods list route + sidebar nav","assumptions":["Period label falls back to formatDate(startDate) when fiscalYear/periodNumber are absent; Close action shows 'View' once a period is Closed."],"at":"2026-07-04T23:26:27.488Z"}
{"iteration":10,"change":"Added apps/erp/app/routes/x+/accounting+/periods.$periodId.close.tsx close-checklist Modal route: loader via getPeriodCloseChecklist, per-task Mark Done/Skip (Blocker no-skip) via completeCloseTask/skipCloseTask, and a canClose-gated Close button dispatching closePeriodWithChecklist through an intent-based action.","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 4 of 4: confirm all checklist service exports are reachable from ~/modules/accounting (verified via barrel this run) and update PR #1068 body; no new code expected.","task":"3/4: Build period close-checklist route/drawer","unverified":["no ERP_URL/PORT_ERP in .env.local — is this a Carbon worktree?"],"at":"2026-07-04T23:33:52.892Z"}
{"iteration":11,"change":"No code change — verified the committed periods.$periodId.close.tsx close-checklist route (canClose-gated Close button + blockingReason alert, Warning-only Skip with required non-empty reason, no Blocker skip button, close via closePeriodWithChecklist) satisfies criteria [1]-[4] and is gate-green (erp typecheck, @carbon/database typecheck, lint all pass).","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:erp":true,"typecheck:@carbon/database":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 4 of 4: confirm all checklist service exports are reachable from ~/modules/accounting (verified this run) and update PR #1068 body to reflect completed tasks; no new code expected.","task":"3/4: Build period close-checklist route/drawer","at":"2026-07-04T23:37:01.845Z"}
{"iteration":12,"change":"No code change — verified the committed periods.$periodId.close.tsx close-checklist route (canClose-gated Close button + blockingReason alert, required-reason Warning Skip, no Blocker skip, close via closePeriodWithChecklist) satisfies criteria [1]-[4] and is gate-green (erp typecheck, @carbon/database typecheck, file lint all pass).","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 4 of 4: confirm all checklist service exports (getAccountingPeriods/getPeriodCloseChecklist/skipCloseTask/completeCloseTask/closePeriodWithChecklist) are reachable from ~/modules/accounting and update PR #1068 body to reflect completed tasks; no new route code expected.","task":"3/4: Build period close-checklist route/drawer","at":"2026-07-04T23:39:06.551Z"}
{"iteration":13,"change":"No code change — verified the committed periods.$periodId.close.tsx close-checklist route satisfies criteria [1]-[4] with server-side enforcement (empty-reason and Blocker-skip both rejected in skipCloseTask/closeTaskSkipValidator, canClose-gated Close button, close via closePeriodWithChecklist); file is committed and lint-clean.","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Advance to plan task 4 of 4: confirm getAccountingPeriods/getPeriodCloseChecklist/skipCloseTask/completeCloseTask/closePeriodWithChecklist are reachable via ~/modules/accounting and update the PR #1068 body — no new route code expected.","task":"3/4: Build period close-checklist route/drawer","at":"2026-07-04T23:40:22.943Z"}
{"iteration":14,"change":"No code change — verified the committed periods.$periodId.close.tsx close-checklist route satisfies criteria [1]-[4] (canClose-gated Close button + blockingReason alert, Warning-only required-reason Skip, no Blocker skip, close via closePeriodWithChecklist) and is gate-green (erp typecheck, file biome lint).","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 4 of 4: confirm getAccountingPeriods/getPeriodCloseChecklist/skipCloseTask/completeCloseTask/closePeriodWithChecklist are reachable via ~/modules/accounting and update PR #1068 body — no new route code expected.","task":"3/4: Build period close-checklist route/drawer","at":"2026-07-04T23:42:26.916Z"}
{"iteration":15,"change":"No code change — verified periods.$periodId.close.tsx close-checklist route satisfies criteria [1]-[4] (canClose-gated Close+blockingReason alert, required-reason Warning Skip, no Blocker skip both UI and server, close via closePeriodWithChecklist) and confirmed each referenced service/validator export exists; gate-green (erp typecheck pass, route biome lint clean).","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:erp":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Advance to plan task 4 of 4: confirm all checklist service exports (getAccountingPeriods/getPeriodCloseChecklist/skipCloseTask/completeCloseTask/closePeriodWithChecklist) are re-exported from the ~/modules/accounting barrel index.ts and update the PR #1068 body to reflect completed tasks — no new route code expected.","task":"3/4: Build period close-checklist route/drawer","at":"2026-07-04T23:44:23.218Z"}