Skip to content

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.

synced

aashufae1bcc91b32
diff --cc .ai/skills/README.md
index 77b857fbb1,bc3b9fdc56..f8a9bbb57f
--- a/.ai/skills/README.md
+++ b/.ai/skills/README.md
@@@ -24,20 -19,10 +24,20 @@@ task via `/check-and-commit`
**Bug fix**:
```
-/root-cause → (/debugging-difficult-bugs if runtime evidence needed) → /fix → /check-and-commit
+/root-cause → (/debugging-difficult-bugs if runtime evidence needed) → fix (implements) → /test → /check-and-commit
```
+`/fix` runs this pipeline end-to-end: it orchestrates the diagnosis and
+verification phases **and** implements the fix itself (the minimal change plus a
+red→green regression test). At start it picks an **autonomy mode**
+(approval-before-each-phase vs fully autonomous — autonomous auto-resolves the
+conditional branches and records each choice) and a **phase set** (root-cause +
+fix are mandatory; runtime instrumentation is conditional on confidence, test is
+optional, commit runs only on explicit ask), and keeps a run record at
+`.ai/runs/{date}-{slug}.md`. The two 🛑 hard stops (architectural three-strikes
+in root-cause, BLOCKED in fix) always surface to the human.
+
- **Supervised loop** (single scoped item, doer→gate→judge): `/conductor`.
+ **Autonomous loop** (single scoped item, doer→gate→judge, no mid-loop human input, gated PR): `/conductor`.
**Advisory audit** (read-only, produces handoff plans): `/improve`.
@@@ -53,10 -38,10 +53,10 @@@
| `feature` | The full pipeline above, orchestrated | all of the above |
| `root-cause` | Read-only bug analysis → brief | root-cause brief (chat) |
| `debugging-difficult-bugs` | Temporary JSONL runtime instrumentation | log-backed root cause |
-| `fix` | Minimal fix from a brief + red→green regression test | ready-to-commit change |
+| `fix` | End-to-end bug-fix pipeline; diagnoses via /root-cause, implements the minimal fix + red→green regression test, verifies, commits on explicit ask | ready-to-commit change (+ run record) |
| `check-and-commit` | Gate suite, then commit specific files | conventional commit |
| `self-review` | Review your own branch before/at PR time | Must fix / Risks / Suggestions |
- | `conductor` | Supervised doer→gate→judge loop to a gated PR | PR + ledger |
+ | `conductor` | Autonomous doer→gate→judge loop to a gated PR (no mid-loop human input) | PR + ledger |
| `improve` | Senior-advisor audit; plans for other agents to execute | `.ai/plans/improve/` |
| `test` | Drive changed flows in the browser; cache playbooks | pass/fail + `.ai/playbooks/{slug}.md` |
| `smoke-test` | Do all core modules load? | pass/fail table |
diff --cc apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json
index ddc21bbce1,1918dc953f..93c13f667f
--- a/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json
+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json
@@@ -1,6 -1,6 +1,6 @@@
{
- "generated": "2026-07-04T10:15:13.582Z",
- "totalTools": 1254,
- "generated": "2026-07-06T18:21:52.562Z",
++ "generated": "2026-07-07T02:25:35.624Z",
+ "totalTools": 1263,
"modules": 15,
"tools": [
{