VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Edge Technology for Vocabulary | The Semantic Round-Trip Codec: Can Meaning Survive Export, Import and Re-export?

Three students in school uniforms work through open books at a classroom table, with textbooks and stationery nearby and study notes on the whiteboard behind them.

Edge Technology for Vocabulary requires meaning to survive a round trip between systems. A packet may be exported, imported and successfully re-exported while an unknown condition becomes false, a zero disappears or a meaning identifier changes. The Semantic Round-Trip Codec makes those failures visible with a narrow executable representation.

This original eduKate extension of the Portable Meaning Contract includes a JavaScript demonstrator executed on twelve synthetic cases. It checks preservation of a declared profile, source, meaning identifiers and field states. It is not a deployed protocol, a conforming general-purpose canonicalizer, an independently validated benchmark or proof of improved learning.

  • Preserve meaning identifiers, source and version.
  • Keep unknown, inapplicable, omitted and zero distinct.
  • Normalize only the ordering the contract declares immaterial.
  • Reject duplicate or malformed field rows.
  • Inspect actual reproducible synthetic results.

Contents

1. A successful import is not a successful handover

A teacher records that a proposed activity involves club respondents and that room availability is unknown. A second application can import the packet without a syntax error, then represent the missing condition as false or omit it. A third application can export a fluent sentence from the damaged record. Every application may report success while the meaning changes. This is the gap between the Portable Meaning Contract, which negotiates a compatible representation, and a round-trip check, which inspects what actually returns.

At the centre a learner can practise retelling a notice accurately. At the edge the same idea becomes a bounded invariant: the fields which a particular profile declares meaningful must survive a representation change. A successful round trip does not establish that the original notice was true, that its source was authorised or that all relevant facts were included. It establishes that the specified representation was preserved.

Back to contents

2. Established interchange technology and the proposed profile

The JSON specification, RFC 8259 defines arrays as ordered and objects as unordered collections, and describes interoperability problems when object member names are duplicated. RFC 8785 defines a canonicalization scheme for JSON used in repeatable cryptographic operations. The local prototype uses only arrays, strings and null, with its own declared order-insensitive field-row contract. It is not an implementation of JCS, a cryptographic signature or a general JSON canonicalizer. In particular, ordinary arrays are not generally unordered; this one local collection is explicitly treated as a set keyed by field name.

The design has two separate layers. The transport layer parses the packet. The semantic layer checks that the profile, version, source, field identifiers, state and exact values survive. A compatible parser cannot repair an incorrectly chosen sense, so the source representation must be reviewed separately.

Back to contents

3. A deliberately small portable packet

[
  "notice",
  "1",
  "source-v1",
  [
    [
      "group",
      "group:respondents:v1",
      "known",
      "club respondents"
    ],
    [
      "condition",
      "condition:availability:v1",
      "unknown",
      null
    ],
    [
      "status",
      "status:proposal:v1",
      "known",
      "proposed"
    ],
    [
      "count",
      "count:respondents:v1",
      "known",
      "0"
    ],
    [
      "deadline",
      "time:deadline:v1",
      "not_applicable",
      null
    ]
  ]
]
PositionMeaning
0Profile ID
1Version
2Source release ID
3Field rows: [field, meaning ID, state, value]

Known values are nonempty strings, including the exact string 0. Unknown and not-applicable values use null, but have different state labels. Missing is neither of these. This convention does not purport to cover every kind of numeric value or language expression. Stable meaning IDs need a real registry; here they are synthetic. Do not use these example IDs as evidence of official curriculum alignment.

Back to contents

4. Five Fencing moves for a Secondary learner

Start: the arrangement is proposed. Add the reference group: the club respondents. Add what remains unresolved: availability. Keep a stated zero count as zero rather than treat it as absent. Then ask the learner to reconstruct the notice from a new table without adding a confirmed room or a date. Each layer serves the task. A student does not need to write code to understand the difference between unknown, not applicable and zero. The program tests whether a representation keeps those distinctions, not whether the student can explain them.

Source stateWrong rewriteFaithful interpretation
Unknown availabilityRoom unavailableAvailability remains unresolved
Deadline not applicableDeadline unknownNo deadline applies in the stated task
Known count 0No count recordedThe recorded count is zero

Back to contents

5. The executable round-trip check

The encoder validates the bounded array structure, rejects repeated field names, copies the rows and sorts the copy by field ID. The checker parses a received string and compares the normalized records. Exact code-unit string matching is intentional; the system does not equate translations or normalize distinct spellings. A production transport would need robust resource limits, Unicode policies, source authentication, a reviewed schema and an independent implementation test.

