---
slug: "Anomaly"
name: "Anomaly"
type: "Data Structures"
layer: "Infrastructure"
ref: "Anomaly#4595"
sema_id: "sema:Anomaly#mh:SHA-256:459522f7c0225dc99953dbd5cd6c9cbb558d914abbd9d4d979e103984e0739cc"
tags: ["Infrastructure","Data Structures"]
updated: 2026-11-11
mindscape: "bootstrap"
index_url: https://mindscape.pages.dev/bootstrap/index.json
url: https://mindscape.pages.dev/bootstrap/Anomaly/
related: ["Datum","Monitor","OntologyAdapt"]
---

# Anomaly

Datum whose observed value deviates from the expected baseline, triggering investigation

Layer: Infrastructure · Category: Data Structures

## Mechanism

A [Datum](https://mindscape.pages.dev/bootstrap/Datum.md) whose observed value falls outside the expected baseline by a measurable deviation score. Anomalies carry the (observed, expected, deviation) triple as first-class structure, so they can be routed, ranked, and triaged. Serves as the trigger artifact for investigation, learning, and diagnostic workflows.

## Invariants

—

## Failure modes

—

## Data schema

```json
{
  "type": "object",
  "required": [
    "observed_value",
    "expected_baseline",
    "deviation_score"
  ],
  "properties": {
    "observed_value": {
      "description": "The data point that triggered detection (any type)"
    },
    "expected_baseline": {
      "description": "The prediction or mean value (any type)"
    },
    "deviation_score": {
      "type": "number",
      "description": "Standard deviations (sigma) or distance metric"
    },
    "detected_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}
```

## Builds on

- [Datum](https://mindscape.pages.dev/bootstrap/Datum.md) (Infrastructure; References)

## Used by

- [Monitor](https://mindscape.pages.dev/bootstrap/Monitor.md) (Infrastructure; References)
- [OntologyAdapt](https://mindscape.pages.dev/bootstrap/OntologyAdapt.md) (Mind; References)

## Identity

- Sema ID: `sema:Anomaly#mh:SHA-256:459522f7c0225dc99953dbd5cd6c9cbb558d914abbd9d4d979e103984e0739cc`
- Ref: `Anomaly#4595`
- Supersedes:
  - `sema:Anomaly#mh:SHA-256:7987f2cd4a353f206fccd038ddac021ef849cfa58e352d2d2d7ba3850b916893`

## Links

- [Pattern page](https://mindscape.pages.dev/bootstrap/Anomaly/)
- [View in the interactive graph](https://mindscape.pages.dev/bootstrap/#Anomaly)
- [JSON](https://mindscape.pages.dev/bootstrap/Anomaly.json)
- [Index of all patterns](https://mindscape.pages.dev/bootstrap/index.json)
