{
  "name": "core",
  "version": "1.0.0",
  "description": "The core of a design in one choice: About, Define, Design, Plan and Governance, with the links they share. Technology-neutral. Enrichment packs for APIs, data, hosting, containers and the rest attach to these nodes and can be added or removed without breaking them.",
  "license": "Apache-2.0",
  "publisher": "trumly",
  "namespace": "core",
  "tier": "verified",
  "role": "core",
  "useWhen": "Always. This is the spine every model starts from.",
  "enriches": [],
  "requires": [],
  "optional": [],
  "includes": [
    "links",
    "about",
    "define",
    "design",
    "plan",
    "governance"
  ],
  "sha256": "f5217d2c270de3c1b52b0f42fd3db8a9428a837d3236cc0c3551628ad358250c",
  "files": [
    [
      "core--pack",
      "---\nid: core--pack\ntype: pack\ntitle: Core\nfields:\n  name: core\n  namespace: core\n  version: 1.0.0\n  description: 'The core of a design in one choice: About, Define, Design, Plan and Governance, with the\n    links they share. Technology-neutral. Enrichment packs for APIs, data, hosting, containers and the\n    rest attach to these nodes and can be added or removed without breaking them.'\n  license: Apache-2.0\n  publisher: trumly\n  role: core\n  use-when: Always. This is the spine every model starts from.\n  includes:\n  - links\n  - about\n  - define\n  - design\n  - plan\n  - governance\n---\n"
    ],
    [
      "examples/ops-api/acceptance-criterion-jobs-listed",
      "---\nid: acceptance-criterion-jobs-listed\ntype: acceptance-criterion\ntitle: Jobs listed\nplane: def--requirements\nfields:\n  given: A job has just changed state\n  when: Ops staff open the job list\n  then: The job and its new state are shown within 60 seconds\n  method: test\n---\n"
    ],
    [
      "examples/ops-api/actor-ops-staff",
      "---\nid: actor-ops-staff\ntype: actor\ntitle: Ops staff\nplane: def--capabilities\nlinks:\n  - type: uses\n    to: component-ops-api\n---\n"
    ],
    [
      "examples/ops-api/capability-view-job-status",
      "---\nid: capability-view-job-status\ntype: capability\ntitle: View job status\nplane: def--capabilities\nfields:\n  statement: view the current status of every job\n  scope: in\n  priority: must\n  status: proposed\nlinks:\n  - type: performed-by\n    to: actor-ops-staff\n  - type: derives-from\n    to: goal-timely-visibility\n---\n"
    ],
    [
      "examples/ops-api/component-ops-api",
      "---\nid: component-ops-api\ntype: component\ntitle: Ops API\nplane: dsn--design\nfields:\n  kind: service\n  owner: Platform\n  status: planned\nlinks:\n  - type: satisfies\n    to: requirement-list-jobs\n  - type: writes\n    to: datastore-ops-db\n  - type: runs-in\n    to: environment-production\n---\n\nServes the list of jobs and their status to operations staff.\n"
    ],
    [
      "examples/ops-api/datastore-ops-db",
      "---\nid: datastore-ops-db\ntype: datastore\ntitle: Ops db\nplane: dsn--design\nfields:\n  kind: relational\n  owner: Platform\n---\n\nHolds every job and its latest status.\n"
    ],
    [
      "examples/ops-api/decision-fastapi",
      "---\nid: decision-fastapi\ntype: decision\ntitle: FastAPI\nplane: gov--decisions\nfields:\n  status: proposed\nlinks:\n  - type: governs\n    to: component-ops-api\n---\n\nBuild the Ops API with the FastAPI framework.\n"
    ],
    [
      "examples/ops-api/decision-postgres",
      "---\nid: decision-postgres\ntype: decision\ntitle: Postgres\nplane: gov--decisions\nfields:\n  status: proposed\nlinks:\n  - type: governs\n    to: datastore-ops-db\n---\n\nUse PostgreSQL for the operations database.\n"
    ],
    [
      "examples/ops-api/environment-production",
      "---\nid: environment-production\ntype: environment\ntitle: Production\nplane: dsn--design\nfields:\n  kind: production\n---\n\nThe live system that operations staff use.\n"
    ],
    [
      "examples/ops-api/example",
      "---\nid: example\ntype: example\ntitle: The ops API, end to end\nfields:\n  title: The ops API, end to end\n  description: 'The whole core in one small system: why it exists, what it must do, how it is built, who\n    builds it and why the database was chosen.'\n  use: starter\n  requires:\n  - core\n---\n"
    ],
    [
      "examples/ops-api/goal-timely-visibility",
      "---\nid: goal-timely-visibility\ntype: goal\ntitle: Timely ops visibility\nplane: def--intent\nfields:\n  statement: Operations staff see the state of every job within a minute.\n  status: proposed\nlinks:\n  - type: measured-by\n    to: metric-status-freshness\n---\n"
    ],
    [
      "examples/ops-api/increment-live-status",
      "---\nid: increment-live-status\ntype: increment\ntitle: Live job status\nplane: pln--plan\nfields:\n  status: planned\nlinks:\n  - type: enables\n    to: capability-view-job-status\n---\n\nThe first slice: staff can see live job status.\n"
    ],
    [
      "examples/ops-api/metric-status-freshness",
      "---\nid: metric-status-freshness\ntype: metric\ntitle: Job status age\nplane: def--intent\nfields:\n  kind: success\n  unit: seconds\n  direction: lower-is-better\n  target: 60\n  how-measured: Age of the newest status for each job, sampled every minute\n---\n"
    ],
    [
      "examples/ops-api/overview",
      "---\nid: overview\ntype: overview\ntitle: Ops API\nplane: abt--about\nfields:\n  purpose: A status API so operations staff can see what every job is doing.\n  audience: The build team and operations staff\n  owner: Platform\n  stage: design\n---\n"
    ],
    [
      "examples/ops-api/requirement-list-jobs",
      "---\nid: requirement-list-jobs\ntype: requirement\ntitle: List jobs\nplane: def--requirements\nfields:\n  statement: The system shall list every job with its current status.\n  kind: functional\n  priority: must\n  status: proposed\nlinks:\n  - type: verified-by\n    to: acceptance-criterion-jobs-listed\n  - type: derives-from\n    to: capability-view-job-status\n---\n"
    ],
    [
      "examples/ops-api/team-dev",
      "---\nid: team-dev\ntype: team\ntitle: Dev\nplane: pln--plan\nfields:\n  kind: agent\n  focus: Implements work packages for review\n---\n\nAn AI agent that writes code and hands it to people to review.\n"
    ],
    [
      "examples/ops-api/team-platform",
      "---\nid: team-platform\ntype: team\ntitle: Platform\nplane: pln--plan\nfields:\n  kind: human\n  focus: Builds and runs the platform\n---\n\nThe people who own the system.\n"
    ],
    [
      "examples/ops-api/work-package-build-status-api",
      "---\nid: work-package-build-status-api\ntype: work-package\ntitle: Build status API\nplane: pln--plan\nfields:\n  status: planned\nlinks:\n  - type: owned-by\n    to: team-dev\n  - type: reviewed-by\n    to: team-platform\n  - type: delivers\n    to: component-ops-api\n  - type: part-of\n    to: increment-live-status\n---\n\nBuild the service that lists job status.\n"
    ],
    [
      "examples/ops-api/work-package-provision-database",
      "---\nid: work-package-provision-database\ntype: work-package\ntitle: Provision database\nplane: pln--plan\nfields:\n  status: planned\nlinks:\n  - type: owned-by\n    to: team-platform\n  - type: delivers\n    to: datastore-ops-db\n  - type: part-of\n    to: increment-live-status\n---\n\nCreate the operations database.\n"
    ]
  ]
}
