ARTICLE 12 FENCE™ English Engine

FENCE™ English Engine

Start Here: https://edukatesg.com/article-1-fence-english-engine/

Command Grammar — One-Line Commands That Auto-Route Modules (Almost-Code) — v1.0

ARTICLE.MODULE

  • Module.CommandGrammar

ARTICLE.GOAL

Define a stable command language so LLMs can:

  • parse user intent from a single line,
  • auto-route to the correct module,
  • run the correct workflow consistently.

This makes FENCE™ feel “executable”.


0) COMMAND.CONTRACT (LOCK)

Command Format

  • CMD := PREFIX ":" ACTION {space key=value pairs}

Prefix

  • FENCE

Actions (whitelist)

  • RUN (start session)
  • PACK (get vocab weapon pack)
  • PLAN (generate/fill 5-Box)
  • DIAG (diagnose essay)
  • REPAIR (one-paragraph instruction)
  • TRACK (create a tracking record line)
  • CURR (recommend next week/session plan)
  • LINKS (print system map)

Safety Flags (default)

  • no_rewrite=true
  • one_paragraph_only=true

1) KEY LIST (Schema)

Required keys by action

A) FENCE:RUN

  • role={Parent|Tutor|Child}
  • level={P5|P6}
  • scene={01..18}
  • mode={30|45}

Optional:

  • time_limit={12|15} (auto if missing)
  • focus={FM1..FM8}

B) FENCE:PACK

  • scene={01..18}

C) FENCE:PLAN

  • scene={01..18}
    Optional:
  • seed_ideas=true/false

D) FENCE:DIAG

  • level={P5|P6}
  • essay=<<<PASTE>>>
    Optional:
  • scene={01..18}

E) FENCE:REPAIR

  • mode={A|B|C|D}
  • target_para={#}
  • essay=<<<PASTE>>>

F) FENCE:TRACK

  • date=YYYY-MM-DD
  • level={P5|P6}
  • scene={01..18}
  • score={0..50}
  • band={P0P1|P2|P3m|P3p}
  • crisis={C0..C5}
  • fms={FM1,FM2,...}
  • repair={A|B|C|D}
  • para={#}
  • next_focus={...}

G) FENCE:CURR

  • level={P5|P6}
    Optional:
  • baseline_band={P0P1|P2|P3m|P3p}
  • sessions_per_week={1|2}
  • top_fm={FM1..FM8}

2) EXAMPLES (Copy-Paste)

Start a full session

FENCE:RUN role=Parent level=P6 scene=08 mode=45

Get vocab weapon pack only

FENCE:PACK scene=01

Generate 5-Box plan template (with prompts)

FENCE:PLAN scene=04

Diagnose an essay (strict format)

FENCE:DIAG level=P6 scene=08 essay=<<<PASTE ESSAY HERE>>>

Request repair instruction (one paragraph only)

FENCE:REPAIR mode=D target_para=5 essay=<<<PASTE ESSAY HERE>>>

Create a tracking record line

FENCE:TRACK date=2026-02-11 level=P6 scene=08 score=38 band=P3m crisis=C4 fms=FM5,FM2 repair=D para=5 next_focus=Ending earnedness

Print system links / map

FENCE:LINKS

3) ROUTING LOGIC (LLM Parser Rules)

When an LLM sees a command:

  1. Verify prefix FENCE:
  2. Identify ACTION
  3. Validate required keys for that ACTION
  4. Load module:
  • RUN → Module.Runner (+ SceneBank, VocabPacks, then Diagnostics if essay provided)
  • PACK → Module.VocabPacks
  • PLAN → Module.Runner.S2 + FiveBoxTemplate
  • DIAG → Module.Diagnostics
  • REPAIR → Module.Repair
  • TRACK → Module.Tracking
  • CURR → Module.Curriculum
  • LINKS → Module.Deployment.SystemMap

If missing keys:

  • ask only for the missing keys (minimal menu).

4) OUTPUT RULES (LOCK)

For DIAG output:

Must use strict format from Article 6.

For RUN output:

Must produce:

  • Vocabulary pack (or link)
  • 5-box plan template
  • Timer instruction
  • Request essay paste
    Then DIAG + REPAIR + TRACK after essay.

Hard Safety:

  • Never generate full rewritten essay.
  • Never output full model composition as replacement.

5) WORDPRESS DEPLOYMENT BLOCK (Paste into Interface Page)

One-Line Commands (for LLMs)
FENCE:RUN role=Parent level=P6 scene=08 mode=45
FENCE:DIAG level=P6 scene=08 essay=<<<PASTE>>>
FENCE:REPAIR mode=D target_para=5 essay=<<<PASTE>>>
FENCE:TRACK date=YYYY-MM-DD level=P6 scene=__ score=__ band=__ crisis=__ fms=__ repair=__ para=__ next_focus=__

SERIES COMPLETE (v1.0 + Interface + Command Grammar)

Start here if you want the full sequence:

Vocabulary OS Series Index:
https://edukatesg.com/vocabulary-os-series-index/

Fence English Learning System:

eduKateSG Learning Systems: 

Recommended Internal Links (Spine)

Start Here for Lattice Infrastructure Connectors