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":"Added withRedis<T> (500ms timeout + fallback), debounced degraded/recovered logger, and safeGet/safeSet/safeDel to packages/kv/src/client.ts; re-exported all four from index.ts","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/kv":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 2 of 2: add ioredis-mock unit tests (safeGet normal/down, safeSet down, withRedis timeout, recovery) per acceptance criterion [2]","task":"1/2: Add withRedis + safe helpers to client.ts and export from index.ts","at":"2026-07-06T02:35:19.638Z"}
{"iteration":2,"change":"Verified Task 1 complete: withRedis<T> + debounced logDegraded/logRecovered + safeGet/safeSet/safeDel in packages/kv/src/client.ts, all re-exported from index.ts; typecheck and biome lint clean, no consumer call sites touched","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/kv":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 2 of 2: add ioredis-mock unit tests (safeGet normal/down, safeSet down, withRedis 500ms timeout, recovery) satisfying acceptance criterion [2]","task":"1/2: Add withRedis + safe helpers to client.ts and export from index.ts","at":"2026-07-06T02:36:21.910Z"}
{"iteration":3,"change":"Verified Task 1 complete — withRedis<T> + debounced logDegraded/logRecovered + safeGet/safeSet/safeDel in packages/kv/src/client.ts, all re-exported from index.ts; typecheck and lint clean, no consumer call sites touched","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/kv":true,"correctness":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 2 of 2: add ioredis-mock unit tests satisfying criterion [2] — safeGet normal path returns value, safeGet Redis-down returns null without throw, safeSet Redis-down returns undefined without throw, withRedis 500ms timeout returns fallback, and recovery (throw then succeed returns real data)","task":"1/2: Add withRedis + safe helpers to client.ts and export from index.ts","at":"2026-07-06T02:37:07.638Z"}
{"iteration":4,"change":"Verified Task 1 complete: withRedis<T> + debounced logDegraded/logRecovered + safeGet/safeSet/safeDel in packages/kv/src/client.ts, all re-exported from index.ts; typecheck (tsgo) and biome lint clean, no consumer call sites touched","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/kv":true},"decision":"checkpoint","reason":"slice complete; remaining: Task 2 of 2: add ioredis-mock unit tests (packages/kv, vitest) satisfying criterion [2] — safeGet normal path returns value, safeGet Redis-down returns null without throw, safeSet Redis-down returns undefined without throw, withRedis 500ms timeout returns fallback, and recovery (throw then succeed returns real data); run `pnpm --filter @carbon/kv test`","task":"1/2: Add withRedis + safe helpers to client.ts and export from index.ts","at":"2026-07-06T02:38:13.482Z"}
{"iteration":5,"change":"Added ioredis-mock unit tests for withRedis/safeGet/safeSet/safeDel (normal, Redis-down fallback, 500ms timeout, recovery) in packages/kv/src/client.test.ts; added @types/ioredis-mock devDep so typecheck resolves the mock","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/kv":true,"correctness":true},"decision":"keep","reason":"gates green; judge approved","task":"1/2: Add withRedis + safe helpers to client.ts and export from index.ts","assumptions":["Assigned Task 1 was already complete/committed and verified clean, so I advanced the same work item by completing Task 2's tests (criterion [2]) this session rather than emitting another no-op checkpoint","Used ioredis-mock (existing devDep) as the controllable in-memory Redis, mocking @carbon/env's REDIS_URL and spying on the singleton's methods to simulate down/slow/recovery; added @types/ioredis-mock (already in the pnpm store) instead of an ambient d.ts since the module resolves to a real untyped JS file that cannot be augmented"],"at":"2026-07-06T02:45:05.351Z"}
{"iteration":6,"change":"Verified Task 2 complete: ioredis-mock vitest suite in packages/kv/src/client.test.ts passes (62 tests), typecheck (tsgo) and biome lint clean; no source edits needed this session — prior slice t1.s5 already landed it","gates":{"lint":true,"conformance":true,"clobbers":true,"typecheck:@carbon/kv":true,"correctness":true},"decision":"keep","reason":"gates green; judge approved","task":"2/2: Add ioredis-mock vitest suite for the resilience layer","assumptions":["Prior committed slice (t1.s5) already added client.test.ts and @types/ioredis-mock; this session confirms all gates green rather than duplicating the file"],"at":"2026-07-06T02:46:56.107Z"}