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 Status Transition Guard: When Can AI Change Proposed to Approved or Completed?

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 needs a way to preserve the difference between proposed, approved, scheduled and completed. The Semantic Status Transition Guard tests whether a reviewed event, exact identity and current revision justify a specific change of status, rather than treating those words as interchangeable.

This original eduKate JavaScript demonstrator was executed on sixteen synthetic cases. It prepares changes under a bounded local state-machine contract. It is not a deployed workflow, an independently validated benchmark, real authorization or evidence of student learning gains.

  • Separate a status from the event that changes it.
  • Check identity, role, evidence and revision.
  • Hold unsupported transitions and changed replay events.
  • Retain the original record when preparing an update.
  • Reproduce sixteen executed local tests.

Contents

1. A status word is not an event

A fictional school notice describes a workshop as proposed. A later message says the proposal is approved. A timetable then schedules it, and a subsequent observation records completion. These are four distinct claims. A pupil who rewrites approved as completed has changed the evidence. An AI that does the same may issue a misleading handover. The earlier exception and time-window engines evaluate conditions and order; the new mechanism asks whether a particular reviewed event justifies a change of status.

A status register should not advance because a date passes, a sentence sounds confident or a reviewer appears to have approved a different object. Each transition requires its own evidence. The local examples are synthetic and do not describe actual school procedures.

Back to contents

2. Existing state-machine technology and the local proposal

The W3C State Chart XML recommendation describes state-machine transitions enabled by a current state, an event and an applicable guard condition. The eduKate example adopts a small explicit transition table inspired by that general architecture. It is not an SCXML processor or a general workflow standard. The review flag, event role and evidence reference are supplied fixture values, not independently authenticated authority.

EventFromToDeclared role
submitdraftproposedsubmitter
approveproposedapprovedreviewer
rejectproposedrejectedreviewer
withdrawproposedwithdrawnsubmitter
scheduleapprovedscheduledcoordinator
completescheduledcompletedobserver
cancel_approvedapprovedcancelledcoordinator
cancel_scheduledscheduledcancelledcoordinator

This is a local policy choice for one invented workflow. Real processes may have different states, exceptions, authorities or reopening rules. The implementation does not invent an exceptional transition when a rule is absent.

Back to contents

3. Five Fencing moves: keep the event and state separate

Start with the accurate base: the workshop is proposed. Add the exact object identity and source version. Add the reviewed approval event, if one exists. Change only the appropriate status: approved, not yet scheduled or completed. Finally give the learner a different sequence of notices and ask which states are actually established. If the source gives no evidence of approval, retain the original uncertainty. A learner can explain this distinction without programming.

{
  "record": {
    "id": "workshop-01",
    "state": "proposed",
    "rev": 3,
    "history": []
  },
  "event": {
    "id": "e4",
    "recordId": "workshop-01",
    "baseRev": 3,
    "kind": "approve",
    "role": "reviewer",
    "evidence": "synthetic reviewed record",
    "reviewed": true
  }
}

Back to contents

4. The bounded transition contract

Each event identifies its target record, expected revision, event kind, declared role, evidence reference and review state. An already-recorded exact event ID is recognised without a second revision increase. A reused ID with changed declared fields is a conflict. A new event must refer to the current revision, match the allowed source state and have the specified role and review flag. A successful result is a prepared replacement, not a committed change.

The history is assumed to be a trusted, previously reviewed record. The function validates the bounded shape and event IDs but does not replay the entire prior history to establish that its current state and revision are legitimate. It does not implement cryptographic authentication, concurrent persistence, timestamps, actual permission checks or publication. A production system must independently establish those properties. The history bound is one conservative local resource limit.

Back to contents

5. Executable local status-transition guard

