<?xml version="1.0" encoding="UTF-8"?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" category="info" docName="draft-watts-mica-nex-measurement-ingestion-00" ipr="trust200902" submissionType="IETF" xml:lang="en" version="3">
  <front>
    <title abbrev="MICA-NEX Measurement Ingestion">MICA-NEX v0.3: Authenticated Measurement Ingestion for Model-Agnostic Nano-Instrument Agent Swarms</title>
    <seriesInfo name="Internet-Draft" value="draft-watts-mica-nex-measurement-ingestion-00"/>
    <author fullname="Deonté O'dell Watts" asciiFullname="Deonte O'dell Watts" initials="D. O." surname="Watts">
      <organization>GoodShyt Group Inc.</organization>
      <address>
        <email>deonte@goodshyt.fun</email>
        <uri>https://orcid.org/0009-0005-8586-3650</uri>
      </address>
    </author>
    <date year="2026" month="October" day="22"/>
    <keyword>MICA-NEX</keyword>
    <keyword>measurement provenance</keyword>
    <keyword>Ed25519</keyword>
    <keyword>agent swarms</keyword>
    <keyword>nanotechnology</keyword>
    <keyword>metrological traceability</keyword>
    <abstract>
      <t>This document describes a narrow, testable next step in the MICA-NEX proposal: cryptographically binding nanoscale instrument measurement claims to externally provisioned acquisition and calibration signer roles while denying model planners the ability to self-certify measurement status. The reference implementation uses Ed25519 signatures, SHA-256 content binding, typed units, time windows, source-kind separation, and a persistent local replay ledger. In a hardware-disconnected test harness, 60/60 signed synthetic test records from three simulated instrument classes were admitted and 30/30 adversarial cases were rejected for the expected reason; 28/28 Python tests passed. No instrument, laboratory calibration, external reviewer, clinical context or independent physical replication was involved. Signature validity is deliberately distinguished from scientific validity.</t>
    </abstract>
  </front>
  <middle>
    <section anchor="intro">
      <name>Introduction and Research Question</name>
      <t>The prior MICA-NEX v0.1 gate <xref target="MICANEX01"/> accepts only SIMULATED records, so it cannot truthfully ingest MEASURED claims without a new interface. This conflict was logged as EM-005 in EXP-01 v0.2. Our question is whether one strictly typed, model-neutral acquisition-ingestion contract can accept records across scanning-probe, microfluidic-fluorescence and electrochemical categories while rejecting spoofed measurement authority and preserving evidence classification.</t>
      <t>Do not confuse a signature authenticating a claim with a verified physical measurement or traceable calibration. NIST defines metrological traceability via a documented calibration chain contributing to uncertainty <xref target="NIST-TRACEABILITY"/>. This implementation checks a declaration and its file digest, not the validity of any real-world calibration chain.</t>
      <t>This Internet-Draft is a faithful conversion of the author's research report "MICA-NEX v0.3: Authenticated Measurement Ingestion for Model-Agnostic Nano-Instrument Agent Swarms -- A hardware-disconnected, falsifiable software research experiment", Version 0.3, dated 20 October 2026. Mathematical notation and the table have been rendered in plain text. It is published for discussion; it is not a standard.</t>
    </section>
    <section anchor="arch">
      <name>Architecture and Principle</name>
      <t>The agent coordinator issues an unprivileged read-only request; separate laboratory holders would sign acquisition and calibration data outside the agent runtime. The central verifier binds the signed claim to bytes and prescribed instrument semantics.</t>
      <artwork type="ascii-art"><![CDATA[
  Untrusted planner -> deterministic policy
    -> independent operator-record source
    -> signed/typed ingestion -> evidence receipt
    -> independent scientific review

  No actuation path in this prototype; no AI-owned signing keys.
]]></artwork>
      <t>Three unit profiles are fixed: scanning-probe length in nm, microfluidic concentration in nM, and electrochemical potential in V. These units are illustrative for the narrow test, not a universal dimensional ontology.</t>
    </section>
    <section anchor="checks">
      <name>Cryptographic and Epistemic Checks</name>
      <t>Let R be raw acquisition bytes, C be the calibration document, A the signed acquisition claim, and K_A, K_C separately provisioned public keys. Admission requires:</t>
      <artwork type="ascii-art"><![CDATA[
  Verify_{K_A}(A, sigma_A)               = 1
  Verify_{K_C}(C_claim, sigma_C)         = 1
  SHA256(R)                              = A.raw_sha256
  SHA256(C)                              = C_claim.evidence_sha256
  unit(A) = unit(C_claim)                = U_i
  t_cal,start  <=  t_A  <=  t_cal,end
]]></artwork>
      <t>Ed25519 is specified by RFC 8032 <xref target="RFC8032"/>. The software uses project-specific sorted-key JSON with restrictive value types, labeled MICA-NEX-CJ/1. It does not claim RFC 8785 compliance <xref target="RFC8785"/>; cross-language canonicalization is deferred. Duplicate input JSON member keys are refused.</t>
      <t>The post-signature state is one of:</t>
      <ul>
        <li>TEST_FIXTURE + TEST_RECORD =&gt; TEST_RECORD_AUTHENTICATED_NOT_PHYSICAL;</li>
        <li>INSTRUMENT_CAPTURE + MEASURED_CLAIM =&gt; AUTHENTICATED_CLAIM_PHYSICAL_VALIDATION_PENDING;</li>
        <li>all other source/evidence combinations are rejected.</li>
      </ul>
      <t>Neither positive case can establish independent physical validation. The distinction resembles the separation between provenance activities, agents, and entities in the W3C PROV model <xref target="W3C-PROV"/>, without claiming implementation of PROV-O.</t>
    </section>
    <section anchor="exp02">
      <name>Experiment EXP-02: Reproducible Synthetic Gate</name>
      <t>Ephemeral Ed25519 keys are created by a test harness in memory and never packaged as laboratory credentials. A deterministic trial runner constructs 20 synthetic acquisition records per substrate plus ten negative-control cases per substrate. It calls a model-neutral policy coordinator and a common ingestion verifier. The test harness does not access an actual microscope, optical sensor or potentiostat. Units, hashes, state transitions, and SQLite replay protection are exercised on synthetic bytes only.</t>
      <table anchor="results">
        <name>EXP-02 results</name>
        <thead><tr><th>Test class</th><th>Passed</th><th>Total</th><th>Interpretation</th></tr></thead>
        <tbody>
          <tr><td>Signed TEST_FIXTURE records admitted</td><td>60</td><td>60</td><td>Software mock only</td></tr>
          <tr><td>Adversarial cases correctly rejected</td><td>30</td><td>30</td><td>Synthetic negatives</td></tr>
          <tr><td>Local unit tests</td><td>28</td><td>28</td><td>Python unittest</td></tr>
          <tr><td>Physical equipment connections</td><td>0</td><td>0</td><td>NOT RUN</td></tr>
          <tr><td>Independent third-party reproductions</td><td>0</td><td>0</td><td>NOT RUN</td></tr>
        </tbody>
      </table>
      <t>Negative scenarios include an agent-held forged key, false evidence-state promotion, changed raw or calibration bytes, expired calibration, inappropriate unit, stale record, forbidden physical effect, replay, and undeclared fields. All accepted records were labeled as test fixtures; no physical observation was synthesized into a scientifically verified one.</t>
    </section>
    <section anchor="limits">
      <name>Falsifiability, Limitations, and Priority</name>
      <t>Software falsifier: Show any unauthorized or altered record accepted by exactly this frozen gate and verified test conditions, or a test fixture classified as physically validated. Physical falsifier: When actually acquiring from three distinct calibrated instruments, show an irreducible schema/semantics change or a safety boundary failure needed for one class. These are prospective experiments, not completed results.</t>
      <t>The current code does not isolate a verifier OS process or protect a SQLite ledger from a privileged actor, provide HSM-backed keys or revocation, audit calibration traceability, verify vendor instrument identity, or enforce independent hardware interlocks. It does not establish that its components are novel compared with existing middleware, digital signatures, or provenance standards. There is no clinical or nano-robotic test and no evidence of energy improvement. Signed external review remains NOT RUN; the separate reviewer-signature checker cannot establish social or procedural reviewer independence.</t>
    </section>
    <section anchor="next">
      <name>Next Mandatory Gate</name>
      <t>Freeze the v0.3 contract, obtain a separately authorized laboratory and reviewer, pre-register independently produced expected results, then collect signed records from genuinely calibrated, independently operated scanning-probe, fluorescence and electrochemical measurement instruments. Preserve original raw bytes, calibration chain, reviewer-controlled key metadata, environment and signed replication report. Test real-world precision, uncertainty, source authentication, and instrument-operation safety independently of the software gate.</t>
      <t>Status: SOFTWARE SYNTHETIC PASS; PHYSICAL INTEROPERABILITY NOT RUN; INDEPENDENT REPLICATION NOT RUN; FIRST-IN-WORLD NOVELTY NOT ESTABLISHED.</t>
    </section>
    <section anchor="provenance">
      <name>Provenance and Disclosure</name>
      <t>Project PI and attribution: Deonte O'dell Watts, ORCID 0009-0005-8586-3650, GoodShyt Group Inc. AI-assisted design, implementation, literature checking and drafting; test authorship is not independent. Attribution here is not a legal declaration of inventorship or patent priority. Project concept first documented October 19, 2026.</t>
    </section>
    <section anchor="iana">
      <name>IANA Considerations</name>
      <t>This document has no IANA actions.</t>
    </section>
    <section anchor="security">
      <name>Security Considerations</name>
      <t>A valid signature proves only control of a signing key and integrity of the signed bytes under the stated trust assumptions; it does not prove that a measurement is correct, calibrated, traceable or physically valid. Implementations derived from this design need to keep signing keys out of reach of planning agents and of any process that can alter the trust store, the replay ledger or the trusted clock, because any of these would let an agent self-certify measurement status. The prototype's replay ledger is a local SQLite file that a privileged actor can modify; it offers no HSM-backed key custody and no key revocation. The project-specific canonical JSON (MICA-NEX-CJ/1) is not RFC 8785; cross-implementation canonicalization differences can cause verification failures or, if handled loosely, signature confusion, which is why duplicate JSON member names are rejected. The prototype has no actuation path; any future connection to physical instruments requires independent hardware interlocks and safety review outside the software gate.</t>
    </section>
  </middle>
  <back>
    <references>
      <name>Informative References</name>
      <reference anchor="RFC8032" target="https://www.rfc-editor.org/info/rfc8032"><front><title>Edwards-Curve Digital Signature Algorithm (EdDSA)</title><author fullname="S. Josefsson"/><author fullname="I. Liusvaara"/><date year="2017" month="January"/></front><seriesInfo name="RFC" value="8032"/><seriesInfo name="DOI" value="10.17487/RFC8032"/></reference>
      <reference anchor="RFC8785" target="https://www.rfc-editor.org/info/rfc8785"><front><title>JSON Canonicalization Scheme (JCS)</title><author fullname="A. Rundgren"/><author fullname="B. Jordan"/><author fullname="S. Erdtman"/><date year="2020" month="June"/></front><seriesInfo name="RFC" value="8785"/><seriesInfo name="DOI" value="10.17487/RFC8785"/></reference>
      <reference anchor="NIST-TRACEABILITY" target="https://www.nist.gov/calibrations/traceability"><front><title>NIST Policy on Metrological Traceability</title><author><organization>National Institute of Standards and Technology</organization></author><date/></front><refcontent>Undated policy page consulted 2026-10-20</refcontent></reference>
      <reference anchor="W3C-PROV" target="https://www.w3.org/TR/prov-primer/"><front><title>PROV Model Primer</title><author><organization>W3C Provenance Working Group</organization></author><date year="2013"/></front></reference>
      <reference anchor="MICANEX01" target="https://doi.org/10.5281/zenodo.23488201"><front><title>MICA-NEX v0.1: A Substrate-Agnostic, Physically Governed Interface for Agentic Nanotechnology Research</title><author fullname="D. O. Watts"/><date year="2026"/></front><seriesInfo name="DOI" value="10.5281/zenodo.23488201"/></reference>
    </references>
  </back>
</rfc>
