Skip to content

MIF Level-3 I/O conformance as the harness substrate

ADR-0002: MIF Level-3 I/O conformance as the harness substrate

Section titled “ADR-0002: MIF Level-3 I/O conformance as the harness substrate”

Accepted

The harness needs one authoritative interchange format so that every artifact crossing the project boundary — findings, the knowledge graph, citations, provenance, reports, ingested sources — is machine-validated against a single contract (docs/explanation/mif-io-conformance.md, docs/explanation/architecture.md §6c). The question is which format binds these artifacts, and at what conformance level.

The prior system suffered schema drift: findings, the knowledge graph, citations, and provenance each used ad-hoc shapes that had to be reconciled by hand, and the graph was derived from tags rather than being first-class.

  1. One machine-validated contract for findings, graph, citations, and provenance.
  2. Reports and ingested sources, not just findings, must be held to the contract.
  1. The knowledge graph should be first-class, not derived from tags.
  2. Harness lifecycle state (falsification, quarantine, lineage) must be carried without forking the base format.

Option 1: Bespoke per-artifact JSON schemas

Section titled “Option 1: Bespoke per-artifact JSON schemas”

Description: Define a tailored JSON schema for each artifact type independently, as the prior system did.

  • Advantages: Maximally tailored to each artifact’s exact needs.
  • Disadvantages: Reproduces the schema drift this template exists to eliminate, and the graph stays tag-derived.
  • Risk Assessment: technical medium; schedule low; ecosystem high.

Description: Adopt MIF but require only Level-1 frontmatter concept identity, without enforcing provenance or a citation closure.

  • Advantages: Cheap — only frontmatter identity is required of each artifact.
  • Disadvantages: Does not bind provenance or a citation closure, so findings could ship without verifiable evidence.
  • Risk Assessment: technical low; schedule low; ecosystem medium.

Option 3: MIF Level-3 with a harness extension

Section titled “Option 3: MIF Level-3 with a harness extension”

Description: Require MIF Level-3 (provenance + citations + entities + extensions) validated against the vendored schemas/mif/ closure, with harness-only patterns under extensions.harness.

  • Advantages: Every finding is a MIF memory unit validated against the vendored closure; the graph is MIF entities and typed relationships; citations are MIF Citation objects; provenance is the W3C-PROV block; harness-local concerns close the gap locally rather than forking MIF.
  • Disadvantages: The vendored MIF closure must be tracked and updated.
  • Risk Assessment: technical low; schedule low; ecosystem low.

Adopt Option 3: MIF Level-3 with a harness extension. harness.config.json sets mifConformanceLevel: 3. A finding is an individual MIF memory unit validated against the vendored schemas/mif/ closure; reports (reports/<topic>/<slug>.md) are MIF L3 held to the same bar as a finding; and ingested sources are wrapped as validated MIF source-envelopes. schemas/findings.schema.json $refs the real vendored MIF schema and only adds harness-local concerns under extensions.harness, never overriding MIF (§8b).

  1. Schema drift collapses into one machine-validated contract.
  2. The knowledge graph becomes first-class instead of tag-derived.
  1. Vendoring the MIF closure adds an upstream-tracking obligation (schemas/mif/VENDOR.lock).
  1. The L3 floor binds the whole I/O surface, not findings alone, which raises the bar uniformly for reports and ingested sources.

A single authoritative format makes findings, the graph, citations, and provenance one validated contract, with harness lifecycle state added locally rather than by forking MIF. The upstream-tracking cost is contained by the vendor lock file.

  • Date: 2026-06-23
  • Source: docs/explanation/mif-io-conformance.md, schemas/findings.schema.json, harness.config.json

Status: Compliant

FindingFilesAssessment
Conformance level declaredharness.config.json (mifConformanceLevel: 3)compliant
Findings schema refs vendored MIFschemas/findings.schema.jsoncompliant
Vendored MIF closure presentschemas/mif/, schemas/mif/VENDOR.lockcompliant

Summary: The L3 conformance level is declared, the findings schema references the vendored MIF closure, and the closure is vendored under schemas/mif/.

Action Required: None