function advance(record,event){
 const states=["draft","proposed","approved","scheduled","completed","cancelled","withdrawn","rejected"];
 const transitions={
  submit:["draft","proposed","submitter"],
  approve:["proposed","approved","reviewer"],
  reject:["proposed","rejected","reviewer"],
  withdraw:["proposed","withdrawn","submitter"],
  schedule:["approved","scheduled","coordinator"],
  complete:["scheduled","completed","observer"],
  cancel_approved:["approved","cancelled","coordinator"],
  cancel_scheduled:["scheduled","cancelled","coordinator"]
 };
 const str=x=>typeof x==="string"&&x.length>0;
 const fields=["id","recordId","baseRev","kind","role","evidence","reviewed"];
 const valid=x=>x&&[x.id,x.recordId,x.kind,x.role,x.evidence].every(str)&&Number.isSafeInteger(x.baseRev)&&x.baseRev>=0&&typeof x.reviewed==="boolean"&&Object.hasOwn(transitions,x.kind);
 if(!record||!str(record.id)||!Number.isSafeInteger(record.rev)||record.rev<0||record.rev===Number.MAX_SAFE_INTEGER||!states.includes(record.state)||!Array.isArray(record.history)||record.history.length>=100||!record.history.every(x=>valid(x)&&x.recordId===record.id)||new Set(record.history.map(x=>x.id)).size!==record.history.length||!valid(event))return {status:"HOLD_INPUT"};
 if(event.recordId!==record.id)return {status:"HOLD_TARGET"};
 const seen=record.history.find(x=>x.id===event.id);
 if(seen)return {status:fields.every(k=>seen[k]===event[k])?"ALREADY_RECORDED":"HOLD_EVENT_CONFLICT"};
 if(event.baseRev!==record.rev)return {status:"HOLD_STALE"};
 const [from,to,role]=transitions[event.kind];
 if(event.reviewed!==true||event.role!==role)return {status:"HOLD_EVIDENCE"};
 if(record.state!==from)return {status:"HOLD_TRANSITION"};
 const entry=Object.fromEntries(fields.map(k=>[k,event[k]]));
 return {status:"PREPARED",record:{...record,state:to,rev:record.rev+1,history:[...record.history,entry]}};
}

PREPARED returns a new record and a one-step higher revision. ALREADY_RECORDED is an exact replay hold against repeated change. Other HOLD results identify input, identity, event conflict, stale revision, evidence or transition issues. The record is not mutated by the function. Its output has no authority to schedule a workshop, cancel a real appointment, disclose a document or publish a corrected lesson.

Back to contents

6. Sixteen executed local synthetic cases

On 2 December 2026 the function ran on sixteen authored fixtures. 16 of 16 expected status-and-state outputs matched, with unchanged original records and the expected one-step revision increase for prepared replacements. These are author-run regression cases, not an independent benchmark or test of actual institutional workflows.

