{
 "use_case": "discovery-deficiency",
 "title": "Discovery deficiency check: a California employer's answers to special interrogatories, served late and unverified",
 "about": "Synthetic responses on California pleading paper (every party, lawyer and fact invented). The requests were served by mail on 13 Mar 2026, so the answers were due 17 Apr (30 days + 5 for mail within California, CCP 1013(a)); they were served 20 Apr, 3 days late, which waives the objections (CCP 2030.290(a)). There is no verification: the oath in the proof of service is the server's, not the party's. Answers 2 and 5 are evasive, answer 8 says \"See documents produced\", answers 3 and 7 are fine. California still uses the \"reasonably calculated\" test (CCP 2017.010), so it must not be flagged as outdated. The check must flag all of this with quotes and rule cites, work out the 45-day motion date, draft a letter, attach a receipt to every model call and sign a record that verifies.",
 "licence": "Written for this bundle (CC0); every party, lawyer, case number and fact is invented. Part of decosa-api, AGPL-3.0-or-later.",
 "inputs": [{"file": "inputs/marlowe-rogs.txt", "what": "Responses to special interrogatories, set one (synthetic, California pleading paper)."}],
 "steps": [
  {"id": "check", "method": "POST", "path": "/discovery/check", "timeout": 300,
   "body": {"synthetic": true, "text": {"$file": "inputs/marlowe-rogs.txt"}, "jurisdiction": "california", "mode": "theirs",
            "requests_served_on": "2026-03-13", "requests_service": "mail", "privilege_log": "unknown",
            "parties": {"responding_party": "Coraline Home Health, Inc.", "our_client": "Jordan Marlowe"}}},
  {"id": "verify", "method": "POST", "path": "/record/verify", "auth": false, "body": {"record": {"$ref": "check.record"}}}
 ],
 "checks": [
  {"says": "the set is deficient", "path": "check.status", "equals": "deficient"},
  {"says": "late service is flagged (due 17 Apr, served 20 Apr)", "path": "check.flags[category=untimely]", "count": 1},
  {"says": "the missing verification is flagged (the proof of service oath does not count)", "path": "check.flags[category=missing_verification]", "count": 1},
  {"says": "the \"will supplement\" answer to interrogatory 5 is flagged as evasive", "path": "check.flags[item=interrogatory-5,category=evasive_incomplete]", "count_min": 1},
  {"says": "\"See documents produced\" in answer 8 is flagged", "path": "check.flags[item=interrogatory-8,category=evasive_incomplete]", "count_min": 1},
  {"says": "answers 3 and 7 are not flagged", "path": "check.flags[item=interrogatory-7]", "count": 0},
  {"says": "no pre-2015 standard flag in California", "path": "check.flags[category=outdated_standard]", "count": 0},
  {"says": "the 45-day motion date is worked out", "path": "check.motion_deadline.due", "equals": "2026-06-09"},
  {"says": "a letter is drafted", "path": "check.letter.text", "truthy": true},
  {"says": "every model call has a signed receipt", "receipts": "signed", "min": 8},
  {"says": "the signed record verifies", "path": "verify.ok", "equals": true}
 ]
}
