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
Cases open only from facts other contexts publish, one case per subject and site.
Versioned policies set severity, queue and SLA, and can close cases on their own.
Agents read cases and the SLA report through read-only MCP tools and an A2A agent.
Extend metrics past the one case counter: case counts by status and queue, escalations, outbox depth, consumer lag.
The warehouse's Problem Solve: it turns the anomaly facts other contexts already publish into owned cases with triage, assignment, an SLA clock, resolution and root cause. It owns the ExceptionCase aggregate and the versioned ExceptionPolicy per source type (severity, queue, SLA, declarative auto-resolve rules)…
It opens one case per anomaly from 20 fact types, then runs triage, assignment, an SLA clock and resolution.
OTel is wired, but only one business counter exists, so no alert sees backlog or escalations and undeclared types are skipped.
Opens exactly one case per subject and site; repeats touch the open case.
Opens a case per held unit and closes it when the hold ends.
Operators triage, assign and resolve cases, with every step's actor recorded.
Sets severity, queue, SLA and auto-resolve rules per source type.
Flags breached cases as escalated without blocking work.
Stores each source fact as received, so cases stay auditable.
Fleet observability standard (ADR 0014): every one of the five binaries pushes traces and metrics over OTLP/gRPC (OTEL_EXPORTER_OTLP_ENDPOINT, lazy and non-blocking) plus Go runtime metrics…
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Instrumentation stops at the request histogram and one intake counter: no shipped alert or counter sees case backlog…
The SLA report and logs carry caseload truth today; extend the metrics to match.
Intake depends on ten sibling topics and 20 source types — a source type without a declared policy is skipped with a WARN line and a…
A WARN log line and a rejected counter name each missing policy.
The trace ends at the outbox write: no trace_id crosses Kafka (no headers column, ADR 0014)…
The CloudEvents id chain correlates a case across contexts.
REST, MCP and A2A are unauthenticated BY DECISION (fleet decision 2026-09-11, README study-project disclaimer)
No mitigation on the roadmap yet: this one needs an owner.
Exception management turns scattered anomaly facts into owned cases, each with an owner and a deadline
| Style | Hexagonal / Ports & Adapters; WES-tier Supporting Subdomain (problem solve); inward-only dependencies enforced by arch-go plus fleet fitness tests… |
| Layout | cmd/{api,mcp,a2a,exceptions-projector,exceptions-reports} — api :8080 (REST, outbox relay, eleven consumers: ten fact + one correlation, SLA sweeper), mcp (read-only), a2a (read-only agent… |
| Storage | Postgres OLTP (6 root migrations: exception_management, idempotency_keys, carton_discrepancy_policies, package_missed_load_policy… |
| Testing | table-driven -race unit tests; 90% coverage gate on domain+application (CI gate, badge in README); 16 godog BDD feature files over the real HTTP API… |
| REST | 11 operations over 10 paths on :8080: GET|POST /exceptions, GET /exceptions/{caseId}… |