{
  "code": null,
  "collection": "architecture",
  "href": "https://banes-lab.com/ontology#architecture-narrowed-aggregate",
  "id": "narrowed-aggregate",
  "kind": "anti-pattern",
  "layer": {
    "href": "https://banes-lab.com/ontology/schema#layer-execution-core",
    "json": "https://banes-lab.com/json/records/layer/execution-core",
    "label": "Execution Core",
    "markdown": "https://banes-lab.com/records/layer/execution-core.md",
    "ref": "layer:execution-core"
  },
  "name": "Narrowed Aggregate",
  "ref": "architecture:narrowed-aggregate",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-write-the-aggregate-only-from-a-full-run",
          "json": "https://banes-lab.com/json/records/lexicon/write-the-aggregate-only-from-a-full-run",
          "label": "Write the Aggregate Only from a Full Run",
          "markdown": "https://banes-lab.com/records/lexicon/write-the-aggregate-only-from-a-full-run.md",
          "ref": "lexicon:write-the-aggregate-only-from-a-full-run"
        }
      ],
      "relation": "refactored-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-severity-discouraged",
          "json": "https://banes-lab.com/json/records/vocabulary/severity-discouraged",
          "label": "discouraged",
          "markdown": "https://banes-lab.com/records/vocabulary/severity-discouraged.md",
          "ref": "vocabulary:severity-discouraged"
        }
      ],
      "relation": "severity"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-category-coordination-surfaces",
          "json": "https://banes-lab.com/json/records/architecture-category/coordination-surfaces",
          "label": "Coordination Surfaces",
          "markdown": "https://banes-lab.com/records/architecture-category/coordination-surfaces.md",
          "ref": "architecture-category:coordination-surfaces"
        }
      ],
      "relation": "category"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-single-aggregate",
          "json": "https://banes-lab.com/json/records/architecture/single-aggregate",
          "label": "Single Aggregate",
          "markdown": "https://banes-lab.com/records/architecture/single-aggregate.md",
          "ref": "architecture:single-aggregate"
        }
      ],
      "relation": "negated-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-single-aggregate",
          "json": "https://banes-lab.com/json/records/architecture/single-aggregate",
          "label": "Single Aggregate",
          "markdown": "https://banes-lab.com/records/architecture/single-aggregate.md",
          "ref": "architecture:single-aggregate"
        }
      ],
      "relation": "violates"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-category-coordination-surfaces",
          "json": "https://banes-lab.com/json/ontology/principles/architecture-category-coordination-surfaces",
          "label": "Coordination Surfaces",
          "markdown": "https://banes-lab.com/ontology/principles/architecture-category-coordination-surfaces.md",
          "ref": "chapter:/ontology#architecture-category-coordination-surfaces"
        },
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-category-coordination-surfaces",
          "json": "https://banes-lab.com/json/ontology/lexicon/lexicon-category-coordination-surfaces",
          "label": "Coordination Surfaces",
          "markdown": "https://banes-lab.com/ontology/lexicon/lexicon-category-coordination-surfaces.md",
          "ref": "chapter:/ontology/lexicon#lexicon-category-coordination-surfaces"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-vocabulary-severity",
          "json": "https://banes-lab.com/json/ontology/schema/the-vocabulary-severity",
          "label": "Severity levels",
          "markdown": "https://banes-lab.com/ontology/schema/the-vocabulary-severity.md",
          "ref": "chapter:/ontology/schema#the-vocabulary-severity"
        }
      ],
      "relation": "linked-from"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-models-substrate-model-md",
          "json": "https://banes-lab.com/json/source/coordination/models/substrate.model.md",
          "label": "models/substrate.model.md",
          "markdown": "https://banes-lab.com/source/coordination/models/substrate.model.md.md",
          "ref": "anatomy:file-coordination-models-substrate-model-md"
        }
      ],
      "relation": "evidence"
    }
  ],
  "summary": "A defect in which a run over a narrowed scope overwrites the whole-scope aggregate, so the aggregate reports a smaller population as though it were the whole.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology#architecture-cyclic-tiebreak",
      "json": "https://banes-lab.com/json/records/architecture/cyclic-tiebreak",
      "label": "Cyclic Tiebreak",
      "markdown": "https://banes-lab.com/records/architecture/cyclic-tiebreak.md",
      "ref": "architecture:cyclic-tiebreak"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology#architecture-invocation-keyed-report",
      "json": "https://banes-lab.com/json/records/architecture/invocation-keyed-report",
      "label": "Invocation-Keyed Report",
      "markdown": "https://banes-lab.com/records/architecture/invocation-keyed-report.md",
      "ref": "architecture:invocation-keyed-report"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/records/architecture",
    "label": "Architecture principles",
    "markdown": "https://banes-lab.com/api/records/architecture.md",
    "ref": "api:records/architecture"
  },
  "aliases": [],
  "exemplar": {
    "after": "the narrowed run streams its verdict → the aggregate keeps the last full run's result",
    "before": "a run over one member writes the aggregate → the aggregate now reads clean for the whole tree",
    "lang": "flow",
    "medium": "composite"
  },
  "formedBy": "writing the aggregate from a run that measured part of its population",
  "scope": [
    "report"
  ],
  "severity": "discouraged"
}
