{
  "protocol": "DIRECTION_D5_EXPERTISE_AND_MACHINE_IDIOM_001",
  "version": "1.0.0",
  "status": "proposed; frozen on merge to risk.neverthought.org. Any change is a new version, recorded in amendments, and data or cases produced under one version are never analysed under another.",
  "direction": "D5 · Expertise and machine idiom",
  "governing_question": "Do crossing classes written by domain experts find the consequence paths a crossing really had better than classes written by an agent swarm, does pairing them beat either alone, does compiling expert judgement into the machine idiom lose any of it, and are some paths that nobody recorded nonetheless real?",
  "warrant": {
    "grounds": [
      "Every crossing class on the site is synthetic, and no insurer, auditor, model-risk reviewer or regulator has reviewed one (NC-06).",
      "Structure uncertainty, whether a class has the paths that matter, cannot be repaired by better measurement. Knowing which paths exist is domain knowledge.",
      "The promotion-collapse grammar behind this programme was seeded from cases in four domains (systems biology, cyber attribution, AML and fraud, supply-chain custody), each of which needs domain judgement the programme does not have.",
      "Agent authoring of classes is now cheap. The position that domain expertise stays scarce when intelligence is abundant is therefore a claim that can be tested, and should be before the site relies on it.",
      "The open pilot already reports human judgements apart from outside residuals, so the site has a rule for admitting expert judgement as evidence rather than as authority."
    ],
    "gap": "There is no evidence that a domain expert adds anything to class authorship that an agent swarm cannot, or that the machine idiom carries expert judgement without loss.",
    "why_now": "The site is about to state, as its position, that people supply what form is about and machines supply the form. That position needs a test that could show it wrong."
  },
  "unit": {
    "class": "One crossing class written for one incident scenario by one arm, compiled to the site's class schema.",
    "recorded_path": "One consequence of an incident documented in the public record, coded before any arm starts."
  },
  "materials": {
    "domains": "Three: insurance claims handling, AML and fraud escalation, and supply-chain custody.",
    "incidents": "8 documented incidents per domain, 24 in total, drawn from named public sources (regulator enforcement notices, court decisions, published incident reviews) by a selection rule committed before recruitment: the first 8 per domain, in date order, that are published after the latest training cutoff stated for any model in the swarm and that record at least two distinct consequences.",
    "scenarios": "For each incident, a scenario written from the record as it stood before the crossing: the state, the proposed action and the actors. Outcomes and consequences are removed. Two people other than the scenario writer check each scenario for outcome leakage before it is sealed.",
    "ground_truth": "Two coders independently code each incident's recorded consequences as paths (affected party, consequence type). Agreed paths form the sealed ground truth. Disagreements are kept as UNRESOLVED paths, excluded from recall and reported.",
    "template": "A plain structured template for consequence paths, in ordinary language, so experts need no knowledge of the schema. The same compiler turns every arm's output into the class schema.",
    "held_out": "3 further incidents, one per domain, selected by the same rule and sealed separately, used only for the deskilling check."
  },
  "roles": {
    "experts": "At least 2 per domain, practising in that domain, none of whom has contributed to this site. Recruited by declared criteria; compensated at a fixed rate that does not depend on results. Each declares whether they recognise any incident; recognised incidents are analysed separately.",
    "swarm": "An agent swarm of at least 3 sessions across at least 2 model families, with no web access, configured and committed before it sees any scenario. Prompts, tool calls and transcripts are published.",
    "paired": "The swarm drafts; a second, different expert in the same domain challenges and amends the draft. Every expert amendment is recorded as attributed evidence with its stated basis, not as an override.",
    "compiler": "The same deterministic compiler for all arms, so every class reaches the grader in identical form.",
    "grader": "Matches declared paths to sealed ground truth. Sees compiled classes only, with arm labels removed. Is not a coder, scenario writer, expert or swarm operator.",
    "follow_up_checker": "Checks every declared path that matched no recorded path, from every arm, against public sources including those published after ground truth was coded. Sees each path with its scenario only, not its arm. Is not a coder, grader, expert or swarm operator.",
    "declared_limit": "The programme selects incidents, writes the template and runs the swarm. Experts are outside the programme; nothing else is."
  },
  "procedure": [
    "Commit this protocol, the incident selection rule and the swarm configuration.",
    "Select incidents by the rule and write scenarios. Leakage-check them, code ground truth, and commit hashes of scenarios and ground truth.",
    "Recruit experts. Assign incidents so that each incident gets one EXPERT class, one SWARM class and one PAIRED class, with no expert seeing an incident twice. Assignment uses a seed committed before recruitment.",
    "Each arm writes its classes. Commit every output before the reveal.",
    "Compile all outputs with the same compiler, strip arm labels and grade.",
    "Reveal ground truth and arm labels. Run the analysis once.",
    "Run the follow-up check on every unmatched declared path, blind to arm, and commit its outcomes before arm labels are joined to them.",
    "After their last paired session, each PAIRED expert writes one class alone for a held-out incident in their domain. Grade it like the others."
  ],
  "definitions": {
    "match": "A declared path matches a recorded path when it names the same affected party and the same consequence type. Right party with the wrong consequence, or the reverse, is PARTIAL and counts as a non-match, reported separately.",
    "recall": "Matched recorded paths over all agreed recorded paths for the incident.",
    "precision": "Matched declared paths over all declared paths. A declared path absent from the record is not shown false, only unrecorded, so precision is reported as a lower bound.",
    "compilation_loss": "In PAIRED, an expert amendment that names a path absent from the compiled class.",
    "follow_up": "For an unmatched declared path: CONFIRMED if a public source naming the incident shows the consequence occurred, CONTRADICTED if a source shows it did not, NOT_FOUND otherwise. NOT_FOUND is never read as false."
  },
  "hypotheses": {
    "H1": {
      "statement": "Domain expertise finds recorded consequence paths that an agent swarm misses.",
      "measure": "Per incident, EXPERT recall minus SWARM recall. Wilcoxon signed-rank test, with a bootstrapped 95% interval for the median difference.",
      "success": "The interval lies above 0.",
      "falsifier": "The interval includes or lies below 0. Then, on these incidents, expertise added no measurable recall over the swarm, the opening for human expertise is narrower than the site's position claims, and the Direction page says so."
    },
    "H2": {
      "statement": "Pairing expertise with the machine idiom beats either alone.",
      "measure": "Per incident, PAIRED recall minus the higher of EXPERT and SWARM recall, with a bootstrapped 95% interval.",
      "falsifier": "The interval includes or lies below 0. Pairing then adds nothing over the better single arm on these incidents."
    },
    "H3": {
      "statement": "The machine idiom carries expert judgement without losing it.",
      "measure": "Share of expert amendments in PAIRED that suffer compilation loss.",
      "falsifier": "More than 10% are lost. The template and compiler are then a lossy crossing for expertise and must be fixed, under a new version, before the site claims the pairing works."
    },
    "H4": {
      "statement": "Some consequence paths that nobody recorded are real, and an agent swarm finds some of them.",
      "measure": "Per arm, the follow-up outcomes of unmatched declared paths: counts and shares of CONFIRMED, CONTRADICTED and NOT_FOUND.",
      "falsifier": "No unmatched SWARM path is CONFIRMED. D5 then gives no support to the position that machines find real consequences people did not record, and the Direction page says so."
    }
  },
  "analysis": {
    "precision_and_cost": "Precision lower bounds, expert hours and swarm tokens per matched path are reported for every arm, descriptively.",
    "recognition": "Incidents an expert recognised, and incidents whose outcome a swarm session states before being told, are excluded from H1 and H2 and reported separately.",
    "by_domain": "All measures per domain, descriptively. No per-domain claim.",
    "small_n": "24 incidents and about 6 experts give wide intervals. A result is reported as holding on these incidents with these experts, nothing more.",
    "deskilling": "The 'tool goes down' check: each PAIRED expert's held-out solo recall is reported beside EXPERT-arm recall in the same domain. Descriptive only; too few cases for a test. A large drop is reported as a warning about the pairing, not as a finding.",
    "follow_up_scope": "Follow-up outcomes never change H1 to H3, which are scored against the coded record only."
  },
  "stopping": "Ends when every assigned class is committed, or 90 days after recruitment closes. Missing classes are listed, never written after the reveal.",
  "licenses": {
    "H1 success": {
      "licensed": "That on these incidents, domain experts found recorded consequence paths the swarm missed.",
      "not": "That experts are better at risk in general, that any particular expert is reliable, or that the swarm configuration was the best possible."
    },
    "H1 falsified": {
      "licensed": "Narrowing the site's position on human expertise, and saying so.",
      "not": "That expertise is worthless. Recall against the public record misses what nobody recorded."
    },
    "H2 and H3 hold": {
      "licensed": "That pairing an expert with the machine idiom found more recorded paths than either alone on these incidents, and kept the expert's judgement intact through compilation.",
      "not": "That the pairing produces adequate classes. Recall below 1 is expected, and no class is supported by this study."
    },
    "H4 holds": {
      "licensed": "That on these incidents a swarm declared at least one real consequence that the coded record missed.",
      "not": "That swarms see what people cannot in general, or that unconfirmed paths are real."
    }
  },
  "threats": [
    "The public record undercounts consequences, so recall is measured against what was recorded, not against what happened.",
    "Incidents could be known to experts or present in model training despite the cutoff rule. Declarations and outcome-stating checks reduce this; they do not exclude it.",
    "The programme chooses domains, writes the template and configures the swarm. A weak swarm configuration would flatter H1.",
    "A plain-language template may itself shape what experts write.",
    "A follow-up search can find coincidental or loosely matching consequences; CONFIRMED needs a source naming the incident.",
    "The deskilling check uses one held-out incident per expert, so it can warn but cannot show deskilling.",
    "Few experts per domain; one strong or weak expert can move a domain's result."
  ],
  "data_boundary": [
    "Public synthetic fixtures only, unless a section below says otherwise.",
    "No private workspace evidence, exports, enquiries or human-review records are used.",
    "Every input, sealed file, reveal and result is committed to a public repository with its SHA-256 before it is used.",
    "Public documents only. No confidential case material, client data or regulated personal data enters scenarios, even if an expert offers it.",
    "Expert identities are published only with consent; contributions are published under a random id."
  ],
  "dependencies": [
    "The plain-language template and the compiler, tested on the D1 fixture domains before recruitment.",
    "A follow-up checker outside the arms, coders and grader.",
    "Expert recruitment, which has not started.",
    "Two coders and a grader outside the arms."
  ],
  "amendments": [],
  "label": {
    "is": "A preregistered study of whether domain experts, an agent swarm, or both together write crossing classes that find more of a real incident's recorded consequences, and whether the machine idiom preserves what experts contribute.",
    "isnt": "A ranking of experts or models, a validation of any class, or evidence that the site's method works in these domains.",
    "stops": "At the public record. Consequences that nobody recorded cannot be scored, so the study measures what was recorded, not everything that happened."
  },
  "run_order": 5
}
