# Capability entry template (stage1-v7). Copy to capabilities/<id>.yaml, fill every field, run code/validate.py.
# Every number is an object: {value, unit, label (S/E/A), sources: [source ids], derivation (how an E number is made)}.
# Labels: S = read in a saved copy of a source (and found there), E = computed from sourced numbers (say how), A = assumed.
# A number read only in a search snippet is A. A strength-3 source (consultancy, press, company) never makes an
# effect size S. Effects enter only as model changes (recipe, supply, cap, task_split, own_output, demand curve);
# never type a dollar gain.
id: example_id                 # lower case, letters, digits, underscores
name: Plain-English name
category: new                  # new | efficient | faster | unblocked
path: full                     # full (research agent with web search) | quick (translate.md, no search)
pitch: "The pitch as given, in the user's words."
restated: "One sentence: what exists, at what price, in what unit, from when."
price:                         # the capability's price (swept in the runs from the next-best price down to near zero)
  value: 0.0
  unit: "2026 int$ per <unit of the product>"
  label: A
  sources: []
next_best:                     # what buyers use today instead, and its price in the same unit
  name: ""
  price: {value: 0.0, unit: "same as price", label: E, sources: [], derivation: ""}
performance: "What it does compared with the next-best option, in plain words."
available_year: {value: 2028, unit: year, label: A, sources: []}
spread:                        # share of its market using it in 2035 (logistic: 1% in the available year)
  years_10_to_90: {value: 10, unit: years, label: A, sources: []}
  max_share: {value: 1.0, unit: share, label: A, sources: []}
demand:                        # path (a): one or more demand mechanisms (see research.md, "Demand mechanisms")
  - id: d1
    good: C05                  # a layer ID, an input ID, or new:<name> for a product with no market today
    layer: C05                 # the layer whose output it is (for inputs: the layer that buys most of it, or ALL)
    mode: cost                 # cost | supply_net | supply_gross
    quantity_unit: "patients treated a year"
    P0: {use: next_best}       # the old price: the next-best option's price (or a value object)
    P1: {use: price}           # the new price: the capability's price (or a value object)
    Q0: {value: 0.0, unit: "patients treated a year", label: E, sources: [], derivation: ""}
    #   or Q0: {model: "oc:C05", factor: {value: ..., unit: "units per bn of C05 output", label:, sources:}}
    #   or Q0: {model: "O:K04", factor: {value: 1.0e6, unit: "worker-equivalents per million", label: E}}
    elasticity: {value: -0.2, unit: "% change in units per 1% change in price", label: S, sources: [],
                 evidence_price_range: [0.0, 0.0]}   # lowest and highest price (in the price unit) the evidence covers
    limit: {value: 0.0, unit: "patients treated a year", label: A, sources: [],
            description: "physical limit beyond the evidence: number of people, hours in a day, physical need"}
    capacity_2035: {value: 0.0, unit: "same as quantity_unit", label: A, sources: []}   # supply modes only
changes:                       # path (b): model changes (see research.md, "Model changes")
  - id: ch1
    kind: recipe               # recipe | supply | cap | task_split | own_output
    input: K17                 # recipe/supply/cap: an input ID, or LAB (work per unit of output)
    layers: [C13]              # recipe only
    multiplier: {value: 0.5, unit: "x today's input per unit", label: A, sources: []}
    # supply: add: {value:, unit: <the input's unit>, label:, sources:}  or  from_demand: d1
    #         or growth_add: {value: 0.02, unit: "per year", label:, sources:}
    # task_split: share: {value: 0.5, unit: "share of cognitive tasks AI agents take first", label:, sources:}
    # own_output: from_demand: d1, layer: C08, needs: [{input: K02, per_unit: {value:, unit: "<input unit> per <quantity unit>", label:, sources:}}]
    scale_with: adoption       # adoption (scaled by the 2035 spread) | none
    mechanism: "How this change happens, in one sentence."
knock_ons:                     # effects through other mechanisms; same kinds as changes or demand, with mechanism
  - id: k1
    kind: supply
    input: K18
    add: {value: 0.0, unit: "million workers in 2035", label: A, sources: []}
    scale_with: adoption
    mechanism: ""
    gain_mode: supply_gross    # how path (a) values the extra units (supply knock-ons only)
gva_share: {value: 0.5, unit: "value added per $ of sales", label: A, sources: []}
capital_per_output: {value: 1.0, unit: "$ of capital per $ of output a year", label: A, sources: []}
value_beyond_gdp:              # shown beside the result, never added to it
  - what: ""
    quantity: {value: 0.0, unit: "", label: A, sources: []}
    value_per_unit: {value: 0.0, unit: "2026 int$ per unit", label: A, sources: []}
published_estimates:           # what others have said the effect is (for the comparison after the run)
  - claim: ""
    value: 0.0
    unit: "% of world GDP in 2035, or $ tn a year, or as stated"
    scale: "world | country | sector, years"
    sources: []
not_mapped: []                 # effects found that no model number can carry, in plain words
refused: false                 # true if the pitch breaks physics; then say why in refusal
refusal: ""
sources:
  - id: s1
    title: ""
    url: ""
    accessed: "2026-11-18"
    quote: "The exact sentence or table cell that contains the number."
    saved_copy: ""             # sources/<file>.txt, a text copy of the page (empty if it could not be saved)
    sha256: ""                 # of the saved copy
    strength: 1                # 1 after-the-fact study or official statistics; 2 peer-reviewed forecast or model; 3 consultancy, press, company
    kind: study                # study | statistics | forecast | claim
    published: 2024            # year