function codec(packet){
 const nonempty=x=>typeof x==="string"&&x.length>0;
 if(!Array.isArray(packet)||packet.length!==4||!packet.slice(0,3).every(nonempty)||!Array.isArray(packet[3])||!packet[3].length)return null;
 const [profile,version,source,rows]=packet, seen=new Set();
 for(const r of rows){
  if(!Array.isArray(r)||r.length!==4||!nonempty(r[0])||!nonempty(r[1])||seen.has(r[0]))return null;
  if(r[2]==="known"? !nonempty(r[3]) : !["unknown","not_applicable"].includes(r[2])||r[3]!==null)return null;
  seen.add(r[0]);
 }
 return JSON.stringify([profile,version,source,rows.map(r=>r.slice()).sort((a,b)=>a[0]<b[0]?-1:a[0]>b[0]?1:0)]);
}

function audit(original,wire){
 const expected=codec(original);
 if(expected===null)return "HOLD_SOURCE";
 if(typeof wire!=="string")return "HOLD_WIRE";
 let decoded;try{decoded=JSON.parse(wire)}catch{return "HOLD_WIRE"}
 const actual=codec(decoded);
 if(actual===null)return "HOLD_WIRE";
 return expected===actual?"ROUNDTRIP_MATCH":"HOLD_CHANGED";
}

ROUNDTRIP_MATCH means the exact normalized representation matches. HOLD_SOURCE means the original was invalid. HOLD_WIRE means the received representation is malformed or outside this contract. HOLD_CHANGED means both representations are valid but differ. A hold is not proof that an alternative representation is incorrect in every context; it is a reason to investigate before claiming this transfer preserved the specified fields.

Back to contents

6. Actual executed synthetic cases

On 2 December 2026 the two functions ran locally on twelve author-defined fixtures. 12 of 12 observed verdicts matched the expected outcomes. No real learner records or network handovers were involved. The JSON inputs below reproduce the status checks; the website displays the code but does not execute it.

