{
  "code": null,
  "collection": "architecture",
  "href": "https://banes-lab.com/ontology#architecture-declare-before-read-order",
  "id": "declare-before-read-order",
  "kind": "mechanism",
  "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": "Declare-Before-Read Order",
  "ref": "architecture:declare-before-read-order",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-write-scope",
          "json": "https://banes-lab.com/json/records/lexicon/write-scope",
          "label": "Write Scope",
          "markdown": "https://banes-lab.com/records/lexicon/write-scope.md",
          "ref": "lexicon:write-scope"
        }
      ],
      "relation": "requires"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-determinism",
          "json": "https://banes-lab.com/json/records/architecture/determinism",
          "label": "Determinism",
          "markdown": "https://banes-lab.com/records/architecture/determinism.md",
          "ref": "architecture:determinism"
        }
      ],
      "relation": "reinforces"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-shared-invocation",
          "json": "https://banes-lab.com/json/records/lexicon/shared-invocation",
          "label": "Shared Invocation",
          "markdown": "https://banes-lab.com/records/lexicon/shared-invocation.md",
          "ref": "lexicon:shared-invocation"
        }
      ],
      "relation": "enables"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-read-before-declare",
          "json": "https://banes-lab.com/json/records/lexicon/read-before-declare",
          "label": "Read Before Declare",
          "markdown": "https://banes-lab.com/records/lexicon/read-before-declare.md",
          "ref": "lexicon:read-before-declare"
        }
      ],
      "relation": "violated-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/lexicon#lexicon-write-the-entry-before-reading-the-set",
          "json": "https://banes-lab.com/json/records/lexicon/write-the-entry-before-reading-the-set",
          "label": "Write the Entry Before Reading the Set",
          "markdown": "https://banes-lab.com/records/lexicon/write-the-entry-before-reading-the-set.md",
          "ref": "lexicon:write-the-entry-before-reading-the-set"
        }
      ],
      "relation": "refactored-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-severity-recommended",
          "json": "https://banes-lab.com/json/records/vocabulary/severity-recommended",
          "label": "recommended",
          "markdown": "https://banes-lab.com/records/vocabulary/severity-recommended.md",
          "ref": "vocabulary:severity-recommended"
        }
      ],
      "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-category-correctness-determinism-verification",
          "json": "https://banes-lab.com/json/ontology/principles/architecture-category-correctness-determinism-verification",
          "label": "Correctness / Determinism / Verification",
          "markdown": "https://banes-lab.com/ontology/principles/architecture-category-correctness-determinism-verification.md",
          "ref": "chapter:/ontology#architecture-category-correctness-determinism-verification"
        },
        {
          "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-invocation-model-md",
          "json": "https://banes-lab.com/json/source/coordination/models/invocation.model.md",
          "label": "models/invocation.model.md",
          "markdown": "https://banes-lab.com/source/coordination/models/invocation.model.md.md",
          "ref": "anatomy:file-coordination-models-invocation-model-md"
        }
      ],
      "relation": "evidence"
    }
  ],
  "summary": "A mechanism that orders two simultaneous starters without a lock by writing each entry before reading the set, with the start stamp and then the party identity breaking a tie.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology#architecture-period-decided-disposition",
      "json": "https://banes-lab.com/json/records/architecture/period-decided-disposition",
      "label": "Period-Decided Disposition",
      "markdown": "https://banes-lab.com/records/architecture/period-decided-disposition.md",
      "ref": "architecture:period-decided-disposition"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology#architecture-reversible-channel-encoding",
      "json": "https://banes-lab.com/json/records/architecture/reversible-channel-encoding",
      "label": "Reversible Channel Encoding",
      "markdown": "https://banes-lab.com/records/architecture/reversible-channel-encoding.md",
      "ref": "architecture:reversible-channel-encoding"
    }
  },
  "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": "A writes its entry → B writes its entry → each reads both → the earlier stamp proceeds, the other exits without writing",
    "before": "starter A reads: nobody → starter B reads: nobody → both write → both proceed",
    "lang": "flow",
    "medium": "composite"
  },
  "formedBy": null,
  "scope": [
    "run",
    "concurrency"
  ],
  "severity": "recommended"
}
