This protocol is the standard handoff between deterministic repo tools and generative mathematical interpretation. A script-backed skill should use it when execution can ground the answer without violating the user request or writing unsafe state.
- Context check: name the target, input artifacts, expected output, missing prerequisites, and whether the user asked for analysis only.
- Deterministic run: execute the smallest relevant script or validator and record the exact command.
- Artifact inspection: read the produced JSON, Markdown, log, or state file before drawing conclusions.
- Generative interpretation: state the mathematical consequence, epistemic status, uncertainty, and what the artifact does not prove.
- Typed next action: return a promotion, revision, evidence task, quarantine, rejection, or stop recommendation with unresolved obligations.
Do not run scripts when required inputs are absent, when writes would be unsafe or unrelated to the user request, when artifacts are known stale and cannot be refreshed, when the user explicitly requests analysis only, or when deterministic execution would hide a needed mathematical judgment.
executed_commands: exact command strings ornone.produced_artifacts: repo-relative paths inspected ornone.mathematical_consequence: what changed about definitions, invariants, route obligations, or proof relevance.epistemic_status: conjectural, evidence-backed, proof-obligation, blocked, refuted, promoted, or quarantined.unresolved_obligations: missing definitions, counterexamples, proof steps, source evidence, or validators.next_action: the smallest controlled follow-up.
Discovery skill: run a discovery-cycle script, inspect candidate rankings, then report which generated hypotheses preserve target commitments, which disconfirming observations would demote them, and which route enters proof queue versus watch/archive.
Evaluation skill: run the relevant validator or audit script, inspect hard-gate results, then separate preserved invariants from broken invariants and convert failures into proof obligations or demotion reasons.
Reporting skill: generate the report artifact only after source artifacts exist, inspect the report for preserved epistemic status, then state which claims remain conjectural, blocked, or evidence-backed.