This project is a domain-driven design study. It is not associated with, endorsed by or affiliated with any company, and it uses no company's code, data, logos or trademarks. All names, figures and examples are illustrative or synthetic. · November 2026
A daily brief groups backlog, staffing gaps and stuck work by site.
Deterministic rules decide first; the optional LLM only arbitrates, with a fallback.
It writes in exactly two places, release next work and reassign labor, each after a human confirms.
Use the wired but idle clients, then review LLM agreement and move it from off to shadow, then on.
An independently-deployable decision-support mechanism over the warehouse-systems fleet. It is a Customer of the bounded contexts' published MCP tool surfaces (never a new domain context): it correlates facts across contexts into ranked recommendations - flow-balance exceptions, stranded reservations, a daily operational brief, transfer watch…
Backlog, staffing, queues and stock live in separate contexts, so spotting a real problem means joining them by hand.
Two act slices can now write, an optional hosted LLM sits on the request path, and the mutation gate is weak.
Backlog, staffing gaps, queue depth and stuck tasks, grouped by site.
Ranks actions to rebalance flow, with an optional LLM to arbitrate.
Finds stranded reservations, master-data gaps, stuck transfers and runtime trouble.
Release next work and reassign labor: propose, then approve with a confirmation token.
Adds each path's capacity window, failing open if the data is missing.
Stitches one order's lifecycle and the WMS and WES dashboards for the console.
OTel (OTLP/gRPC push to the Collector; no /metrics endpoint of its own) + slog JSON on stdout tailed by Alloy into Loki; otelchi http.server metrics on every route incl. /mcp (ADR 0010)…
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Leader capabilities are vendor-published; gaps reflect repo docs reviewed in November 2026.
Every REST (incl. the four act POSTs) and MCP endpoint is unauthenticated BY DECISION (ADR 0006)…
Tests pin writes to exactly two slices, and the LLM and MCP can never write.
Act-slice idempotency keys and nonces live in a process-local store; with the default ephemeral APPROVAL_SIGNING_KEY a restart forgets…
The Deployment is kept at one replica; the idempotency store is process-local.
Hosted-LLM dependency (ANTHROPIC_API_KEY, default model claude-sonnet-4-5) on the flow-balance request path when LLM_MODE is shadow or…
An 8s timeout, circuit breaker and deterministic fallback keep requests answering.
Correlation quality depends on each upstream MCP endpoint being set and current: a client is built only when its endpoint is set (ADR…
An unavailable upstream degrades one section to a typed partial, never an error.
The ops agent turns facts from many contexts into ranked advice operators can act on, with a human yes
| Style | Hexagonal / Ports & Adapters with a policy layer instead of a domain; write capability pinned by tests to exactly two act slices (zerowrite fitness tests)… |
| Layout | cmd/agent (single binary: main, reasoner, act, wire_clients, wire_decision_support) + internal/{domain/{policy,approval,authority}, application/usecases, ports… |
| Storage | none - no database and no migrations; the act slices keep a process-local idempotency store and, by default, an ephemeral signing key (ADR 0030)… |
| Testing | unit tests with fakes (no DB, no live MCP), 90% coverage gate, godog BDD over the real router (20 feature files), integration tests on real in-process MCP Streamable HTTP… |
| REST | 17 operations over 17 paths on :8095: /healthz, /daily-brief, /flow-balance/{pathId}, /explain-travel-factor, /console/orders/{id}/lifecycle… |