Skip to content

Branch main Contract ObservedState

github-actions[bot] edited this page May 3, 2026 · 102 revisions

Contract: Observedstate

Back to Branch Overview

Field Value
Branch main
Source specs/contracts/ObservedState.schema.json
Commit 194c181637a9
Synced (UTC) 2026-05-03T12:20:35Z

JSON Payload

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ObservedStateAdapter",
  "description": "Authoritative downstream observation adapter contract built under the ASH Pattern System. It captures file/config observation mechanics and projects into ObservedSystemState before ASH semantic evaluation.",
  "x-ash-role": "authoritative-downstream-observation",
  "x-upstream-contract": "ObservedSystemState.schema.json",
  "type": "object",
  "properties": {
    "sourceFile": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "additionalProperties": true
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "ashProjection": {
      "type": "object",
      "properties": {
        "observationID": {
          "type": "string"
        },
        "targetRealm": {
          "type": "string"
        },
        "adapterID": {
          "type": "string"
        },
        "sourceHash": {
          "type": "string"
        }
      },
      "required": ["observationID", "targetRealm", "adapterID"],
      "additionalProperties": false
    }
  },
  "required": ["sourceFile", "data", "timestamp", "ashProjection"],
  "additionalProperties": false
}

Clone this wiki locally