IDExpectedObservedTest purpose
R01ROUNDTRIP_MATCHROUNDTRIP_MATCHLossless encode/decode.
R02ROUNDTRIP_MATCHROUNDTRIP_MATCHRow order is expressly immaterial.
R03HOLD_CHANGEDHOLD_CHANGEDExplicit unknown row removed.
R04HOLD_CHANGEDHOLD_CHANGEDUnknown became inapplicable.
R05HOLD_CHANGEDHOLD_CHANGEDUnknown became a stated value.
R06HOLD_WIREHOLD_WIRENumeric primitive outside string contract.
R07HOLD_CHANGEDHOLD_CHANGEDSame text, changed meaning identifier.
R08HOLD_CHANGEDHOLD_CHANGEDVersion lost.
R09HOLD_WIREHOLD_WIREDuplicate field key.
R10HOLD_CHANGEDHOLD_CHANGEDDifferent source.
R11HOLD_WIREHOLD_WIREMalformed transmission.
R12HOLD_SOURCEHOLD_SOURCEInvalid original.
const tests = [
  {
    "id": "R01",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[\"notice\",\"1\",\"source-v1\",[[\"condition\",\"condition:availability:v1\",\"unknown\",null],[\"count\",\"count:respondents:v1\",\"known\",\"0\"],[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null],[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"]]]",
    "want": "ROUNDTRIP_MATCH"
  },
  {
    "id": "R02",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[\"notice\",\"1\",\"source-v1\",[[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null],[\"count\",\"count:respondents:v1\",\"known\",\"0\"],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"],[\"condition\",\"condition:availability:v1\",\"unknown\",null],[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"]]]",
    "want": "ROUNDTRIP_MATCH"
  },
  {
    "id": "R03",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[\"notice\",\"1\",\"source-v1\",[[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"],[\"count\",\"count:respondents:v1\",\"known\",\"0\"],[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null]]]",
    "want": "HOLD_CHANGED"
  },
  {
    "id": "R04",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[\"notice\",\"1\",\"source-v1\",[[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"],[\"condition\",\"condition:availability:v1\",\"not_applicable\",null],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"],[\"count\",\"count:respondents:v1\",\"known\",\"0\"],[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null]]]",
    "want": "HOLD_CHANGED"
  },
  {
    "id": "R05",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[\"notice\",\"1\",\"source-v1\",[[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"],[\"condition\",\"condition:availability:v1\",\"known\",\"false\"],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"],[\"count\",\"count:respondents:v1\",\"known\",\"0\"],[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null]]]",
    "want": "HOLD_CHANGED"
  },
  {
    "id": "R06",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[\"notice\",\"1\",\"source-v1\",[[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"],[\"condition\",\"condition:availability:v1\",\"unknown\",null],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"],[\"count\",\"count:respondents:v1\",\"known\",0],[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null]]]",
    "want": "HOLD_WIRE"
  },
  {
    "id": "R07",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[\"notice\",\"1\",\"source-v1\",[[\"group\",\"group:all-pupils:v1\",\"known\",\"club respondents\"],[\"condition\",\"condition:availability:v1\",\"unknown\",null],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"],[\"count\",\"count:respondents:v1\",\"known\",\"0\"],[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null]]]",
    "want": "HOLD_CHANGED"
  },
  {
    "id": "R08",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[\"notice\",\"2\",\"source-v1\",[[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"],[\"condition\",\"condition:availability:v1\",\"unknown\",null],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"],[\"count\",\"count:respondents:v1\",\"known\",\"0\"],[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null]]]",
    "want": "HOLD_CHANGED"
  },
  {
    "id": "R09",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[\"notice\",\"1\",\"source-v1\",[[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"],[\"condition\",\"condition:availability:v1\",\"unknown\",null],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"],[\"count\",\"count:respondents:v1\",\"known\",\"0\"],[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null],[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"]]]",
    "want": "HOLD_WIRE"
  },
  {
    "id": "R10",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[\"notice\",\"1\",\"source-v2\",[[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"],[\"condition\",\"condition:availability:v1\",\"unknown\",null],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"],[\"count\",\"count:respondents:v1\",\"known\",\"0\"],[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null]]]",
    "want": "HOLD_CHANGED"
  },
  {
    "id": "R11",
    "original": [
      "notice",
      "1",
      "source-v1",
      [
        [
          "group",
          "group:respondents:v1",
          "known",
          "club respondents"
        ],
        [
          "condition",
          "condition:availability:v1",
          "unknown",
          null
        ],
        [
          "status",
          "status:proposal:v1",
          "known",
          "proposed"
        ],
        [
          "count",
          "count:respondents:v1",
          "known",
          "0"
        ],
        [
          "deadline",
          "time:deadline:v1",
          "not_applicable",
          null
        ]
      ]
    ],
    "wire": "[invalid",
    "want": "HOLD_WIRE"
  },
  {
    "id": "R12",
    "original": [
      "notice",
      "1",
      "source-v1",
      []
    ],
    "wire": "[\"notice\",\"1\",\"source-v1\",[[\"condition\",\"condition:availability:v1\",\"unknown\",null],[\"count\",\"count:respondents:v1\",\"known\",\"0\"],[\"deadline\",\"time:deadline:v1\",\"not_applicable\",null],[\"group\",\"group:respondents:v1\",\"known\",\"club respondents\"],[\"status\",\"status:proposal:v1\",\"known\",\"proposed\"]]]",
    "want": "HOLD_SOURCE"
  }
];
for(const x of tests) console.log(x.id,audit(x.original,x.wire),x.want);

The tests were written by the author to exercise the intended rules. They do not establish general reliability, robustness against adversarial packets or semantic accuracy of extracted fields. A future interoperability suite should run independently implemented encoders and decoders, exercise Unicode, size limits and malformed inputs, and verify the declared invariants against source evidence.

Back to contents

7. Where the codec sits in VocabularyOS

VocabularyOS needs a source-to-sense layer, a reviewed concept mapping, a negotiated meaning contract, a serialization layer, a receiving validator and a return route. The codec sits after the contract selection and before a receiving application claims a successful handover. A receiver may legitimately project or transform a packet under a separate agreement. Such a transformation should have a different declared contract and a traceable reason, rather than be labelled an exact round trip. An AI may read the received packet correctly but generate a misleading explanation; a source-grounded semantic check of that explanation is another operation.

This connects the VocabularyOS Reference Stack v0.1 to actual testable components. The reference stack remains a proposal. Private learner responses should not enter a public interchange example. Any actual sharing needs purpose-specific permissions, access and retention controls. Structural validity supplies no disclosure authority.

Back to contents

8. Centre-to-edge learning operations

RungObservable operation
L0Attend to the source
L1Identify relevant fields
L2Name the intended sense
L3Explain state differences
L4Recall later
L5Encode the form
L6Relate field and source
L7Combine the qualifiers
L8Disambiguate unknown and missing
L9Transfer to a fresh table
L10Interpret the changed claim
L11Apply the profile
L12Trace the source version
L13Critique a lossy export
L14Maintain a reviewed contract
L15Propose and test a new distinction

The ladder is an original educational framework, not a school grade, diagnosis or validated scale. Select the learning operation relevant to the student. Compare independently produced explanations after a delay rather than infer learning from a successful codec test.

Back to contents

9. Four-week validation laboratory

WeekActivityEvidence
1Annotate synthetic source packets and distinguish known, unknown, inapplicable and omitted.Reviewed intended meanings.
2Reproduce the tests; commission independent malformed and lossy fixtures.Observed verdicts, false accepts and false holds.
3Build a second implementation and test export/import/re-export in both directions.Interoperability results and explicit limitations.
4Use authorised new source-retelling tasks with a matched plain-glossary baseline.Separate learner transfer and technical outcomes.

No learner experiment was performed. Research involving students requires the applicable permissions, consent or assent and safeguards. Measure review time and useful task completion as well as detected errors. A larger packet is not automatically more useful, and a matching packet is not a reason to stop inspecting its source.

Back to contents

10. References and connected research

Back to contents