{
  "name": "alpha_dri_interventions",
  "what": "Two independent logs of interventions recorded when TimeBack does not resolve a student's stalled progress on its own: requests raised by Campus DRIs, and remediation artefacts recorded by Curriculum DRIs. Answers, one log at a time, what is failing, how often, which stalls recur, what is open, and what to fix first. A served built_by column states whether each row was produced by a human, by a pipeline, or is unknown, so human effort is never inferred from wording. Inside the Campus DRI log a served entry_kind column states whether each filing was work pushed to another role or work the Campus DRI absorbed themselves, and the effort column is scoped to the second BY CONSTRAINT — so DRI time can be sized, but only over manual work and never over the whole campus log.",
  "when": "Reach for it for platform-failure and remediation questions. Route away for whether a student is actually stuck (mastery source) or what a remediation contained (curriculum source). Headline trap: a ROW IS A TOUCH, NOT A FAILURE — fold on email+subject+grade WITHIN ONE LOG and report both numbers, labelled. Second trap: the two `section` members are INDEPENDENT LOGS, not two ends of one flow — never total across them, never expect them to pair. Third trap: inside `campus_dri`, `entry_kind` splits work pushed to someone else from work the Campus DRI did themselves, and `minutes_spent` is NULL on the former BY CONSTRAINT — so scope every minutes figure to `entry_kind = 'manual_work'`, or the denominator is the whole campus log and the answer understates DRI time. Coverage: the request log (`campus_dri`) starts 4 Sep 2026 and the work log (`subject_dri`) 7 Sep 2026 — nothing earlier exists, so never read an absence before those dates as zero. Scope: every campus on the dashboard roster can file into the request log — Alpha School campuses, Alpha Anywhere and GT, the sports academies, and the partner and public-school programs — so a campus with few rows is in scope with little filing, not out of scope.",
  "why": {
    "relevance": "The only record of remediation TimeBack did not do by itself, and the only place the trigger for each one is written down.",
    "contract": "https://data-source-skills.vercel.app/contract",
    "sha256": "ef8deab66a8743e6557342c84283a7eaeb4799dc4db3b93540b8030bb2e14780",
    "brainlift": {
      "url": "https://workflowy.com/s/brainlift-academic-d/aIltlfOWBSCHVAjc",
      "author": "Bruna Rodrigues, source owner — written by hand, not generated",
      "render": "A Workflowy outline rendered client-side: a plain GET returns an empty shell, not the content. Render it in a browser. If you cannot, say the judgment layer was unavailable to you rather than answering from the rows alone.",
      "read": "The interpretive authority for this source. The dictionary says what a column is; the enablement says how to query it; this says what the values MEAN — which interventions signal a platform failure, which are routine, and what good looks like in numbers the owner believes. Prefer it over inference for any question of meaning, severity or sufficiency.",
      "precedence": "Wins on meaning and severity. Does NOT override the dictionary on mechanics, and does NOT override the TimeBack metric standard on metric definitions."
    }
  },
  "how": {
    "native": {
      "base": "https://4mxev38j.function2.insforge.app",
      "auth": "X-Client-Id: ak_<id> + X-Client-Secret: sk_<secret>, or HTTP Basic base64(id:secret). GET only; the reader brings its own key.",
      "selfDescribe": [
        "https://4mxev38j.function2.insforge.app/read-api"
      ],
      "notes": "Omit ?table to list the tables a credential may read. Params: table, select, limit (paged; default below the maximum), offset, order=col.asc|desc, <col>=<op>.<value> with eq neq gt gte lt lte like ilike is. A malformed operator on a text column returns ok:true with zero rows; on a typed column it returns 400.",
      "keyAcquisition": "Credentials are issued per person by the Alpha Academics team and are REUSABLE (not one-time links). Request one from bruna.rodrigues@alpha.school, the source owner, who mints them under Admin → API Access."
    },
    "dictionary": "https://4mxev38j.function2.insforge.app/dss/dictionary",
    "enablement": "https://4mxev38j.function2.insforge.app/dss/enablement"
  },
  "pii": "Handles a minor's records. Student identity travels in free text (reason, approval_notes, request_type_other) as well as in the identity columns. This front and both documents publish grouping and shapes only, never a real value; the data itself stays behind a key.",
  "feedback": {
    "report": "POST https://4mxev38j.function2.insforge.app/dss/feedback {title, body, from} -> 201",
    "open": "https://4mxev38j.function2.insforge.app/dss/feedback",
    "keyContact": "bruna.rodrigues@alpha.school (source owner and key issuance)",
    "caps": {
      "title": 200,
      "body": 10000
    },
    "notes": "Reports carry counts, time spans and masked samples only — never student rows, emails, or name-bearing URLs. The open listing never echoes report bodies."
  }
}