CaseExpectedObservedPurpose
T01PREPARED:approvedPREPARED:approvedReviewed approval changes proposed to approved
T02HOLD_TRANSITIONHOLD_TRANSITIONCompletion cannot skip approval and scheduling
T03HOLD_EVIDENCEHOLD_EVIDENCEWrong declared role
T04HOLD_EVIDENCEHOLD_EVIDENCEUnreviewed event
T05HOLD_STALEHOLD_STALEStale revision
T06HOLD_TARGETHOLD_TARGETWrong object
T07ALREADY_RECORDEDALREADY_RECORDEDExact replay changes nothing
T08HOLD_EVENT_CONFLICTHOLD_EVENT_CONFLICTReused event ID with changed evidence
T09PREPARED:scheduledPREPARED:scheduledApproved does not mean scheduled
T10HOLD_TRANSITIONHOLD_TRANSITIONApproval alone cannot prove completion
T11PREPARED:completedPREPARED:completedCompletion requires its own reviewed event
T12PREPARED:withdrawnPREPARED:withdrawnA proposal can be withdrawn
T13PREPARED:rejectedPREPARED:rejectedRejection is a distinct state
T14HOLD_TRANSITIONHOLD_TRANSITIONCancelled is terminal in this local profile
T15PREPARED:cancelledPREPARED:cancelledExplicit approved-state cancellation
T16HOLD_INPUTHOLD_INPUTMissing evidence reference
const fixtures = [
  {
    "id": "T01",
    "record": {
      "id": "workshop-01",
      "state": "proposed",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "approve",
      "role": "reviewer",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "PREPARED:approved"
  },
  {
    "id": "T02",
    "record": {
      "id": "workshop-01",
      "state": "proposed",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "complete",
      "role": "observer",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "HOLD_TRANSITION"
  },
  {
    "id": "T03",
    "record": {
      "id": "workshop-01",
      "state": "proposed",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "approve",
      "role": "submitter",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "HOLD_EVIDENCE"
  },
  {
    "id": "T04",
    "record": {
      "id": "workshop-01",
      "state": "proposed",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "approve",
      "role": "reviewer",
      "evidence": "synthetic reviewed record",
      "reviewed": false
    },
    "want": "HOLD_EVIDENCE"
  },
  {
    "id": "T05",
    "record": {
      "id": "workshop-01",
      "state": "proposed",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 2,
      "kind": "approve",
      "role": "reviewer",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "HOLD_STALE"
  },
  {
    "id": "T06",
    "record": {
      "id": "workshop-01",
      "state": "proposed",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "other",
      "baseRev": 3,
      "kind": "approve",
      "role": "reviewer",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "HOLD_TARGET"
  },
  {
    "id": "T07",
    "record": {
      "id": "workshop-01",
      "state": "approved",
      "rev": 4,
      "history": [
        {
          "id": "e4",
          "recordId": "workshop-01",
          "baseRev": 3,
          "kind": "approve",
          "role": "reviewer",
          "evidence": "synthetic reviewed record",
          "reviewed": true
        }
      ]
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "approve",
      "role": "reviewer",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "ALREADY_RECORDED"
  },
  {
    "id": "T08",
    "record": {
      "id": "workshop-01",
      "state": "approved",
      "rev": 4,
      "history": [
        {
          "id": "e4",
          "recordId": "workshop-01",
          "baseRev": 3,
          "kind": "approve",
          "role": "reviewer",
          "evidence": "synthetic reviewed record",
          "reviewed": true
        }
      ]
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "approve",
      "role": "reviewer",
      "evidence": "changed",
      "reviewed": true
    },
    "want": "HOLD_EVENT_CONFLICT"
  },
  {
    "id": "T09",
    "record": {
      "id": "workshop-01",
      "state": "approved",
      "rev": 4,
      "history": [
        {
          "id": "e4",
          "recordId": "workshop-01",
          "baseRev": 3,
          "kind": "approve",
          "role": "reviewer",
          "evidence": "synthetic reviewed record",
          "reviewed": true
        }
      ]
    },
    "event": {
      "id": "e5",
      "recordId": "workshop-01",
      "baseRev": 4,
      "kind": "schedule",
      "role": "coordinator",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "PREPARED:scheduled"
  },
  {
    "id": "T10",
    "record": {
      "id": "workshop-01",
      "state": "approved",
      "rev": 4,
      "history": [
        {
          "id": "e4",
          "recordId": "workshop-01",
          "baseRev": 3,
          "kind": "approve",
          "role": "reviewer",
          "evidence": "synthetic reviewed record",
          "reviewed": true
        }
      ]
    },
    "event": {
      "id": "e5",
      "recordId": "workshop-01",
      "baseRev": 4,
      "kind": "complete",
      "role": "observer",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "HOLD_TRANSITION"
  },
  {
    "id": "T11",
    "record": {
      "id": "workshop-01",
      "state": "scheduled",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "complete",
      "role": "observer",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "PREPARED:completed"
  },
  {
    "id": "T12",
    "record": {
      "id": "workshop-01",
      "state": "proposed",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "withdraw",
      "role": "submitter",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "PREPARED:withdrawn"
  },
  {
    "id": "T13",
    "record": {
      "id": "workshop-01",
      "state": "proposed",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "reject",
      "role": "reviewer",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "PREPARED:rejected"
  },
  {
    "id": "T14",
    "record": {
      "id": "workshop-01",
      "state": "cancelled",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "complete",
      "role": "observer",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "HOLD_TRANSITION"
  },
  {
    "id": "T15",
    "record": {
      "id": "workshop-01",
      "state": "approved",
      "rev": 4,
      "history": [
        {
          "id": "e4",
          "recordId": "workshop-01",
          "baseRev": 3,
          "kind": "approve",
          "role": "reviewer",
          "evidence": "synthetic reviewed record",
          "reviewed": true
        }
      ]
    },
    "event": {
      "id": "e5",
      "recordId": "workshop-01",
      "baseRev": 4,
      "kind": "cancel_approved",
      "role": "coordinator",
      "evidence": "synthetic reviewed record",
      "reviewed": true
    },
    "want": "PREPARED:cancelled"
  },
  {
    "id": "T16",
    "record": {
      "id": "workshop-01",
      "state": "proposed",
      "rev": 3,
      "history": []
    },
    "event": {
      "id": "e4",
      "recordId": "workshop-01",
      "baseRev": 3,
      "kind": "approve",
      "role": "reviewer",
      "evidence": "",
      "reviewed": true
    },
    "want": "HOLD_INPUT"
  }
];
for(const x of fixtures) console.log(x.id,advance(x.record,x.event),x.want);

The webpage publishes reproduction code but does not execute it. A further suite should challenge replay after later revisions, forged or incomplete histories, event ordering, contradictory sources, reopened cases and concurrent conditional writes. An independent reviewer must check the semantic rule table before implementation. The current results cannot establish production atomicity, source truth or authorization.

Back to contents

7. Secondary 1–4 learning and transfer

Secondary 1 can distinguish a planned activity from a confirmed one. Secondary 2 can preserve tense and event status in a retelling. Secondary 3 can distinguish a hypothesis, completed experiment and documented result. Secondary 4 can separate a reported intention, an implementation decision and measured effectiveness. A different word may be needed at each step, and each requires its own evidence. The original examples are learning illustrations, not official exam formats.

A student’s correct choice after the teacher supplies the answer is supported performance. An independent explanation using a new notice is a separate observation. The vocabulary engine should not mark the entire topic mastered from one correct status change.

Back to contents

8. Centre-to-edge vocabulary learning operations

RungObservable task
L0Attend to the notice
L1Identify the current state
L2Name the event
L3Explain the difference
L4Recall later
L5Read and encode the status
L6Relate event and state
L7Combine a faithful description
L8Disambiguate planned and completed
L9Transfer to a new sequence
L10Interpret a changed status
L11Apply the declared transition rule
L12Trace revisions
L13Critique a premature update
L14Maintain a reviewed state register
L15Propose and test a needed transition

The eduKate L0–L15 ladder is a proposed teaching architecture, not a validated scale or an official grade. The Fencing Method helps build an accurate statement in useful layers; the state machine checks a separate technical operation.

Back to contents

9. VocabularyOS integration and four-week laboratory

A source register retains the actual notice. Reference binding identifies the intended object. The source-span witness locates evidence. A reviewed semantic annotation identifies the event and relevant status. The transition guard prepares a bounded change. A real commit component must establish authority, current revision and transaction integrity, while the return layer locates dependent content and the release gate checks the result. These are separate responsibilities.

WeekActivityEvidence
1Review synthetic event sequences and actual status distinctions.Reviewed rule and source labels.
2Reproduce the sixteen tests; add independently proposed invalid transitions.Observed status, preservation and replay checks.
3Design a separate audited persistence and authority layer.Concurrent-write and replay evidence; explicit limitations.
4Use an authorised fresh learner task and a matched ordinary explanation.Independent transfer, effort and teacher review, separate from technical results.

No production integration or human study was performed. Research involving children requires appropriate permissions, consent or assent, privacy safeguards and suitable access arrangements. Keep identifiable learner observations separate from public workflow demonstrations.

Back to contents

10. References and connected research

Back to contents