Edge Technology for Vocabulary needs to distinguish a statement that contains an instruction from a statement that actually authorises the reader to act. A quoted request, a hypothetical scenario and a direct request may use the same words while performing different communicative jobs.
This original eduKate demonstrator tests a bounded quotation–authority contract using trusted-metadata assumptions and fourteen locally executed synthetic fixtures. It does not execute actions, verify real credentials, parse natural language or establish prompt-injection resistance. It is a research component, not a deployed security control.
- Distinguish quoting, reporting, hypothetical reasoning and requesting.
- Keep retrieved content in the interpretation domain.
- Match the proposed action to a separate approval fixture.
- Treat eligibility as review, not execution.
- Test the vocabulary and the security boundary separately.
Contents
- 1. The same words can perform different jobs
- 2. A meaning distinction is not a security guarantee
- 3. The bounded classification contract
- 4. Fencing direct speech into meaning and action
- 5. Executable local boundary check
- 6. Actual local synthetic results
- 7. VocabularyOS integration
- 8. Centre-to-edge vocabulary learning operations
- 9. Four-week research and teaching laboratory
- 10. Connected research
1. The same words can perform different jobs
A student reads the sentence ‘Mark the fictional note for review’ in a story, in an example of direct speech, in a classroom instruction, and in a discussion of how instructions work. The text may be identical, but the communicative act differs. Reading a command aloud does not establish an obligation to perform it. Reporting that someone issued a command is not the same as issuing that command yourself. The vocabulary needed here includes quotation, report, request, role, authority, permission, scope and revocation.
An AI reading retrieved text faces a similar distinction. It may need to analyse or quote words that resemble instructions without treating those words as instructions to its own tools. The proposed component is an application-layer dry-run classifier: it receives trusted runtime metadata and a separately validated approval record, then checks whether a structured proposal remains eligible for further review.
2. A meaning distinction is not a security guarantee
The OWASP prompt-injection prevention guidance describes separating untrusted data from trusted instructions, enforcing permissions outside the model, and validating tool calls. It also explains why labels or keyword filtering alone do not constitute a security boundary. This prototype illustrates the vocabulary distinction; it does not implement a complete prompt-injection defence.
In a real system, channel provenance must be supplied and enforced by trusted infrastructure, not by the document being read or a model’s self-report. Speech-act classification may itself be wrong. Grant authenticity, user identity, actual permissions, state transitions, replay protection, expiry, resource changes and independent execution checks belong to the trusted application layer. An object claiming approved=true is not proof of approval. The synthetic records below are assumed fixtures, not real credentials.
3. The bounded classification contract
| Field or state | Meaning in the toy model |
|---|---|
| act | Externally supplied speech-act classification. |
| channel | Externally supplied origin category. |
| context | Exact task context ID. |
| proposal | Action, target, scope, version and context. |
| grant | Separately provided matching approval fixture with expiry. |
| INTERPRET_ONLY | Discuss or analyse; no proposal eligibility. |
| ELIGIBLE_FOR_REVIEW | Matches this narrow contract; does not execute anything. |
| HOLD_* | Input, matching or expiry check did not pass. |
The integer tick is a synthetic monotonic time value. This is not a wall-clock or token-expiry implementation. Expiry is exclusive: the demonstration holds at or after the stated tick. The toy contract intentionally refuses to treat a request appearing inside a retrieved document as an actionable user request, even if a matching approval object happens to be supplied.
4. Fencing direct speech into meaning and action
Start with the words of a fictional instruction. Identify who is speaking and whether the learner is quoting, reporting or making a request. Identify what is being requested, the relevant object and version, and whether the current task is to analyse or act. Then separate the meaning of the statement from the actual permission to carry out the action. Ask the learner to paraphrase a fresh example using a new speaker. For a Secondary 2 language lesson this clarifies reported speech; for Secondary 3–4 it supports source attribution and responsible interpretation of requests.
| Sentence context | Appropriate interpretation |
|---|---|
| A novel describes a character saying mark the note. | Report or analyse the character’s words. |
| An article explains how a reviewer marks a note. | Use as reference material. |
| A hypothetical exercise asks what would happen. | Explain the possible result. |
| A direct request concerns the fictional note. | Inspect the actual request and applicable authority. |
5. Executable local boundary check
function classify(envelope,proposal,grant,tick){
const kinds=["quotation","reported","reference","hypothetical","request"];
const channels=["retrieved","tool_data","user_direct","trusted_runtime"];
const valid=x=>typeof x==="string"&&x.length>0;
if(!envelope||!kinds.includes(envelope.act)||!channels.includes(envelope.channel)||!valid(envelope.context)||!Number.isSafeInteger(tick)||tick<0)return "HOLD_INPUT";
if(envelope.act!=="request"||envelope.channel==="retrieved"||envelope.channel==="tool_data")return "INTERPRET_ONLY";
const keys=["action","target","scope","version","context"];
if(!proposal||!keys.every(k=>valid(proposal[k]))||proposal.context!==envelope.context)return "HOLD_PROPOSAL";
if(!grant||grant.approved!==true||!Number.isSafeInteger(grant.expires)||!keys.every(k=>grant[k]===proposal[k]))return "HOLD_GRANT";
if(tick>=grant.expires)return "HOLD_EXPIRED";
return "ELIGIBLE_FOR_REVIEW";
}
The function accepts no natural-language payload and calls no tools. It does not send, change, publish or delete anything. It uses exact matching for the structured proposal and synthetic grant, and returns only a classification. Even ELIGIBLE_FOR_REVIEW is not permission to act. In production a separate trusted execution boundary must validate the current user, operation, resource, authority and state, and obtain required action-specific approval.
6. Actual local synthetic results
14 of 14 author-defined fixtures passed on 3 December 2026. They exercise quoted and reported instructions, hypothetical and reference contexts, retrieved/tool data, missing or mismatched grant fields and expiry. The checks assume the metadata is accurate; they do not test whether an LLM can reliably recognise a malicious instruction or whether a production system resists prompt injection.
| Case | Expected | Observed |
|---|---|---|
| Q01 | ELIGIBLE_FOR_REVIEW | ELIGIBLE_FOR_REVIEW |
| Q02 | INTERPRET_ONLY | INTERPRET_ONLY |
| Q03 | INTERPRET_ONLY | INTERPRET_ONLY |
| Q04 | INTERPRET_ONLY | INTERPRET_ONLY |
| Q05 | INTERPRET_ONLY | INTERPRET_ONLY |
| Q06 | INTERPRET_ONLY | INTERPRET_ONLY |
| Q07 | HOLD_GRANT | HOLD_GRANT |
| Q08 | HOLD_GRANT | HOLD_GRANT |
| Q09 | HOLD_GRANT | HOLD_GRANT |
| Q10 | HOLD_EXPIRED | HOLD_EXPIRED |
| Q11 | HOLD_PROPOSAL | HOLD_PROPOSAL |
| Q12 | HOLD_GRANT | HOLD_GRANT |
| Q13 | INTERPRET_ONLY | INTERPRET_ONLY |
| Q14 | HOLD_INPUT | HOLD_INPUT |
const cases = [
[
"Q01",
{
"act": "request",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"ELIGIBLE_FOR_REVIEW"
],
[
"Q02",
{
"act": "quotation",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"INTERPRET_ONLY"
],
[
"Q03",
{
"act": "reported",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"INTERPRET_ONLY"
],
[
"Q04",
{
"act": "hypothetical",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"INTERPRET_ONLY"
],
[
"Q05",
{
"act": "request",
"channel": "retrieved",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"INTERPRET_ONLY"
],
[
"Q06",
{
"act": "request",
"channel": "tool_data",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"INTERPRET_ONLY"
],
[
"Q07",
{
"act": "request",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
null,
2,
"HOLD_GRANT"
],
[
"Q08",
{
"act": "request",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "other-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"HOLD_GRANT"
],
[
"Q09",
{
"act": "request",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v2",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"HOLD_GRANT"
],
[
"Q10",
{
"act": "request",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
10,
"HOLD_EXPIRED"
],
[
"Q11",
{
"act": "request",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-2"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"HOLD_PROPOSAL"
],
[
"Q12",
{
"act": "request",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": false,
"expires": 10
},
2,
"HOLD_GRANT"
],
[
"Q13",
{
"act": "reference",
"channel": "user_direct",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"INTERPRET_ONLY"
],
[
"Q14",
{
"act": "request",
"channel": "unknown",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1"
},
{
"action": "mark_review",
"target": "fictional-note",
"scope": "classroom-demo",
"version": "v1",
"context": "demo-1",
"approved": true,
"expires": 10
},
2,
"HOLD_INPUT"
]
];
for(const [id,v,p,g,t,want] of cases) console.log(id,classify(v,p,g,t),want);
This is a local author-run regression suite. There is no network access or live service in the function. The article publishes the code for reproduction, not a deployed security product.
7. VocabularyOS integration
The source-span witness records the original text; reference binding identifies the intended object; argument-frame checks preserve who asked whom to do what. The quotation–authority boundary separates interpretation from eligibility for review. The conformance capsule records the outcome, and the external permission gate independently checks the proposed operation. The earlier Purpose-Bound Disclosure Guard complements this separation by checking the proposed scope of information release. A correct meaning does not create an entitlement to use a resource.
Preserve the student’s own voice: a quoted character’s opinion is not necessarily the learner’s opinion. Never treat an exercise response as authorisation for a real transaction. Use fictional data in a technical demonstration. Real classroom use requires the applicable privacy, access and human review safeguards.
8. Centre-to-edge vocabulary learning operations
| Rung | Observable operation |
|---|---|
| L0 | Attend to the words |
| L1 | Identify the speaker |
| L2 | Name the speech act |
| L3 | Explain quotation versus instruction |
| L4 | Recall the distinction |
| L5 | Read and encode the utterance |
| L6 | Relate speaker, object and context |
| L7 | Combine a faithful reported sentence |
| L8 | Disambiguate request and permission |
| L9 | Transfer to a fresh source |
| L10 | Interpret a change in authority |
| L11 | Formalise the declared contract |
| L12 | Trace the source and approval version |
| L13 | Critique a mistaken action inference |
| L14 | Maintain a reviewed boundary record |
| L15 | Propose and test a needed distinction |
The eduKate ladder is an original learning framework, not an official school scale. Use the relevant operations, preserve approved access arrangements, and distinguish guided practice from independent transfer.
9. Four-week research and teaching laboratory
| Week | Activity | Evidence |
|---|---|---|
| 1 | Annotate ordinary quotations, reported requests and direct requests. | Reviewed distinctions and attribution. |
| 2 | Reproduce the fourteen fixtures and commission independent near-misses. | Observed classifications and failure modes. |
| 3 | Design a separate, least-privilege mock permission boundary and inspect state changes. | Independent enforcement tests; no real operations. |
| 4 | Use fresh authorised language tasks. | Learner explanations separate from technical outcomes. |
No human learning experiment, deployment or independent security audit was conducted. The next research stage requires a separate evaluator and an explicit threat model before any live integration. Research with students needs appropriate school permissions, consent or assent, privacy and accessibility arrangements.
