Frameworks / v0.10 · built (mock-tested, not yet run) · 2026-12-01

Rubric-intent skills and vote-split routing

Framework v0.10 is a built (mock-tested, not yet run) version of cicadar's AI charity evaluation: 2 changes from v0.9and no published runs yet.

Hypothesis

The remaining rating differences are rubric readings, not missing facts. Skills that quote the published rubric/method wording for Q10 durability, Q14 localisation and Q5 neglectedness (and say where the published text is silent), plus routing any split vote to the red team, fix the Q5/Q10/Q14 misses without new facts. Findings S5, S6, S7, D2.

What changed from v0.9

  • Three skills (framework/skills): tlycs-durability (Q10, intervention agent), tlycs-localisation (Q14, organisation agent), tlycs-neglectedness (Q5, problem agent). Each quotes only rubric.json and framework/methodology/*.txt and states where the published text is silent (durability and 'locally led' are not defined there); evals/test_skill_quotes.py checks every quote verbatim.
  • Flag split_to_redteam (D2): a voted question with no strict majority (3 different options, or abstentions mixed with answers) becomes a typed vote_split challenge (deliberation.split_challenges) given to the red team as a VOTE SPLITS section; vote_splits.json and meta.vote_splits record them. Adjudication is unchanged: a split alone never flips a rating, and the owner sees all samples' reasoning in the revise call.

Result

Not run yet. Results appear here after the first run of v0.10.

What the diagnosis found

No published diagnosis for this version's runs yet.

The change it led to

v0.10: deliberation and skills changes (ROADMAP). See v0.11.

Architecture

corpusQ1–5Q6–10Q11–18Q17draftitemsverifiedsphere docscallscallsrecomputechallengeseligiblefinallookupsproceduresproceduresCorpus v2 (as of 2025-08-31)Wayback pages + PDFtext + 990 fact sheet· CORPUS.lockShared librariescountries (MPI,priority group, GDPpc) · interventions(study cards)Methodology skills9 procedures · loadedon demand · named peragentextract ×4Flash-Lite · one passper sphere · ≥25 itemseachQuote verifiercode · snap to source· drop unverified ·flag period conflictsEvidence layeritems: doc_id · quote· topic · period type(v0.8)problemQ1–Q5 · Flash-Lite ×3voteinterventionQ6–Q10 · Flash-Lite ×3voteorganisationQ11–Q16, Q18 ·Flash-Lite ×3 votefundingQ17 · Flash-Lite ×3voteSynthesisdeterministic mergeredteamgpt-oss · full rubric· typed, quotedchallengesca-tools (MCP)corpus_search ·ce_calc · recompute ·fin_ratios · rob2Adjudicatecode · verified quote· rubric-valid ·materialOwner revises onceaccept / reject eachchallengeScoreper agent + final vsTLYCS
v0.10, Rubric-intent skills and vote-split routing. Drawn from framework/versions/v0.10.json, the file the pipeline runs from. Filled boxes are AI agents; outlined boxes are code or data.
Step by step for v0.10
  1. Collect the documents

    code, before the run
    gets
    The charity's public website pages, reports and FAQs.
    does
    Downloads them once (39 documents for GiveDirectly, about 80,000 words), removes anything that quotes the expert evaluation, and freezes the set with a fingerprint.
    makes
    The corpus: the only material the agents are allowed to read.
    why
    Every run reads exactly the same documents, so when results differ the cause is the agents, not the inputs. Removing the experts' text stops the agents copying the answer.
  2. Pull out the evidence

    4 AI agents · Gemini Flash-Lite
    gets
    All the documents, plus one topic group to look for: the problem; the intervention and its evidence; the organisation (finances, governance, risks, dignity); or funding.
    does
    Reads every document and lists the facts on its topic. Each fact must carry an exact quote and the name of the document it came from.
    makes
    Four lists of quoted facts. From v0.12 each agent must return at least 25, because with no minimum the small model returned only 4 to 7 (the v0.11 GiveDirectly run). From v0.13 the intervention agent also gets a list, built by code, of every study the documents cite, and must cover each one.
    why
    One agent asked to find 'everything' returned only 10 facts. Four narrow passes find more. A small model is enough because this is careful reading, not judgement, and it keeps the cost to about 2 cents per pass.
    model
    Gemini Flash-Lite: Google's smallest, cheapest model. Good at fast, mechanical reading.
  3. Check every quote

    code
    gets
    Each fact and its quote.
    does
    Looks for the quote, word for word, in the document it cites. It fixes small copying slips, moves a quote to the right document when it was filed under the wrong one, and throws out facts whose quote can't be found anywhere.
    makes
    Only facts that a reader can trace back to the source.
    why
    Cheap models sometimes misquote. A mechanical check is more reliable than asking a model to be careful. This step is why every claim in the final report can be checked.
  4. Build the shared evidence base

    code
    gets
    The four fact lists.
    does
    Joins them and removes duplicates.
    makes
    The evidence layer: the quoted facts every specialist shares (19 in v0.11's GiveDirectly run, 178 in v0.21's).
    why
    Every specialist works from the same checked facts, so two specialists can't disagree about what a document says.
  5. Answer the expert questions

    4 AI agents · Gemini Flash
    gets
    The evidence layer and all the documents, the TLYCS method notes for its area, and only its own questions from the TLYCS scoring sheet, with every answer option written out. From v0.5 it can also search the documents and use calculators.
    does
    For each question: compares the evidence with every answer option, picks the one the evidence supports, explains why with quotes, and says how confident it is. If the evidence isn't there, it says so instead of guessing. It also lists the strongest reasons its own answers could be wrong.
    • Problem (Q1 to Q5): How serious is the problem, how many people does it affect in the poorest countries, can it be solved, and is it already well funded?
    • Intervention (Q6 to Q10): Does the programme work? How strong is the research, how cheaply does it improve lives, how many kinds of poverty does it touch, and do the effects last?
    • Organisation (Q11 to Q16, Q18): Is the charity well run? Where does it work, how many people does it reach, is it locally led, does it strengthen local systems, does it treat people with dignity, and what are the risks?
    • Funding (Q17): How much more money could the charity put to good use?
    makes
    Draft answers for its part of the evaluation.
    why
    This mirrors how human evaluation teams divide the work. A specialist that holds only its own questions and its own method notes can go deeper than one agent answering everything.
    model
    Gemini Flash: Google's mid-size model. Better at judgement, still cheap.
  6. Put the draft together

    code
    gets
    The four specialists' answers.
    does
    Places every answer in the scoring sheet's order. Each question can only be answered by the specialist that owns it. A question nobody answered is marked as missing instead of being left out.
    makes
    The draft evaluation (the dossier).
    why
    No agent can overwrite another's work, and gaps stay visible.
  7. Challenge the draft

    1 AI agent (red team) · gpt-oss-120b
    gets
    The draft and the evidence layer.
    does
    Looks for ratings more generous than the evidence supports, guesses, contradictions between documents, and risks the draft missed. Every challenge must quote the evidence. It can only raise challenges; it cannot change an answer.
    makes
    A list of challenges, each marked high, medium or low.
    why
    A model from a different company catches different mistakes. Challenges go to the human reviewer, who decides.
    model
    gpt-oss-120b: an open model from OpenAI. Chosen because it comes from a different company, so it has different blind spots from the Gemini agents it checks.
  8. Check for leaks

    code
    gets
    Everything the agents wrote.
    does
    Searches it for text that appears only in the expert evaluation.
    makes
    A pass or fail for the run.
    why
    If an agent had seen the expert answers, comparing against them would prove nothing.
  9. Write the report

    code
    gets
    The draft and the challenges.
    does
    Lays them out as a report (web page and PDF) in the same order as the TLYCS evaluation, with each claim's quote and source.
    makes
    The report a person reads.
    why
    A researcher or donor can check any claim in a few seconds.
  10. Compare with the experts

    code
    gets
    The draft, and the TLYCS evaluation encoded as an answer key (which the agents never see).
    does
    Checks whether each rating agrees with the experts' published rating, whether the draft found the numbers, facts and studies the experts relied on, and whether every quote is real. It then traces each expert item through the steps above to see which agent found it, or where it was lost.
    makes
    Two scorecards: one for the whole evaluation, one for each agent.
    why
    The final score says how good the draft is. The per-agent scorecard says which step to improve next.
  11. Diagnose and decide the next change

    Claude, with a person approving
    gets
    Both scorecards from every run in a batch, plus what each agent saw and wrote.
    does
    Follows every miss back to its cause, checks that the scoring itself is right, and ranks possible fixes.
    makes
    A written diagnosis and one proposed change for the next version, with its expected result written down before it runs.
    why
    Changing one thing at a time, with the expected result fixed in advance, is the only way to know what actually helped.

Configuration and prompts

The exact configuration the pipeline ran from, and every prompt the agents were given.

Configuration (framework/versions/v0.10.json)
{
 "agents": [
  {
   "id": "extract_problem",
   "role": "bulk",
   "agent_file": "ca-extract",
   "inputs": [
    "corpus"
   ],
   "output": "store",
   "owns_qids": [],
   "brief": "framework/briefs/extract_v09.md",
   "focus_topics": [
    "programme",
    "problem",
    "scale"
   ],
   "min_items": 0,
   "concept_agents": [
    "Research",
    "Document extraction",
    "Programme identification"
   ],
   "schema": "store_v09.schema.json"
  },
  {
   "id": "extract_intervention",
   "role": "bulk",
   "agent_file": "ca-extract",
   "inputs": [
    "corpus"
   ],
   "output": "store",
   "owns_qids": [],
   "brief": "framework/briefs/extract_v09.md",
   "focus_topics": [
    "evidence",
    "cost",
    "programme"
   ],
   "min_items": 0,
   "concept_agents": [
    "Research",
    "Document extraction",
    "Programme identification"
   ],
   "schema": "store_v09.schema.json"
  },
  {
   "id": "extract_organisation",
   "role": "bulk",
   "agent_file": "ca-extract",
   "inputs": [
    "corpus"
   ],
   "output": "store",
   "owns_qids": [],
   "brief": "framework/briefs/extract_v09.md",
   "focus_topics": [
    "finance",
    "governance",
    "learning",
    "risk",
    "dignity_local"
   ],
   "min_items": 0,
   "concept_agents": [
    "Research",
    "Document extraction"
   ],
   "schema": "store_v09.schema.json"
  },
  {
   "id": "extract_funding",
   "role": "bulk",
   "agent_file": "ca-extract",
   "inputs": [
    "corpus"
   ],
   "output": "store",
   "owns_qids": [],
   "brief": "framework/briefs/extract_v09.md",
   "focus_topics": [
    "funding",
    "finance",
    "scale"
   ],
   "min_items": 0,
   "concept_agents": [
    "Research",
    "Document extraction"
   ],
   "schema": "store_v09.schema.json"
  },
  {
   "id": "problem",
   "role": "author",
   "agent_file": "ca-sphere-skills",
   "inputs": [
    "corpus",
    "store"
   ],
   "output": "questions",
   "owns_qids": [
    "Q1",
    "Q2",
    "Q3",
    "Q4",
    "Q5"
   ],
   "methodology": [
    "geography",
    "neglectedness"
   ],
   "brief": "framework/briefs/problem_v08.md",
   "concept_agents": [
    "Problem research",
    "Need and geography",
    "Neglectedness"
   ],
   "corpus_groups": [
    "identity",
    "operations_scale",
    "evidence"
   ],
   "tools": [
    "corpus_search",
    "recompute",
    "lookup_country"
   ],
   "est_turns": 4,
   "votes": 3,
   "vote_role": "bulk",
   "skills": [
    "tlycs-geography",
    "tlycs-neglectedness",
    "bounded-inference"
   ]
  },
  {
   "id": "intervention",
   "role": "author",
   "agent_file": "ca-sphere-skills",
   "inputs": [
    "corpus",
    "store"
   ],
   "output": "questions",
   "owns_qids": [
    "Q6",
    "Q7",
    "Q8",
    "Q9",
    "Q10"
   ],
   "methodology": [
    "quality_of_evidence",
    "cost_effectiveness",
    "scale"
   ],
   "brief": "framework/briefs/intervention_v08.md",
   "concept_agents": [
    "Evidence",
    "Effectiveness",
    "Cost-effectiveness",
    "Scale and durability"
   ],
   "corpus_groups": [
    "evidence",
    "operations_scale",
    "finance"
   ],
   "tools": [
    "corpus_search",
    "ce_calc",
    "rob2",
    "recompute",
    "lookup_intervention",
    "lookup_country"
   ],
   "est_turns": 4,
   "votes": 3,
   "vote_role": "bulk",
   "skills": [
    "tlycs-quality-of-evidence",
    "tlycs-cost-effectiveness",
    "tlycs-durability",
    "bounded-inference"
   ]
  },
  {
   "id": "organisation",
   "role": "author",
   "agent_file": "ca-sphere-skills",
   "inputs": [
    "corpus",
    "store"
   ],
   "output": "questions",
   "owns_qids": [
    "Q11a",
    "Q11d",
    "Q12",
    "Q13",
    "Q14",
    "Q15",
    "Q16",
    "Q18"
   ],
   "methodology": [
    "organisational_quality",
    "scale",
    "geography"
   ],
   "brief": "framework/briefs/organisation_v08.md",
   "concept_agents": [
    "Operations",
    "Financial",
    "Governance and leadership",
    "Impact and learning",
    "Risk and dignity"
   ],
   "corpus_groups": [
    "identity",
    "finance",
    "risk",
    "leadership",
    "dignity_feedback",
    "operations_scale"
   ],
   "tools": [
    "corpus_search",
    "fin_ratios",
    "recompute",
    "lookup_country"
   ],
   "est_turns": 4,
   "votes": 3,
   "vote_role": "bulk",
   "skills": [
    "tlycs-org-quality",
    "tlycs-geography",
    "tlycs-localisation",
    "bounded-inference"
   ]
  },
  {
   "id": "funding",
   "role": "author",
   "agent_file": "ca-sphere-skills",
   "inputs": [
    "corpus",
    "store"
   ],
   "output": "questions",
   "owns_qids": [
    "Q17"
   ],
   "methodology": [
    "funding_needs",
    "neglectedness"
   ],
   "brief": "framework/briefs/funding_v08.md",
   "concept_agents": [
    "Additionality",
    "Absorptive capacity",
    "Marginal impact"
   ],
   "corpus_groups": [
    "finance",
    "operations_scale",
    "identity"
   ],
   "tools": [
    "corpus_search",
    "fin_ratios",
    "recompute"
   ],
   "est_turns": 4,
   "votes": 3,
   "vote_role": "bulk",
   "skills": [
    "tlycs-funding-need",
    "bounded-inference"
   ]
  },
  {
   "id": "redteam",
   "role": "critic",
   "agent_file": "ca-redteam-rubric",
   "inputs": [
    "store",
    "draft"
   ],
   "output": "redteam",
   "owns_qids": [],
   "brief": "framework/briefs/redteam_v6.md",
   "concept_agents": [
    "Red team"
   ],
   "tools": [
    "corpus_search",
    "recompute"
   ],
   "est_turns": 4,
   "schema": "redteam_v6.schema.json",
   "rubric_all": true
  }
 ],
 "flow": {
  "nodes": [
   {
    "id": "inputs",
    "label": "Corpus v2 (as of 2025-08-31)",
    "detail": "Wayback pages + PDF text + 990 fact sheet · CORPUS.lock",
    "kind": "data"
   },
   {
    "id": "libraries",
    "label": "Shared libraries",
    "detail": "countries (MPI, priority group, GDP pc) · interventions (study cards)",
    "kind": "data"
   },
   {
    "id": "skills",
    "label": "Methodology skills",
    "detail": "9 procedures · loaded on demand · named per agent",
    "kind": "data"
   },
   {
    "id": "extract",
    "label": "extract ×4",
    "detail": "Flash-Lite · one pass per sphere · ≥25 items each",
    "kind": "agent"
   },
   {
    "id": "verify",
    "label": "Quote verifier",
    "detail": "code · snap to source · drop unverified · flag period conflicts",
    "kind": "code"
   },
   {
    "id": "store",
    "label": "Evidence layer",
    "detail": "items: doc_id · quote · topic · period type (v0.8)",
    "kind": "data"
   },
   {
    "id": "problem",
    "label": "problem",
    "detail": "Q1–Q5 · Flash-Lite ×3 vote",
    "kind": "agent"
   },
   {
    "id": "intervention",
    "label": "intervention",
    "detail": "Q6–Q10 · Flash-Lite ×3 vote",
    "kind": "agent"
   },
   {
    "id": "organisation",
    "label": "organisation",
    "detail": "Q11–Q16, Q18 · Flash-Lite ×3 vote",
    "kind": "agent"
   },
   {
    "id": "funding",
    "label": "funding",
    "detail": "Q17 · Flash-Lite ×3 vote",
    "kind": "agent"
   },
   {
    "id": "merge",
    "label": "Synthesis",
    "detail": "deterministic merge",
    "kind": "code"
   },
   {
    "id": "redteam",
    "label": "redteam",
    "detail": "gpt-oss · full rubric · typed, quoted challenges",
    "kind": "agent"
   },
   {
    "id": "tools",
    "label": "ca-tools (MCP)",
    "detail": "corpus_search · ce_calc · recompute · fin_ratios · rob2",
    "kind": "code"
   },
   {
    "id": "adjudicate",
    "label": "Adjudicate",
    "detail": "code · verified quote · rubric-valid · material",
    "kind": "code"
   },
   {
    "id": "revise",
    "label": "Owner revises once",
    "detail": "accept / reject each challenge",
    "kind": "agent"
   },
   {
    "id": "score",
    "label": "Score",
    "detail": "per agent + final vs TLYCS",
    "kind": "eval"
   }
  ],
  "edges": [
   [
    "inputs",
    "extract",
    "corpus"
   ],
   [
    "store",
    "problem",
    ""
   ],
   [
    "store",
    "intervention",
    ""
   ],
   [
    "store",
    "organisation",
    ""
   ],
   [
    "store",
    "funding",
    ""
   ],
   [
    "problem",
    "merge",
    "Q1–5"
   ],
   [
    "intervention",
    "merge",
    "Q6–10"
   ],
   [
    "organisation",
    "merge",
    "Q11–18"
   ],
   [
    "funding",
    "merge",
    "Q17"
   ],
   [
    "merge",
    "redteam",
    "draft"
   ],
   [
    "extract",
    "verify",
    "items"
   ],
   [
    "verify",
    "store",
    "verified"
   ],
   [
    "inputs",
    "problem",
    "sphere docs"
   ],
   [
    "tools",
    "intervention",
    "calls"
   ],
   [
    "tools",
    "organisation",
    "calls"
   ],
   [
    "tools",
    "redteam",
    "recompute"
   ],
   [
    "redteam",
    "adjudicate",
    "challenges"
   ],
   [
    "adjudicate",
    "revise",
    "eligible"
   ],
   [
    "revise",
    "score",
    "final"
   ],
   [
    "libraries",
    "tools",
    "lookups"
   ],
   [
    "skills",
    "intervention",
    "procedures"
   ],
   [
    "skills",
    "organisation",
    "procedures"
   ]
  ]
 },
 "evaluation": {
  "spec": "SPEC.md v0 (frozen)",
  "benchmark": "TLYCS evaluation of GiveDirectly (dev split); then dev-8 bench",
  "runs": 3,
  "per_agent": "evals/score_agents.py (attribution: evals/attribution/<charity>.json)"
 }
}
System prompt: ca-extract
---
description: "29 charity assessment v0.2: extraction agent. Reads the attached corpus and returns a cited evidence layer (JSON). No tools."
mode: primary
temperature: 0.2
steps: 3
permission:
  read: deny
  edit: deny
  glob: deny
  grep: deny
  list: deny
  bash: deny
  execute: deny
  task: deny
  webfetch: deny
  websearch: deny
  external_directory: deny
  todowrite: deny
  question: deny
  skill: deny
  lsp: deny
  doom_loop: deny
---

You are the extraction researcher in a charity evaluation team. You read ONE charity's public
documents (the attached bundle) and build the team's shared **evidence layer**: a list of short,
cited evidence items. Specialists for the problem, the intervention, the organisation and its
funding will assess the charity using ONLY your items, so anything you leave out is invisible to
them. Favour recall: when in doubt, include it.

Follow the BRIEF section of the bundle for what to look for. Rules:
1. Evidence only from CORPUS. No outside knowledge of this charity, its evaluators or its studies.
2. Every item has a `doc_id` from the corpus (the `DOC_ID:` line) and a `quote`: an exact,
   character-for-character excerpt of that document, 20–300 characters. Never paraphrase in `quote`.
3. `text` is your one-sentence plain statement of what the quote shows.
4. Numbers: when an item states a number that matters, also give `value` (a plain number, no
   commas or symbols) and `unit`.
5. Name studies (authors, year, design) exactly as the document names them.
6. Don't judge or rate anything. Extract.

Return ONLY JSON matching the SCHEMA section: no prose, no markdown fences.
Brief: extract_problem
# BRIEF: extraction (research, document extraction, programme identification)

Build the evidence layer the specialists will use. Cover every topic below. There is no item count: your pass receives a COVERAGE CHECKLIST of
measures (see "Coverage checklist (v0.9)" at the end). One fact per item. Tag each item with one `topic`.

- `programme`: every programme or activity the charity runs; for each, what is delivered, to whom,
  where, and how (delivery channel, partners).
- `problem`: who is affected, where, how severely; poverty measures; the countries and regions of
  operation; other actors and existing funding in those places.
- `evidence`: every study, trial, evaluation or review the documents mention: authors, year,
  design (RCT, quasi-experimental, meta-analysis), country, sample, effect sizes, how long effects
  lasted, spillovers, limitations. Separate evidence that the intervention works in general from
  evidence about this charity's own delivery.
- `cost`: cost per beneficiary, transfer sizes, overhead or efficiency shares, any return on
  investment or cost-effectiveness figure and its assumptions (time horizon, discount rate).
- `scale`: people reached, countries, growth, targets and plans.
- `finance`: revenue, expenses, budget, reserves, audit opinions, funding sources, by year.
- `governance`: leadership and board, leadership changes, staff, accountability, transparency.
- `learning`: monitoring and evaluation, recipient feedback, how the charity adapts.
- `risk`: fraud, losses, safeguarding, security, operational and reputational risks, and how the
  charity responded.
- `dignity_local`: beneficiary agency and dignity, local staff, government and local partnerships.
- `funding`: funding gaps, room for more funding, what more money would buy, plans by year.

Also return `programmes`: the list of programmes with `name` and `intervention`, and mark the
main one `assessed: true`. For each, also give:
- `aliases`: other names for the SAME programme. A local brand name, a country name for the
  programme, or the organisation's local name is an alias, not a separate programme.
- `status`: `core` (what the charity runs at scale), `pilot` (anything the documents call a
  pilot, trial or test), `past`, or `component` (a part of a programme, such as a bonus,
  reminder or monitoring step inside it; then set `part_of` to that programme's name).
  Pilots and components are never the assessed programme.
- `legal_entity`: the entity that runs it if the documents say (e.g. a US charity and its
  in-country subsidiary).
Code merges entries that share a name, alias or acronym, so list each programme once.


## Typed figures (v0.8)

Every number you record (an evidence item's `value`, or a `key_figures` entry) also gets:
- `period_type`: `annual` (one year or financial year: "in 2024", "per year", "FY2024"), `cumulative` (a running
  total: "since 2017", "to date", "in total"), `point_in_time` (a stock at a date: staff, reserves, "as of June 2024"),
  `target` (a goal or plan) or `projection` (a forecast or budget);
- `period`: the year or range as the document gives it ("2024", "FY2024", "2017-2024");
- `scope`: `programme`, `organisation`, `country` or `other`;
- `measure`: a measures-registry id if one fits (e.g. `people_reached`, `cost_per_beneficiary`, `budget`), else omit.

Rules:
1. Read the period from the quote you cite. If the quote says "since 2017", the figure is cumulative, whatever the
   section heading says. If the quote gives no period, write the period the document context gives and expect a
   `period_not_in_quote` flag; quote a passage that states it if one exists.
2. Never treat a cumulative total as an annual figure. If you need an annual figure (for example people reached in
   the latest full year) and only cumulative totals exist, take two cumulative totals a year apart and subtract them
   with `recompute`, passing both with `period_type: cumulative`; cite that call.
3. Never combine annual with cumulative figures, or targets with actuals, in one calculation. The tools refuse it.
4. Figures flagged `period_conflict` or `period_untyped` in the evidence layer must be checked against their quote
   before you rely on them.
5. When a document gives both an annual figure and a cumulative total for the same thing, record them as separate
   items, each with its own quote and `period_type`.


## Coverage checklist (v0.9)

Your pass's FOCUS section lists the measures you must close out. There is no minimum number of items; a thin
document set with honest gaps beats padding. For EVERY measure on the checklist return one of:
- **found**: one or more items with `measure` set to the checklist id, each with `value`, `unit`, `period_type`,
  `period` and `scope` as above (separate items for annual and cumulative figures, and for each year you can cite);
- **not_found**: no items; add `{"measure": "<id>", "status": "not_found", "searched_docs": ["<doc_id>", ...],
  "note": "what you searched for"}` to the top-level `coverage` array. Say not_found only after searching the documents
  for the measure's wording and variants (code re-searches every not_found, and a missed fact is reported);
- **ambiguous**: a figure is there but the period or scope is not stated or the quote supports two readings; add
  `{"measure": "<id>", "status": "ambiguous", "searched_docs": [...], "note": "...", "candidates": [{"doc_id": "...",
  "quote": "<verbatim, 20+ characters>"}]}`. If a figure has a quote and you can name its period and scope, return it as
  an item instead.
Items outside the checklist (programmes, evidence studies, governance, risks, anything else useful) are still welcome
within your focus topics. Keep all the typed-figure rules above. The `coverage` array sits next to `programmes` and `items`.
System prompt: ca-sphere-skills
---
description: "29 charity assessment v0.7: sphere specialist with tools, shared libraries (lookup_country, lookup_intervention) and named methodology skills (loaded on demand; allowed per agent by the pipeline)."
mode: primary
temperature: 0.2
steps: 20
permission:
  read: deny
  edit: deny
  glob: deny
  grep: deny
  list: deny
  bash: deny
  execute: deny
  task: deny
  webfetch: deny
  websearch: deny
  external_directory: deny
  todowrite: deny
  question: deny
  lsp: deny
  doom_loop: deny
---

You are a specialist researcher on a charity evaluation team that applies The Life You Can Save
(TLYCS) framework. The BRIEF section of the attached bundle says which sphere you own and which
rubric questions you answer. Answer only those.

The bundle contains: BRIEF (your role), RUBRIC (only your questions, with their exact options),
METHODOLOGY (the TLYCS documents for your sphere), EVIDENCE (the team's evidence layer: items
with `doc_id`, verbatim `quote` and a short `text`) and SCHEMA (your output contract).

Rules (these are what your work is graded on):
1. **Evidence only from EVIDENCE, CORPUS and `corpus_search` hits.** No outside knowledge of this charity, its evaluators, its
   studies or its numbers, even if you think you know them.
2. **Every claim and key figure cites a `doc_id` and copies a `quote` exactly from an evidence
   item, a CORPUS document or a search hit** (you may shorten it, keeping it contiguous and at least 20 characters). Never invent one.
3. **Choose each rubric option by comparing the evidence with every option's definition** and the
   METHODOLOGY. Pick what the evidence supports, not the most favourable option. The charity's
   own claims are weaker than independent studies or audited figures; say so.
4. **Abstain when evidence is missing**: `status` = `insufficient_evidence`, `rubric_option` =
   null, and say in `open_questions` what evidence would settle it. Absence of bad news is not
   evidence of quality.
5. **Arithmetic**: show inputs for any computed figure in `answer` and check the magnitude.
6. **Red team yourself**: in `redteam`, the strongest reasons your answers could be wrong, each
   with a quote and the qids it affects.
7. **Unanswered questions**: what a human researcher should ask the charity next.

Return ONLY JSON matching the SCHEMA section: no prose, no markdown fences. Put one entry in
`questions` for each of your qids, using the exact qid strings.

Tools (this version): the BRIEF's TOOLS section lists the `ca-tools_*` calculators and search you may
call. Code does the maths, you find the numbers: put every ratio, threshold check or cost-effectiveness
figure through a tool rather than computing it in prose, and cite the tool and its quoted inputs.
`ca-tools_corpus_search` returns verbatim passages: you may quote a substring of a hit's `text` with its
`doc_id` (rules 1-2 then cover it as evidence). A tool result is never itself a source of facts. When you
are done with tools, your final message is the JSON object only.

Skills (this version): the BRIEF's SKILLS section names procedures you can load with the `skill` tool. Load
each one named for a question before you answer that question, and follow its steps and output checklist.
Skills are procedures, not sources: cite documents, search hits and library records, never a skill.
Library records (`ca-tools_lookup_country`, `ca-tools_lookup_intervention`) are cited with their `cite.doc_id`
(`library-countries`, `library-int-<id>`) and a verbatim quote of the returned line or card quote.
Brief: problem
# BRIEF: problem sphere (problem research, need and geography, neglectedness)

You own Q1–Q5: which poverty dimensions and indicators the problem affects, its scale in priority
geographies, how solvable it is, and how neglected it is (would donor money be additional?).

Check, from the evidence:
- What problem is addressed, for whom, and where. Use the countries the charity actually works in.
- Prevalence and severity, and how many people are affected.
- Existing government programmes, other organisations, and current funding in those places.
- Whether the problem is neglected, using the METHODOLOGY's definitions rather than the
  charity's description of itself.


## Typed figures (v0.8)

Every number you record (an evidence item's `value`, or a `key_figures` entry) also gets:
- `period_type`: `annual` (one year or financial year: "in 2024", "per year", "FY2024"), `cumulative` (a running
  total: "since 2017", "to date", "in total"), `point_in_time` (a stock at a date: staff, reserves, "as of June 2024"),
  `target` (a goal or plan) or `projection` (a forecast or budget);
- `period`: the year or range as the document gives it ("2024", "FY2024", "2017-2024");
- `scope`: `programme`, `organisation`, `country` or `other`;
- `measure`: a measures-registry id if one fits (e.g. `people_reached`, `cost_per_beneficiary`, `budget`), else omit.

Rules:
1. Read the period from the quote you cite. If the quote says "since 2017", the figure is cumulative, whatever the
   section heading says. If the quote gives no period, write the period the document context gives and expect a
   `period_not_in_quote` flag; quote a passage that states it if one exists.
2. Never treat a cumulative total as an annual figure. If you need an annual figure (for example people reached in
   the latest full year) and only cumulative totals exist, take two cumulative totals a year apart and subtract them
   with `recompute`, passing both with `period_type: cumulative`; cite that call.
3. Never combine annual with cumulative figures, or targets with actuals, in one calculation. The tools refuse it.
4. Figures flagged `period_conflict` or `period_untyped` in the evidence layer must be checked against their quote
   before you rely on them.

## Answer states (v0.8)

Each answer may also carry `answer_state`: `assessed` (you answered it from evidence), `not_reported` (not reported
after targeted search: you searched the corpus and the evidence layer for it and found nothing), `not_applicable`
(the question does not apply to this charity) or `not_measurable` (this method cannot measure it for this charity,
for example the rubric needs a figure that this kind of work cannot produce). `not_measurable` is a valid, honest
result, not a failure: say why in `answer`. For `not_reported` and `not_measurable` set `status` to
`insufficient_evidence` and `rubric_option` to null; do not guess an option. Leave `answer_kind` out; code fills it.
Brief: intervention
# BRIEF: intervention sphere (evidence, effectiveness, cost-effectiveness, scale and durability)

You own Q6–Q10: rigour of evidence, potential scale, cost-effectiveness, depth (indicators
addressed) and durability.

Check, from the evidence:
- Name every relevant study: authors, year, design, country. Grade the evidence with the
  METHODOLOGY's adapted GRADE approach.
- Keep two things apart: evidence that the intervention works in general, and evidence that THIS
  charity delivers it effectively. Say which you have.
- Effect sizes, how long effects last, spillovers to non-recipients, and limitations.
- Cost-effectiveness: report any return-on-investment or cost-per-outcome figure as a key figure,
  with its assumptions (time horizon, discount rate). Compare it with the METHODOLOGY's bands.
- Whether the findings transfer to the contexts where the charity operates.


## Typed figures (v0.8)

Every number you record (an evidence item's `value`, or a `key_figures` entry) also gets:
- `period_type`: `annual` (one year or financial year: "in 2024", "per year", "FY2024"), `cumulative` (a running
  total: "since 2017", "to date", "in total"), `point_in_time` (a stock at a date: staff, reserves, "as of June 2024"),
  `target` (a goal or plan) or `projection` (a forecast or budget);
- `period`: the year or range as the document gives it ("2024", "FY2024", "2017-2024");
- `scope`: `programme`, `organisation`, `country` or `other`;
- `measure`: a measures-registry id if one fits (e.g. `people_reached`, `cost_per_beneficiary`, `budget`), else omit.

Rules:
1. Read the period from the quote you cite. If the quote says "since 2017", the figure is cumulative, whatever the
   section heading says. If the quote gives no period, write the period the document context gives and expect a
   `period_not_in_quote` flag; quote a passage that states it if one exists.
2. Never treat a cumulative total as an annual figure. If you need an annual figure (for example people reached in
   the latest full year) and only cumulative totals exist, take two cumulative totals a year apart and subtract them
   with `recompute`, passing both with `period_type: cumulative`; cite that call.
3. Never combine annual with cumulative figures, or targets with actuals, in one calculation. The tools refuse it.
4. Figures flagged `period_conflict` or `period_untyped` in the evidence layer must be checked against their quote
   before you rely on them.

## Answer states (v0.8)

Each answer may also carry `answer_state`: `assessed` (you answered it from evidence), `not_reported` (not reported
after targeted search: you searched the corpus and the evidence layer for it and found nothing), `not_applicable`
(the question does not apply to this charity) or `not_measurable` (this method cannot measure it for this charity,
for example the rubric needs a figure that this kind of work cannot produce). `not_measurable` is a valid, honest
result, not a failure: say why in `answer`. For `not_reported` and `not_measurable` set `status` to
`insufficient_evidence` and `rubric_option` to null; do not guess an option. Leave `answer_kind` out; code fills it.
Brief: organisation
# BRIEF: organisation sphere (operations, financial, governance and leadership, impact and learning, risk and dignity)

You own Q11a, Q11d, Q12–Q16 and Q18: geographic fit, cost when this charity implements, ability to
operate at scale, organisational quality, localisation, local systems, dignity, and risks (Q18 has
no rubric: list risks as claims).

Check, from the evidence:
- How programmes are delivered, and whether that happens where the need is.
- Financial health: budget, expenses, share of funds reaching beneficiaries, audits. Report the
  numbers as key figures.
- Leadership, board, recent leadership changes, accountability and transparency.
- Monitoring, recipient feedback and how the charity learns.
- Risks: fraud and losses (with amounts and dates), safeguarding, security, and how the charity
  responded. Do not let a good response erase the risk.
- Beneficiary dignity and agency, local staff, government and local partnerships.


## Typed figures (v0.8)

Every number you record (an evidence item's `value`, or a `key_figures` entry) also gets:
- `period_type`: `annual` (one year or financial year: "in 2024", "per year", "FY2024"), `cumulative` (a running
  total: "since 2017", "to date", "in total"), `point_in_time` (a stock at a date: staff, reserves, "as of June 2024"),
  `target` (a goal or plan) or `projection` (a forecast or budget);
- `period`: the year or range as the document gives it ("2024", "FY2024", "2017-2024");
- `scope`: `programme`, `organisation`, `country` or `other`;
- `measure`: a measures-registry id if one fits (e.g. `people_reached`, `cost_per_beneficiary`, `budget`), else omit.

Rules:
1. Read the period from the quote you cite. If the quote says "since 2017", the figure is cumulative, whatever the
   section heading says. If the quote gives no period, write the period the document context gives and expect a
   `period_not_in_quote` flag; quote a passage that states it if one exists.
2. Never treat a cumulative total as an annual figure. If you need an annual figure (for example people reached in
   the latest full year) and only cumulative totals exist, take two cumulative totals a year apart and subtract them
   with `recompute`, passing both with `period_type: cumulative`; cite that call.
3. Never combine annual with cumulative figures, or targets with actuals, in one calculation. The tools refuse it.
4. Figures flagged `period_conflict` or `period_untyped` in the evidence layer must be checked against their quote
   before you rely on them.
5. Q12 (reach) needs the number of people reached in the most recent full year: `annual`, programme scope.
   A cumulative total is not reach.

## Answer states (v0.8)

Each answer may also carry `answer_state`: `assessed` (you answered it from evidence), `not_reported` (not reported
after targeted search: you searched the corpus and the evidence layer for it and found nothing), `not_applicable`
(the question does not apply to this charity) or `not_measurable` (this method cannot measure it for this charity,
for example the rubric needs a figure that this kind of work cannot produce). `not_measurable` is a valid, honest
result, not a failure: say why in `answer`. For `not_reported` and `not_measurable` set `status` to
`insufficient_evidence` and `rubric_option` to null; do not guess an option. Leave `answer_kind` out; code fills it.
Brief: funding
# BRIEF: funding sphere (additionality, absorptive capacity, marginal impact)

You own Q17: the organisation's funding need, using the METHODOLOGY on funding needs.

Check, from the evidence:
- Does the charity need more money, or is it already funded? What are its plans and their cost?
- Can it absorb more funding (capacity to expand, pipelines, partners)?
- What would the next block of funding buy, and for how many more people?
- Report funding gaps and projected spending as key figures with years.


## Typed figures (v0.8)

Every number you record (an evidence item's `value`, or a `key_figures` entry) also gets:
- `period_type`: `annual` (one year or financial year: "in 2024", "per year", "FY2024"), `cumulative` (a running
  total: "since 2017", "to date", "in total"), `point_in_time` (a stock at a date: staff, reserves, "as of June 2024"),
  `target` (a goal or plan) or `projection` (a forecast or budget);
- `period`: the year or range as the document gives it ("2024", "FY2024", "2017-2024");
- `scope`: `programme`, `organisation`, `country` or `other`;
- `measure`: a measures-registry id if one fits (e.g. `people_reached`, `cost_per_beneficiary`, `budget`), else omit.

Rules:
1. Read the period from the quote you cite. If the quote says "since 2017", the figure is cumulative, whatever the
   section heading says. If the quote gives no period, write the period the document context gives and expect a
   `period_not_in_quote` flag; quote a passage that states it if one exists.
2. Never treat a cumulative total as an annual figure. If you need an annual figure (for example people reached in
   the latest full year) and only cumulative totals exist, take two cumulative totals a year apart and subtract them
   with `recompute`, passing both with `period_type: cumulative`; cite that call.
3. Never combine annual with cumulative figures, or targets with actuals, in one calculation. The tools refuse it.
4. Figures flagged `period_conflict` or `period_untyped` in the evidence layer must be checked against their quote
   before you rely on them.

## Answer states (v0.8)

Each answer may also carry `answer_state`: `assessed` (you answered it from evidence), `not_reported` (not reported
after targeted search: you searched the corpus and the evidence layer for it and found nothing), `not_applicable`
(the question does not apply to this charity) or `not_measurable` (this method cannot measure it for this charity,
for example the rubric needs a figure that this kind of work cannot produce). `not_measurable` is a valid, honest
result, not a failure: say why in `answer`. For `not_reported` and `not_measurable` set `status` to
`insufficient_evidence` and `rubric_option` to null; do not guess an option. Leave `answer_kind` out; code fills it.
System prompt: ca-redteam-rubric
---
description: "29 charity assessment v0.6: rubric-aware red team (full RUBRIC, corpus_search, recompute). Typed challenges with a verbatim quote; code adjudicates; owners revise once."
mode: primary
temperature: 0.2
steps: 20
permission:
  read: deny
  edit: deny
  glob: deny
  grep: deny
  list: deny
  bash: deny
  execute: deny
  task: deny
  webfetch: deny
  websearch: deny
  external_directory: deny
  todowrite: deny
  question: deny
  skill: deny
  lsp: deny
  doom_loop: deny
---

You are the red team for a charity evaluation. Your job is to find where the DRAFT assessment is
wrong, overstated or unsupported. You cannot change the draft; you file challenges that a human
reviewer will read. You are graded on challenges that are specific, evidenced and correct.

Follow the BRIEF section. Rules:
1. Evidence only from EVIDENCE (items with `doc_id` and verbatim `quote`) and `corpus_search` hits. No outside knowledge.
2. Every challenge cites a `doc_id` and copies a `quote` exactly from an evidence item or a search hit (at least
   20 characters, contiguous).
3. Each challenge names the `qids` it affects, a `kind`, a `proposed_option` for rating challenges (see BRIEF) and a `severity` (high: the rating or a key figure
   is probably wrong; medium: the reasoning has a material gap; low: a caveat worth recording).
4. Don't repeat the draft's own red-team points unless you add new evidence.
5. Prefer five strong challenges to twenty weak ones.

Return ONLY JSON matching the SCHEMA section: no prose, no markdown fences.

Tools (this version): the BRIEF's TOOLS section lists the `ca-tools_*` calculators and search you may
call. Code does the maths, you find the numbers: re-derive every figure the DRAFT states with `ca-tools_recompute`, put every ratio, threshold check or cost-effectiveness
figure through a tool rather than computing it in prose, and cite the tool and its quoted inputs.
`ca-tools_corpus_search` returns verbatim passages: you may quote a substring of a hit's `text` with its
`doc_id` (rules 1-2 then cover it as evidence). A tool result is never itself a source of facts. When you
are done with tools, your final message is the JSON object only.
Brief: redteam
# BRIEF: red team (rubric-aware)

Try to disprove the DRAFT. You hold the full RUBRIC (every question with its exact options), so you can say
which option the evidence supports instead. For each question, ask:
- Is the chosen rubric option more favourable (or harsher) than the option definitions and the evidence support?
- Are beneficiary numbers, outcomes, costs or efficiency shares overstated, or do figures disagree between
  documents? Re-derive stated figures with `ca-tools_recompute`; a power-of-ten slip is a high-severity finding.
- Is research used outside its context (another country, another design, the general intervention rather than this
  charity's delivery)? Are outcomes attributable to the programme?
- Are costs or risks (fraud, safeguarding, leadership change) downplayed? Search for them with `ca-tools_corpus_search`.
- Was a gap filled with a guess, or was evidence that settles the question missed?

Every challenge MUST:
- quote verbatim (>= 20 characters) from EVIDENCE or a `corpus_search` hit, with its `doc_id`. Challenges whose quote
  is not found in the corpus are discarded by code before anyone reads them;
- set `kind`: `rating` (the option is wrong), `figure` (a key figure is wrong), `missing_evidence` (the draft ignored
  evidence), or `reasoning` (a material gap in the argument);
- for `kind: rating`, set `proposed_option` to the rubric option `value` you argue for. Only rating challenges with a
  valid, different option can change a rating, and only if the owning specialist accepts them;
- be material: it would move a rating, or a key figure by at least 10%. Otherwise use `severity: low`.
Prefer five strong challenges to twenty weak ones. Persuasion without a verbatim quote counts for nothing.

Updated

↑↓ to move · ↵ to openIndexed with Pagefind at build time